abuild merge requestshttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests2024-03-22T22:32:18Zhttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/253abuild: add an option to keep all directories2024-03-22T22:32:18ZTimo Teräsabuild: add an option to keep all directoriesThis is mainly needed for alpine-baselayout which creates all
directories, and most of them are empty. The code in question
would remove directories we explicitly want alpine-baselayout
to create and own.This is mainly needed for alpine-baselayout which creates all
directories, and most of them are empty. The code in question
would remove directories we explicitly want alpine-baselayout
to create and own.Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/250abuild: warn for more version suffixes2024-03-13T10:58:37ZNatanael Copaabuild: warn for more version suffixesgive a warning when version suffix a<digit>/b<digit> probably should be
_alpha<digit>/_beta<digit>.
ref: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10972#note_380899give a warning when version suffix a<digit>/b<digit> probably should be
_alpha<digit>/_beta<digit>.
ref: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10972#note_380899https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/249Remove deprecated option from abuild man page2024-03-13T11:12:52ZHugo BarreraRemove deprecated option from abuild man pageUsing this flag yields:
>>> ERROR: : Use newapkbuild to create new aportsUsing this flag yields:
>>> ERROR: : Use newapkbuild to create new aportshttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/248abuild.in: update autoconf test for loongarch642024-03-27T19:29:05ZJingyun Huaabuild.in: update autoconf test for loongarch64update autoconf test for loongarch64.update autoconf test for loongarch64.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/247abuild: remove duplicate SOURCE_DATE_EPOCH from .PKGINFO2024-03-11T13:44:28ZSertonixabuild: remove duplicate SOURCE_DATE_EPOCH from .PKGINFOThe `SOURCE_DATE_EPOCH` is already stored as the `builddate` so it doesn't make sense to save it a second time.The `SOURCE_DATE_EPOCH` is already stored as the `builddate` so it doesn't make sense to save it a second time.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/246abuild: fix quote handling in check_license2024-02-27T16:27:53ZSertonixabuild: fix quote handling in check_licenseThis prevents false warnings on packages like `arianna`This prevents false warnings on packages like `arianna`Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/245apkbuild-cpan.in: don't add perl-dev if its not needed on recreate2024-03-05T11:01:46ZTimothy Leggeapkbuild-cpan.in: don't add perl-dev if its not needed on recreatehttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/243apkbuild-cpan.in: Improve the script, reduce issues and special cases2024-02-02T02:44:23ZTimothy Leggeapkbuild-cpan.in: Improve the script, reduce issues and special caseshttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/242abuild: avoid variables in sed pattern2024-03-06T13:00:55ZSertonixabuild: avoid variables in sed patternSome characters will be interpreted by sed as a pattern or escape the pattern completely. Printing the full path instead doesn't seem bad.Some characters will be interpreted by sed as a pattern or escape the pattern completely. Printing the full path instead doesn't seem bad.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/241abuild: fix subpackage setting arch to all explicitly2024-03-27T19:29:05ZSertonixabuild: fix subpackage setting arch to all explicitlyFixes packaging of aports!58723 and aports!58718.Fixes packaging of aports!58723 and aports!58718.Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/235apkbuild-pypi.in: create pretty urls & use gpep517 in template2024-02-02T14:32:45ZCelesteapkbuild-pypi.in: create pretty urls & use gpep517 in templateThis should now be ready for merging. It contains many improvements imported from `apkbuild-cpan`, modernizes the template, and fixes a few issues i managed to find.This should now be ready for merging. It contains many improvements imported from `apkbuild-cpan`, modernizes the template, and fixes a few issues i managed to find.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/234checkapk: new arch can cause old apk missing2024-03-13T11:14:52ZSertonixcheckapk: new arch can cause old apk missingJust extending the debug message when no old apk is found that it can be cause by a new arch being added.Just extending the debug message when no old apk is found that it can be cause by a new arch being added.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/233Remove --recursive from abump --help2024-03-05T11:28:09ZHugo BarreraRemove --recursive from abump --helpThis flag does not exist.This flag does not exist.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/230.editorconfig: add yml rules2024-03-05T11:03:45ZHugo Barrera.editorconfig: add yml rulesWhile editing .gitlab-ci.yml, my editor kept indenting to tabs due to
the override for [*]. This retains the existing style.While editing .gitlab-ci.yml, my editor kept indenting to tabs due to
the override for [*]. This retains the existing style.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/228speed up abuild cleanoldpkg test, add test for checkapk2023-10-18T09:38:42ZNatanael Copaspeed up abuild cleanoldpkg test, add test for checkapkskip various steps when buliding the package.skip various steps when buliding the package.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/227tests: add another test for abuild deps2023-10-17T20:32:10ZNatanael Copatests: add another test for abuild depsTest that passing only `CHOST=... abuild deps` works as expectedTest that passing only `CHOST=... abuild deps` works as expectedhttps://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/226tests: test checkdepends2023-10-17T20:05:50ZNatanael Copatests: test checkdependsverify that checkdepends is pulled in when it should and not installed
when it shouldn't.verify that checkdepends is pulled in when it should and not installed
when it shouldn't.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/225tests: add test for abuild dep2023-10-17T19:52:25ZNatanael Copatests: add test for abuild depverify that makedepends_build and makedepends_host works as expected.verify that makedepends_build and makedepends_host works as expected.https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/224ci: build with clang and scan-build2023-10-17T16:33:52ZNatanael Copaci: build with clang and scan-buildref: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10102ref: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10102https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/223checkapk: Check how many packages depend on a previous soname2024-01-28T12:49:06ZSören Tempelcheckapk: Check how many packages depend on a previous sonameSince the changeset committed by psykose a while ago in commit
26118d49973636d34cb905965ab3a285fa3e646d we now extract the
previous soname. We can pass this previous soname to `apk search -R`
to figure out how many packages are linked ag...Since the changeset committed by psykose a while ago in commit
26118d49973636d34cb905965ab3a285fa3e646d we now extract the
previous soname. We can pass this previous soname to `apk search -R`
to figure out how many packages are linked against this old soname.
I believe this to be useful for reviewing MRs since the checkapk
output will directly tell us if a contributor has missed rebuilds.
It will also inform us when no rebuilds are necessary, e.g. if the
SONAME was changed but no packages is linked against the library.
Example output for `main/libsodium`:
```
>>> Size difference for libsodium: 336 KiB -> 340 KiB
--- filelist-libsodium-old 2023-09-22 11:24:54.799204225 +0200
+++ filelist-libsodium-new 2023-09-22 11:24:54.799204225 +0200
@@ -1,5 +1,5 @@
.PKGINFO
usr/
usr/lib/
-usr/lib/libsodium.so.23
-usr/lib/libsodium.so.23.3.0
+usr/lib/libsodium.so.26
+usr/lib/libsodium.so.26.1.0
SODIFF:
-usr/lib/libsodium.so.23.3.0: SONAME libsodium.so.23
+usr/lib/libsodium.so.26.1.0: SONAME libsodium.so.26
REBUILDS:
*** 36 packages linked against 'libsodium.so.23' need to be rebuild!
```
I think this might be a good addition to the SODIFF output, this is just a suggestion though if others believe the SODIFF output to be enough then we don't need to merge this :)