aptly v1.4.0 Release Notes
Release Date: 2019-07-05 // over 5 years ago-
๐ This is regular release of aptly.
GnuPG 2.x compatibility
๐ aptly should support transparently GnuPG 1.x and 2.x via gpg PGP provider. Internal PGP provider only supports GnuPG 1.x keyring format (as openpgp Go library doesn't support GnuPG 2.1+ kerying format).
- aptly can sign and verify without issues with GnuPG 1.x and 2.x
- aptly auto-detects GnuPG version and adapts accordingly
- aptly automatically finds suitable GnuPG version
๐ง Configuration parameter
gpgProvider
now supports three values for GnuPG:- 0๏ธโฃ
gpg
(same as before, default): use GnuPG 1.x if available (checks gpg, gpg1), otherwise uses GnuPG 2.x; for aptly users who already have GnuPG 1.x environment (as it was the only supported version) nothing should change; new users might start with GnuPG 2.x if that's their installed version gpg1
looks for GnuPG 1.x only, fails otherwisegpg2
looks for GnuPG 2.x only, fails otherwise
(#779 and related issues)
๐ Support for mirroring non-package installer files
๐ New
-with-installer
flag was introduced foraptly mirror create
. When updating and publishing mirror it will include installer files.(#680)
Repo include API
๐ฆ
aptly repo include
command is now available via included packages from uploaded directory API.(#751)
๐ Performance improvements
๐ Performance improvements around loading collections of snapshots, mirrros, repos, etc. Now aptly does lazy loading which should improve both performance and memory footprint, which should be noticeable in commands which load whole contents of the db (
aptly db cleanup
).๐ Changes
๐ aptly is now build with Go 1.12, support for Go 1.9 was dropped (#842)
Stanza.WriteTo: Sort extra fields alphabetically (#803)
๐ Support for non-armored detached signatures (#780, #773)
๐ Nightly builds, release builds moved to Travis CI and fully automated.
๐ Bugfixes
๐ Don't remove API file socket if it exists and usable (#806, #807)
๐ Fix
apt-file
on newer distributions to work with aptly-published repositories (#756, #760)Download
๐ฆ Debian packages and binary distributions for various platforms are available at https://www.aptly.info/download/
Previous changes from v1.3.0
-
๐ This is regular release of aptly.
๐ Support for "legacy" Contents indexes
๐ฆ Ubuntu up to and including 16.04 is using "old" layout for Contents indexes for package repositories, while Debian has already switched to the new layout. Now aptly generates both "old" and "new" Contents indexes to allow
apt-file
to work with repositories published with Ubuntu <= 16.04 (#667, #729)Fall back to gpg1
0๏ธโฃ aptly has two ways to sign published repositories: via external
gpg
command and using internalopenpgp
provider. Both of them support only GPG v1.x. To make it easier to support modern systems with GPG 2.x being installed by default, aptly tries to find GPG v1.x distribution by attempting to launchgpg1
binary ifgpg
is version 2.x (#734).๐ Changes
๐ aptly repository has been moved to the org
aptly-dev
, and it's now being maintained by a team (https://github.com/orgs/aptly-dev/teams/maintainers/members)repo.aptly.info repository key has been rotated (#717)
โฌ๏ธ AWS SDK & other libraries were upgraded (#728)
Speed up
Contents
indexes generation (#707)๐ aptly binaries are built with Go 1.10, aptly drops support for Go 1.7
Shell completion function for
zsh
was added to the repo (#703)๐ Bugfixes
๐ Fix error message truncating endpoint name in
aptly publish drop
(#711, #713)๐ Fix Acquire-by-Hash index cleanup (#705, #706)
๐ Fix setting Acquire-by-Hash in the publishing API (#696)
๐ Fix Acquire-by-Hash in S3 publishing mode (#692, #697)
๐ Fix data race in API mode (#686, #688)
๐ Fix reading of long fields in Package stanzas (#738)
Download
๐ฆ Debian packages and binary distributions for various platforms are available at https://www.aptly.info/download/