557 Commits

Author SHA1 Message Date
Matthias Reichl
57dcbbf631 update_retroplayer-addons: stop defaulting to retroplayer branch
The kodi-game binary addon repo now contains Leia and Matrix,
like the kodi binary addon repo, so make the branch name a
mandatory option.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-30 13:29:21 +01:00
Matthias Reichl
f9f53151b5 update_binary-addons: allow specifying branch for unofficial addons
Since Kodi Matrix hasn't branched yet and is still developed in
master the kodi branch name (master) and the branch name used in
addons (Matrix) doesn't match.

Allow to optionally specify the addon branch name on the command line,
eg "./update_binary-addons master Matrix".

This fixes visualization.pictureit bumps for master which picked
up the master branch of the addon instead of the Matrix branch.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-29 19:42:34 +01:00
Matthias Reichl
49ebd0f9ab update_binary-addons: prefer Kodi branch over HEAD for unofficial addons
This fixes bumping visualization.pictureit which has separate branches
for Leia and Matrix.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-29 19:42:34 +01:00
MilhouseVH
538793e0e8 tools/dashboard: support THREADCOUNT=0 2019-08-17 12:48:13 +01:00
Matthias Reichl
d40e6da679 update_binary-addons: fix PKG_REV bump for unofficial addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-13 16:04:37 +02:00
Matthias Reichl
02781b9cbf update_retroplayer-addons: drop loop over single item
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-13 16:04:37 +02:00
Matthias Reichl
2ae4537216 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-13 16:04:37 +02:00
Matthias Reichl
43e58805d7 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-13 16:04:37 +02:00
Matthias Reichl
212c181de6 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-13 16:04:37 +02:00
CvH
9a21fc75d9
Merge pull request #3679 from MilhouseVH/le92_backports3
backports: various backports for libreelec-9.2
2019-07-11 22:11:40 +02:00
MilhouseVH
d93bd49a02 distro-tool: halve the time required to generate workload 2019-07-11 07:03:56 +01:00
MilhouseVH
7d84fbe6fa buildsystem: add GETPKG history event 2019-07-11 00:36:22 +01:00
kszaq
a3f6e5a14a tools: drop mkpkg_linux-amlogic 2019-06-19 19:06:43 +01:00
kszaq
f0b6c134bc scripts, tools: drop amlpkg building 2019-06-19 18:52:37 +01:00
MilhouseVH
0eb36d786b buildsystem: add pre_configure() function that is not target specific 2019-06-13 22:12:21 +01:00
MilhouseVH
195c206669 distro-tool: handle garbage in error response 2019-06-13 22:12:21 +01:00
MilhouseVH
08c06b05cf tools/pkginfo: simple tool to dump a package.mk 2019-06-13 22:12:20 +01: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