Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

What is the sort used in the "Contributed to" org list? #142

Closed
philderbeast opened this issue Sep 9, 2018 · 2 comments
Closed

What is the sort used in the "Contributed to" org list? #142

philderbeast opened this issue Sep 9, 2018 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@philderbeast
Copy link

On https://ghuser.io/philderbeast I see the contributions list and agree with the sort order. What is the sort used in the "Contributed to" org list? It doesn't seem to parallel the contributions list.

@lourot
Copy link
Member

lourot commented Sep 9, 2018

TL;DR it's kind of random

Details: when your profile gets created, all the repos you have contributed to are appended to a list from the newest contribution to the oldest and the "Contributed to" org list is produced by iterating on this list, so it's as well kind of from the newest to the oldest. But then every day your profile gets refreshed and new contributions get appended to this list, so it ends up looking like "D C B A E F G" (where A is the oldest and G the newest). No effort has been made so far to sort this list in a meaningful way, so it's not random, but as good as random.

@lourot lourot added the question Further information is requested label Sep 9, 2018
@philderbeast
Copy link
Author

philderbeast commented Sep 9, 2018

Early days yet. Thanks for creating ghuser.io and for the explanation.

lourot added a commit that referenced this issue Sep 10, 2018
lourot added a commit that referenced this issue Sep 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants