Connect a custom package source
A custom package source connects an external HTTPS repository to a private Ravenstash cache. The source can be public or require authentication.
Create the cache
Section titled “Create the cache”- Open Package caches in the Ravenstash app.
- Select New custom cache.
- Choose PyPI, npm, or Maven.
- Enter the external repository URL.
- Add source authentication when required.
- Choose whether the cache can be used directly.
- Create the cache.
The cache has its own private Ravenstash URL. You can use that URL directly with a package manager or connect the cache to a private repository.
Connect it to a private repository
Section titled “Connect it to a private repository”- Open the private repository.
- Open Upstreams and select the matching ecosystem.
- Add the custom cache.
- Choose its order and package-age settings.
- Save the change.
A PyPI cache can connect only to PyPI, an npm cache only to npm, and a Maven cache only to Maven.
Private external sources
Section titled “Private external sources”Source authentication is stored separately from developer and automation credentials. Developers continue authenticating to Ravenstash; they do not receive the external repository credentials.
Update the authentication details from the cache settings when the source credentials change.

