[aur-general] Orphan packages, Policy on bots
Hi all, I've been looking at writing a small bot which will crawl over orphaned packages' PKGBUILDs, performing analysis and gathering stats. For example, I'm really keen on making an attempt to clean a bunch of them up. 25% of the 53587 packages in the AUR today are orphans and, like many others, I'd like to see this number decreased. In the past, I have manually gone down the list of orphans, but that's just horrible and slow (also, can't get my browser to do HTTP head requests). So naturally, I started writing a bot. I did start thinking about having the bot comment on packages with dead end sources, but soon realised this would complicate things too much if it were to stop repeating itself each time it is run etc. Being able to pull various lists (for humans, not bots, to act up) out of a magic hat. As a random example, it'd be useful to pull out a list of packages which: * Are orhpans * Have less than five votes * Have dead end sources * Haven't been updated in the last year So we could send a couple of people to, eg, adopt or file appropriate requests. So anyway, I've seen wiki bots doing their thing on our wiki, but what's the policy on AUR bots? -- Four word witty remark
* David Phillips <dbphillipsnz@gmail.com> [2015-01-06 21:51:27 +1300]:
Hi all, I've been looking at writing a small bot which will crawl over orphaned packages' PKGBUILDs, performing analysis and gathering stats.
If you just need the PKGBUILDs and update history, the AUR git mirror[1] might be interesting for you so you can get that data locally. Florian [1] https://bbs.archlinux.org/viewtopic.php?id=113099 -- http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/
Yeah, I was looking at calling wget or curl to download PKGBUILDs locally for processing, which would achieve the same thing, except in a more nasty way. My only qualm with the git mirror is that it keeps deleted packages, no? On 06/01/2015, Florian Bruhin <me@the-compiler.org> wrote:
* David Phillips <dbphillipsnz@gmail.com> [2015-01-06 21:51:27 +1300]:
Hi all, I've been looking at writing a small bot which will crawl over orphaned packages' PKGBUILDs, performing analysis and gathering stats.
If you just need the PKGBUILDs and update history, the AUR git mirror[1] might be interesting for you so you can get that data locally.
Florian
[1] https://bbs.archlinux.org/viewtopic.php?id=113099
-- http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/
-- Four word witty remark
Ahh far out, sorry. I keep top-posting on this list. As a site note, has anyone found a way to stop the 'Include quoted text with reply' tick box from being ticked by default in GMail? -- Four word witty remark
On 06/01, David Phillips wrote:
Hi all, I've been looking at writing a small bot which will crawl over orphaned packages' PKGBUILDs, performing analysis and gathering stats.
For example, I'm really keen on making an attempt to clean a bunch of them up. 25% of the 53587 packages in the AUR today are orphans and, like many others, I'd like to see this number decreased. In the past, I have manually gone down the list of orphans, but that's just horrible and slow (also, can't get my browser to do HTTP head requests). So naturally, I started writing a bot.
When AUR 4.0.0 is released the whole AUR will be cleaned out and only reuploaded packages will remain, so at this point it seems rather pointless IMO. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/
Ahh that's right, how could I forget! Could be useful down the line eventually though... -- Four word witty remark
On 07/01, David Phillips wrote:
Ahh that's right, how could I forget!
Could be useful down the line eventually though...
Yeah, it certainly could, so go ahead! -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/
The AUR doesn't have a nice json API thingy does it? That would make some of this much cleaner... -- Four word witty remark
On 07/01/15 at 05:44pm, David Phillips wrote:
The AUR doesn't have a nice json API thingy does it? That would make some of this much cleaner...
https://wiki.archlinux.org/index.php/AurJson /J -- http://jasonwryan.com/ [GnuPG Key: B1BD4E40]
Cool thanks. I had heard of the RPC interface, but it never surfaced to mind for some reason. -- Four word witty remark
participants (4)
-
David Phillips
-
Florian Bruhin
-
Jason Ryan
-
Johannes Löthberg