Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: Allow unseed to use repository name
Archived did:key:z6Mks2St...6Xqc opened 1 year ago
  • We try unseeding a repo by it’s name if the given arg is not a valid RID
  • We error out if the name is ambiguous
$ cargo run -- unseed rips
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
     Running `/home/pksunkara/Coding/open/heartwood/target/debug/rad unseed rips`
✓ Seeding policy for rad:z3trNYnLWS11cJWC6BbxDs5niGo82 removed
did:key:z6Mks2St...6Xqc opened with revision 76d850d3 on base e130b4dc +43 -7 1 year ago
  • We try unseeding a repo by it’s name if the given arg is not a valid RID
  • We error out if the name is ambiguous
$ cargo run -- unseed rips
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
     Running `/home/pksunkara/Coding/open/heartwood/target/debug/rad unseed rips`
✓ Seeding policy for rad:z3trNYnLWS11cJWC6BbxDs5niGo82 removed
did:key:z6Mks2St...6Xqc pushed revision 2 64dbef3c on base e130b4dc +40 -7 1 year ago
fintohaps commented on revision 2 1 year ago

Thanks for the contribution!

Since this is only tackling one CLI command, we’re going to archive it for the time being. We would like to take a holistic approach to being able to refer to repositories by name. You can see the issue here https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/issues/f8f95c41605a6493dbdf057f9f04b2f7d0758a86

We will likely use your work again when tackling the patch series :)