Commit Graph

2896 Commits

Author SHA1 Message Date
André Roth 56cc98cb73 ci: provide 1MB /smallfs to docker 2026-06-17 23:42:05 +02:00
André Roth f409c293e9 ci: run unit tests in docker
- run separate unit-test job
- build docker
- allow make docker-unit-tests in ci
2026-06-17 23:42:05 +02:00
Brian Witt 667f0d530a error on out of space 2026-06-17 23:42:05 +02:00
Linus Fischer 32bca2f680 Fix swagger property casing 2026-06-17 23:42:05 +02:00
Yaksh Bariya d47e5fec16 give myself some credit as well
Cause I'm nice :)
2026-06-17 23:42:05 +02:00
Yaksh Bariya a0b56e1a64 make version comparision more similar to that of dpkg
Initially found by automated repository health checks used by Termux
in https://github.com/termux/termux-packages/issues/27472

The root problem was 4.3.5a comparing less than 4.3.5-rc1-1 by aptly
According to debian "4.3.5a" > "4.3.5-rc1-1"

This is because dpkg splits hyphen for revision at the first hyphen,
whereas aptly was splitting at the last hyphen which is different from
dpkg's behaviour.

dpkg behaviour: https://git.dpkg.org/cgit/dpkg/dpkg.git/tree/lib/dpkg/parsehelp.c#n242

Perhaps this wasn't detected as there was broken tests in the repository
since the initial commit of aptly. This also fixes those tests
2026-06-17 23:42:05 +02:00
Tobias Assarsson f631bea426 fix repo edit api. 2026-06-17 23:42:05 +02:00
Ryan Gonzalez 80753c1deb system-test: Allow skipping coverage
Enabling coverage near-doubles the incremental build time and adds
overhead to individual tests on the order of **5-10x** or more. It's not
essential to have this for quick local system-test runs, so add an option
to disable it.
2026-06-17 23:42:05 +02:00
Ryan Gonzalez 4e394d14d3 system-test: Forward CAPTURE to docker
The code was only forwarding TEST, but CAPTURE is useful too.
2026-06-17 23:42:05 +02:00
Ryan Gonzalez 1ea9d41e46 docker: Preserve the go build cache
Otherwise, every `make docker-...` invocation will need to rebuild
everything from scratch.
2026-06-17 23:42:05 +02:00
Ryan Gonzalez 119330c1bf docker: Fix usage with rootless podman and SELinux
When using rootless podman, the *current user* gets mapped to uid 0,
which results in the aptly user being unable to write to the build
directory. We can instead map the current user to the corresponding uid
in the container via `PODMAN_USERNS=keep-id`, which matches up with what
docker-wrapper wants...but then that will *enter the container as the
current uid*, which messes with the ability to set permissions on
`/var/lib/aptly`. That can be fixed by explicitly passing `--user 0:0`,
which should be a no-op on docker (since the container's default user is
already root).

Additionally, this adds `--security-opt label=disable` to avoid
permission errors when running on systems with SELinux enforcing.
2026-06-17 23:42:05 +02:00
Ryan Gonzalez 0d62ac8249 system-test: Fix crash when a comparison with a non-string value fails
`orig` isn't necessarily a string, so the string concatenation here can
raise a TypeError.
2026-06-17 23:42:05 +02:00
chesseed e1c91e5985 fix comment 2026-06-17 23:42:05 +02:00
chesseed e26d1babd4 fix swagger errors 2026-06-17 23:42:05 +02:00
JupiterRider 26912de151 ran "gofmt -s -w ." to format the code 2026-06-17 23:42:05 +02:00
André Roth 9efc8a5878 README: remove buster 2026-06-17 23:42:05 +02:00
Yye847 7b7dcf353e Update README.rst
add trixie in list of available dists also in CLI part of README
2026-06-17 23:42:05 +02:00
Yye847 3b558de3fa Update README.rst
add trixie in list of available dists
2026-06-17 23:42:05 +02:00
JupiterRider 08ad0aab9a add JupiterRider to AUTHORS file 2026-06-17 23:42:05 +02:00
JupiterRider c23d6802a7 remove tautological (unnecessary) nil condition 2026-06-17 23:42:05 +02:00
André Roth 38907dd941 ci: remove EOL debian/buster 2026-06-17 23:42:05 +02:00
André Roth 2ee367c3e3 update Releasing.md 2026-06-17 23:42:05 +02:00
Alejandro Guijarro Monerris 11aa078700 chore: add name to AUTHORS 2026-06-17 23:42:05 +02:00
Alejandro Guijarro Monerris 39d920cf22 feat(s3): add publishedPrefix to pathCache to avoid reupload of files 2026-06-17 23:42:05 +02:00
Itay Porezky ed8f7c727f Removing non related actions from mirror update 2026-06-17 23:42:05 +02:00
André Roth 37b7c5aa91 Revert "use new azure-sdk"
This reverts commit e2cbd637b8.
2026-06-14 19:53:08 +02:00
André Roth 3e7978180e disable swagger 2026-06-14 19:53:08 +02:00
André Roth 4360fb00d7 Revert "tests: disable t04_mirror/create/CreateMirror18Test (Closes: #1135740)"
This reverts commit 24fcde56b6.
2026-06-14 19:40:17 +02:00
Sébastien Delafond d90825f4f0 Update changelog for 1.6.2-3 release 2026-05-05 18:24:43 +02:00
Sébastien Delafond 5be757e35e d/control: bump-up Standards-Version 2026-05-05 18:24:17 +02:00
Sébastien Delafond e51c1894bf tests: disable t12_api/gpg/GPGAPITestAddKey (Closes: #1135672) 2026-05-05 18:14:15 +02:00
Sébastien Delafond 24fcde56b6 tests: disable t04_mirror/create/CreateMirror18Test (Closes: #1135740) 2026-05-05 18:11:47 +02:00
Sébastien Delafond 7390e19e03 Update changelog for 1.6.2-2 release 2025-11-21 15:47:30 +01:00
Sébastien Delafond 0aa0c0a995 Rediff patches 2025-11-21 15:46:22 +01:00
Sébastien Delafond 1d10dd6ce7 Remove Built-Using 2025-09-24 10:36:58 +02:00
Sébastien Delafond e28fa416ab Update changelog for 1.6.2-1 release 2025-09-24 08:23:22 +02:00
Sébastien Delafond d6c7b1d770 tests: add dependencies, disable extra failing tests 2025-09-24 08:23:04 +02:00
Sébastien Delafond 92ea4a2505 Patch system-tests to not abort on first failure 2025-09-24 08:22:50 +02:00
Sébastien Delafond 3e5e0fc119 aptly-api is arch all 2025-09-24 06:50:13 +02:00
Sébastien Delafond 9fa4248e3b Add Static-Built-Using 2025-09-24 06:49:59 +02:00
Sébastien Delafond d958a146f7 d/watch: mangle & suffix 2025-09-24 06:30:52 +02:00
Sébastien Delafond 125a7c2c07 not-installed 2025-09-23 21:20:03 +02:00
Sébastien Delafond d403150d77 Update changelog for 1.6.1+ds1-4~1.gbp4e6c52 release 2025-09-23 20:51:26 +02:00
Sébastien Delafond 4e6c52ec2a Rediff patches
Add 0003-tests-no-upstream-s-etcd-install-as-it-s-arch-specif.patch: <REASON>
Drop 0004-tests-no-upstream-s-etcd-install-as-it-s-arch-specif.patch: <REASON>
Drop 0005-Fixes-Issue-1435.patch: <REASON>
2025-09-23 20:50:34 +02:00
Sébastien Delafond 90ffa6883a Merge tag 'upstream/1.6.2+ds1' into debian/master 2025-09-23 20:44:39 +02:00
Sébastien Delafond 4a85be68a0 Merge tag 'v1.6.2' into upstream/latest
aptly: release $version
2025-09-23 20:40:20 +02:00
Sébastien Delafond 19e4040b17 Bump up Standards-Version 2025-09-23 20:35:48 +02:00
Sébastien Delafond 767323fde9 d/watch: v5 2025-09-23 20:35:31 +02:00
Sébastien Delafond 5be8231598 Update changelog for 1.6.1+ds1-3 release 2025-07-08 14:13:48 +02:00
Sébastien Delafond e9f1947156 tests: disable system test CreateMirror31Test (Comment: #1108828) 2025-07-08 10:31:36 +02:00