-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: prefix makes git history look like a list of problems #117
Comments
While I see your point and where it comes from, on the other hand I think "Problem: we cannot do X" is a valid statement that describes a feature. |
if you read the RFC, sure: otherwise it is just confusing. It looks like the commit introduces problem X, maybe as a corrolary. when i saw the git history of this project, I didn't understand what the commitlogs meant until I read C4. |
We've adopted this over time as a successful pattern, and codified in the On 23 Sep 2016 11:48 pm, "anarcat" [email protected] wrote: if you read the RFC, sure: otherwise it is just confusing. It looks like when i saw the git history of this project, I didn't understand what the — |
The From a maintainers perspective it allows us to quickly examine a pull |
You said it better than I could... :) Absolutely accurate. On 24 Sep 2016 6:50 pm, "Kevin Sapper" [email protected] wrote:
|
I absolutely agree with you about the usefulness of the "Problem"
statement, and you make a great point at explaining why it is useful.
I just don't think it's appropriate that it's the summary of the commit
(the first line of the commit message). I think it should be a mandatory
part of the message, but the summary should be just that: a summary of
why something or what was done.
|
Yes, opinion noted. We have evolved this specific style over years and used On 24 Sep 2016 10:31 pm, "anarcat" [email protected] wrote:
|
IMO, this issue is not a problem but exactly what we intended! Though feel Am 25.09.2016 00:37 schrieb "Pieter Hintjens" [email protected]:
|
Interesting -- we started using a development process derived from C4 in Oasis and I thought that the format was:
I've just looked at the ZeroMQ commit messages for the first time and noticed that it's not what we've been doing. I was also confused by the "Problem:" commit messages, but now understand that we've been Doing It |
Solution: make "Problem:" prefix a recommendation, not a strict requirement. s/MUST/SHOULD/ [RFC 2119](https://tools.ietf.org/html/rfc2119): > 3. SHOULD This word, or the adjective "RECOMMENDED", mean that there > may exist valid reasons in particular circumstances to ignore a > particular item, but the full implications must be understood and > carefully weighed before choosing a different course. See also zeromq/rfc#117 Closes Seagate#361. [ci skip]
I question the use of
Problem:
in the changelog summary. I believe it makes the commit history look like a list of bug instead of a list of solutions. It may be just semantic nitpicking but I prefer to see a summary of the solution in the summary, then details of the solution in the longer version of the commitlog. It seems to be a common standard as well: Linux, for example, mandates to "Describe the technical detail of the change(s) your patch includes." as opposed to the actual problem it resolves, which can still be refered to in the longer description. (source)I understand where this is coming from, and maybe it's a good standard for an established project that is just fixing bugs, or that is used to that convention. But it is certainly surprising when coming from a more traditionnal background.
I would like to suggest turning that
MUST
into aSHOULD
orMAY
.I agree, however, that a patch
MUST
adress an existing issue or known problem. It seems to me we already have something to that effect, however, earlier on (although it is "SHOULD be a minimal and accurate answer to exactly one identified and agreed problem" - maybe that should be aMUST
?)The text was updated successfully, but these errors were encountered: