Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace remote change op #1166

Closed
wants to merge 4 commits into from

Commits on Jan 10, 2019

  1. repo: Add OstreeRepoRemoteChange replace operation

    Add the OSTREE_REPO_REMOTE_CHANGE_REPLACE operation to the
    OstreeRepoRemoteChange enum. This operation will add a remote or replace
    an existing one. It respects the location of the remote configuration
    file when replacing and the remotes config dir settings when adding a
    new remote.
    dbnicholson committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    64d0ac0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40cf3c5 View commit details
    Browse the repository at this point in the history
  3. remote-add: Add --force option to add or replace remote

    This uses the OSTREE_REPO_REMOTE_CHANGE_REPLACE operation to add a
    remote or replace an existing one. This is roughly the opposite of
    --if-not-exists and will raise an error if both options are passed.
    dbnicholson committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    4d0a43e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d010d5f View commit details
    Browse the repository at this point in the history