User Tools

Site Tools


kodi:kodi-repository

Kodi repository

Download the creator script:

wget https://raw.githubusercontent.com/chadparry/kodi-repository.chad.parry.org/master/tools/create_repository.py && chmod +x create_repository.py

Run the script, and pass it the location of your add-ons. The location can be a local folder, a local ZIP file, or a Git repository URL.

Create REPO:

./create_repository.py --datadir kodi-repo --compressed ~/.kodi/addons/context.youtube.dl.menu ~/.kodi/addons/repository.anontester

Every time you update an add-on, run the script again.

git clone https://github.com/AnonTester/kodi-repo.git
cd kodi-repo
git config --global user.name "AnonTester"
#store credentials for this particular repository
git config credential.helper store
git commit --amend --reset-author
git push

Store git password on local machine

~/.netrc and it won't ask for your username/password:

machine github.com
       login xxx
       password xxx

Process after each code adjustment:

cd ~
./create_repository.py --datadir kodi-repo --compressed ~/.kodi/addons/context.youtube.dl.menu ~/.kodi/addons/repository.anontester
cd ~/kodi-repo
git add .
git commit
git push

Repo zip file:

wget https://github.com/AnonTester/kodi-repo/raw/master/repository.anontester/repository.anontester-1.0.0.zip
kodi/kodi-repository.txt · Last modified: 2023/05/29 11:55 by 127.0.0.1