address argus: drop issue tags from clone/pr-create module docs, fix stale knowledge wording
This commit is contained in:
parent
c103ae5f10
commit
79101edc2f
3 changed files with 4 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ pub struct Client {
|
|||
http: HttpClient,
|
||||
base: String,
|
||||
/// Per-agent forge token. Kept alongside the pre-built auth header
|
||||
/// so verbs that shell out to `git` (e.g. `knowledge`) can assemble
|
||||
/// so verbs that shell out to `git` (e.g. `clone`) can assemble
|
||||
/// an authenticated push URL without re-reading the token file.
|
||||
token: String,
|
||||
/// Default repo used when a verb doesn't carry an explicit
|
||||
|
|
@ -74,7 +74,7 @@ impl Client {
|
|||
/// token into the base URL's authority: `http://<user>:<token>@host/<repo>.git`.
|
||||
/// The user comes from `HIVE_LABEL` (the agent's forge login),
|
||||
/// falling back to `oauth2` which Forgejo also accepts as the
|
||||
/// token-bearer username. Used by `knowledge` to clone/push.
|
||||
/// token-bearer username. Used by `clone` to clone/push.
|
||||
#[must_use]
|
||||
pub fn authed_git_url(&self, repo: &str) -> String {
|
||||
let user = std::env::var("HIVE_LABEL").unwrap_or_else(|_| "oauth2".to_owned());
|
||||
|
|
|
|||
Loading…
Reference in a new issue