Hello,
Out of curiosity, how is the value of the package popularity calculated?
Thanks, Polarian
Hi Polarian,
From an old thread [1]: "Popularity is the sum of all votes with each vote being weighted with a factor of 0.98 per day since its creation."
[1] https://aur-general.archlinux.narkive.com/XuG8fEVO/how-the-popularity-value-...
Regards,
Antiz (Robin C.)
Le 14/12/2022 à 09:43, Polarian a écrit :
Hello,
Out of curiosity, how is the value of the package popularity calculated?
Thanks, Polarian
Hello,
This is quite interesting, because a package which gains a high amount of votes in a day will have a very high popularity for a short period of time, which is a little misleading.
I thought it would be based on the number of people looking at the package/webpage or cloning the repository. It is a little misleading because a package might not be popular but still have a high popularity, however on the other hand it does help new packages gain recognition quickly.
What is considered a "good" popularity rating for a package?
Thank you, Polarian
Hi,
This is quite interesting, because a package which gains a high amount of votes in a day will have a very high popularity for a short period of time, which is a little misleading.
I thought it would be based on the number of people looking at the package/webpage or cloning the repository. It is a little misleading because a package might not be popular but still have a high popularity, however on the other hand it does help new packages gain recognition quickly.
I guess what's misleading is the word "popularity" because it does not properly reflect what it is nor its purpose. As "Hugo Osvaldo Barrera" said in the thread I linked in my initial answer [1], I think the word "trending" might be more suited as this is clearly what it is. This is the term GitHub is using for the same purpose for instance [2].
What is considered a "good" popularity rating for a package?
I don't think there's such defined "good" popularity rating. I mean, the higher the better :P
For what it's worth, the 50 most popular AUR packages [3] have a popularity between 45.51 and 5.85 (at the time I'm writing those lines).
[1] https://aur-general.archlinux.narkive.com/XuG8fEVO/how-the-popularity-value-... [2] https://github.com/trending [3] https://aur.archlinux.org/packages?O=0&SeB=nd&K=&outdated=&S...
Regards, Antiz (Robin C.)
aur-general@lists.archlinux.org