Javascript: Is there CONTRIBUTING.md

Created on 13 Feb 2017  路  6Comments  路  Source: airbnb/javascript

I made PR #1295 and you overwrote my commit message. I think we need a rule for commit message to avoid overwriting commit messages. If there is the rule, it could be good for contributors. For example, we need create the rule like below:

  • [Tests] ~ for test
  • [eslint config] ~ for eslint rule
  • [guide][react] ~ for gude ?

What do you think ?

Most helpful comment

@ljharb

it's always acceptable and expected for maintainers to edit commit messages, rebase, squash, etc, upon merging - neither the original commit message nor commit authorship should be expected to be retained (although authorship generally is, out of courtesy)

I understand the necessity of maintainers to edit.

I'd be fine with a PR that documented our commit messages (we'd probably need some back-and-forth on the PR before it was final), although this is the first time it's really come up.

In Airbnb, Is there a rule of commit message ? if it is, I think we can create new one based on existing rule.

All 6 comments

A few points:

  • it's always acceptable and expected for maintainers to edit commit messages, rebase, squash, etc, upon merging - neither the original commit message nor commit authorship should be expected to be retained (although authorship generally is, out of courtesy)
  • The existing git log should indicate the conventions that are used.
  • I'd be fine with a PR that documented our commit messages (we'd probably need some back-and-forth on the PR before it was final), although this is the first time it's really come up.

@ljharb

it's always acceptable and expected for maintainers to edit commit messages, rebase, squash, etc, upon merging - neither the original commit message nor commit authorship should be expected to be retained (although authorship generally is, out of courtesy)

I understand the necessity of maintainers to edit.

I'd be fine with a PR that documented our commit messages (we'd probably need some back-and-forth on the PR before it was final), although this is the first time it's really come up.

In Airbnb, Is there a rule of commit message ? if it is, I think we can create new one based on existing rule.

No, we don't have any commit message convention that spans projects.

Earlier I created a Git guide at the company I used to work. You can use it as an inspiration:

https://github.com/ideas/guides/tree/master/git

@ljharb I will create a CONTRIBUTING.md in reference to existing commit log.

@gergoerdosi I appreciate it :smile:

@ljharb I just close it because I am busy now. If I create the PR, I reopen this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vsemozhetbyt picture vsemozhetbyt  路  3Comments

golopot picture golopot  路  3Comments

weihongyu12 picture weihongyu12  路  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  路  3Comments

ar
mbifulco picture mbifulco  路  3Comments