André Roth
2cafbc8484
Merge pull request #1439 from aptly-dev/feature/go-1.24
...
go: use version 1.24
2025-05-01 10:14:27 +02:00
Silke Hofstra
6dbb28b2b8
Add myself to authors
2025-04-30 12:21:34 +02:00
Silke Hofstra
d8a4a28259
Remove corrupt package references in db recover
...
When aptly crashes it is possible to get a corrupt database with a dangling key reference.
This results in an error with 'key not found', eg:
ERROR: unable to load package Pall example-package 1.2.3 778cf6f877bf6e2d: key not found
This change makes `db recover` fix this situation by removing the dangling references.
2025-04-30 12:21:34 +02:00
Sébastien Delafond
7d124ac5c0
Update changelog for 1.6.1+ds1-2 release
2025-04-28 15:39:13 +02:00
Sébastien Delafond
abebdb94a5
Do not re-publish unchanged files to S3 every single time ( Closes : #1104299 )
2025-04-28 15:38:08 +02:00
André Roth
9a217171c8
go: mod tidy
2025-04-26 13:35:49 +02:00
André Roth
c67cafcf94
Makefile: allow no cache docker build
2025-04-26 13:31:16 +02:00
André Roth
f7057a9517
go1.24: fix lint, unit and system tests
...
- development env: base on debian trixie with go1.24
- lint: run with default config
- fix lint errors
- fix unit tests
- fix system test
2025-04-26 13:29:50 +02:00
André Roth
ae5379d84a
go: use version 1.24
2025-04-25 14:20:13 +02:00
André Roth
c05068c2e8
Merge pull request #1440 from aptly-dev/bugfix/issue-1435-fix-s3-upload-unchanged-package
...
Fix upload of unchanged packages in S3 on source update of published repository
2025-04-25 13:21:10 +02:00
André Roth
22bc2f9d0f
system-tests: improve sorted compare
...
sort both aptly output and gold file. output original output for
debugging on failure.
* Makefile: enable CAPTURE=1 env variable for capturing gold files
* docker-system-test: use AWS env vars for S3 tests
* fix system tests timing issue with order of gpg logs in publish tests
2025-04-25 00:51:59 +02:00
André Roth
c07bf2b108
s3: add debug logs for commands
...
* initialize zerolog for commands
* Change default log format: remote colors and timestamp
2025-04-24 12:13:38 +02:00
André Roth
e447fc0f1e
ci: keep CI artifacts for 7 days
2025-04-21 12:01:39 +02:00
André Roth
e062df68c5
go1.23: update golangci-lint version
...
and fix warnings.
2025-04-20 20:32:55 +02:00
André Roth
664a5cd675
go1.23: fix system test
2025-04-20 11:57:42 +02:00
André Roth
9ef217b351
ci: use go 1.23 compatible with gocovmerge
2025-04-20 11:38:33 +02:00
Christoph Fiehe
67bd15487d
Fixes Issue#1435.
...
Signed-off-by: Christoph Fiehe <christoph.fiehe@eurodata.de >
2025-04-14 13:39:45 +02:00
Sébastien Delafond
7b45c4d380
Update changelog for 1.6.1+ds1-1 release
2025-02-24 10:06:44 +01:00
Sébastien Delafond
6cbd80566f
Rediff patches
...
Drop 0003-Revert-fix-empty-mirror-check.patch: <REASON>
2025-02-24 10:06:40 +01:00
Sébastien Delafond
274bb2732a
Merge branch 'upstream/latest' into debian/master
2025-02-24 10:06:01 +01:00
Sébastien Delafond
5935c7d5a0
Merge tag 'v1.6.1' into upstream/latest
...
aptly: release $version
2025-02-24 10:03:35 +01:00
Sébastien Delafond
4ab07fef23
Update changelog for 1.6.0+ds1-8 release
2025-02-21 06:54:25 +01:00
Sébastien Delafond
e7abc4d39a
tests: disable riscv64-flaky EditRepo4Test
2025-02-21 06:53:27 +01:00
Sébastien Delafond
71b045366d
Update changelog for 1.6.0+ds1-7 release
2025-02-20 08:01:02 +01:00
Sébastien Delafond
7abac9537f
tests: clean way to disable single tests, disable s390-flaky CreateMirror35Test
2025-02-20 08:01:02 +01:00
Sébastien Delafond
9d64dc2fd9
Update changelog for 1.6.0+ds1-6 release
2025-02-19 14:02:23 +01:00
Sébastien Delafond
6e1b49daa8
tests: disable system-test's etcd tests as the corresponding fixture is also arch-specific
2025-02-19 14:01:27 +01:00
Sébastien Delafond
7bbfe88008
Update changelog for 1.6.0+ds1-5 release
2025-02-19 07:23:49 +01:00
Sébastien Delafond
4c5db7d98c
tests: don't use upstream's etcd installer
2025-02-19 07:23:20 +01:00
Sébastien Delafond
cab280ebc0
Update changelog for 1.6.0+ds1-4 release
2025-02-18 10:36:35 +01:00
Sébastien Delafond
2f78cf5129
Rediff patches
...
Add 0004-Don-t-run-swagger-related-or-modules-tasks-before-te.patch: <REASON>
Add 0003-Revert-fix-empty-mirror-check.patch: <REASON>
Drop 0003-Don-t-run-swagger-related-or-modules-tasks-before-te.patch: <REASON>
2025-02-18 10:05:07 +01:00
Sébastien Delafond
bc3755dcf7
tests: use extensive coverage from make's test and system-test
2025-02-18 10:05:07 +01:00
André Roth
ab18da351d
ci: add release notes
...
and update Releasing.md
v1.6.1
2025-02-15 22:25:56 +01:00
André Roth
1abb735bfa
Merge pull request #1430 from aptly-dev/release/1.6.1
...
Release/1.6.1
2025-02-15 19:10:42 +01:00
André Roth
9397d8ab36
add releasing doc
2025-02-15 16:23:53 +01:00
André Roth
82300d6944
update changelog
2025-02-15 16:17:37 +01:00
André Roth
cf3841e35c
Merge pull request #1425 from aptly-dev/fix/debian-compliance
...
postrm: remove aptly-api user and home directory on purge
2025-01-24 00:49:15 +01:00
Sébastien Delafond
1a0bffdc51
postrm: remove aptly-api user and home directory on purge
2025-01-22 21:48:02 +01:00
Sébastien Delafond
a5730feb9d
postrm: remove aptly-api user and home directory on purge
2025-01-18 08:43:11 +01:00
Sébastien Delafond
b8f084b1dc
Update changelog for 1.6.0+ds1-3 release
2025-01-13 14:51:33 +01:00
Sébastien Delafond
9fc50e347b
aptly.conf: fix s3 example
2025-01-13 14:49:26 +01:00
André Roth
666b5c9700
Merge pull request #1422 from aptly-dev/fix/empty-mirror-snapshot
...
Allow snapshotting empty mirrors
2025-01-13 12:36:01 +01:00
André Roth
2eabc6045f
go mod tidy
2025-01-12 00:05:00 +01:00
André Roth
cc32e79f2a
Merge pull request #1423 from mikelolasagasti/google-uuid
...
Switch to google/uuid module
2025-01-11 23:56:23 +01:00
Mikel Olasagasti Uranga
7074fc8856
Switch to google/uuid module
...
Current used github.com/pborman/uuid hasn't seen any updates in years.
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info >
2025-01-11 23:18:50 +01:00
André Roth
a7d85e5905
Merge pull request #1187 from aptly-dev/dependabot/go_modules/github.com/gin-gonic/gin-1.9.1
...
Bump github.com/gin-gonic/gin from 1.7.7 to 1.9.1
2025-01-11 22:15:59 +01:00
André Roth
cad4233d0d
Bump github.com/gin-gonic/gin from 1.7.7 to 1.9.1
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.7.7 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.7...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
# Conflicts:
# go.mod
# go.sum
2025-01-11 21:48:14 +01:00
André Roth
9b9894c07d
update README
2025-01-11 21:33:40 +01:00
André Roth
8546cf31ce
add test: snapshot empty mirror
2025-01-11 20:00:42 +01:00
André Roth
aa0830ff0c
Revert "fix empty mirror check"
...
This reverts commit 09a44ba409 .
2025-01-11 19:17:28 +01:00