Release Script to update add-on repository (repoupdate.py)
#1
I wrote this script to update my repository (a Dropbox Public folder) from another directory containing the add-on sources. I'm posting it here in case others find it useful.

In short it looks in your source directory for add-ons which are newer than in the repository and creates/updates the required files in the repository directory.

More details here.

It works on Linux and Windows, and probably Mac also.
Leopold's Repository: Home of LibreELEC Dev Updater ...
Reply
#2
I think I wrote something similar.

It's part of my repo, but it doesn't feel like it quite belongs there. It's almost as if there should be a suite of python xbmc tools.
Reply
#3
I found that I sometimes needed to force the update of a particular add-on so I added a --force option.

Code:
usage: repoupdate.py [-h] [-s SOURCE] [-r REPO] [-f [ADDON ID]]

Update a local xbmc repository from a local add-on source directory

optional arguments:
  -h, --help            show this help message and exit
  -s SOURCE, --source SOURCE
                        path to the root of the add-on source directory
  -r REPO, --repo REPO  path to the root of the repository
  -f [ADDON ID], --force [ADDON ID]
                        force update all add-ons or force update only the
                        specified add-on.
Leopold's Repository: Home of LibreELEC Dev Updater ...
Reply

Logout Mark Read Team Forum Stats Members Help
Script to update add-on repository (repoupdate.py)0