From 355cf083244efd84da502d7c1b26a17fc720d142 Mon Sep 17 00:00:00 2001 From: Andrew Bryant Date: Sat, 24 Oct 2026 11:14:33 -0400 Subject: [PATCH] Point at the GitHub mirror and document that it is read-only `Cargo.toml` named github.com/bryant/invoiceninjars, a guess from the git author name that was never a real repository. It now points at the mirror that actually exists, so the crates.io "Repository" link will resolve. Gitea is the source of truth and a push mirror copies every commit to GitHub. Anything written to the GitHub copy is overwritten by the next sync, so a merged pull request there would silently vanish. README and GOALS.md say so, and direct issues and pull requests to Gitea. Co-Authored-By: Claude Opus 5 --- Cargo.toml | 2 +- GOALS.md | 7 +++++++ README.md | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ae6eaee..d9f3c67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" rust-version = "1.88" description = "An async Rust client for the Invoice Ninja v5 API" license = "MIT" -repository = "https://github.com/bryant/invoiceninjars" +repository = "https://github.com/awkawb1/invoiceninja-sdk" [dependencies] reqwest = { version = "0.12", default-features = false, features = ["json", "native-tls"] } diff --git a/GOALS.md b/GOALS.md index 1618456..18db010 100644 --- a/GOALS.md +++ b/GOALS.md @@ -120,6 +120,13 @@ before 1.0**. Pin an exact version; expect breaking changes in minor releases. `CHANGELOG.md` records them, and breaking changes should be legible there rather than discovered at compile time. +**Gitea is the source of truth; GitHub is a one-way mirror.** The canonical +repository is `gitea.awkawb.cloud/awkawb/invoiceninja`. A Gitea push mirror +copies every commit to , which +is what `Cargo.toml` points at. Nothing should be written to the GitHub +copy: the next sync overwrites it, so a merged pull request there would +simply disappear. Contributions go through Gitea. + `Error` is `#[non_exhaustive]` so that adding variants is not itself a breaking change. diff --git a/README.md b/README.md index 1a24ec7..4580bf7 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,12 @@ Requires Rust 1.88 or newer. > breaking changes in minor releases; `CHANGELOG.md` records them. > [`GOALS.md`](GOALS.md) covers what the crate is for and what it is not. +> **Development happens on +> [Gitea](https://gitea.awkawb.cloud/awkawb/invoiceninja); the +> [GitHub copy](https://github.com/awkawb1/invoiceninja-sdk) is a read-only +> mirror.** Anything pushed to GitHub is overwritten by the next sync, so +> please open issues and pull requests on Gitea. + ## Development Enter the dev shell (Rust toolchain via `rust-overlay`):