You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/07/08 18:03:17 UTC

[PR] feat(release): make the RC-tag push remote configurable via git_upstream_remote [magpie]

potiuk opened a new pull request, #788:
URL: https://github.com/apache/magpie/pull/788

   ## Summary
   
   `release-rc-cut` emitted the RC-tag push as `git push <upstream-remote> …` with `<upstream-remote>` defaulting to `origin` and a note telling the RM to substitute it. An RM whose local remote for the upstream repo is named `upstream` or `apache` (not `origin`) had to hand-edit every emitted recipe. This adds a **`git_upstream_remote`** config key that `release-rc-cut` resolves so it emits the concrete remote name, plus a `--remote` per-invocation override.
   
   ## Changes
   
   - **`projects/_template/release-management-config.md`** — new `git_upstream_remote` key (default `origin`) + note on typical values (`origin`, `upstream`, `apache`).
   - **`projects/magpie/release-management-config.md`** — set `git_upstream_remote: upstream` (Magpie's checkout uses the `upstream` remote for `apache/magpie`).
   - **`skills/release-rc-cut/SKILL.md`** — read the key in Step 1 (config table + JSON), add the `--remote` input, and emit the resolved concrete remote in the tag-push command. Trimmed a note to keep SKILL.md ≤500 lines.
   
   Only `release-rc-cut` among the 10 release skills references a git remote name (the rest use svn/gh/aws), so no other skill changes were needed.
   
   ## Test plan
   
   - `skill-and-tool-validate` passes (no new warnings; SKILL.md at 499 lines).
   - No behavior change for adopters who leave `git_upstream_remote` unset — still defaults to `origin`.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(release): make the RC-tag push remote configurable via git_upstream_remote [magpie]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #788:
URL: https://github.com/apache/magpie/pull/788


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org