Skip to content

Proof Repository

Dawid Ciężarkiewicz edited this page Aug 24, 2019 · 7 revisions

What is Proof Repository

Proof Repository is just publicly available git repository where Crev users publish their reviews and other proofs (documents created by Crev implementation). This way other users can find and download them, and also fetch updates in the future.

Every Crev user is supposed to create one (or more) Proof Repository for themselves.

How to create a Proof Repository

Just like any other git repository.

If you're a github user, just fork a template. Other users can fork it manually or create a new, empty (but initialized) git repository.

Now you can use your repo URL in cargo crev new id --url <url> to created CrevId associated with that Proof Repository.

How can I use Proof Repositories

If you're using cargo crev:

cargo crev fetch url <https://repository_url>

will download the whole Repository to crev's local cache. Use cargo crev fetch all to periodically update all downloaded Proof Repositories

FAQ

Can multiple CrevIDs share the same Proof Repository?

Yes. If you need multiple IDs, you can still publish them under the same URL.

Do I need to fork Proof Repositories of other users?

No. This is unnecessary and doesn't achieve anything.

More help

If anything is unclear, consider asking for help on the crev's gitter channel

Clone this wiki locally