You are not logged in.

#1 2016-06-20 19:53:43

Loen
Member
Registered: 2016-06-08
Posts: 7

[SOLVED] Package review request: integaur

Hello, today I wrote a little script because I had the necessity to quickly check if the md5sums or sha256sums of my packages were outdated. I thought it could be helpful also for other archers so I published it first on github and then on AUR. If someone feels like trying it for his/her packages, suggestions are really appreciated.
https://aur.archlinux.org/packages/integaur/ AUR page
https://github.com/christopherloen/integaur Github page
Thanks for the attention.

Last edited by Loen (2016-06-21 06:54:01)

Offline

#2 2016-06-21 05:08:33

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Package review request: integaur

Why would a package have outdated checksums anyway? Unless the upstream source doesn't provide versioning.

In which case, I would still do:

cd $pkgbuilds; for pkg in */; do (cd $pkg && makepkg --verifysource -f); done

Which has the advantage of not doing a lot of unpredictable grepping of multiple webpages just to download snapshots of all your packages that should be stored locally anyway, and definitely doesn't make inefficient assumptions about the filetype and number of source files obtained by... grepping the .SRCINFO, instead of, again, using the dedicated makepkg functionality for checking that the checksums match up.

...

Also, you could just use the RPC interface to get that information in one elegant pass, rather than grepping webpages.

https://aur.archlinux.org/rpc/?v=5&type … r&arg=Loen


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2016-06-21 06:53:21

Loen
Member
Registered: 2016-06-08
Posts: 7

Re: [SOLVED] Package review request: integaur

Oh god, what a waste of time lol... I didn't know makepkg could do that. Thanks a lot anyway

Offline

Board footer

Powered by FluxBB