News for hackers. Stuff that matters.
Re:IDE for building React Native apps is now free and open s... by ihsw on Thursday May 26, 2016 @12:13PM (#11779108)
Many are starting to use GitHub as a registry for hosting packages, in this case Deco components[1].

GitHub should look into this, otherwise we get git repos with directories that are thousands in length.

Certainly it makes sense to host published code on GitHub as well as in-development code.

I could see it replacing the likes of NPM[2], Packagist[3], RubyGems[4], PyPI[5], etc.

[1] https://github.com/decosoftware/deco-components/tree/master/...

[2] https://www.npmjs.com/

[3] https://packagist.org/

[4] https://rubygems.org/

[5] https://pypi.python.org/pypi

Re:IDE for building React Native apps is now free and open s... by pierrec on Thursday May 26, 2016 @01:08PM (#11779624)
>GitHub should look into this, otherwise we get git repos with directories that are thousands in length.

In a way, Github already looked into it extensively while helping resolve the issue where CocoaPods monopolized their servers and hit CPU rate-limiting. Whether it's abusive or not was already debated ad nauseum when it happened, but either way they came to a set of solutions which might help anyone else wanting to use Github for package management:

http://blog.cocoapods.org/Master-Spec-Repo-Rate-Limiting-Pos...

Re:IDE for building React Native apps is now free and open s... by jswny on Thursday May 26, 2016 @12:23PM (#11779198)
This could work. There wouldn't be a need anymore for linking to the Git repo in an NPM package or similar. Maybe a special branch with a simple JSON file containing package data in the same repo as the main project.
Re:IDE for building React Native apps is now free and open s... by ihsw on Thursday May 26, 2016 @12:43PM (#11779385)
Versioning and indexing becomes an issue -- this has to be entirely and completely separate from git repos and git branches. Playing with branches like that falls apart pretty quickly when you need to add real features that are expected by package maintainers.
Re:IDE for building React Native apps is now free and open s... by consolelog on Thursday May 26, 2016 @12:58PM (#11779523)
http://bower.io/ does this in a sense by watching releases on a repository.