News for hackers. Stuff that matters.
Re:The GitHub registry public beta is live by chrisseaton on Tuesday August 20, 2019 @05:52PM (#20752600)
> what can I do now that I couldn't already do with Github as is?

Before this new service how would you use GitHub as a source for installing, for example, Maven packages?

Re:The GitHub registry public beta is live by farmerbb on Tuesday August 20, 2019 @06:20PM (#20752797)
There's https://jitpack.io, but it's a third-party service. Having first-party support for Maven artifacts served by GitHub will be quite nice.
Re:The GitHub registry public beta is live by danShumway on Tuesday August 20, 2019 @07:16PM (#20753217)
I guess I'm not sure how Maven works then -- I thought it was just downloading package binaries? I would use Github releases for that and link to the binary directly. I'd use a CI to auto-build and publish a new release binary whenever I pushed to master.

Does Maven do something more complicated like automatically figure out which platform binary to pull?

Re:The GitHub registry public beta is live by chrisseaton on Tuesday August 20, 2019 @07:17PM (#20753221)
It's the file layout, for just one thing. You can't just point Maven (or many package managers) at a simple HTTP server without the correct layout.

If you could... they wouldn't have built this.

Re:The GitHub registry public beta is live by danShumway on Tuesday August 20, 2019 @07:27PM (#20753275)
Can't you? http://repo.maven.apache.org/maven2/ looks a lot to me like a simple HTTP server.

I'll take your word on it though. I don't know much about how Java package management works, and like you said, I assume the Github team wouldn't waste their time building something that wasn't necessary.

I guess if nothing else it would be a pain in the neck to have to know in advance how release files had to be laid out.

Re:The GitHub registry public beta is live by chrisseaton on Tuesday August 20, 2019 @07:41PM (#20753361)
> ...without the correct layout

How are you going to recreate that directory structure with GitHub releases? You can't even have any custom directories - they're just release-name/file-name.

I mean just try recreating it yourself and see how far you get.

You could try use GitHub pages instead, but GitHub very actively pester you if it even looks like you're distributing binaries there.

Re:The GitHub registry public beta is live by dragonwriter on Wednesday August 21, 2019 @12:13PM (#20758668)
> Before this new service how would you use GitHub as a source for installing, for example, Maven packages?

http://www.lordofthejars.com/2011/09/questa-di-marinella-e-l...