Release Repository Bootstrapper (makes your own repo)
#1
Repository Bootstrapper

Creating a repository enables you to easily distribute your addons to your Kodi clients.
It has never been easier before and with "Repo Bootstrapper", you can create one from scratch by running a simple Python script.

  1. Create a repository addon which users can install.
  2. Create the addons.xml and addon.xml.md5 files.
  3. ZIP-file your addons with version numbers.
  4. Copy changelogs and rename with version numbers.
  5. Copy icons & fanarts, if any.
  6. Ignore .idea subdirectories in addons' directories (pycharm's project settings)
  • This all is outputted in a directory (default _repo) which you can sync to an online server.

How to get started

  1. Download the master zip or clone the repo: https://github.com/Twilight0/Repository-Bootstrapper
  2. Put your uncompressed addon directories in the root folder OR copy the _tools folder to your directory with uncompressed addons
  3. Edit _tools/config.ini
  4. The 'url' value in config.ini should be the address to directory at the server where you will place the 'output' directory. If your _tools folder is at mydomain.com/subdir/_tools, the url should be set at mydomain.com/subdir/. By default, the script will use addresses like: mydomain.com/subdir/_repo/addons.xml
  5. When using GitHub, please use the 'raw' location (eg. http://raw.githubusercontent.com/[username]/[repository]/)
  6. Run _tools/generate_repo.py


That's it! You have just created a repository addon if it did not exist and in the output folder all your zipped addons and repo files.
Reply


Messages In This Thread
Repository Bootstrapper (makes your own repo) - by twilight0 - 2016-06-14, 13:52
Logout Mark Read Team Forum Stats Members Help
Repository Bootstrapper (makes your own repo)0