Package Details: aur-out-of-date 3.2.0-1

Git Clone URL: https://aur.archlinux.org/aur-out-of-date.git (read-only, click to copy)
Package Base: aur-out-of-date
Description: Determines out-of-date AUR packages
Upstream URL: https://github.com/simon04/aur-out-of-date
Licenses: GPL
Submitter: simon04
Maintainer: simon04 (alerque)
Last Packager: alerque
Votes: 19
Popularity: 0.139210
First Submitted: 2018-01-21 11:27 (UTC)
Last Updated: 2024-02-27 08:34 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

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.

Latest Comments

1 2 Next › Last »

carlosal1015 commented on 2024-08-02 17:40 (UTC)

This PKGBUILD works for me with @0x9fff00 hint

# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=aur-out-of-date
pkgver=3.2.0
pkgrel=2
pkgdesc="Determines out-of-date AUR packages"
arch=('x86_64' 'i686')
url="https://github.com/simon04/aur-out-of-date"
license=('GPL-3.0-only')
source=("$pkgname-$pkgver.tar.gz::https://github.com/simon04/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('d4d3f95cfcf3e9de0357ccb5c99524bb0f3b508cdcf5a42baa058305e0a8f4a8')
makedepends=('go')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  go mod download
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  go test $(go list ./...)
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  go build \
    -gcflags "all=-trimpath=${PWD}" \
    -asmflags "all=-trimpath=${PWD}" \
    -ldflags "-extldflags \"${LDFLAGS}"\"
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 "$pkgname" "$pkgdir/usr/bin/aur-out-of-date"
}

0x9fff00 commented on 2024-03-25 22:32 (UTC)

This package fails to build if LDFLAGS contains spaces due to missing quotes at https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=aur-out-of-date&id=5e517e5c7b01de05a8e7f6578ba1ceb0d5ed5a58#n27. It should be updated to follow the current Go package guidelines: https://wiki.archlinux.org/title/Go_package_guidelines#Flags_and_build_options

m040601 commented on 2024-03-18 11:49 (UTC) (edited on 2024-03-18 22:11 (UTC) by m040601)

@alerque

Thanks for your usefull comment and hint about this kind of "tooling" and "machinery" in Archlinux.

Arch Linux as a distro is in the process of adopting nvchecker support.

Very interesting. I had no idea that such "things" even existed.

... eventually the same tooling will be standardized for AUR packages too.

Yeah. Actually I just landed here today, because I do a lot of "work" checking for out of date, unmaitained AUR stuff. And searched the wiki for some kind of "helper" tool.

I was getting tired of manually:

  • inspecting the AUR page and "last update date" too see if it loooks "suspicious old".
  • visit or clone the github repo or releases page.

Even doing it from the command line with curl, AUR helpers, the github-cli tool etc. it gets tiring. And doesnt "scale" to the torrent of stuff, old and new, living on the AUR

...but folks should be aware that things are headed that direction.

Very good news.

Whether it will be optional or required for user contributed packages ....

Hope so. This is badly needed for purging the AUR of crap, outdated, abandoned, unmaitained stuff.

... is yet to be decided of course ...

Where are these "discussions" taking place ? Some mailing list ? The forums ? Where can I get more information ?

Appreciate if you could give some more pointers, tips on how to cope/deal with this challenge.

This, challenge/problem, that is, the one of making sure or minimizing the chances that you let too much old crap from the AUR stay in your your system. Assuming of course all other recommendations from the wiki are followed. That is, "assume the risk", "read the source", manually review the PKGBUILD.

I am interested in stuff catering more for the casual/volunteer Arch home user.

Not so much stuff catering for Arch TU/infrastructure/industrial setup/maintainers.

Found this with hinsightfull comment by Foxboron, but is from 2019, https://redlib.ducks.party/r/archlinux/comments/da3p72/aur_version_checker

PS: Another one that probably should be removed from the AUR (and Wiki) https://aur.archlinux.org/packages/pkgbuild-watch,

This "aur-out-of-date" go tool itself doesnt look very fresh either,

   $ gh thoseleases simon04/aur-out-of-date
TITLE  TYPE    TAG NAME  PUBLISHED
3.2.0  Latest  v3.2.0    about 2 years ago
3.1.0          v3.1.0    about 3 years ago
3.0.0          v3.0.0    about 3 years ago
2.4.0          v2.4.0    about 3 years ago
2.2.0          v2.2.0    about 4 years ago
2.1.0          v2.1.0    about 5 years ago

last commits,

2021-11-20 Simon Legner o [master] {origin/master} {origin/HEAD} Leaving Arch Linux
2021-04-27 Simon Legner o CI: run build also on pull requests
2021-04-27 Simon Legner o <v3.2.0> Update CHANGELOG.md
2021-04-27 Simon Legner M─┐ Merge pull request #42 from jugendhacker/add-codeberg

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.

haawda commented on 2022-09-08 13:25 (UTC)

Since today I get a panic after runnig aur-out-of-date -user haawda

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/simon04/aur-out-of-date/upstream.debian.latestVersion({0xc00002a38a, 0x7})
        upstream/debian.go:29 +0x18f
github.com/simon04/aur-out-of-date/upstream.forURL({0xc00002a361, 0x49})
        upstream/version.go:94 +0x665
github.com/simon04/aur-out-of-date/upstream.VersionForPkg({0x790aa0, 0xc000014860})
        upstream/version.go:117 +0xfe
main.version({0x790aa0, 0xc000014860})
        main.go:41 +0x76
main.handlePackage({0x790aa0, 0xc000014860})
        main.go:53 +0x16b
main.handlePackages(0x0, {0xc000128000?, 0x166, 0x200}, {0x0?, 0x0?})
        main.go:74 +0x185
main.main()
        main.go:118 +0x885

I did rebuild aur-out-of-date, but still the same. Is anyone else experiencing this?

AchmadFathoni commented on 2022-08-28 00:51 (UTC)

Need to disable check() to install

df8oe commented on 2022-03-21 07:58 (UTC)

Does not build:
/usr/lib/libfmt.so: .go_export section not found
fmt is version 8.1.1-2

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.

AchmadFathoni commented on 2021-10-15 01:52 (UTC)

Error:

?       github.com/simon04/aur-out-of-date      [no test files]
?       github.com/simon04/aur-out-of-date/action       [no test files]
ok      github.com/simon04/aur-out-of-date/config       0.002s
ok      github.com/simon04/aur-out-of-date/pkg  0.002s
ok      github.com/simon04/aur-out-of-date/rfc7464      0.001s
ok      github.com/simon04/aur-out-of-date/status       0.002s
--- FAIL: TestGogsGitHubUrl (0.00s)
    github_release_test.go:38: No release found for gogs: %!w(<nil>)
    github_release_test.go:41: Expecting version 0.11.34, but got 
--- FAIL: TestGogsGitHubSource (0.00s)
    github_release_test.go:52: Failed to obtain GitHub tag for gogits/gogs from https://api.github.com/repos/gogits/gogs/tags: Get "https://api.github.com/repos/gogits/gogs/tags": gock: cannot match any request
    github_release_test.go:55: Expecting version 0.11.34, but got 
FAIL
FAIL    github.com/simon04/aur-out-of-date/upstream     0.006s
FAIL

haawda commented on 2018-10-29 14:19 (UTC)

Thanks, I answered in the issue on github. I can go more into detail when i am back at my box.