GitHub Package Registry: Code and package hosting all in one place
The latest new feature from GitHub is here. GitHub Package Registry is a software package management service for publishing public or private packages next to your source code. Since it is integrated directly with GitHub, you can host your packages and code in one place.
The latest offering from the GitHub team arrives. On May 10, 2019, the team announced a new feature to its users: GitHub Package Registry. This software package hosting service allows users to host packages and code all in one place.
With this new feature, users can host their software packages privately or publically in order to use them as dependencies in their projects.
Interested users can sign up for the limited beta release and add themselves to the waiting list.
According to GitHub, though enterprise features will come in the future, there will always be a free and open source version available.
GitHub Package Registry fully integrates with GitHub. This way, users also benefit from the features, interface, and services they already know how to use. It supports commonly used package management tools: Docker, Maven, NPM, NuGet, and RubyGems.
GitHub Package Registry is compatible with common package management clients, so you can publish packages with your choice of tools. If your repository is more complex, you’ll be able to publish multiple packages of different types. And, with webhooks or with GitHub Actions, you can fully customize your publishing and post-publishing workflows.
Publishing an open source package? Most open source projects have their code on GitHub, so you can publish prerelease versions of your packages for testing within your community, and then easily promote specific versions to the public registry of your choice.
Since everything is integrated, users will be able to use their same login for both their code and their packages. Users will also no longer have to use third-party solutions and can manage permissions all in one place.
Your code. Your packages. One login.
Meet GitHub Package Registry 🎁
— GitHub (@github) May 10, 2019
How will using this new feature help streamline workflows?
The help page lists several key features that may be of use:
- End-to-end DevOps workflow integration
- Secure environment for hosting packages
- Fast downloads via a global CDN
- Full API and webhooks support
- Explore the metadata! View download statistics, package contents, and version history to gain insights into packages and usage statistics
- Host multi-format package types in one registry
- Inherit the permissions of the repo and manage permissions in one unified place
- Host packages publically or privately
Registry packages are viewable on the left-hand sidebar.
Refer to the help page for more info about the package registry, including how to configure Docker, Maven, NPM, NuGet, and RubyGems. (According to GitHub, more client/format support will come in future releases.)
We will continue to follow the news regarding this feature as it grows and eventually leaves its beta phase.
Will you and your team use this feature? Do you think integrating code and package hosting all under one roof is a good idea or not?