Closed Bug 1551561 Opened 5 years ago Closed 4 years ago

Allow submitting no-bug patchsets without resorting to "--force"

Categories

(Conduit :: moz-phab, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1481537

People

(Reporter: mhentges, Unassigned)

Details

(Keywords: conduit-triaged)

I'm assuming that --force bypasses a lot of useful validation.
However, I'm often submitting patchsets to projects that shouldn't always need to be associated with bugs (e.g. to ci-configuration). In such cases, I'm forced to use the -f flag to submit my patchset even though I'd still like validation to happen.

I'm not advocating for allowing no-bug patches by default - I'd just love a --no-bug option to avoid that specific bit of validation, e.g.: moz-phab --no-bug.

Type: defect → enhancement

this sounds reasonable, however, care will need to be taken to ensure this isn't abused on repos where bugs are required.

we should add an option to a repo's .arcconfig that permits no-bug commits. we need three modes:

  1. required - the default, and matches current behavour
  2. warn - allow commit messages without bugs, but display a warning when previewing the commits
  3. not-required - allow commit messages without bugs, no warning

this wouldn't require the addition of a --no-bug switch.

Keywords: conduit-triaged
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.