Commit Graph

2922 Commits

Author SHA1 Message Date
André Roth 66e6d3ac6f document prometheus API
* enable in dev and test env
* fix api/repos doc
2026-06-14 19:53:09 +02:00
dependabot[bot] 0aebd14f13 build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3
Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) from 1.67.1 to 1.97.3.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.67.1...service/s3/v1.97.3)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
  dependency-version: 1.97.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 19:53:09 +02:00
dependabot[bot] b909bccfcd build(deps): bump github.com/cloudflare/circl from 1.6.1 to 1.6.3
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.6.1 to 1.6.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.6.1...v1.6.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-version: 1.6.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 19:53:09 +02:00
Russell Greene 62c92e4256 fix docs for Serve in API mode 2026-06-14 19:53:09 +02:00
dependabot[bot] 2f0b2cf4de build(deps): bump requests from 2.32.4 to 2.33.0 in /system
Bumps [requests](https://github.com/psf/requests) from 2.32.4 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.4...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 19:53:09 +02:00
André Roth 79bd81e937 ci: do not upload coverage for dependabot 2026-06-14 19:53:09 +02:00
André Roth b1cb14e921 ci: fix coverage 2026-06-14 19:53:09 +02:00
Tim Foerster 091b6f9948 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-14 19:53:09 +02:00
André Roth 213fbccead multi sign: add test 2026-06-14 19:53:09 +02:00
Ales Bregar f06e428caf clearer REST api docs, put whitespace to docs to show that keyId strings are trimmed 2026-06-14 19:53:09 +02:00
Ales Bregar 8b521fc722 updating REST api with multiple gpg keys support, due backwards compatibility introducing CSV under same key (gpg-key) 2026-06-14 19:53:09 +02:00
Ales Bregar 7895edd100 review fix 2026-06-14 19:53:09 +02:00
Ales Bregar 5e3460ae62 system test t12_api sends empty keyRef string, making gpg fail 2026-06-14 19:53:09 +02:00
Ales Bregar 58480d747f system test unexpected string fix (would be helpful, but not changing the test just for this) 2026-06-14 19:53:09 +02:00
Ales Bregar 7716d4236d system test configuration fix 2026-06-14 19:53:09 +02:00
Ales Bregar 6a8723484d documentation updated 2026-06-14 19:53:09 +02:00
Ales Bregar ec4503c941 white space revert to minimize change 2026-06-14 19:53:09 +02:00
Ales Bregar bd95012687 - #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-14 19:53:09 +02:00
André Roth d4da3d5440 tasklist: fix deadlocks
* lock correct resources
* unlock list before queueing
2026-06-14 19:53:09 +02:00
André Roth dff6bbb165 ci: fail on failed coverage upload 2026-06-14 19:53:09 +02:00
André Roth c9bae4c454 unit-test: use /smallfs when non-root 2026-06-14 19:53:09 +02:00
André Roth 95ef905ca9 ci: provide 1MB /smallfs to docker 2026-06-14 19:53:09 +02:00
André Roth 6a5f494a1f ci: run unit tests in docker
- run separate unit-test job
- build docker
- allow make docker-unit-tests in ci
2026-06-14 19:53:09 +02:00
Brian Witt 009087e58f error on out of space 2026-06-14 19:53:09 +02:00
André Roth c73aa0e255 docs: update PR tempalte 2026-06-14 19:53:09 +02:00
Yury Bushmelev 90e7008b8d Update Puppet module references in README
Removed outdated Puppet module references and added an actively
maintained one.
2026-06-14 19:53:09 +02:00
dependabot[bot] d7c51530f5 build(deps): bump github.com/cloudflare/circl from 1.4.0 to 1.6.1
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.4.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-version: 1.6.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 19:53:09 +02:00
dependabot[bot] c55c0f6e3c build(deps): bump golang.org/x/crypto from 0.36.0 to 0.45.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.36.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 19:53:09 +02:00
Linus Fischer d9099b7e6b Fix swagger property casing 2026-06-14 19:53:08 +02:00
Yaksh Bariya 444c7f8af1 give myself some credit as well
Cause I'm nice :)
2026-06-14 19:53:08 +02:00
Yaksh Bariya 9a1a401248 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-14 19:53:08 +02:00
Tobias Assarsson 56f5254aa9 fix repo edit api. 2026-06-14 19:53:08 +02:00
Ryan Gonzalez 4f1838bb74 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-14 19:53:08 +02:00
Ryan Gonzalez 37841fb205 system-test: Forward CAPTURE to docker
The code was only forwarding TEST, but CAPTURE is useful too.
2026-06-14 19:53:08 +02:00
Ryan Gonzalez 0164827907 docker: Preserve the go build cache
Otherwise, every `make docker-...` invocation will need to rebuild
everything from scratch.
2026-06-14 19:53:08 +02:00
Ryan Gonzalez fa8e8ab6fb 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-14 19:53:08 +02:00
Ryan Gonzalez 2a87554581 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-14 19:53:08 +02:00
chesseed 298e09e0b9 fix comment 2026-06-14 19:53:08 +02:00
chesseed 4ecbaf5a62 fix swagger errors 2026-06-14 19:53:08 +02:00
JupiterRider 562820b625 ran "gofmt -s -w ." to format the code 2026-06-14 19:53:08 +02:00
André Roth 2d86506183 README: remove buster 2026-06-14 19:53:08 +02:00
Yye847 ef75ff8600 Update README.rst
add trixie in list of available dists also in CLI part of README
2026-06-14 19:53:08 +02:00
Yye847 62b324eb65 Update README.rst
add trixie in list of available dists
2026-06-14 19:53:08 +02:00
JupiterRider 4c40f4dc0a add JupiterRider to AUTHORS file 2026-06-14 19:53:08 +02:00
JupiterRider cfdb720ef4 remove tautological (unnecessary) nil condition 2026-06-14 19:53:08 +02:00
André Roth 5de38a987a ci: remove EOL debian/buster 2026-06-14 19:53:08 +02:00
André Roth c62670ea51 update Releasing.md 2026-06-14 19:53:08 +02:00
Alejandro Guijarro Monerris 9d0b3a186e chore: add name to AUTHORS 2026-06-14 19:53:08 +02:00
Alejandro Guijarro Monerris a5702371ef feat(s3): add publishedPrefix to pathCache to avoid reupload of files 2026-06-14 19:53:08 +02:00
Itay Porezky 02227d7233 Removing non related actions from mirror update 2026-06-14 19:53:08 +02:00