Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

doc(changelog): Changelog #1022

Merged
merged 1 commit into from
Nov 4, 2015
Merged

Conversation

codydaig
Copy link
Member

@ilanbiala
Copy link
Member

@codydaig we should also update the contributing.md to follow some sort of commit message structure like the one found here https://github.com/stevemao/conventional-commits-parser.

@codydaig
Copy link
Member Author

@ilanbiala I think the commit messages should be a separate PR. That's something that should be open for discussion on the formatting.

@ilanbiala
Copy link
Member

@codydaig if we're using this package, there's relatively little discussion because it requires a base format and I don't see why we should bother coming up with our own format when we can just use a proven one like Angular's.

@lirantal
Copy link
Member

LGTM I like this Changelog format better than anything we had so far.

@lirantal
Copy link
Member

@codydaig you simply created the changelog by running an npm package, right? did it require any base format to work on?

@codydaig
Copy link
Member Author

@lirantal That's all I did was run the command line tool.

@ilanbiala
Copy link
Member

@lirantal for it to work much better, we have to standardize a commit message then, so let's establish that in this PR before we merge this in because we may need to change stuff here.

@lirantal
Copy link
Member

@ilanbiala commits are harder to control in a sense. The best way would be for a developer/contributor to add some git hook that will enforce a standard, just like we use linters for code, but you obviously realize that this can't be enforced easily sense this is on the contributor's side. Until then, we'll have to tell people to rebase their commits more often to confirm with a standard and it seems to me at this point as maybe too much.

@ilanbiala
Copy link
Member

@lirantal asking people to follow something like:

feat(users): Allow new users to be generated through socket.io
This feature is awesome, it works like this:
"blah blah blah code here or whatever necessary extra info"
Fixes #486, #487

doesn't seem like too much to ask.

@lirantal
Copy link
Member

@ilanbiala I'm not saying it is. Can we provide documentation on the commits guideline? we need to add it in the CONTIRBUTING.md as well as any other place where we mention contribution and be able to easily refer contributors to it in their PRs. That's it.

@ilanbiala
Copy link
Member

@lirantal @codydaig agreed, I think the format already described by the parser is pretty good, so should we just link to that and include mine as an example and refer to Angular's log for more specific stuff?

@lirantal
Copy link
Member

@ilanbiala let's mention it wherever required as simple as possible for anyone to understand so this doesn't become a showstopper for contributing.

@codydaig
Copy link
Member Author

@ilanbiala @lirantal I'm cool with enforcing it, but I agree, it needs to be clear and in the Contributing.md doc. Should I add that to this PR or shall we submit a new one?

@lirantal
Copy link
Member

@codydaig add to this PR.

@codydaig
Copy link
Member Author

@lirantal @ilanbiala Updated

@codydaig codydaig changed the title [docs] Changelog doc(changelog): Changelog Oct 30, 2015
## Commit Message Guidelines

* Format:
* `<type>(<scope>): <subject>`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's just for the header, there can also be a body with more detailed info, and the footer includes all the issues it fixes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codydaig can you also clarify with a bit more detail here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilanbiala Can you provide some examples? I don't know what else to put.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header
Body
Footer

The header should look like:
<type>(<scope>): <subject>

The body should have any necessary detailed info about the commit:
An example, references as to where this idea came from, etc.

The footer should have all the issues tagged:
Fixes #123, Fixes #456

So a commit should like like:
feat(users): Add new Yahoo authentication
Yahoo authentication idea proposed by @codydaig
Example implementation in file.js
Fixes #82

Something like that?

@codydaig
Copy link
Member Author

codydaig commented Nov 3, 2015

@ilanbiala Updated.

@ilanbiala
Copy link
Member

@codydaig LGTM. Don't forget to close #881 when you merge.

@codydaig
Copy link
Member Author

codydaig commented Nov 4, 2015

@ilanbiala I just made the final changes you requested. Final review before I merge?

@mleanos
Copy link
Member

mleanos commented Nov 4, 2015

LGTM. Thanks guys!

I'm definitely good with the new commit format. It will be a huge help.

@ilanbiala
Copy link
Member

LGTM.

codydaig added a commit that referenced this pull request Nov 4, 2015
@codydaig codydaig merged commit 3165351 into meanjs:master Nov 4, 2015
@codydaig codydaig deleted the docs/changelog3 branch November 4, 2015 22:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants