Documentation
¶
Overview ¶
Package initpr is init's last step on the repo: it installs the Session: hook, and opens or refreshes the PR of physa/init with the body of what was written. It never merges a PR; a forge that cannot open PRs, or is unavailable or not signed in, leaves the branch ready, with the reason.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallHook ¶
InstallHook installs the Session: hook in the repo here and says what happened; any error is a refusal, with its reason. hooks gives the repo's hooks for the directory it is called with.
func Open ¶
func Open(w vcs.Writer, f forge.Forge, out initbranch.Outcome) (initbranch.PR, error)
Open opens the PR of physa/init into the default branch with out's body, or refreshes the open one's body. A forge that cannot open PRs, is unavailable or is not signed in leaves the branch ready, with the reason. It never merges a PR.
Types ¶
This section is empty.