News for hackers. Stuff that matters.
Re:Cloudflare CTO: “If we did [take on GitHub] what features... by janci5243 on Thursday May 30, 2019 @04:25PM (#20055546)
One feature I would love is a global code search that has the quality of the repo (as measured by forks/stars/pagerank...) as a part of relevance ranking. A use case is simple: I have some library and I am not exactly sure how to use it, so I go into global code search and try to find usages of that method. First thing that comes would be some relevant code in a big context of a well engineered repository.
Re:Cloudflare CTO: “If we did [take on GitHub] what features... by asveikau on Thursday May 30, 2019 @04:34PM (#20055633)
> quality of the repo (as measured by forks/stars/pagerank...)

These two seem unrelated. Quality is not measured by popularity. There is plenty of popular stuff that's junk, and good stuff that nobody uses.

Re:Cloudflare CTO: “If we did [take on GitHub] what features... by riyakhanna1983 on Thursday May 30, 2019 @05:21PM (#20056033)
Precisely. For my organization, I'm looking for a way to quantitatively measure and compare quality/security postures of repos/packages when importing.
Re:Cloudflare CTO: “If we did [take on GitHub] what features... by asveikau on Thursday May 30, 2019 @06:08PM (#20056419)
Sounds tough. What are your ideas to measure so far?

For the security angle it seems the first naive thing would be to count prior known vulnerabilities, but then, the projects that do absolute worst at that are not going to have discovered their security bugs let alone document them well.

Re:Cloudflare CTO: “If we did [take on GitHub] what features... by sigstoat on Thursday May 30, 2019 @05:17PM (#20056005)
> One feature I would love is a global code search...

that can usefully search code for more than function names.

Re:Cloudflare CTO: “If we did [take on GitHub] what features... by riyakhanna1983 on Thursday May 30, 2019 @04:29PM (#20055592)
Why does the quality of the repo matter? Trying to understand the reasoning.
Re:Cloudflare CTO: “If we did [take on GitHub] what features... by wongarsu on Thursday May 30, 2019 @04:34PM (#20055634)
If you do such a search right now on Github you mostly get copies of example projects and other fairly useless repos.