Commit Graph
206 Commits
Author SHA1 Message Date
Martin Simon b80f151b6d deb: make the index rename concurrency configurable
publishRenameConcurrency (publish_rename_concurrency in YAML) sets how
many index files RenameFiles renames at once. It defaults to 4, the
value that was hard-coded, and 1 renames them one at a time. Values
below 1 are treated as 1, since a semaphore with no capacity would
never admit a rename.

The setting is global rather than per publishing endpoint because the
renames run against every storage backend, not only S3.
2026-11-04 12:24:18 +01:00
André Roth 6f95fdca32 Merge pull request #1660 from barnumbirr/complete-default-config
conf: document the config keys missing from aptly.conf and the man page
2026-11-04 12:12:19 +01:00
Martin Simon 5b9a1a73fa conf: document gpg_keys, and the three keys the man page lacks
gpg_keys was missing from debian/aptly.conf, and the man page had no
entry for ppaBaseURL, enablePprofEndpoint or gpgKeys. The wording
follows the existing template comments where there is one.
2026-11-03 14:01:36 +01:00
Martin Simon 8c655504d2 conf: fix two misspelled keys in the default aptly.conf
debian/aptly.conf spelled dep_follow_all_variants as
dep_follow_allvariants and dep_verboseresolve as dep_verbose_resolve.
The YAML loader ignores unknown keys, so setting either to true in a
config written from this template had no effect.
2026-11-03 13:57:08 +01:00
Martin Simon 925996b8da conf: document acquire_by_hash_algorithms in the default aptly.conf
The key added in #1626 was missing from debian/aptly.conf, which aptly
writes out as ~/.aptly.conf on first run, so new installs never saw it.
2026-11-03 13:53:52 +01:00
James Munson 2d72d1f0d5 Expose net/http/pprof handlers under /api/debug/pprof/* when the new
enablePprofEndpoint (JSON) / enable_pprof_endpoint (YAML) config option
is true. The endpoint is disabled by default.
2026-11-02 15:14:35 +01:00
André Roth cd22f09fc1 doc: fix comment order in aptly.conf 2026-11-01 02:30:33 +01:00
André Roth 65b34cfec5 debian: update changelog 2026-06-24 20:37:39 +02:00
iofq 160d16d96c docs: Update JFrog Artifactory documentation in config 2026-06-18 18:18:31 +02:00
André Roth b28daa8417 initial commit for JFrog support
# Conflicts:
#	api/api_test.go
#	api/router.go
#	go.mod
#	go.sum
#	utils/config_test.go
2026-06-18 18:18:31 +02:00
Pierig Le Saux 46e9ac65fa missed some files for tests 2026-06-17 23:39:27 +02:00
Pierig Le Saux d5fbf0f795 feat: add GCS publish backend with config, API, docs, and tests 2026-06-17 23:39:27 +02:00
André Roth faeaad0378 config: allow setting PPA Base URL 2026-05-04 11:05:04 +02:00
André Roth f652a522fd update changelog for 1.6.2 2025-06-09 14:38:53 +02:00
André Roth 82300d6944 update changelog 2025-02-15 16:17:37 +01:00
Sébastien Delafond 1a0bffdc51 postrm: remove aptly-api user and home directory on purge 2025-01-22 21:48:02 +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 5a18428666 aptly.conf: fix s3 example 2025-01-11 15:25:53 +01:00
André Roth 2c3a107e00 update changelog 2024-12-24 18:57:40 +01:00
André Roth 846fe5e08a update changelog 2024-12-21 19:41:59 +01:00
André Roth da29961052 Revert "debian: do not conflict with gnupg1"
This reverts commit 2f540a8026.
2024-12-21 18:55:49 +01:00
André Roth 0d90ff96b9 debian: add build dependency for yaml 2024-12-11 12:02:52 +01:00
André Roth b14595cb2d cleanup makefile 2024-12-11 12:02:52 +01:00
André Roth e50a5e175f update documentation and man page 2024-12-11 12:02:52 +01:00
André Roth 22cfa4c8c7 add yaml example 2024-12-11 12:02:52 +01:00
André Roth 9d0c7b5ade make yaml config default 2024-12-11 12:02:52 +01:00
André Roth 87a36633e9 group and order config items
and fix lint
2024-12-11 12:02:52 +01:00
André Roth 0e0189f0eb use yaml config file 2024-12-11 12:02:52 +01:00
André Roth 09c56342d2 fix json 2024-12-11 10:40:44 +01:00
André Roth ea80f6d49c write commented json default config 2024-12-11 10:40:44 +01:00
André Roth 622072bd50 document aptly.conf 2024-12-11 10:40:44 +01:00
André Roth 2df82e87b7 document aptly.conf 2024-12-11 10:40:43 +01:00
André Roth 2f540a8026 debian: do not conflict with gnupg1 2024-12-01 10:54:54 +01:00
André Roth b2d05828a5 set systemd service file limit to 32768 2024-12-01 10:54:54 +01:00
André Roth 14e4f3dad8 include more official debianization 2024-11-17 15:44:27 +01:00
André Roth 036422399a add -no-lock flag to service 2024-11-17 14:10:31 +01:00
André Roth 53c2f8b778 debian: add lintian
and fix/improve cross building. build now with PIE and RELRO
2024-11-17 14:10:30 +01:00
André Roth 6050051e04 adapt to official debian aptly packaging 2024-11-17 14:10:30 +01:00
André Roth 8c2ea639fd debian: use package versions from bookworm-backports 2024-11-17 14:10:30 +01:00
André Roth a998755245 debian: fix dependencies
- docker: install more tools
2024-10-08 01:22:10 +02:00
André Roth f7ff964085 debian: fix lintian complaints
- remove dulplicate bash completion
- fix lintian complaint about bash completion
-  add built-using
2024-10-01 13:59:42 +02:00
André Roth 94dc4f2365 debian: update dependencies
all go dependencies are available in debian/testing (trixie) and aptly builds.
2024-10-01 13:59:42 +02:00
André Roth 1d1bd41bb8 add swagger support
- install swaggo
- add swagger config option
2024-10-01 01:07:09 +02:00
André Roth 67d04ca878 debian: move config file to aptly-api 2024-09-24 10:14:39 +02:00
André Roth fe2c623638 debian: fix config migration 2024-09-24 10:14:39 +02:00
André Roth f7f220aa18 debianize
- fix make version on debian
- update gitignore
- add aptly-api and service
- install zsh completion
- add debug package
- move aptly data from orig deb package
- do not add shell for service user
- use 8080 as default port
2024-09-24 10:14:39 +02:00
Andrey Smirnov fd662c9275 Rename debian -> deb. #21 2014-04-07 21:15:13 +04:00
Andrey Smirnov 3db7125932 Refactor ppa parsing: take pointer to config. 2014-04-06 19:12:07 +04:00
Andrey Smirnov 9ff49ff24a Fix words: source might be snapshot or local repo. #10 2014-03-26 19:44:15 +04:00
Andrey Smirnov 1a60ac6aa0 Refactoring: use CollectionFactory instead of manual collection creation. 2014-03-25 14:59:26 +04:00