Skip to content

proposal: add dbc upgrade for installed drivers #645

Backlog

Description

@eitsupi

To update a driver today, the docs suggest running dbc install <driver> again. That resolves the driver afresh.
The install receipt records ownership and integrity, so dbc has no record of the original version constraint, prerelease preference, source, or signing policy to use for an upgrade.

Proposal

  • Record the install request in the receipt, including the source, version constraint, prerelease preference, signing policy, and whether install or sync manages the driver.
  • Add dbc upgrade <driver>... and dbc upgrade --all. Support user and system installs with --level, show a plan before asking for confirmation, and provide --yes, --dry-run, and --json.
  • For registry installs managed by install, select a newer compatible release within the recorded constraint and signer group. Keep unsigned installs on their original registry. To change signer, reinstall explicitly from the intended registry. Report why drivers managed by sync or installed directly from an archive or URL are skipped.
  • Include drivers from 0.3.x in --all. Look for newer releases in the enabled built-in registries that use the Columnar signing key, and warn in the plan that the original source and constraint are unknown.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions