psykose
8e25f6d14a
checkapk: undo broken parallel thing
...
this doesn't work for setting lvalues and *size= is never populated
todo: write tests.., or just port this to lua
2023-06-22 22:40:38 +02:00
psykose
e3777a7259
checkapk: silence old-pkg gzip/tar errors
...
when apk fetch fails (a new package is added) these just say 'gzip invalid magic' or similar, as there is no old apk to compare to.
the || die is also never triggered, as it only triggers when the sort fails, since it won't trigger on earlier pipeline steps
this needs more cleaning up, but i'll leave that for the future when i write some tests.
2023-06-22 22:29:34 +02:00
psykose
fdbd71d816
checkapk: use pigz when available and run newsize/oldsize in parallel
2023-06-22 13:40:37 +02:00
psykose
59caf9e11e
checkapk: handle + in pkgname
...
the pkgname is passed to awk, and + matches in regex, so it fails to
match the actual package name.
closes #10077
2023-06-01 04:13:23 +00:00
Leo
8eeca0adad
*: say we are using GPL-2.0-only
2020-10-23 11:39:18 -03:00
Sören Tempel
b3c1b65f75
checkapk: calculate size difference of packages
2020-09-17 11:55:54 +00:00
Natanael Copa
c486b3b4f3
allow override sharedir for testing
...
Aloow overrid sharedir with global ABUILD_SHAREDIR so we test the local
functions.sh instead of a system installed functions.sh
2019-11-07 11:42:23 +00:00
Natanael Copa
f3dc428ea0
rename datadir -> sharedir
...
abuild uses datadir as local variable in various functions. Rename the
global datadir to sharedir to avoid confusion.
2019-11-07 11:42:23 +00:00
Leo
1c075c2855
Fix package version check on checkapk
...
The assignment of the oldpkg variable is missing the name of the package
2019-10-01 17:14:36 +01:00
Sören Tempel
015f0f69a8
checkapk: remove temporary dir on SIGINT and exit
2018-10-03 10:52:13 +00:00
Jakub Jirutka
948fedc5f7
indent heredocs when possible
2016-08-23 00:09:06 +02:00
Jakub Jirutka
042bf4297f
checkapk: fix to work with https repositories
2016-08-09 15:02:17 +02:00
Timo Teräs
034e36f721
checkapk: treat subpackages items as colon separated lists
...
fixes to pick correct subpackage name when "pkg:split:arch" syntax
is used.
2016-07-27 14:50:32 +03:00
Natanael Copa
9f23ed5409
checkapk: run apk fetch in quiet mode to workaround bug in apk fetch
...
apk fetch --stdout will mix the progress bar with data output. We work
around this by run it in quiet mode.
2014-01-23 07:25:54 +00:00
Natanael Copa
4757588caf
functions: rename abuild_ver to program_version
2013-10-25 07:26:22 +00:00
Natanael Copa
1822f3f624
functions: rename prog to program
2013-10-25 07:24:46 +00:00
Natanael Copa
a924d3c171
checkapk: sanity check that we have CARCH set
2013-10-25 07:19:30 +00:00
Dubiousjim
cfa6c7d67a
various: fancier readconfig, permit env overrides
2013-07-09 07:13:46 +00:00
Dubiousjim
b2d6b47be1
various: s/echo/msg/, s/echo/error/, tweak error messages
2013-07-09 07:12:56 +00:00
Dubiousjim
ef9fb52908
various: use long options, rework usages
2013-07-09 06:59:30 +00:00
Dubiousjim
db1314ac55
various: move conf-loading and i/o to functions
2013-07-09 06:44:01 +00:00
Dubiousjim
e1339a9b77
various: add descriptions, attribution, license
2013-07-08 14:48:56 +00:00
Natanael Copa
49a048669c
checkapk: find package when REPODEST is used
2013-02-13 07:30:09 +00:00
Natanael Copa
7ac5bd33b3
checkapk: new tool
...
Tool to help find ABI breakages in package upgrades
2012-12-30 14:13:42 +00:00