Skip to content

spfs push and pull between two remote repos #1345

@jrray

Description

@jrray

Both spfs push and spfs pull take a --remote flag and use that remote in combination with the local repository. To sync content between two remote repos requires using the local repo as an intermediary (or somehow tricking spfs into treating one of the remotes involved as the "local" repo).

It would be convenient to have the ability to specify a --from and --to remote repository on these tools. The Syncer would already handle this kind of syncing but we don't have the command line args necessary to orchestrate it easily.

spfs push

  • --remote becomes an alias for --to
  • --from defaults to the local repository.

spfs pull

  • --remote becomes an alias for --from
  • --to defaults to the local repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agenda itemItems to be brought up at the next dev meeting

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions