I actually have no idea what a package registry is, or what it does. I read this article on Tech Crunch and still am not really sure what it means: techcrunch.com/2019/05/10/github-g...
An "explain like I'm five" would be greatly appreciated! 🙇♂️
Let's say you're working in a restaurant...
You, as a chef, don't wanna take the recipes from other chefs and cook it by yourself everytime you wanna create that delicious plate (that needs many recipes).
You would love if you had a kitchen that serves some ready-to-eat commodity food and compose it into your special plate.
Now, the lovely thing about that kitchen is that it keeps old commidity food with labels because some chefs prefer the old taste of that commodity food, and the kitchen is only allowed to enter for the chefs of that restaurant (because you don't wanna share your trade secrets with other restaurants).
Now change the above story wording:
Restaruant = your organization
Chefs = other developers/teams in your organizations
Recipe = package code (raw)
Kitchen = registry
Commodity food = packages (ready to be consumed)
Plate = your app
Labels = versions of those packages (to ensure new version won't affect apps using previous version of that package)
A good analogy and precisely why I'm looking forward to it.
So something like a local maven repository (artifactory, nexus,...) instead of using maven central?
I'm not familiar with Java tooling, but I read about it and it seems like nexus.
If you're familiar with docker it's like a docker registry.
I think the unique value here is that it's a cloud based solution from the mighty Github.
Both sonatype (makers of maven, Nexus, and maintainers of central report) and jfrog (makers of artifactory) have cloud based solutions.
But they are mostly not gratis.
So isn't it like npm registry?
Yes, it is like npm registry...
But, they say it supports all shapes and colors of registries (npm, maven, nuget... etc).
What are your reactions to the announcement?
What are your reactions to the announcement?
it seems great for big co's that have private packages shared among teams though!
This will be a enormous fragmented repo world.
As a Java developer I do not see any good reason to move away from Maven Central any time soon.
As for public repos, I do not see any mentions of repo and package integrity. The fact that they allow arbitrary deletion doesn't help in creating trust in these repos.
At first I was quite worried that Microsoft would be gaining even more monopoly on the developer workflow, but then I realized that this wouldn’t be competing with existing tools, but only be there as another location from which packages can be downloaded from.
For businesses and private enterprise usage however, I can totally see how this would solve the problem of sharing private packages across teams.
In Python in particular, you can specify the registry once and for all in the Pipfile (provided you’re using Pipenv). The default PyPI index is already listed so you just have to swap it for yours, and there you go!
So I guess this is a nice feature that some people may find useful, but that won’t change the way people do open source.
Very interesting of course! But also not sure what to think of it.
Everything is in one place and easy to manage <-> You are locked in the Github 'ecosystem'
Also wondering if they will support other registries, for example Composer (PHP).
After reading the feature page quickly I think one of their big benefits is gonna be for businesses that want to have a private hosted registry.
I know that's something we've wanted before at my company, and I could see us easily adopting this product since it fits into Githubs existing security model.
Not sure I'll use it personally, but if it gains momentum maybe I'll push to this to as a second registry :shrug:
So it only took a day for me to realize that I would actually like this personally too 😆
So now I just have to wait patiently for my beta invite!
Well it's the next step. I like the idea of that. Especially when its integrated directly in pip or npm :)
On pip I could also install private repos. Maybe its more comfortable in the future
pip3 install -U 'git+ssh://email@example.com/...'
I wrote a direct reply to these news here: dev.to/victorb/the-everlong-quest-...
TLDR: GitHub Package Registry is great, but not enough to make sure we get a solid package registry for the long-term.
Is this more beneficial to enterprise customers that already use GitHub for their code so that they can have their private packages published in GitHub's registry instead of npm Enterprise or setting up and maintaining their own registry?
A really good thing for private registries (particularly for Maven, can't really tell for others), but likely to make things harder for consumers of public artifacts, so public projects should avoid that feature (unless maybe it's coupled with bot to auto-deploy to public central registries)
I love the idea of having releases strongly tied to actual git commits/ tags. With Actions, I can see a near future where you can verify a given release is exactly what is in the repo. GitHub would know that a given artifact was released from an action and can verify "this artifact was the result of a build on the push of this commit".
Will it support php's packagist?
Great! So when Github goes down I can no longer run ‘npm install’. No thank you. There are times when decentralization is a good thing.
It will be hard to pick up steam with initial adoption even if there is good reason.
No support for Python 😥😥
We will see how it goes. I think the Docker and Npm registry is a good option.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.