Skip to main content

Repository Management

This page describes how to view and manage Upbound repositories.

Viewing repositories

To view a list of repositories:

  1. Run the following command to list repositories:
up repository list

Update repository settings

Repositories have either public or private visibility:

  • public visibility means that any published versions of your package have a public listing page in the Marketplace and authorized credentials aren't required to pull.
  • private visibility means that any published versions of your package have a listing page that only you and other collaborators in your organization can see. Packages require authorized credentials to pulled.

Once created, you can't change these repository settings.

To delete a repository, do the following:

  1. Run the following command to list repositories:
up repository list
  1. Run the following command to delete the repository:
  UPBOUND_REPO_NAME=$@<repo-name>$@
up repo delete ${UPBOUND_REPO_NAME} --force

Update repository permissions

To update the permissions for who can access and perform actions on a repository, do the following:

Run the following command to list teams:

up team list

Run the following command to grant a permission:

UPBOUND_TEAM_NAME=$@<team-name>$@
UPBOUND_REPO_NAME=$@<repo-name>$@
UPBOUND_REPO_PERMISSION=$@<permission>$@
up repository permission grant ${UPBOUND_TEAM_NAME} ${UPBOUND_REPO_NAME} ${UPBOUND_REPO_PERMISSION}

Run the following command to revoke a permission:

UPBOUND_TEAM_NAME=$@<team-name>$@
UPBOUND_REPO_NAME=$@<repo-name>$@
up repository permission revoke ${UPBOUND_TEAM_NAME} ${UPBOUND_REPO_NAME}