aptly v1.2.0 Release Notes

Release Date: 2017-12-07 // almost 4 years ago
  • ๐Ÿš€ This is scheduled regular release of aptly (a bit late according to planned to schedule).


    ๐Ÿš€ aptly supports by hash layout for published repositories (https://wiki.ubuntu.com/AptByHash). This fixes a race when apt is downloading Release 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.


    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).

    Refs: #615, #618, #643, #644

    ๐Ÿ”„ Changes

    ๐Ÿ‘ aptly is more flexible in terms of .deb format support, including recent dpkg 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)


    ๐Ÿ“ฆ Debian packages and binary distributions for various platforms are available at https://www.aptly.info/download/