Juan Calderon-Perez
0021cf876b
Harden latest-only filtering
2025-12-11 07:20:37 -05:00
boxjan
f605d86a4e
bash-completion: include global options in aptly command completions
2025-05-06 10:11:46 +00: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
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
Noa Resare
b4cd86aa14
Introduce option multi-dist to the publish commands
...
This change makes it possible to publish multiple distributions
with packages named the same but with different content by changing
structure of the generated pool hierarchy. The option not enabled
by default as this changes the structure of the output which could
break the expectations of other tools.
2024-06-15 11:27:26 +02:00
Josh Bayfield
b3d9055059
Fix system tests for custom codenames
2022-08-29 15:54:29 +02:00
Steven Stone
a59cad6f20
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'
```
2022-08-29 15:54:29 +02:00
Sjoerd Simons
f61514edaf
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 >
2022-06-22 11:25:45 +02:00
Lorenzo Bolla
1afcd68e01
Make downloader type configurable
2022-01-31 10:32:54 +01:00
Joshua Colson
1f56fb86e3
Add -json output flag to repo list|show
...
Signed-off-by: Joshua Colson <joshua.colson@gmail.com >
2021-09-24 10:29:33 +02:00
Raúl Benencia
715af5950f
Add suite completion
2019-09-06 23:42:56 +03:00
Stephan Eicher
aa02c5cbe9
Fix #827 - passhprase typos
2019-09-02 23:26:37 +03:00
Oliver Sauder
074904ee92
Allow editing of with-installer mirror flag
2018-07-06 15:02:37 +02:00
Oliver Sauder
108b0ea226
Add support to mirror non package installer files
2018-07-06 15:02:37 +02:00
Maximilian Stein
2fa9d7402f
Add zsh completion function
...
* imported from https://github.com/steinymity/aptly-zsh
2018-02-17 17:29:32 +01:00