André Roth
bf4b660568
use git-lfs for test files
2024-11-07 17:07:37 +01:00
André Roth
c028d5e8cb
docker-server: also watch cmd/ directory
2024-11-04 17:02:54 +01:00
André Roth
eafec74c29
allow to exclude provided packages from list.Search
2024-11-04 17:02:54 +01:00
André Roth
74364544c2
Merge pull request #1366 from cfiehe/feature/allow_component_management
...
Allow adding, removing and replacing of published repository components
2024-11-01 20:45:23 +01:00
André Roth
a4c53689ca
docker-wrapper: ignore root user
...
some systems (MacOS) might have root permissions on the volume directories.
2024-11-01 20:18:05 +01:00
André Roth
0ceff44421
improve log
2024-11-01 20:01:45 +01:00
André Roth
f79423a4ee
update swagger documentation
2024-11-01 17:48:03 +01:00
Christoph Fiehe
c9309c926c
Command to replace the whole staged source list added.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-11-01 17:48:03 +01:00
André Roth
ee3124cfc6
update bash completion
2024-11-01 17:48:03 +01:00
André Roth
eb94211053
fix race conditions
2024-11-01 17:48:03 +01:00
André Roth
bd01cd4033
update swagger documentation
2024-11-01 17:48:03 +01:00
Christoph Fiehe
21013a8317
Command descriptions fixed.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-11-01 17:48:03 +01:00
Christoph Fiehe
451de79666
Improve consistency between API and Swagger docs.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-11-01 17:48:03 +01:00
André Roth
755fdfaca2
update swagger documentation
...
- add default values
- set default values
2024-11-01 17:48:03 +01:00
André Roth
f4057850b9
fix compile and lint errors
2024-11-01 17:47:50 +01:00
André Roth
a56f52ff18
update man pages
2024-10-22 16:58:15 +02:00
André Roth
4d6688d68e
sanitize archs
2024-10-22 16:58:15 +02:00
Christoph Fiehe
7a7ff1142c
Minor code and documentation changes.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
8cceed12f7
Fix tests.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
f8f28e9554
Fixing tests and fix cleanup.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
ac5ecf946d
Cleanup improved and code redundant code removed.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
d87d8bac92
Fix test cases.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
9dffe791ad
Restoring original test sequence
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
3057aed571
Test cases added.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
14c29ff912
Fixing tests.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
Christoph Fiehe
73cdf5417b
Use POST instead of PUT for source creation.
...
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +02:00
André Roth
fa0d2860f0
fix multidist in publish
2024-10-22 16:58:15 +02:00
André Roth
dcbb2a06a5
fix build
2024-10-22 16:58:15 +02:00
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