mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-02 09:50:28 +08:00
The previous implementation used 'all' as the default for scope, this could lead to surprising behaviour where a user would fetch all references for cloned and seeded repositories. Instead have a progressive, safe by default value - where it fetches only 'followed' references. Later a user can decide to set the scope to 'all'. NOTE: the default policy scope was not changed from 'all' and is intended to be changed at a later date.
19 lines
668 B
Markdown
19 lines
668 B
Markdown
When you try to clone or sync without your node running, it gives you an error:
|
|
|
|
``` ~bob (fail)
|
|
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
|
|
✗ Error: to clone a repository, your node must be running. To start it, run `rad node start`
|
|
```
|
|
|
|
``` ~eve (fail)
|
|
$ rad sync --fetch rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 --seed z6MksmpU5b1dS7oaqF2bHXhQi1DWy2hB7Mh9CuN7y1DN6QSz
|
|
✗ Error: to sync a repository, your node must be running. To start it, run `rad node start`
|
|
```
|
|
|
|
Note that seeding works fine without a running node:
|
|
|
|
``` ~alice
|
|
$ rad seed rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
|
|
✓ Seeding policy updated for rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 with scope 'followed'
|
|
```
|