Wikidata:Requests for permissions/Bot/Repology bot
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 20:34, 4 October 2019 (UTC)[reply]
Repology bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: AMDmi3 (talk • contribs • logs)
Task/s: fill package-related properties like Gentoo package (P3499), Arch Linux package (P3454), AUR package (P4162) based on data from Repology
Code: https://github.com/repology/repology-wikidata-bot
Function details:
- (Prerequisite) Repology contains and regularly (each 3-6 hours as of now) updates information on software packages gathered from a lot of repositories, and a list of Wikidata entries associated (through Repology project name (P6931)) with each known software project.
- The bot iterates software projects from Repology (via its API), filtering these which have Wikidata entries associated
- For each software project/associated Wikidata entry, a per-repository lists of package names from Wikidata and Repology are gathered and compared.
- Missing Wikidata package entries are immediately added. Extra Wikidata package entries are just reported for now (test run shows that these are actually removed packages, so after some more testing I think it'd be safe to mark them as deprecated)
The bot already supports Gentoo package (P3499), Arch Linux package (P3454), AUR package (P4162). Remaining package properties (Debian stable package (P3442), Fedora package (P3463), Ubuntu package (P3473)) may be supported later.
Test run was performed, filling Gentoo packages for software projects with names up to B. --AMDmi3 (talk) 17:14, 23 September 2019 (UTC)[reply]