-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/s3 publshing #12
Fix/s3 publshing #12
Commits on Jan 21, 2022
-
Add support for Azure storage as a publishing backend
This adds a new configuration setting: AzurePublishEndpoints, similar to the existing S3PublishEndpoints and SwiftPublishEndpoints. For each endpoint, the following has to be defined: - accountName - accountKey - container - prefix Azure tests require the following environment variables to be set: - AZURE_STORAGE_ACCOUNT - AZURE_STORAGE_ACCESS_KEY With either of these not set, Azure-specific tests are skipped.
Configuration menu - View commit details
-
Copy full SHA for bb42a21 - Browse repository at this point
Copy the full SHA bb42a21View commit details -
Fix the storage string format.
Co-authored-by: Andrej Shadura <andrew@shadura.me>
Configuration menu - View commit details
-
Copy full SHA for a778ff8 - Browse repository at this point
Copy the full SHA a778ff8View commit details -
Include AzurePublishEndpoints in the manpage template
Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Configuration menu - View commit details
-
Copy full SHA for 4a6d53e - Browse repository at this point
Copy the full SHA 4a6d53eView commit details
Commits on Jan 27, 2022
-
every go routine needs to have its own collection factory
this is needed so concurrent reads and writes are possible.
Configuration menu - View commit details
-
Copy full SHA for 208a215 - Browse repository at this point
Copy the full SHA 208a215View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e7731c - Browse repository at this point
Copy the full SHA 1e7731cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7f42a9 - Browse repository at this point
Copy the full SHA f7f42a9View commit details -
db batch may not be a global resource
This way db usage is safe.
Configuration menu - View commit details
-
Copy full SHA for 1c7c07a - Browse repository at this point
Copy the full SHA 1c7c07aView commit details -
Solving progress not safe issue for api
Progress is not safe so for api its always nil and code needs to take care of this
Configuration menu - View commit details
-
Copy full SHA for 25d7d7c - Browse repository at this point
Copy the full SHA 25d7d7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e63d74d - Browse repository at this point
Copy the full SHA e63d74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab5e60 - Browse repository at this point
Copy the full SHA 6ab5e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ccf95 - Browse repository at this point
Copy the full SHA d7ccf95View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0ab8f4 - Browse repository at this point
Copy the full SHA b0ab8f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd168c - Browse repository at this point
Copy the full SHA 3cd168cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f09a273 - Browse repository at this point
Copy the full SHA f09a273View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4efe6a - Browse repository at this point
Copy the full SHA b4efe6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c052888 - Browse repository at this point
Copy the full SHA c052888View commit details -
Configuration menu - View commit details
-
Copy full SHA for d13de04 - Browse repository at this point
Copy the full SHA d13de04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e02a03 - Browse repository at this point
Copy the full SHA 8e02a03View commit details -
Configuration menu - View commit details
-
Copy full SHA for faf2d58 - Browse repository at this point
Copy the full SHA faf2d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7bb24 - Browse repository at this point
Copy the full SHA 2b7bb24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f7b0f - Browse repository at this point
Copy the full SHA 19f7b0fView commit details -
mirror: interrupt goroutine when done
This should avoid deadlocking when context is destroyed.
Configuration menu - View commit details
-
Copy full SHA for 79a7cf8 - Browse repository at this point
Copy the full SHA 79a7cf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a65ce6 - Browse repository at this point
Copy the full SHA 5a65ce6View commit details -
gpg: fix downloading multiple keys
each key needs to be provided as separate argument to gpg1 --recv-keys
Configuration menu - View commit details
-
Copy full SHA for 209b030 - Browse repository at this point
Copy the full SHA 209b030View commit details -
Configuration menu - View commit details
-
Copy full SHA for de2be9b - Browse repository at this point
Copy the full SHA de2be9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd83c1a - Browse repository at this point
Copy the full SHA fd83c1aView commit details -
Don't use transactions when direct db access is enough
For read-only action transactions are not necessary and they risk to deadlock if multiple go-routines try to read the database.
Configuration menu - View commit details
-
Copy full SHA for 2fa3ade - Browse repository at this point
Copy the full SHA 2fa3adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 914ddf4 - Browse repository at this point
Copy the full SHA 914ddf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4c3a2 - Browse repository at this point
Copy the full SHA bd4c3a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b28d89 - Browse repository at this point
Copy the full SHA 9b28d89View commit details -
Use global async flag as fallback on per-request flag
This way, if no pre-request flag is specified, the globally configured default is used.
Configuration menu - View commit details
-
Copy full SHA for 0914cd1 - Browse repository at this point
Copy the full SHA 0914cd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff51c46 - Browse repository at this point
Copy the full SHA ff51c46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 787cc8e - Browse repository at this point
Copy the full SHA 787cc8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c94973 - Browse repository at this point
Copy the full SHA 8c94973View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8b05e - Browse repository at this point
Copy the full SHA fb8b05eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 370e3cd - Browse repository at this point
Copy the full SHA 370e3cdView commit details -
So they can run on e.g. LXC containers as root, or other conceivable setups.
Configuration menu - View commit details
-
Copy full SHA for 6826efc - Browse repository at this point
Copy the full SHA 6826efcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b281819 - Browse repository at this point
Copy the full SHA b281819View commit details -
Configuration menu - View commit details
-
Copy full SHA for beb9d43 - Browse repository at this point
Copy the full SHA beb9d43View commit details -
Workaround differences in the GHA Ubuntu 18.04 environment compared t…
…o the Travis CI Ubuntu 16.04 environment.
Configuration menu - View commit details
-
Copy full SHA for 8e309b5 - Browse repository at this point
Copy the full SHA 8e309b5View commit details -
Initial attempt at a GitHub Actions workflow to emulate the previousl…
…y used Travis CI setup.
Configuration menu - View commit details
-
Copy full SHA for cd76e48 - Browse repository at this point
Copy the full SHA cd76e48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cb9ac5 - Browse repository at this point
Copy the full SHA 4cb9ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f9a1a1 - Browse repository at this point
Copy the full SHA 9f9a1a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20b038b - Browse repository at this point
Copy the full SHA 20b038bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b8c909 - Browse repository at this point
Copy the full SHA 5b8c909View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1cdb69 - Browse repository at this point
Copy the full SHA c1cdb69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aa9917 - Browse repository at this point
Copy the full SHA 9aa9917View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2d1e9a - Browse repository at this point
Copy the full SHA e2d1e9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5342e54 - Browse repository at this point
Copy the full SHA 5342e54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78082bc - Browse repository at this point
Copy the full SHA 78082bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef25417 - Browse repository at this point
Copy the full SHA ef25417View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf57ae - Browse repository at this point
Copy the full SHA 4cf57aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3775d69 - Browse repository at this point
Copy the full SHA 3775d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7412b84 - Browse repository at this point
Copy the full SHA 7412b84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a9a5bc - Browse repository at this point
Copy the full SHA 4a9a5bcView commit details -
PublishRepo26Test fails to run because something in the CI environment forces gpg to ask for the user's password. Try to require gpg1 for the test, which seems to run fine in other environments.
Configuration menu - View commit details
-
Copy full SHA for 4933e3c - Browse repository at this point
Copy the full SHA 4933e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ecd01b - Browse repository at this point
Copy the full SHA 8ecd01bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bf1a44 - Browse repository at this point
Copy the full SHA 9bf1a44View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed7a960 - Browse repository at this point
Copy the full SHA ed7a960View commit details -
Configuration menu - View commit details
-
Copy full SHA for a83dea7 - Browse repository at this point
Copy the full SHA a83dea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dc49d2 - Browse repository at this point
Copy the full SHA 0dc49d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91c3ed8 - Browse repository at this point
Copy the full SHA 91c3ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d60e575 - Browse repository at this point
Copy the full SHA d60e575View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e9406 - Browse repository at this point
Copy the full SHA 30e9406View commit details -
Configuration menu - View commit details
-
Copy full SHA for 122ff60 - Browse repository at this point
Copy the full SHA 122ff60View commit details -
Strip irrelevant lines from test output
It may happen that aptly retries to download data during tests (maybe because of a network issue), but our fixtures doesn't account for it. So, we strip those irrelevant lines before comparison.
Configuration menu - View commit details
-
Copy full SHA for 48635c8 - Browse repository at this point
Copy the full SHA 48635c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f7d74 - Browse repository at this point
Copy the full SHA 70f7d74View commit details -
Configuration menu - View commit details
-
Copy full SHA for bda6eb4 - Browse repository at this point
Copy the full SHA bda6eb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a40cfc6 - Browse repository at this point
Copy the full SHA a40cfc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 035d531 - Browse repository at this point
Copy the full SHA 035d531View commit details -
Configuration menu - View commit details
-
Copy full SHA for f93bc6e - Browse repository at this point
Copy the full SHA f93bc6eView commit details
Commits on Jan 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8941928 - Browse repository at this point
Copy the full SHA 8941928View commit details -
Configuration menu - View commit details
-
Copy full SHA for eaac04c - Browse repository at this point
Copy the full SHA eaac04cView commit details -
Specify output filename instead of directory
"temp" downloader uses its own naming for downloaded files.
Configuration menu - View commit details
-
Copy full SHA for eff2e56 - Browse repository at this point
Copy the full SHA eff2e56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e06af8 - Browse repository at this point
Copy the full SHA 3e06af8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5d90b7 - Browse repository at this point
Copy the full SHA b5d90b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952287a - Browse repository at this point
Copy the full SHA 952287aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86c1ffa - Browse repository at this point
Copy the full SHA 86c1ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 853c990 - Browse repository at this point
Copy the full SHA 853c990View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d9d27 - Browse repository at this point
Copy the full SHA e5d9d27View commit details -
Configuration menu - View commit details
-
Copy full SHA for e96372c - Browse repository at this point
Copy the full SHA e96372cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8925949 - Browse repository at this point
Copy the full SHA 8925949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c54f96 - Browse repository at this point
Copy the full SHA 4c54f96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 235e35a - Browse repository at this point
Copy the full SHA 235e35aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc30ef3 - Browse repository at this point
Copy the full SHA cc30ef3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1afcd68 - Browse repository at this point
Copy the full SHA 1afcd68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 551a370 - Browse repository at this point
Copy the full SHA 551a370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c68175 - Browse repository at this point
Copy the full SHA 2c68175View commit details -
deb: fix importing dbgsym packages with versioned Source field
dpkg-gencontrol can be called with -v flag which set binary package's version separated from source version. When this happen, the Source field will contain version number in addition to source package name. This tripped Aptly's dbgsym restriction, which check for exact source package name, which in turn prevents the dbgsym & the whole .changes file from being imported. From the git history, it seems like this condition is a leftover from when Aptly filter dbgsym packages using "*-dbgsym". So, I decided to remove it. A test case has been added to prevent regression.
Configuration menu - View commit details
-
Copy full SHA for 814d4db - Browse repository at this point
Copy the full SHA 814d4dbView commit details
Commits on Feb 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ff5eb53 - Browse repository at this point
Copy the full SHA ff5eb53View commit details
Commits on Feb 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5d98546 - Browse repository at this point
Copy the full SHA 5d98546View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1361bf2 - Browse repository at this point
Copy the full SHA 1361bf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ec638 - Browse repository at this point
Copy the full SHA e8ec638View commit details
Commits on Feb 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 21029c3 - Browse repository at this point
Copy the full SHA 21029c3View commit details
Commits on Feb 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fd40406 - Browse repository at this point
Copy the full SHA fd40406View commit details -
Configuration menu - View commit details
-
Copy full SHA for f89350e - Browse repository at this point
Copy the full SHA f89350eView commit details
Commits on Mar 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c46f12f - Browse repository at this point
Copy the full SHA c46f12fView commit details
Commits on Apr 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5a23f71 - Browse repository at this point
Copy the full SHA 5a23f71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b98039 - Browse repository at this point
Copy the full SHA 5b98039View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e577c - Browse repository at this point
Copy the full SHA c1e577cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47bda05 - Browse repository at this point
Copy the full SHA 47bda05View commit details
Commits on Apr 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cf98718 - Browse repository at this point
Copy the full SHA cf98718View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2d168f - Browse repository at this point
Copy the full SHA d2d168fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c29ccaa - Browse repository at this point
Copy the full SHA c29ccaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0302e39 - Browse repository at this point
Copy the full SHA 0302e39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8046fb1 - Browse repository at this point
Copy the full SHA 8046fb1View commit details
Commits on Apr 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6539e1b - Browse repository at this point
Copy the full SHA 6539e1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for db19a56 - Browse repository at this point
Copy the full SHA db19a56View commit details
Commits on Apr 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d955b06 - Browse repository at this point
Copy the full SHA d955b06View commit details
Commits on Apr 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 152538c - Browse repository at this point
Copy the full SHA 152538cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c04e77 - Browse repository at this point
Copy the full SHA 4c04e77View commit details
Commits on Apr 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 954b222 - Browse repository at this point
Copy the full SHA 954b222View commit details -
Configuration menu - View commit details
-
Copy full SHA for 751fd2f - Browse repository at this point
Copy the full SHA 751fd2fView commit details
Commits on Apr 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0a17988 - Browse repository at this point
Copy the full SHA 0a17988View commit details
Commits on Jun 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a0544dc - Browse repository at this point
Copy the full SHA a0544dcView commit details
Commits on Jun 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f9f1c8e - Browse repository at this point
Copy the full SHA f9f1c8eView commit details
Commits on Jun 15, 2022
-
api: allow parameters with urlencoded names
Aptly allows create e.g. repos with a / to use those with the REST api the router needs to allow urlencoded parameters in various places to represent this. A specific example of this is the /api/repos/:name/packages path Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 29deae6 - Browse repository at this point
Copy the full SHA 29deae6View commit details
Commits on Jun 20, 2022
-
Most modern distribution use python3 for python (3). Default to that to make it a bit simpler to run systems tests on Debian Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for a687df2 - Browse repository at this point
Copy the full SHA a687df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b2efee - Browse repository at this point
Copy the full SHA 4b2efeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f519ecd - Browse repository at this point
Copy the full SHA f519ecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ad6ca - Browse repository at this point
Copy the full SHA 35ad6caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f130e1 - Browse repository at this point
Copy the full SHA 6f130e1View commit details
Commits on Jun 21, 2022
-
Seems go.mod had some modules that are no longer used since the last version bumps? Running `make modules` or really `go mod tidy` automagically cleans those up. Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 26254a0 - Browse repository at this point
Copy the full SHA 26254a0View commit details -
Use parallel gzip instead of gzip for compression
golangs compress/gzip isn't a parallel implementation, so it's quite a bit slower on most modern servers then pgzip. The below benchmark run shows that publishing a debian bullseye mirror snapshot (amd64, arm64, armhf, source) shows a gain of about 35% in publishing time (when skipping bz2 using MR #1081) ``` hyperfine -w 1 -m 3 -L aptly aptly-nobz2,aptly-nobz2-pgzip -p "{aptly} -config aptly.conf publish drop bullseye || true" "{aptly} -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye" Benchmark 1: aptly-nobz2 -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye Time (mean ± σ): 35.548 s ± 0.378 s [User: 39.465 s, System: 10.046 s] Range (min … max): 35.149 s … 35.902 s 3 runs Benchmark 2: aptly-nobz2-pgzip -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye Time (mean ± σ): 26.592 s ± 0.069 s [User: 42.207 s, System: 9.676 s] Range (min … max): 26.521 s … 26.660 s 3 runs Summary 'aptly-nobz2-pgzip -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye' ran 1.34 ± 0.01 times faster than 'aptly-nobz2 -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye' ``` Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 2aca913 - Browse repository at this point
Copy the full SHA 2aca913View commit details
Commits on Jun 22, 2022
-
Allow disabling bzip2 compression for index files
Using bzip2 generates smaller index files (roughly 20% smaller Packages files) but it comes with a big performance penalty. When publishing a debian mirror snapshot (amd64, arm64, armhf, source) without contents skipping bzip speeds things up around 1.8 times. ``` $ hyperfine -w 1 -L skip-bz2 true,false -m 3 -p "aptly -config aptly.conf publish drop bullseye || true" "aptly -config aptly.conf publish snapshot --skip-bz2={skip-bz2} --skip-contents --skip-signing bullseye" Benchmark 1: aptly -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye Time (mean ± σ): 35.567 s ± 0.307 s [User: 39.366 s, System: 10.075 s] Range (min … max): 35.311 s … 35.907 s 3 runs Benchmark 2: aptly -config aptly.conf publish snapshot --skip-bz2=false --skip-contents --skip-signing bullseye Time (mean ± σ): 64.740 s ± 0.135 s [User: 68.565 s, System: 10.129 s] Range (min … max): 64.596 s … 64.862 s 3 runs Summary 'aptly -config aptly.conf publish snapshot --skip-bz2=true --skip-contents --skip-signing bullseye' ran 1.82 ± 0.02 times faster than 'aptly -config aptly.conf publish snapshot --skip-bz2=false --skip-contents --skip-signing bullseye' ``` Allow skipping bz2 creation for setups where faster publishing is more important then Package file size. Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for f61514e - Browse repository at this point
Copy the full SHA f61514eView commit details -
S3: support disabling ACL with
none
valueThis change lets you disable ACL when using S3 by using a configuration value of `none`. This way we maintain backward compatibility with the default setting being `private`. Fixes: #1067
Configuration menu - View commit details
-
Copy full SHA for c9f5763 - Browse repository at this point
Copy the full SHA c9f5763View commit details
Commits on Jul 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3ce2774 - Browse repository at this point
Copy the full SHA 3ce2774View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfc86d3 - Browse repository at this point
Copy the full SHA bfc86d3View commit details -
Add the https redirect to the gold ouptut of the test as this was changed for the jenkins debian repos and the tests were failing after this change.
Configuration menu - View commit details
-
Copy full SHA for 69d473e - Browse repository at this point
Copy the full SHA 69d473eView commit details -
Capture coverage of integration tests
To capture the coverage also for the integration tests, a test only executing the cmd.Run function is used. The test always exits with code 0 and prints the real exit code to stdout. Otherwise no coverage report is generated. Those changes enable a more accurate coverage report for future contributions.
Configuration menu - View commit details
-
Copy full SHA for 1d4e618 - Browse repository at this point
Copy the full SHA 1d4e618View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff3bf4b - Browse repository at this point
Copy the full SHA ff3bf4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 515e553 - Browse repository at this point
Copy the full SHA 515e553View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0a85b2 - Browse repository at this point
Copy the full SHA f0a85b2View commit details
Commits on Aug 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for abf8abb - Browse repository at this point
Copy the full SHA abf8abbView commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for af89914 - Browse repository at this point
Copy the full SHA af89914View commit details -
Configuration menu - View commit details
-
Copy full SHA for afdc10b - Browse repository at this point
Copy the full SHA afdc10bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42cfee2 - Browse repository at this point
Copy the full SHA 42cfee2View commit details
Commits on Aug 29, 2022
-
api: Allow querying the packages endpoint
The ".../packages" endpoints for mirror, local repos and snapshots all share the same syntax for querying. However the "/api/packages" endpoint doesn't match this. Adjust that to allow for a bit more consistency and allow querying the full package database. The current endpoint functionality "/packages/:name" is kept intact and can be used the same as now Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 393d1a6 - Browse repository at this point
Copy the full SHA 393d1a6View commit details -
Enable the ability to pass in a custom codename
While testing out Aptly, the `apt-get` client complains with the following error, since the `codename` was switched from the InRelease files that are baked out by Aptly: ``` E: Repository 'http://debianrepo.example.com/bionic testing InRelease' changed its 'Codename' value from '' to 'testing' ```
Configuration menu - View commit details
-
Copy full SHA for a59cad6 - Browse repository at this point
Copy the full SHA a59cad6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47930a4 - Browse repository at this point
Copy the full SHA 47930a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9042651 - Browse repository at this point
Copy the full SHA 9042651View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3d9055 - Browse repository at this point
Copy the full SHA b3d9055View commit details
Commits on Sep 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 268c39e - Browse repository at this point
Copy the full SHA 268c39eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e90ac67 - Browse repository at this point
Copy the full SHA e90ac67View commit details
Commits on Nov 17, 2022
-
Return an empty array if no tasks are available
All other api endpoints also send empty arrays instead of nil. Closes #1123
Configuration menu - View commit details
-
Copy full SHA for 71fd730 - Browse repository at this point
Copy the full SHA 71fd730View commit details
Commits on Dec 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 352f4e8 - Browse repository at this point
Copy the full SHA 352f4e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2020ca9 - Browse repository at this point
Copy the full SHA 2020ca9View commit details
Commits on Dec 22, 2022
-
return the snapshot in apiSnapshotsCreate
In v1.4.0 it [returned the snapshot](https://github.com/aptly-dev/aptly/blob/v1.4.0/api/snapshot.go#L168), but this was removed (by accident) in v1.5.0. This adds it back.
Configuration menu - View commit details
-
Copy full SHA for ced5ac7 - Browse repository at this point
Copy the full SHA ced5ac7View commit details
Commits on Jan 10, 2023
-
Bump github.com/aws/aws-sdk-go from 1.25.0 to 1.33.0
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.25.0 to 1.33.0. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/v1.33.0/CHANGELOG.md) - [Commits](aws/aws-sdk-go@v1.25.0...v1.33.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 81582bf - Browse repository at this point
Copy the full SHA 81582bfView commit details
Commits on Jan 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ecc41f0 - Browse repository at this point
Copy the full SHA ecc41f0View commit details
Commits on Feb 20, 2023
-
Bump github.com/aws/aws-sdk-go from 1.33.0 to 1.34.0
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.33.0 to 1.34.0. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/v1.34.0/CHANGELOG.md) - [Commits](aws/aws-sdk-go@v1.33.0...v1.34.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 0c74992 - Browse repository at this point
Copy the full SHA 0c74992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e62195 - Browse repository at this point
Copy the full SHA 8e62195View commit details
Commits on Mar 7, 2023
-
Fix: Switch gin mode depending on aptly.EnableDebug
If aptly.EnableDebug is active, we use Debug, otherwise we use gin.ReleaseMode to remove the annoying nuding messages when running the api. fixes: #1103
Configuration menu - View commit details
-
Copy full SHA for c187b0d - Browse repository at this point
Copy the full SHA c187b0dView commit details -
Fix: Drop Publish returned wrong status code if not found
Deleting a publish that does not exist now results in a status code 404 instead of 500. Fixes: #1006
Configuration menu - View commit details
-
Copy full SHA for dbf1ac7 - Browse repository at this point
Copy the full SHA dbf1ac7View commit details -
Fix: Make CodeCov Pipeline more lenient
The Pipeline will only fail if the code coverage has fallen more than 2 Percent. fixes: #1154
Configuration menu - View commit details
-
Copy full SHA for aaa6222 - Browse repository at this point
Copy the full SHA aaa6222View commit details
Commits on Mar 13, 2023
-
Fix CodeCov Config has two targets and thresholds
fixes: #1160
Configuration menu - View commit details
-
Copy full SHA for 5b5307c - Browse repository at this point
Copy the full SHA 5b5307cView commit details -
Improvement: Remove Magic Numbers in Tests with Tasks
Replaced 2 with TASK_SUCCEEDED, 3 with TASK_FAILED. fixes: #1158
Configuration menu - View commit details
-
Copy full SHA for 90932cd - Browse repository at this point
Copy the full SHA 90932cdView commit details
Commits on Mar 14, 2023
-
Feature: Add Merge Snapshot API
Is part of Issue #176
Configuration menu - View commit details
-
Copy full SHA for 77e02bf - Browse repository at this point
Copy the full SHA 77e02bfView commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bece12a - Browse repository at this point
Copy the full SHA bece12aView commit details -
Serve api and published repos simultaneously
refs #1017 #975
Configuration menu - View commit details
-
Copy full SHA for e25ade8 - Browse repository at this point
Copy the full SHA e25ade8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f74217e - Browse repository at this point
Copy the full SHA f74217eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fdba29 - Browse repository at this point
Copy the full SHA 0fdba29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6f896 - Browse repository at this point
Copy the full SHA 9c6f896View commit details
Commits on May 15, 2023
-
Fix: Pipeline dependency on deb.debian.org, replace with archive
This should fix some tests, as a lot of them are dependent on deb.debian.org which no longer supports Debian 9 "Stretch". Instead we use archive.debian.org which will continue to contain "Stretch" packages for a long time.
Configuration menu - View commit details
-
Copy full SHA for d1102e2 - Browse repository at this point
Copy the full SHA d1102e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9b1782 - Browse repository at this point
Copy the full SHA c9b1782View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ca6fb - Browse repository at this point
Copy the full SHA 95ca6fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ae9884 - Browse repository at this point
Copy the full SHA 0ae9884View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c8dd73 - Browse repository at this point
Copy the full SHA 7c8dd73View commit details -
Try to fix UnixSocketAPITest by upgrading dependencies
Updated urllib, requests and requests_unixsocket
Configuration menu - View commit details
-
Copy full SHA for f6a7030 - Browse repository at this point
Copy the full SHA f6a7030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76744ea - Browse repository at this point
Copy the full SHA 76744eaView commit details
Commits on May 19, 2023
-
Older versions go-xz didn't wait for child processes meaning for exery unpack action a defunct xz would stick around. This got fixed in 0.1.0 Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 1df8cff - Browse repository at this point
Copy the full SHA 1df8cffView commit details
Commits on May 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8f53e01 - Browse repository at this point
Copy the full SHA 8f53e01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1501a4e - Browse repository at this point
Copy the full SHA 1501a4eView commit details
Commits on May 31, 2023
-
A race condition for publishing packages and mirrors at the same time was introduced in commit 77d7c38. The problem is that when opening a leveldb transaction and performing another 'put' to the db the system freezes.
Configuration menu - View commit details
-
Copy full SHA for ecc0551 - Browse repository at this point
Copy the full SHA ecc0551View commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 847fd90 - Browse repository at this point
Copy the full SHA 847fd90View commit details
Commits on Aug 18, 2023
-
Fix returncode when deleting a mirror with snapshot
When trying to delete a mirror that has snapshot and not providing the force option, the API should not return a `500 StatusInternalServerError`. A `403 StatusForbidden` is more appropriate when the condition is expected by the server.
Configuration menu - View commit details
-
Copy full SHA for 214e907 - Browse repository at this point
Copy the full SHA 214e907View commit details
Commits on Sep 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ee4c83e - Browse repository at this point
Copy the full SHA ee4c83eView commit details
Commits on Sep 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 40c242f - Browse repository at this point
Copy the full SHA 40c242fView commit details -
Fix: Pipeline failing because of outdated Repo
Updated the repo key, repo links in tests (jessie-cran35 -> bullseye-cran40) and the expected test output. Fixes: #1218
Configuration menu - View commit details
-
Copy full SHA for 18203c6 - Browse repository at this point
Copy the full SHA 18203c6View commit details
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 972bf6b - Browse repository at this point
Copy the full SHA 972bf6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4a152a - Browse repository at this point
Copy the full SHA f4a152aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae61706 - Browse repository at this point
Copy the full SHA ae61706View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d20c59 - Browse repository at this point
Copy the full SHA 0d20c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for f155ed3 - Browse repository at this point
Copy the full SHA f155ed3View commit details
Commits on Oct 3, 2023
-
Improve test output regex for better perf
The current regex runs in exponential time, which massively impacts the runtime of the test suite, taking several seconds (~4s on my system) just to perform a single match. By replacing the mix of re.findall + the initial capture group with re.search + some string slicing, the time spent matching the regex becomes nearly instant, e.g.: $ make system-test TESTS='Config*' goes from taking ~10s to ~1.5s. Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 889fcc2 - Browse repository at this point
Copy the full SHA 889fcc2View commit details -
Fix the test output regex on Go 1.20
1.20 changes the output format of coverage checks slightly to include a package name on each line, followed by `coverage:`, but the current regex assumes that the line *starts* with `coverage:`. Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for ed45c44 - Browse repository at this point
Copy the full SHA ed45c44View commit details -
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 322e5c1 - Browse repository at this point
Copy the full SHA 322e5c1View commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3aaf0a8 - Browse repository at this point
Copy the full SHA 3aaf0a8View commit details -
Shut down cleanly when 'api serve' is interrupted
This will properly close the db and, more particularly, flush out any profile files being written. Otherwise, they can end up empty or truncated. Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
Configuration menu - View commit details
-
Copy full SHA for 11deb94 - Browse repository at this point
Copy the full SHA 11deb94View commit details
Commits on Nov 1, 2023
-
Bump golang.org/x/net from 0.15.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0. - [Commits](golang/net@v0.15.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for f1649a6 - Browse repository at this point
Copy the full SHA f1649a6View commit details
Commits on Nov 23, 2023
-
replace
golang.org/x/crypto/openpgp
with `github.com/ProtonMail/go-……crypto/openpgp`
Configuration menu - View commit details
-
Copy full SHA for cfcab13 - Browse repository at this point
Copy the full SHA cfcab13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ca3a97 - Browse repository at this point
Copy the full SHA 5ca3a97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99dbe31 - Browse repository at this point
Copy the full SHA 99dbe31View commit details -
Configuration menu - View commit details
-
Copy full SHA for aeef41b - Browse repository at this point
Copy the full SHA aeef41bView commit details
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 525a687 - Browse repository at this point
Copy the full SHA 525a687View commit details -
as per contributor instructions
Configuration menu - View commit details
-
Copy full SHA for f897150 - Browse repository at this point
Copy the full SHA f897150View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa96206 - Browse repository at this point
Copy the full SHA aa96206View commit details -
Configuration menu - View commit details
-
Copy full SHA for b85f240 - Browse repository at this point
Copy the full SHA b85f240View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14bd670 - Browse repository at this point
Copy the full SHA 14bd670View commit details