Edit icon Edit This Page

Change the settings of a repository

Change the settings of a repository. Only the settings you name change; the others keep their value. Each flag takes true or false (–releases=false).

–private=false makes the repository readable by anyone without credentials, and –allow-override=true lets a published version be replaced. rp asks for confirmation before either; in a script pass –yes (with –no-input or without a terminal, and no –yes, the command exits 2 and changes nothing).

–releases and –snapshots apply to Maven and NuGet repositories only. –pgp-verify-all and –pgp-keyserver-lookup are the signature checks of a Maven repository; turning –pgp-verify-all off asks for confirmation.

rp repo settings <name> [flags]

Options

      --allow-override         Let a published version be replaced; true asks for confirmation
      --pgp-keyserver-lookup   Maven: look a signer's public key up on the linked key servers
      --pgp-verify-all         Maven: refuse an upload unless every signature verifies; false asks for confirmation
      --private                Private (true) or public (false); false asks for confirmation
      --releases               Accept release versions (Maven and NuGet)
      --security-scan          Scan new versions for vulnerabilities
      --snapshots              Accept snapshot versions (Maven and NuGet)

Options inherited from parent commands

      --api-url string           Panel API URL of the profile, overrides the stored value
      --ca-file string           PEM file with extra trusted CA certificates
      --debug                    Print debug output with secrets redacted
      --hostname string          Repsy host to use instead of the current profile
      --insecure                 Do not verify TLS certificates (unsafe; plain http is chosen with the URL, not with this flag)
      --insecure-storage         Keep credentials in a plain 0600 file instead of the OS keyring (unsafe; a warning is printed once per command)
      --jq string                Filter JSON output with a jq expression (implies --output json)
      --no-color                 Disable colored output
      --no-input                 Never prompt; fail when input is needed
      --output table|json|yaml   Output format: table, json or yaml (default table; json when --jq is given)
      --owner string             Owner segment of Cloud protocol URLs; --owner= means none
      --registry-url string      Protocol host URL of the profile, overrides the stored value
      --type os|cloud            Product of the host, overrides detection
      --web-url string           Panel UI URL of the profile (where /cli/auth lives), overrides the stored value
      --yes                      Answer yes to confirmation prompts

See also

  • rp repo - List, show, create, change and delete repositories
Found a problem with this page?