Commit Graph

2918 Commits

Author SHA1 Message Date
André Roth d2f8852165 docs: fix typos 2026-06-17 23:42:06 +02:00
André Roth 7686e63dcc ci: build for ubuntu 26.04 2026-06-17 23:42:06 +02:00
André Roth 4e5a57b04c system tests: do not depend on launchpad.net 2026-06-17 23:42:06 +02:00
André Roth b064d9e16f config: allow setting PPA Base URL 2026-06-17 23:42:06 +02:00
André Roth 89e315485d document prometheus API
* enable in dev and test env
* fix api/repos doc
2026-06-17 23:42:06 +02:00
Russell Greene c10ed5e1e8 fix docs for Serve in API mode 2026-06-17 23:42:06 +02:00
André Roth 14e1d16f78 ci: do not upload coverage for dependabot 2026-06-17 23:42:06 +02:00
André Roth 8de57e3ae1 ci: fix coverage 2026-06-17 23:42:06 +02:00
Tim Foerster 59fea9c090 Add SOURCE_DATE_EPOCH support for reproducible builds
Implement support for the SOURCE_DATE_EPOCH environment variable as
specified by reproducible-builds.org. When set, this variable overrides
the current timestamp in the Release file's Date and Valid-Until fields,
enabling reproducible filesystem publishes.

- Read SOURCE_DATE_EPOCH environment variable in Publish()
- Use the epoch timestamp for both Date and Valid-Until fields
- Gracefully fallback to current time if unset or invalid
- Add comprehensive tests for valid and invalid SOURCE_DATE_EPOCH values
2026-06-17 23:42:06 +02:00
André Roth 9775e28d50 multi sign: add test 2026-06-17 23:42:06 +02:00
Ales Bregar ad29c2bdd7 clearer REST api docs, put whitespace to docs to show that keyId strings are trimmed 2026-06-17 23:42:06 +02:00
Ales Bregar c6c771e9a0 updating REST api with multiple gpg keys support, due backwards compatibility introducing CSV under same key (gpg-key) 2026-06-17 23:42:06 +02:00
Ales Bregar c654c691a2 review fix 2026-06-17 23:42:06 +02:00
Ales Bregar 49cb084c8f system test t12_api sends empty keyRef string, making gpg fail 2026-06-17 23:42:06 +02:00
Ales Bregar ec195aad47 system test unexpected string fix (would be helpful, but not changing the test just for this) 2026-06-17 23:42:06 +02:00
Ales Bregar 9bf94f74e2 system test configuration fix 2026-06-17 23:42:06 +02:00
Ales Bregar 86f416793c documentation updated 2026-06-17 23:42:06 +02:00
Ales Bregar 9d2eae0c91 white space revert to minimize change 2026-06-17 23:42:06 +02:00
Ales Bregar 568aab9175 - #309 adding gpgKeys config key, accepting array of keyRef, cli args has precedence
- #691 adding handling of multiple keyRefs when signing with gpg
2026-06-17 23:42:06 +02:00
André Roth 45d2dcad1b tasklist: fix deadlocks
* lock correct resources
* unlock list before queueing
2026-06-17 23:42:05 +02:00
André Roth 9e21584c59 ci: fail on failed coverage upload 2026-06-17 23:42:05 +02:00
André Roth 82badc03ac unit-test: use /smallfs when non-root 2026-06-17 23:42:05 +02:00
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