registry admin script (#2426)

* registryadmin scripts

Add `start-sdk publish` command which can potentially replace
the Haskell implementation of `registry-publish upload`

* restructure modules

---------

Co-authored-by: Sam Sartor <me@samsartor.com>
This commit is contained in:
Aiden McClelland
2023-09-28 11:19:31 -06:00
committed by GitHub
parent 9a202cc124
commit f5da5f4ef0
12 changed files with 332 additions and 18 deletions

56
backend/Cargo.lock generated
View File

@@ -642,6 +642,19 @@ dependencies = [
"crossbeam-utils",
]
[[package]]
name = "console"
version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8"
dependencies = [
"encode_unicode 0.3.6",
"lazy_static",
"libc",
"unicode-width",
"windows-sys 0.45.0",
]
[[package]]
name = "const-oid"
version = "0.9.4"
@@ -1292,6 +1305,12 @@ dependencies = [
"log",
]
[[package]]
name = "encode_unicode"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
[[package]]
name = "encode_unicode"
version = "1.0.0"
@@ -2099,6 +2118,20 @@ dependencies = [
"hashbrown 0.14.0",
]
[[package]]
name = "indicatif"
version = "0.17.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b297dc40733f23a0e52728a58fa9489a5b7638a324932de16b41adc3ef80730"
dependencies = [
"console",
"instant",
"number_prefix",
"portable-atomic",
"tokio",
"unicode-width",
]
[[package]]
name = "instant"
version = "0.1.12"
@@ -2733,16 +2766,15 @@ dependencies = [
[[package]]
name = "nix"
version = "0.26.2"
version = "0.26.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a"
checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
dependencies = [
"bitflags 1.3.2",
"cfg-if 1.0.0",
"libc",
"memoffset 0.7.1",
"pin-utils",
"static_assertions",
]
[[package]]
@@ -2902,6 +2934,12 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "number_prefix"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
[[package]]
name = "object"
version = "0.31.1"
@@ -3119,7 +3157,7 @@ dependencies = [
"json-patch",
"json-ptr",
"lazy_static",
"nix 0.26.2",
"nix 0.26.4",
"patch-db-macro",
"serde",
"serde_cbor 0.11.1",
@@ -3312,6 +3350,12 @@ dependencies = [
"syn 1.0.109",
]
[[package]]
name = "portable-atomic"
version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b"
[[package]]
name = "ppv-lite86"
version = "0.2.17"
@@ -3331,7 +3375,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eea25e07510aa6ab6547308ebe3c036016d162b8da920dbb079e3ba8acf3d95a"
dependencies = [
"csv",
"encode_unicode",
"encode_unicode 1.0.0",
"is-terminal",
"lazy_static",
"term",
@@ -4541,6 +4585,7 @@ dependencies = [
"ciborium",
"clap 3.2.25",
"color-eyre",
"console",
"cookie",
"cookie_store 0.19.1",
"current_platform",
@@ -4565,6 +4610,7 @@ dependencies = [
"imbl-value",
"include_dir",
"indexmap 1.9.3",
"indicatif",
"ipnet",
"iprange",
"isocountry",