Pulling a package from an upstream

How to pull different versions of a packages from upstreams to your registries

In Bytesafe you are able to view what packages versions exist in your own private registries. You also have the option to view and pull (download) available package versions from your configured upstreams.

Overview of packages and package versions in your registry

By clicking on the registry name on the Registries page you will see all available packages and their versions in your Bytesafe registry.

The page also shows different badges for packages if you’ve enabled Plugins and Policies, for example known vulnerabilities and deprecated packages.

Package versions overview

Upgrade a package to the latest version

By clicking on a specific package from the registry overview you’ll see all available versions of the package in your registry. If you would like to upgrade an existing package in your registry to the latest version, follow the steps below.

Make sure Local Versions is selected in the drop-down (which is default).

Steps

1. Go to the registry, where you’d like to upgrade a package to the latest version, by clicking on the registry name on the Registries page.

2. Click on the package name that you would like to upgrade.

3. Click on the Pull button to upgrade the package. If a newer version exists in any of the registries upstreams, it will be added to the registry. If you are already up-to-date, there is no action.

Pull the latest package version

Screenshot showing package lodash in the registry example. From this page you are also able to delete packages in your registry.

Pull specific package version from an upstream

To see packages versions available in any upstreams that has been configured for a registry, you need to switch to the upstream in the drop-down (changing from Local Versions).

A typical scenario is that you want to pull a specific updated version from the upstream or browse package version.

Steps

1. Go to the registry, where you’d like to upgrade a package to the latest version, by clicking on the registry name on the Registries page.

2. Click on the package name that you would like to upgrade.

3. Click on the Pull button on the package version that you want to pull (download) to your registry. The version you pulled will be downloaded to your registry.

Package versions of a specific package

Screenshot showing available package versions for lodash in the public npm registry upstream (called npmjs) in the registry example.