You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# optional field for providing a regex-based filter
|
|
|
|
# to limit which crates are published to the destination
|
|
|
|
# registry. only crates with names matching the regex will
|
|
|
|
# be published.
|
|
|
|
#
|
|
|
|
filter-crates = "^."
|
|
|
|
|
|
|
|
# do everything except actually publish to the destination registry
|
|
|
|
dry-run = false
|
|
|
|
|
|
|
|
# source registry config
|
|
|
|
[src]
|
|
|
|
index-dir = "path/to/crate-index/repo" # git clone of crate index repository
|
|
|
|
crate-files-dir = "path/to/crate/files" # i.e. files downloaded by registry-backup tool
|
|
|
|
publish-history-csv = "path/to/publish-log.csv" # see docs above
|
|
|
|
registry-name = "my-old-registry" # whatever label the source registry was given in Cargo.toml files
|
|
|
|
index-url = "https://github.com/my-org/crate-index.git" # index url, i.e. same as one provided in ~/.cargo/config.toml
|
|
|
|
|
|
|
|
# destination registry config
|
|
|
|
[dst]
|
|
|
|
index-url = "ssh://git@ssh.shipyard.rs/my-new-registry/crate-index.git" # index url of new registry
|
|
|
|
registry-name = "my-new-registry" # can be same as old name or a different name
|
|
|
|
auth-token = "xxx" # auth token for publishing to the destination registry
|