termux-packages/.github
Henrik Grimler ca5438c1ef
CI: fix occasional dependency upload issue
Previously we were outputting built debs into ./debs instead of
standard folder ./output.  We were also sorting built_packages.txt so
that $(cat ./built_packages.txt) returned an alphabetically sorted
list.

This caused issues for pushes that updated both a package and one or
more of its dependencies, if the dependencies start with a letter that
is later in the alphabet.

Latest example was libforestdb and libsnappy.  Libforestdb depends on
libsnappy, but the buildorder as given to build-package.sh was
"libforestdb libsnappy".  During the libforestdb build libsnappy was
built first, but the deb put into the standard ./output folder (that's
how our build system currently handles built dependency debs).  When
build-package.sh then later tries building libsnappy it skips it
since it has already been built.  We then end up with only libforestdb
in the ./debs folder.

Fix this issue by putting all debs in ./output/, and then moving the
once mentioned in built_packages.txt to ./debs/.

Fixes https://github.com/termux/termux-packages/issues/8773.
2022-01-30 17:06:27 +01:00
..
ISSUE_TEMPLATE github: enable issues without templates 2021-12-24 10:10:24 +02:00
static added another fosshost logo 2021-06-08 05:21:56 +00:00
workflows CI: fix occasional dependency upload issue 2022-01-30 17:06:27 +01:00
FUNDING.yml funding.yml: fill with necessary data 2019-08-11 17:31:57 +03:00
stale.yml stalebot: Ignore issues for package requests 2021-11-18 20:38:27 +05:30