Avoid hard-coding "radicle.xyz" in Rust code
This patch does three things:
- Justifies the changes in
CONTRIBUTING.md - Removes a few occurrences of the domain name, and makes the more complex case of fixtures easier in the future.
- Allows defining the default URL for Radicle Explorer at compile-time.
- Adds a Git hook that will fail if people commit to files which contain “radicle.xyz” or “radicle.zulipchat.com”. Note that it does not make that impossible, it just adds another step to make people stop and think.
This patch does three things:
- Justifies the changes in
CONTRIBUTING.md - Removes a few occurrences of the domain name, and makes the more complex case of fixtures easier in the future.
- Allows defining the default URL for Radicle Explorer at compile-time.
- Adds a Git hook that will fail if people commit to files which contain “radicle.xyz” or “radicle.zulipchat.com”. Note that it does not make that impossible, it just adds another step to make people stop and think.
Might I suggest that you also change the NIDs for iris and rosa? Leaving their current real NIDs doesn’t seem quite right…
Remove confusing reference to particular nodes in tests.
Changes:
- Rebase
- Fix typo in CONTRIBUTING