Complete WP-0010: HTTP remote federation with cache
Extend federation manifest schema for url sources with auth and TTL metadata. Fetch remote capability indexes over HTTP(S), cache under registry/federation/cache/, and fall back to stale cache on fetch failure. Add --refresh flag, seven federation tests, and updated federation docs.
This commit is contained in:
parent
c9b957d398
commit
e8797b2e91
13 changed files with 487 additions and 45 deletions
|
|
@ -68,9 +68,12 @@ Compose a federated index from `registry/federation/sources.yaml`.
|
|||
|
||||
```bash
|
||||
reuse-surface federation compose
|
||||
reuse-surface federation compose --refresh
|
||||
```
|
||||
|
||||
Writes `registry/indexes/federated.yaml` with `source_repo` attribution.
|
||||
Composes local and remote HTTP index sources. Writes
|
||||
`registry/indexes/federated.yaml` with `source_repo` attribution. Remote indexes
|
||||
cache under `registry/federation/cache/`.
|
||||
|
||||
### graph
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue