Package Details: aptly 1.6.1-1

Git Clone URL: https://aur.archlinux.org/aptly.git (read-only, click to copy)
Package Base: aptly
Description: A Swiss Army knife for Debian repository management.
Upstream URL: https://www.aptly.info
Licenses: MIT
Submitter: jprostko
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 5
Popularity: 1.71
First Submitted: 2016-04-30 13:43 (UTC)
Last Updated: 2025-02-16 13:02 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

jvr3 commented on 2025-04-10 15:20 (UTC) (edited on 2025-04-10 15:22 (UTC) by jvr3)

Attempted to install this today, but it fails:

# Generate swagger docs
2025/04/10 10:46:58 Generate swagger docs....
2025/04/10 10:46:58 Generate general API Info, search dir:./
2025/04/10 10:46:58 warning: failed to get package name in dir: ./, error: execute go list command, exit status 1, stdout:, stderr:go: errors parsing go.mod:
/var/tmp/pamac-build-jvanriper/aptly/src/aptly-1.6.1/go.mod:3: invalid go version '1.22.7': must match format 1.23
2025/04/10 10:46:58 pkg /var/tmp/pamac-build-jvanriper/aptly/src/aptly-1.6.1/docs cannot find all dependencies, exit status 1
go: errors parsing go.mod:
/var/tmp/pamac-build-jvanriper/aptly/src/aptly-1.6.1/go.mod:3: invalid go version '1.22.7': must match format 1.23
make: *** [Makefile:61: swagger] Error 1

The go.mod file does specify 'go 1.22.7' instead of just 'go 1.22'. Apparently, the correct format now requires only specifying the major and minor version numbers.

djmattyg007 commented on 2021-05-05 02:05 (UTC)

Golang isn't listed as a make dependency, which means this package now fails to build.

Other recommendations:

  • I highly recommend using install -Dm644 to copy the man page and the shell completion scripts into place. It's a standard practice and ensures files have the correct permissions.

  • You don't need to manually gzip man pages. makepkg does this automatically for you as part of the packaging process. You should let it perform this process rather than try to do it yourself.

djmattyg007 commented on 2021-05-01 12:30 (UTC)

Could you please add the included bash completion files to the package?

https://github.com/aptly-dev/aptly/tree/master/completion.d