RFC: check for distfile collisions in CI

Closed Oliver Smith requested to merge ollieparanoid/aports:ci-distfiles-check into master

We just found a distfile collsion in postmarketOS - two different source files have the same distfile name. I wrote a CI check for it, and made it generic so it would work for Alpine as well. And it found one collision in aports.git already!

Here is the source with a README.

What do you think, everyone?

What's the preferred way to add it? I guess, you'd rather have it added to the docker image like the existing lint check, instead of downloading it on-the-fly?

Merge request reports