Make sure we always return the latest tag in the branch and
only apply tag-suffix filtering if more than one tag exists.
This ensures we won't pick up an older (eg -Nexus) tag if newer
(eg -Matrix) tags are present - like it's currently the case with
game addons which only get "-Matrix" tags.
Signed-off-by: Matthias Reichl <hias@horus.com>
The game addons are currently being tagged with "-Matrix"
as suffix which doesn't match the "Nexus" branch of the binary
addons repo.
Allow overriding the tag suffix so we don't fall back to earlier
-Nexus tags of the addon.
usage eg: ./update_retroplayer-addons Nexus Matrix
Signed-off-by: Matthias Reichl <hias@horus.com>
Only accept standard github archive URLs and warn about other URLs
that aren't supported by the update script.
This avoids trashing PKG_VERSION with garbage, eg in libretro-mrboom
Signed-off-by: Matthias Reichl <hias@horus.com>
update the `docker run` command to set `--log-driver none` otherwise the logs go through to journald
observed the journald logs during the testing of systemd v250
When environment variable GITHUB_API_TOKEN like in ${HOME}/.${DISTRO,,}/options
is assigned the script will fetch all data direct from Github instead
clone every single package.
game addons have (mostly?) switched from zip to tar.gz links,
add support for extracting the version info from these as well
to fix game addon updates.
Signed-off-by: Matthias Reichl <hias@horus.com>
Report which game addon packages are only present in LE but not in
the kodi game binary addon repo.
These packages are not automatically bumped by the script and should
either be removed from LE or added to the kodi game binary repo.
Signed-off-by: Matthias Reichl <hias@horus.com>
This script selectively deletes files out of the specified download
directory to prune source tarballs that don't correspond with the
current version of its package in the tree according to the set
PROJECT, DEVICE and ARCH.
The script is also capable of building a new SOURCES dir to combine
different combinations of PROJECT, DEVICE and ARCH tarballs. This is
to move out known good tarballs to a new directory, and to delete the
old SOURCES dir once all desired tarballs have been moved.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This script uses quilt to refresh patches, e.g.:
./tools/refresh-patches linux
It tries to detect already applied patches and removes those.
The rest is refreshed, which means updating the hunk line offsets and
removing junk (so that the result is the same for everyone).
This makes it easy to update packages with large patch sets. It's
usable as-is without any additional git clone to rebase patches.
Note that there're alot of patches in-tree that contain multiple patches
per file. While quilt doesn't have a problem applying those, the
resulting file is a combined patch.
vfs.sacd has been deprecated in favour of audiodecoder.sacd and
removed from official kodi binary repo.
Add it to the exclude list until we finally remove the package so
the update script won't switch the version from tag to githash.
Signed-off-by: Matthias Reichl <hias@horus.com>