Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badges: One badge for a subset of repositories #51

Open
Profpatsch opened this issue Dec 13, 2018 · 10 comments
Open

Badges: One badge for a subset of repositories #51

Profpatsch opened this issue Dec 13, 2018 · 10 comments
Labels

Comments

@Profpatsch
Copy link

For https://reproducible-builds.org/tools/ we want to add a list of package versions for every major Distro. The big badge is a bit too big to be useful, so it would be nice to have a filtered badge. Something like:

https://repology.org/badge/vertical-allrepos/diffoscope.svg?repositories=arch,debian,nix_stable,
@luzpaz
Copy link
Contributor

luzpaz commented Jan 9, 2019

I think this feature will be an incentive for more integration of repology badges in the github/gitlab/bitbucket/ ecosystem. Several repos that I've sent PRs to which adds a repology badge to their README have an issue with the length of the badge displaying non-relevant distros like Rosa or pisilinux etc...

This feature allows for adding the most mainstream repos/distros that folks recognize.

@AMDmi3
Copy link
Member

AMDmi3 commented Jan 9, 2019

This is doable. We need

  • distro aggregation first (#514)
  • then an aggregated badge type
  • then an additional filtering option

@gpotter2
Copy link

gpotter2 commented Jan 27, 2019

That would indeed be a very cool feature.

I wanted to use Repology on scapy's README and website, but can't find a way for it not to take half of the screen with distros we don't support. We would only need ~ Ubuntu, Fedora, *BSD, Debian, (the maintainers we are actually in contact with)

@AMDmi3
Copy link
Member

AMDmi3 commented Jan 28, 2019

but can't find a way for it not to take half of the screen

Note that you can make it floating so it doesn't waste the vertical space regardless of how long it is. See
https://github.com/radare/radare2 for example. This is mentioned on badges page as well.

distros we don't support. We would only need

The fact you're going to discriminate distros makes me hesitant to add filtering.

@luzpaz
Copy link
Contributor

luzpaz commented Jan 28, 2019

If I may add my 2cents, I've encountered some resistance from devs to add the badge of several FOSS projects for the reason above (floating or not) because they don't see the utility in showing availability of their packages in repos like AIX or Rosa etc... IMO this is bottlenecking adoption of a very needed service that repology provides.

@AMDmi3
Copy link
Member

AMDmi3 commented Jan 28, 2019

"Adoption" is not in a list of Repology goals. The goal is to provide complete and correct packaging information.

@luzpaz
Copy link
Contributor

luzpaz commented Jan 28, 2019

Agreed, well it seems to me that two aren't mutually exclusive. This is feedback from project devs who could be more interested in correct packaging if they were made aware based on their ranking in repology etc...

@gpotter2
Copy link

gpotter2 commented Jan 28, 2019

The fact you're going to discriminate distros makes me hesitant to add filtering.

I didn’t intend to discriminate any distro, the real argument is about screen space. I knew of align=right (yes I have read the docs :-) ) before, but it still take to much space in most cases. It’s is not offensive to rationally select the most used distros (or versions: do I really need stats about Ubuntu 12.04, whose EOL was two years ago ?) to be displayed first.

Also, the link is still clickable: there could be a see more [click here] tag at its bottom, linking to the repology webpage, where the full list is available.

@AMDmi3
Copy link
Member

AMDmi3 commented Jan 28, 2019

Well let's start from grouping and see how it goes.

@AMDmi3
Copy link
Member

AMDmi3 commented Jan 28, 2019

do I really need stats about Ubuntu 12.04, whose EOL was two years ago

AFAIK there was extended paid support which is still active, and also some people still use it anyway, so it makes sense to still show how outdated it is (and vulnerable, when we have this feature). Just an explanation of why we still have it, I understand that it's probably useless in your cause.

Also, the link is still clickable: there could be a see more [click here] tag at its bottom, linking to the repology webpage, where the full list is available.

This makes sense.

@AMDmi3 AMDmi3 transferred this issue from repology/repology-updater Oct 4, 2019
@AMDmi3 AMDmi3 added the badges label Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants