Let a project's config name a working branch per epic that chunks branch off and merge into
CI / tests (pull_request) Successful in 5m4s
CI / tests (pull_request) Successful in 5m4s
This commit is contained in:
@@ -103,6 +103,20 @@ it is true.
|
||||
`chunk-pr merge` leaves the pull request ready and says it awaits a person's merge. `project-config merge`
|
||||
prints chunk or human; the full listing shows the setting only where it is human.
|
||||
|
||||
`epic-branch` is an optional setting: a template that names the working branch of the Jira epic `plan`
|
||||
names, with {epic} for the epic's key, such as `epic-branch = "{epic}"` or "epic/{epic}". Each chunk then
|
||||
branches off that branch, and `chunk-pr` opens its pull request into it and merges it there without a
|
||||
person, whatever `merge` and `wait-for-approval` say: those guard the default branch. `chunk-preflight`
|
||||
makes the branch on origin off the default branch, or merges the default branch into it, and stops where
|
||||
that merge conflicts, which a person resolves. `chunk-pr open-epic` opens the pull request from the branch
|
||||
into the default branch, which a person merges. Left out, each chunk merges into the default branch.
|
||||
|
||||
`review-request-comment` is an optional setting, one line of text: the comment that asks the project's
|
||||
auto-reviewer for a review, such as "@reviewbot review", for a reviewer that on its own reviews only
|
||||
pull requests into the default branch. `chunk-pr ready` and `chunk-pr push` post it on a pull request
|
||||
into the epic's working branch. It requires `epic-branch`. Left out, no comment is posted.
|
||||
Each of the two is printed with the others only where it is set.
|
||||
|
||||
`tooling-on-host` is an optional setting, true or false: whether the loop may run the project's language
|
||||
runtime, package manager, tests and task runner directly on the host, for a project with no container
|
||||
setup. Left out, it is false, and they run through the project's container setup.
|
||||
@@ -151,12 +165,12 @@ and its commits and pull request are titled "ABC-123 - …".
|
||||
|
||||
Exit 1, naming each fault on stderr, where no config names the checkout, or its config leaves out a
|
||||
setting, names an unknown one, misspells a path, a language or a template, sets `coding-conventions` to anything but a list of paths, sets `wait-for-approval` or
|
||||
`tooling-on-host` to anything but true or false, sets `merge` to anything but chunk or human, sets `notifier` to anything but mattermost or slack or
|
||||
`tooling-on-host` to anything but true or false, sets `merge` to anything but chunk or human, sets `epic-branch` to anything but a branch name with one {epic}, sets `review-request-comment` to anything but one line of text or without `epic-branch`, sets `notifier` to anything but mattermost or slack or
|
||||
without `env-file`, sets `jira-finish-transition` or `jira-finish-status` to anything but a name, without the other or
|
||||
without a `plan` in Jira, names a Jira `plan` and leaves out `jira-score-formula` or `jira-score-bar`, sets
|
||||
one of those two without a `plan` in Jira, sets the formula to one that doesn't parse or the bar to anything
|
||||
but a number, sets `readability-floor` to anything but a number
|
||||
from 1 to 10, sets `parallel-chunks` to anything but a whole number of 1 or more, or sets `jira-finding-type` to anything but a name or without a `plan` in Jira, and where `coding-conventions`, `env-file`, `jira-finish-transition`, `jira-finish-status`, `notifier` or `touch-predictions` is asked for and not set. No path setting has a default.
|
||||
from 1 to 10, sets `parallel-chunks` to anything but a whole number of 1 or more, or sets `jira-finding-type` to anything but a name or without a `plan` in Jira, and where `coding-conventions`, `env-file`, `epic-branch`, `jira-finish-transition`, `jira-finish-status`, `notifier`, `review-request-comment` or `touch-predictions` is asked for and not set. No path setting has a default.
|
||||
"""
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
Reference in New Issue
Block a user