Commit Graph

2417 Commits

Author SHA1 Message Date
Mauro Regli
c75c2c7594 pass down addonpath from api and cmd context 2024-11-17 14:09:37 +01:00
Mauro Regli
17186b0c73 add GetAddonPaths to publish file 2024-11-17 14:09:37 +01:00
Mauro Regli
2aac7baf52 add AddonIndex to index_files
I had to remove "signable: false" (line 399), since that property
doesn't exist.
2024-11-17 14:09:37 +01:00
Mauro Regli
bc090e1dce add GetAddonDir to context 2024-11-17 14:09:37 +01:00
André Roth
31ccce1343 Merge pull request #1388 from aptly-dev/fix/flat-mirror-filtering
do not set empty mirror architectures for flat mirrors
2024-11-16 21:40:27 +01:00
André Roth
147955c682 Merge pull request #1390 from iofq/master
Make HTTP server wait for tasks before shutdown
2024-11-10 15:38:47 +01:00
iofq
840b76228a add shutdown context unit test 2024-11-09 15:34:35 -06:00
iofq
8436001d5b Make HTTP server wait for tasks before shutdown 2024-11-08 14:06:23 -06:00
André Roth
c86b888b0a add tests 2024-11-08 19:00:18 +01:00
André Roth
0936922172 only allow mirrors with architectures set 2024-11-08 17:07:37 +01:00
André Roth
62a0a1a560 log error 2024-11-08 17:07:37 +01:00
André Roth
596f59d3c4 fix tests 2024-11-08 17:07:37 +01:00
André Roth
e642847a82 log filtering error 2024-11-08 17:07:37 +01:00
André Roth
26c14e218a fix lint 2024-11-08 17:07:37 +01:00
André Roth
26c775ccfd fix test
flat repos may have architecture which is needed for filtering dependencies
2024-11-08 17:07:37 +01:00
André Roth
d6284148f9 set Architectures from flat mirror
note: 'Architecture' is not official, but used by nvidia mirrors for no debian arch 'x86_64'. shold this be supported ?
2024-11-08 17:07:37 +01:00
André Roth
4c58266a87 do not set empty mirror architectures for flat mirrors 2024-11-08 17:07:37 +01:00
André Roth
2f06b0690c Merge pull request #1387 from 5hir0kur0/fix/providesDependency-error
package.go: Fix bug in providesDependency
2024-11-08 16:22:48 +01:00
André Roth
19d213d748 fix tests 2024-11-08 15:55:01 +01:00
5hir0kur0
c8fca7953c package.go: Fix bug in providesDependency
Use package version if `Provides:` entry does not specify a version.
2024-11-08 15:55:01 +01:00
André Roth
55d4d98353 Merge pull request #1389 from aptly-dev/remove-lfs
Remove lfs
2024-11-08 15:52:32 +01:00
André Roth
dd4f90e4c2 Revert "use git-lfs for test files"
This reverts commit bf4b660568.
2024-11-08 15:23:31 +01:00
André Roth
6647f6d0e0 Merge pull request #1386 from aptly-dev/fix/add-provided-package
Fix/add provided package
2024-11-08 10:58:30 +01:00
André Roth
9d05949d19 update doc 2024-11-08 10:20:25 +01:00
André Roth
9da58b1ea2 ci: lfs checkout 2024-11-07 17:14:56 +01:00
André Roth
38485a5b1e add test 2024-11-07 17:07:37 +01:00
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