You are not logged in.
Pages: 1
Hey I wrote a very simple script to download the comments for an AUR package, since this is quite useful if some package doesn't build as expected. I recently switched from yaourt to cower and I missed this feature from yaourt so I wrote a crude python script wich does exactly that and nothing more. Maybe somebody finds it useful too, or if some better tool already exists I would be happy if somebody could give me a hint, google was quite useless for this search ("aur helper fetch comment" yields all aur helpers since everywhere is a comment
Here is the link to the script: https://github.com/mortbauer/aur-comment-fetcher.git
Cheers
Offline
Seems you deleted your script from the git repo when you renamed it
I like the idea, since I'm actually missing a good tool like yours. Some user told me that lynk can do something similar too, but I like the python way (so I can use it with aurtomatic).
Is there a way to retrieve the n last comments (ie, "aur-comment-fetch 5 package" to retrieve the last 5 comments?). And making it available in the AUR would be very useful too.
Last edited by Spyhawk (2013-05-26 20:51:56)
Offline
Thanks for telling me, stupid me really didn't notice it, but you see that it was really just a quick hack, the script just consists of a few lines. Actually the requirements are:
python-requests
python-termcolor
python-beautifulsoup4
Offline
Well for now there isn't any commandline parsing, could be added very quickly with argparse, then it would be no problem to just give the last 5 or whatever comments.
Offline
I should have studied, but this was more fun, so I added some features. It is now possible to specify how many comments one wants to see, 5 per default. It will also query aur if the specified package name isn't exactly the same, uses python3-aur for this, therefore python3-aur is required as well, if more people are interested in this script I will of course add it to the aur as well
Offline
Thanks for the quick feature addition!
if more people are interested in this script I will of course add it to the aur as well
Yes please! This package is totally worth an AUR PKGBUILD
Offline
Hey Spyhawk, created now a PKGBUILD. see here: https://aur.archlinux.org/packages/aur- … tcher-git/
Offline
Thanks a lot mortbauer
Offline
Pages: 1