通过“some”获取排序后的github存储库搜索结果属性(叉子或星星的数量) [英] Get sorted github repository search results by "some" attribute(the number of forks or stars)

查看:178
本文介绍了通过“some”获取排序后的github存储库搜索结果属性(叉子或星星的数量)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要这个特性来证明哪个项目是目标类似的项目中最热门的项目。

如何获得github搜索结果按叉号或星号排序?任务/功能/功能。



我注意到github确实提供了高级搜索)



通过分叉数进行搜索现在似乎返回按分叉数排序的结果



django forks:> 500

这由博文通过搜索结果排序(2013年1月31日):


如果您在存储库中搜索,则可以按星号,分号或最近 - 更新







(原文答案:2012年9月)

我在GitHub高级搜索中看不到任何排序选项。



forks:filter指示叉的精确数目, 这个查询将显示4个回购,100个分支为 django - 。但是,这并不显示所有回购上面100叉,并且不排序。


How to get github search results sorted by the number of forks or stars?

I need this feature to demonstrate which project is the hottest among those that target the similar task/function/feature.

I notice github do offer the advanced search here, but how to write the query? Say, I wonder the top 10 forked django plugin apps. What the query looks like? I tried "django- fork:" or even "django- fork:>500", it doesn't work. (here we use 'django-' since most django plugin apps has such prefix)

解决方案

Update of the Update (February 2013, source "Sortable Stars"):

Starting today you can sort your starred repositories by when you starred them or when the repositories were last updated.

So the sort criteria is now visible.


Update January 2013 (source: "A whole new code search")

Searching by number of forks seems now to return a result ordered by number of forks

django- forks:>500

This is confirmed by the blog post "Sorting through Search Results" (January 31, 2013):

If you're searching through repositories, you can sort by stars, forks, or recently-updated


(Original answer: Sept. 2012)

I don't see any sort option in GitHub advanced search.

The forks: filter is to indicate a precise number of fork, like this query would display the 4 repos with 100 forks for "django-". But that doesn't display all repo above 100 forks, and that doesn't sort them.

这篇关于通过“some”获取排序后的github存储库搜索结果属性(叉子或星星的数量)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆