aptly v1.2.0 Release Notes
Release Date: 2017-12-07 // over 6 years ago-
๐ This is scheduled regular release of aptly (a bit late according to planned to schedule).
Acquire-By-Hash
๐ aptly supports by hash layout for published repositories (https://wiki.ubuntu.com/AptByHash). This fixes a race when
apt
is downloadingRelease
file while it's being updated to match new package indexes.โก๏ธ Acquire-By-Hash mode is backwards compatible with clients which do not support it. Feature should be enabled when repo or snapshot is first published, subsequent operations (update, switch) would have
acquire-by-hash
mode enabled.Example:
aptly publish snapshot -acquire-by-hash snap-repo-20171205
Thanks to @sliverc and @neolynx for the implementation of this new feature (#664, #381, #551).
Dependency Resolution
Several significant improvements were made to aptly internal dependency resolution engine. This specifically affects
-dep-follow-all-variants
, but there are some other changes improving compatibility.With 1.2.0 filters which have dependency resolution enabled might produce a bit different results (which should be more correct anyway).
๐ Changes
๐ aptly is more flexible in terms of
.deb
format support, including recentdpkg
changes (#658, #665, #635, #632)๐ aptly supports SHA512 checksums in
Release
files (#668, #660)๐ฆ aptly searches package pool when importing packages in
aptly repo include
(#278, #407)๐ aptly cleans up
*.buildinfo
files after importing packages (#682, #679)๐ฆ Duplicate packages are being reported correctly in
aptly package show
/search
commands (#446, #623)๐ Allow editing mirror URL (#677)
Cleanup might be skipped while publishing (#620)
โก๏ธ goleveldb vendored library was updated to mitigate some bugs fixed upstream (#665)
โก๏ธ Go HTTP framework gin-gonic (used in aptly API) was updated to the latest version (#646)
โฌ๏ธ AWS SDK was upgraded (#648)
๐ aptly binaries are built with Go 1.9, aptly drops support for Go 1.6 (#624)
๐ Bugfixes
โก๏ธ When mirror update fails or if it's canceled, aptly keeps already downloaded files (bug introduced in 1.1.0) (#683, #651, #641)
S3 publishing with prefix was incorrectly cleaning up files (#673) and re-uploading all the files on every upload (#622, #619)
S3 publishing was dropping SSE parameters when copying files (#649, #647)
๐ฆ Package names starting with uppercase latter are now handled correctly in queries (#636)
Download
๐ฆ Debian packages and binary distributions for various platforms are available at https://www.aptly.info/download/