653 Commits

Author SHA1 Message Date
Matthias Reichl
38a137c923 addon update scripts: refactor repo fetching and package updating
Kodi binary and game addons always reference branches in the addon
repo. The only exception is the kodi-platform package which references
a githash.

This allows us to simplify remote repo fetch and tag / branch HEAD
resolving: we don't need named branches in the working copy but can
simply query remote branches or use a detached branch if we need the
actual contents.

With this change the same (out-of-tree) directory containing cloned
repos can be used to update both kodi Leia and master addon versions,
without needing another clone.

Also refactor the package update code, drop update_to_latest_tag from
common functions (it was only used by update_binary-addons,
update_retroplayer-addons needs slightly different logic) and use
update_pkg function. update_retroplayer-addons now also uses update_pkg
instead of duplicating nearly identical code.

Several variable names have been cleaned up to follow a common naming
pattern.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:29:02 +02:00
Matthias Reichl
3e97dce6c5 addon update scripts: change PKG_REV update logic
When updating versioned / tagged addons reset PKG_REV to 1.

When updating unversioned / untagged addons always bump PKG_REV
as we don't know if the version has been changed or not.

If the "-b/--bump-pkg-rev" option is used PKG_REV will be bumped
on all addons that weren't updated. Use this to ensure all addons
will have a newer version than before.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:12:39 +02:00
Matthias Reichl
7cf95c6b99 addon update scripts: set modes via command line options
Use command line options to select PKG_REV bump and deleting
cloned git dis after update. git dirs are now kept by default,
deleting them has to be explicitly enabled via "-d".

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:12:39 +02:00
Christian Hewitt
67a5bc8ff3
Merge pull request #3661 from MilhouseVH/le10_abs_patch_dir
buildsystem: add absolute patch dirs, remove unecessary sub-process, other cleanup
2019-07-11 06:23:30 +01:00
MilhouseVH
5895dc069f buildsystem: add GETPKG history event 2019-07-09 00:05:25 +01:00
MilhouseVH
292154d9fd distro-tool: halve the time required to generate workload 2019-07-06 03:14:41 +01:00
Sascha Kuehndel (InuSasha)
4bd4f58dbe
buildsystem: allow to set BUILD_ROOT via BUILD_DIR 2019-06-26 19:54:28 +02:00
MilhouseVH
1d81d22225 buildsystem: add pre_configure() function that is not target specific 2019-05-26 19:17:08 +01:00
MilhouseVH
72cdeda49e distro-tool: handle garbage in error response 2019-05-25 13:59:07 +01:00
CvH
68b8b4adeb
Merge pull request #3472 from MilhouseVH/le10_pkginfo
tools/pkginfo: simple tool to dump a package.mk
2019-05-04 07:49:05 +02:00
MilhouseVH
d2f0502fb6 tools/pkginfo: simple tool to dump a package.mk 2019-05-04 06:42:38 +01:00
kszaq
5b43ef7cb1 tools: drop mkpkg_linux-amlogic 2019-05-04 00:02:46 +02:00
kszaq
9ad3fbe815 scripts, tools: drop amlpkg building 2019-05-04 00:01:55 +02:00
CvH
45de0f978a
Merge pull request #3406 from Kwiboo/docker-python3
tools/docker: install python3
2019-04-14 14:14:15 +02:00
chbmb
263d3b50ea
mkpkg_media_build
CrazyCat `linux_media` repository no longer exists on [Github](https://github.com/crazycat69/linux_media) but seems to have migrated and be active on [bitbucket](https://bitbucket.org/CrazyCat/linux_media).
2019-04-07 21:24:37 +01:00
Jonas Karlman
7a6112f11b tools/docker: install python3
Python 3.4 or later is required to build the GNU C Library version 2.29
2019-04-07 20:21:14 +00:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
MilhouseVH
e691b3b693 packages: correct original copyright 2019-03-26 16:43:42 +00:00
CvH
44429065c5
Merge pull request #3347 from HiassofT/le92-binary-addons
binary/retroplayer update scripts: update to latest tag instead of HEAD
2019-03-10 10:16:09 +01:00
Matthias Reichl
d209e704ab update_retroplayer-addons: exclude non-working game addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 15:59:13 +01:00
Matthias Reichl
a65908b1d7 update_binary-addons: exclude vfs.nfs from updates
vfs.nfs isn't released yet

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:59:23 +01:00
Matthias Reichl
9c8860c5bc update_binary-addons: make missing addon check work again
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:59:11 +01:00
Matthias Reichl
3d60aba791 update_binary-addons: remove p8-platform bump
LibreELEC uses a locally managed, newer version of p8-platform

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
3f2eb80d8f update_binary-addons: exclude vfs.sacd from updates
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
8fb7fbbaf7 update_retroplayer-addons: exclude game.netplay from updates
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
78259e03a0 update addons: add possibility to exclude packages in updates
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:18:02 +01:00
Matthias Reichl
673f7d28a2 update_retroplayer-addons: don't bump PKG_REV on game addon bumps
As we are using tags, and the addon version should match the tag
version bumping PKG_REV on kodi game addon updates isn't needed.

As with update_binary-addons bumping PKG_REV may be wanted as
we are switching from HEAD to tags and can be enabled by setting
the PKG_BUMP_REV environment variable.

PKG_REV will also be bumped the script is run with "-f" as before.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:17:19 +01:00
Matthias Reichl
8df1fcbfeb update_retroplayer-addons: switch to using tags
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:10:38 +01:00
Matthias Reichl
8e921e37a9 factor out common binary/retroplayer addon update functions
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-02 11:06:15 +01:00
MilhouseVH
2f5e2ed14d tools/viewplan: fix argument order 2019-03-02 07:03:16 +00:00
Matthias Reichl
ca9897e76a update_retroplayer-addons: fix git directory clash
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 20:38:12 +01:00
Matthias Reichl
de946a4c5a update_binary-addons: fix unquoted path variables
also change missing tag ERROR to WARNING

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 20:37:25 +01:00
Matthias Reichl
4c170f5b0b update_binary-addons: add options to keep git dirs and bump PKG_REVs
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 17:44:16 +01:00
Matthias Reichl
d0cc97cdd6 update_binary-addons: update kodi addons to latest tag
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-28 17:40:38 +01:00
MilhouseVH
ad938672b2 buildsystem: parallel pid cleanup 2019-02-28 06:19:13 +00:00
MilhouseVH
995117c482 tools/mtstats.py: fix zero replacement 2019-02-17 19:56:13 +00:00
MilhouseVH
88420e232b tools/pkgcheck: add "ignored depends assign" warning 2019-02-13 15:10:54 +00:00
MilhouseVH
cf573b1272 tools/dashboard: follow latest build if not locked to P/D/A 2019-02-13 15:10:54 +00:00
MilhouseVH
7bbad851d7 tools/mtstats.py: simple script to anlayse build history 2019-02-08 17:17:43 +00:00
MilhouseVH
0ebc6fef63 build system: add parallel build support; use new "image" package 2019-02-08 17:17:43 +00:00
Matthias Reichl
dc9ceda279 update_retroplayer-addons: handle all game.* addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-01-27 14:04:44 +01:00
Matthias Reichl
7b11ece9b4 update_retroplayer-addons: colorize warnings and errors
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-01-27 14:04:44 +01:00
Matthias Reichl
9a6c8520a4 update_retroplayer-addons: sync libretro core versions with kodi
Instead of bumping libretro cores to their current master version
use the githash from depends file in kodi game addon.

This ensures we ship the same libretro core versions as Kodi.

When a kodi game addon is bumped the libretro package is automatically
bumped, too.

If the script is invoked with the "-f" option all libretro packages
will be synced to the version specified in the kodi game addon.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-01-26 17:43:51 +01:00
MilhouseVH
1765a1013d tools/pkgcheck: new script 2018-12-30 07:42:21 +00:00
CvH
765e99cfd6 update_retroplayer-addons: use default branch instead of master 2018-11-17 16:48:05 +01:00
CvH
e8742188fb
Merge pull request #3052 from lrusak/retroplayer-script
update_retroplayer-addons: use git ls-remote to avoid cloning the ent…
2018-11-17 16:46:47 +01:00
CvH
74b0c68e9f mkpkg_libretro-ppsspp: don't init all submodules 2018-10-27 19:19:56 +02:00
Lukas Rusak
04e382512b
update_retroplayer-addons: use git ls-remote to avoid cloning the entire repo 2018-10-23 16:22:12 -07:00
Ian Leonard
a36c818ae4 tools/mkpkg_lockdev: drop; lockdev is no more
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-05 20:15:10 +00:00
MilhouseVH
327e33a320 scripts/get, tools-distro-tool: fix wget redirection issue 2018-08-30 04:39:33 +01:00