archlinux / contrib

Arch contrib scripts
GNU General Public License v2.0
65 stars 20 forks source link

co-maintainers lists duplicates for split packages #12

Closed kyrias closed 4 years ago

kyrias commented 5 years ago

The output for me returns f.ex. mediainfo and mediainfo-gui, which belong to the same split package, leading to two mediainfo pkgbases in the output.

Either find_packages should return pkgbases, or a unique filter should be added to the final output.

Foxboron commented 4 years ago

So the problem is that we can't easily query pkgbases for split packages in archweb, there is no json and the page just returns HTML. Should rather add some unique filter.

Foxboron commented 4 years ago

The trick is to output .repo .arch .pkgname .pkgbase and then use sort -u -k4,4 to remove duplicate pkgbases.