github aptly-dev/aptly v1.2.0
aptly 1.2.0

latest releases: test1, v1.5.0, v1.4.1-alpha10...
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 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.

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

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)

Download

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

Don't miss a new aptly release

NewReleases is sending notifications on new releases.