Version 2.1.0 gives me panic: runtime error: index out of range
goroutine 1 [running]: github.com/simon04/aur-out-of-date/upstream.debian.latestVersion(0xc0002bc316, 0xa, 0x51, 0xc0002ef800, 0x2, 0x2) /home/haawda/paketierung/not_maintained_by_me/aur-out-of-date/src/aur-out-of-date-2.1.0/upstream/debian.go:31 +0x233 github.com/simon04/aur-out-of-date/upstream.forURL(0xc0002bc2ea, 0x51, 0x1, 0x1, 0x0, 0x0) /home/haawda/paketierung/not_maintained_by_me/aur-out-of-date/src/aur-out-of-date-2.1.0/upstream/version.go:89 +0xc99 github.com/simon04/aur-out-of-date/upstream.VersionForPkg(0x55742ed4b8a0, 0xc00021a058, 0x5, 0x0, 0x8, 0xc0000b1bf8) /home/haawda/paketierung/not_maintained_by_me/aur-out-of-date/src/aur-out-of-date-2.1.0/upstream/version.go:106 +0x183 main.handlePackage(0x55742ed4b8a0, 0xc00021a058, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/haawda/paketierung/not_maintained_by_me/aur-out-of-date/src/aur-out-of-date-2.1.0/main.go:47 +0x171 main.handlePackages(0xc0005c4000, 0xc00023a000, 0x1a0, 0x200, 0x0, 0x0) /home/haawda/paketierung/not_maintained_by_me/aur-out-of-date/src/aur-out-of-date-2.1.0/main.go:117 +0x21c main.main() /home/haawda/paketierung/not_maintained_by_me/aur-out-of-date/src/aur-out-of-date-2.1.0/main.go:155 +0x8b0
Version 2.0.0 works fine.
Pinned Comments
alerque commented on 2024-02-27 08:23 (UTC)
Just a heads up to anyone checking this out: while this nice little tool does still work, Arch Linux as a distro is in the process of adopting nvchecker support. This includes already having support in official package tools (e.g.
pkgctl version check
), upcoming support in archweb for automatically flagging all repository packages as OOD, and eventually the same tooling will be standardized for AUR packages too. Whether it will be optional or required for user contributed packages is yet to be decided of course, but folks should be aware that things are headed that direction.simon04 commented on 2021-11-22 19:01 (UTC)
⚠️ Leaving Arch Linux in November 2021 – I'll keep maintaining the project, but don't expect new features unless you are submitting a patch.