You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All commits in pull request must be rebased and squashed, except
when the commits are required to mark specific advancement (i.e
collection of serveral major features) in the development history;
Merge conflicts must be resolved in feature branch during the rebase;
Exceptions can be made for theme pull requests only. All changes by collaborators must follow the rules above;
When merging pull request, merger must squash the commits and follow the rules when commiting;
No direct commits to master branch, everything goes via pull requests;
Any major changes to site layout and functionality must be firstly discussed in issue/pull request.
The point of the last one is, that this site has always been built on keep it simple, stupid concept, therefore adding awesome bells and whistles isn't always a good idea.
Squashing can be both done via CLI or Github web interface.
All suggestions and counter arguments are welcome!
The text was updated successfully, but these errors were encountered:
Good idea IMO. Would solidify what we the collaborators need to do, as well as make it clearer how users are to make their listing/pull request.
Also, not cluttering up the master branch with dozens of random commits and instead rebasing+squashing would make the repository easier to manage in the future.
In addition ( I don't know if this is the case currently) I believe we should require a 'review' from another collaborator in order for one collaborator to merge a PR they made. This would prevent collaborators arbitrarily submitting and merging their own themes. In my short stay as a collaborator, I haven't made any PR's, so I don't know if this is the case as of now. But if it is not, I think it would be beneficial to make it so, as well as remove direct-commit permission from the collaborators to the master branch.
I think there are some good points in there. I'm generally in favour of having some contribution guidelines. Not necessarily too strict, but strongly suggested anyway. Just some initial thoughts:
Use English in commit messages, branch, and tag names;
Definitely.
Branch and tag names must be separated by dash -;
I'm okay with that, though I personally have a habit of naming branches like "somenewbranch," which I'd see as acceptable. I'm okay with standardising on dashes for when separators are used, though.
Follow the seven rules of a great git commit message
This is one I'd see as a suggestion and not a firm requirement, so long as commit messages aren't absolutely terrible. I generally settle for "descriptive and informative with acceptable spelling/grammar." e.g. I prefer past tense subject lines to imperative myself, but find them both equally acceptable. A policy requiring messages to be reasonably well formatted and useful definitely has a plus-one from me though.
All commits in pull request must be rebased and squashed, except when the commits are required to mark specific advancement (i.e collection of serveral major features) in the development history;
That sounds acceptable. I'd also clarify that additional commits for updates to the PR (e.g. requested changes) should be fine.
When merging pull request, merger must squash the commits and follow the rules when commiting;
Hello!
Since we now have more collaborators I suggest us to settle on somekind contributing guidelines.
My suggestions:
-
;when the commits are required to mark specific advancement (i.e
collection of serveral major features) in the development history;
fix
keyword i.e fixAdded Hikari #24 closes issue Added Hikari #24. Multiple issues must be separated by comma like
this: fix Added Hikari #24, fix Added theme: Architect #32, fix Adding Jekyll Metro theme #51.
The point of the last one is, that this site has always been built on keep it simple, stupid concept, therefore adding awesome bells and whistles isn't always a good idea.
Squashing can be both done via CLI or Github web interface.
All suggestions and counter arguments are welcome!
The text was updated successfully, but these errors were encountered: