Skip to main content

atomcode_core/atomgit/
mod.rs

1//! AtomGit REST API client, built on top of the OAuth token stored by
2//! `crate::auth`. Scope is intentionally narrow: only the endpoints the
3//! `fixissue` workflow needs.
4
5pub mod client;
6pub mod fixissue;
7pub mod models;
8pub mod url;
9
10pub use client::Client;
11pub use url::IssueRef;
12
13/// Owner of the atomcode upstream repo on atomgit.com. Used by `/issue`
14/// to file bug reports / feature requests against atomcode **itself** —
15/// not against the user's current working project. Keep in sync with
16/// the `repository` field in the workspace `Cargo.toml`.
17pub const UPSTREAM_OWNER: &str = "atomgit_atomcode";
18/// Name of the atomcode upstream repo. Keep in sync with the
19/// `repository` field in the workspace `Cargo.toml`.
20pub const UPSTREAM_REPO: &str = "atomcode";