News for hackers. Stuff that matters.
Re:Security alerts on GitHub by scott_karana on Thursday November 16, 2017 @03:58PM (#15716561)
Adding a second source of truth sounds like a bad idea to me. Now you have to update it in lockstep? No thanks.
Re:Security alerts on GitHub by icebraining on Thursday November 16, 2017 @04:39PM (#15716905)
You could make the build tool generate this standard file.
Re:Security alerts on GitHub by scott_karana on Thursday November 16, 2017 @06:11PM (#15717568)
It's still a many to many problem in both cases.

Option 1: Adding feature to npm/composer/gem/pip ad infinitum

Option 2: add per-language parser support to the alerting tool instead.

Option 2 doesn't necessitate a new (information-duplicating, still potentially error prone) standard, and can likely leverage available, tested libraries ;-)

Re:Security alerts on GitHub by matt_kantor on Thursday November 16, 2017 @08:53PM (#15718369)
On the other hand, option #1 requires neither effort nor consent from GitHub to onboard new languages/dependency managers.
Re:Security alerts on GitHub by adekok on Thursday November 16, 2017 @09:22PM (#15718459)
A few things things:

* any non Javascript / ruby / go languages don't have standard packages, package names, etc.

* any non Javascript / ruby / go languages may be using one of many build systems. It's just too hard to troll through random build systems to see what dependencies are used

* therefore, a simple text file is what will work, and is what will be trivial for everyone to use

* if you find it too hard to update one line in a text file when you add (for example) a new dependency on libldap... you shouldn't be programming

Re:Security alerts on GitHub by _Codemonkeyism on Friday November 17, 2017 @01:30AM (#15719554)
" any non Javascript / ruby / go"

Would have thought Maven popularized standard package names and build dependency (POM) files.

Re:Security alerts on GitHub by oblio on Friday November 17, 2017 @05:49AM (#15720895)
Even more than that, Maven came up with the groupId concept, which I think is under-utilized by many other package managers... The leftpad fiasco could have been mitigated with it, for example.
Re:Security alerts on GitHub by adekok on Friday November 17, 2017 @07:14AM (#15721367)
How many C / C++ projects use Maven?