Christoph Fiehe
bd64232eb6
Allow management of components
...
This commit allows to add, remove and update components of published repositories without the need to recreate them.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
André Roth
767bc6bd0b
Merge pull request #1380 from aptly-dev/fix/concurrent-api
...
Fix race condition with async API operations
2024-10-22 16:56:12 +02:00
André Roth
8ddb81eb5c
Merge pull request #1368 from aptly-dev/fix/repo-add-errmsg
...
repo add: improve error message
2024-10-22 16:39:45 +02:00
André Roth
f16a68f59c
fix race condition with repo add files
...
Do all relevant database reading/modifying inside `maybeRunTaskInBackground`.
Notably, `LoadComplete` will load the reflist of a repo. if this is done outside of a background operation,
the data might be outdated when the background tasks runs.
2024-10-22 15:12:25 +02:00
André Roth
0e6f9c38fb
ci: add packages to aptly repo with async
2024-10-22 14:38:02 +02:00
André Roth
037da55de1
Merge pull request #1375 from aol-nnov/api-create-repo-from-snapshot
...
Update create repo API to support snapshots
2024-10-22 11:45:47 +02:00
André Roth
0666f8784f
repo from snapshot: add negative test
2024-10-22 11:13:31 +02:00
André Roth
01f16d35c2
swagger: make json params uppercase and add default values
2024-10-22 11:02:59 +02:00
Андрей Лухнов
f8e0a8d880
Update create repo API to support snapshots
...
To achieve feature parity with cli, it is now possible
to create repos from snapshots
2024-10-22 07:53:43 +03:00
André Roth
ae0fa20aa6
Merge pull request #1370 from aptly-dev/fix/path-traversal
...
fix path traversal
2024-10-11 15:15:30 +02:00
André Roth
cefc09a41b
more sanitize
2024-10-11 14:11:09 +02:00
André Roth
7742980426
use specific go version
...
As of Go 1.21, toolchain versions must use the 1.N.P syntax.
2024-10-11 12:56:08 +02:00
André Roth
57639c4adf
Sanitize path api params
...
- fix path traversal complains by CodeQL
2024-10-11 12:56:08 +02:00
André Roth
75ca51b23b
improve error message
2024-10-10 12:03:13 +02:00
André Roth
ce2966e547
Merge pull request #1364 from aptly-dev/feature/persist-multidist
...
Feature/persist multidist
2024-10-09 11:55:48 +02:00
André Roth
861260198a
publish: persist multidist flag
2024-10-08 22:28:12 +02:00
André Roth
3e7bec5604
Merge pull request #1363 from aptly-dev/improve/dev-ci
...
Improve/dev ci
2024-10-08 22:22:34 +02:00
André Roth
14a343a0d7
system tests: support fitureCmds and allow dirmgr to startup
...
- fixes a race condition, where dirmgr does not seem to be ready
- imports secret key for signing if gpg2 is used
2024-10-08 15:38:42 +02:00
André Roth
704af8f2f0
docker: use bash shell for aptly user
2024-10-08 02:14:30 +02:00
André Roth
ac2dd1dfd3
go mod tidy
2024-10-08 01:22:10 +02:00
André Roth
df18133179
fix system test
...
fixture commands are actually executing ./aptly-test, do the same here
2024-10-08 01:22:10 +02:00
André Roth
be6d06a653
ci: delete aptly tasks after publish
2024-10-08 01:22:10 +02:00
André Roth
a998755245
debian: fix dependencies
...
- docker: install more tools
2024-10-08 01:22:10 +02:00
André Roth
98c82a3684
improve Makefile
...
- simplify Makefile
- improve devserver
- improve make clean
2024-10-08 01:22:10 +02:00
André Roth
4658bec08b
Merge pull request #1358 from aptly-dev/improve/grab-downloader
...
improve and test grab downloader
2024-10-05 18:29:08 +02:00
André Roth
33047c2c55
cleanup gpg keys
...
- move gpg files to one place
- with gpg2, the secretkey parameter is ignored. aptly can also ignore it
2024-10-04 18:46:40 +02:00
André Roth
b2b7f11d17
ci: remove pip and virtualenv
...
- separate unit tests, benchmark, system tests, flake8
2024-10-04 15:56:57 +02:00
André Roth
f0ad0f9496
improve and test grab downloader
2024-10-04 13:37:56 +02:00
André Roth
d6a156b181
Merge pull request #1162 from aptly-dev/feature/176-snapshot-pull-api
...
Snapshot Pull API
2024-10-03 23:07:27 +02:00
André Roth
880f487093
Merge pull request #1352 from aptly-dev/feature/storage-api
...
Feature/storage api
2024-10-03 23:02:19 +02:00
André Roth
bce54d5878
mirror api: update documentation
2024-10-03 22:39:03 +02:00
André Roth
dbc336f921
system-tests: show execution time
2024-10-03 21:53:43 +02:00
André Roth
71085969f5
Makefile: more colors
2024-10-03 19:17:27 +02:00
André Roth
c35cd783cf
swagger: improve doc
2024-10-03 17:46:32 +02:00
André Roth
38ea720fc5
snapshot merge: use proper REST api
...
- this breaks the existing api, which is only available in CI builds
- improve swagger doc
2024-10-03 17:34:29 +02:00
André Roth
06b2b920da
make REST api more restful
2024-10-03 14:51:45 +02:00
André Roth
a3078fa93e
improve make clean
2024-10-03 14:25:46 +02:00
André Roth
0bc45c822d
swagger: document /api/snapshots/pull
2024-10-03 14:25:46 +02:00
Mauro Regli
af5b04b24f
Feature: Add Pull Snapshot API
2024-10-03 14:25:46 +02:00
André Roth
678d0c61f1
github: move upload-artifacts script to pipeline directory
2024-10-03 01:24:10 +02:00
André Roth
37ee41af67
system-test: enable test not depending on FTP
2024-10-03 01:15:56 +02:00
André Roth
8b8eb57555
update etcd go mod
...
to be compatible with debian version
2024-10-03 01:15:56 +02:00
André Roth
d6efe8636e
cleanup FTP system tests
...
as we cannot test FTP with S3 backend easily, test is disabled and removed from api tests
2024-10-03 01:15:56 +02:00
André Roth
caf55bb8e0
ci: cleanup step names
2024-10-03 01:15:56 +02:00
André Roth
cc4798472f
fix test depending on gpg1 keys
2024-10-02 21:29:28 +02:00
André Roth
e3a95d5c4e
make swagger quiet
2024-10-02 21:29:25 +02:00
André Roth
997ffe9c31
system-tests: install swag only if needed
2024-10-02 21:29:12 +02:00
André Roth
c6c607a406
improve make docker-shell
2024-10-02 19:13:00 +02:00
André Roth
c25693b009
storage: add tests
2024-10-02 19:12:05 +02:00
André Roth
fca153cc8b
docker-deb: install and init swagger
2024-10-02 18:48:48 +02:00