A package repository hosts, indexes, and controls access to packages. It connects producers who upload packages with consumers who download them, supporting versions, labels, dependencies, and searchable descriptions. section 2.1.2
Package repositories support developer workflows by:
- Providing centralized access to thousands of reusable packages. section 2.1.2
- Managing public and private package access through access control. section 2.1.2
- Indexing versions, labels, dependencies, and descriptions so consumers can search packages. section 2.1.2
Central repositories
Maven Central, NPM, Docker Hub, and GitHub Container Registry illustrate repositories used to distribute packages. section 2.1.2
Figure 2.3 Package Managers’ responsibilities: build, package, and distribute
Shows how package managers build, package, and distribute artifacts across producer and consumer workflows. section 2.1.2
