Skip to content
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

Contributing guidelines [Join the conversation] #16

Open
10 of 13 tasks
KirstieJane opened this issue Nov 14, 2018 · 11 comments
Open
10 of 13 tasks

Contributing guidelines [Join the conversation] #16

KirstieJane opened this issue Nov 14, 2018 · 11 comments
Assignees
Labels
2018 Issues from 2018. community issues releated to building a healthy community good first issue Good issue for newcomers to fix or respond to

Comments

@KirstieJane
Copy link
Collaborator

KirstieJane commented Nov 14, 2018

I'd really like lots of people to contribute to this project, so we need super clear contributing guidelines!

I've collaboratively written a few, I think this one is my favourite. We'll need to figure out which parts to keep etc, and we can do that in part at the sprint next week, but it would be great to have something in place or in a pull request to get us started ✨


Update

Here's a master list from the comments below that need to be incorporated into the CONTRIBUTING.md file

  • Pull request and issue templates (and why we have them)
  • How do we acknowledge contributors
  • Reformat & edit section on how to write a chapter
    • The current section isn't very easy to read - one big list of bullet points. A figure would go a long way to making this easier!
    • Also need to add guides for someone outside of the core team contributing a chapter - how do they start and make sure they aren't repeating work already in progress or out of scope?
  • Need to explain about branches & forks etc! Bring in some pictures from git flow to help explain this.
  • Try to stay up to date with master/upstream as best you can to avoid merge requests!
  • Please don't re-write history! (rebase, reflog!)
  • Style guide - markdown on separate lines please
  • Try to write good commit messages: https://chris.beams.io/posts/git-commit/
  • Its fine to have lots of commits - including ones that break code. A good rule of thumb is to push up to GitHub when you do have passing tests then the CI has a good chance of passing everything 😸

Lets also make a GOVERNANCE.md document

  • Governance of the project, how are decisions made?
  • What is a maintainer, how do you become one?

Minor fixes as spotted by @sdruskat in #244

  • Replace BIDS Starter Kit string with The Turing Way where appropriate.
  • Acknowledge the source of the text somewhere, depending on license, etc.

A list of contributing guidelines that @KirstieJane (et al) have written/edited for other projects:

It would be SUPER helpful if anyone wanted to pull in the good stuff from any of these into our CONTRIBUTING guidelines ✨ Tagging @rainsworth because we've had this conversation 👾

@KirstieJane KirstieJane added the community issues releated to building a healthy community label Nov 14, 2018
@KirstieJane
Copy link
Collaborator Author

KirstieJane commented Nov 22, 2018

  • Please open an issue first!
  • Make clear that we encourage updating the issue with a summary of the discussion as it goes along to make it super easy to read.
  • And open a pull request early.
  • Use the WIP marker if you're not ready for the review ✅
  • You can submit pull requests to the OTHER PERSON'S BRANCH.
  • Responsibilities of a maintainer to the project - how do you progress to a maintainer? How do you progress beyond a 1 off contributor?
  • Need to explain about branches & forks etc! Bring in some pictures from git flow to help explain this.
  • Syncing branches & forks with "upstream"

@annakrystalli
Copy link
Collaborator

I really like this blogpost. It's quite detailed and comprehensive but it helped me understand where the conventions come from: https://nvie.com/posts/a-successful-git-branching-model/

@KirstieJane
Copy link
Collaborator Author

  • Please don't re-write history! (rebase, reflog!)

@KirstieJane
Copy link
Collaborator Author

KirstieJane commented Nov 22, 2018

  • Try to write good commit messages: https://chris.beams.io/posts/git-commit/
  • Its fine to have lots of commits - including ones that break code. A good rule of thumb is to push up to GitHub when you do have passing tests then the CI has a good chance of passing everything 😸

@KirstieJane
Copy link
Collaborator Author

  • Try to stay up to date with master/upstream as best you can to avoid merge requests!

@KirstieJane
Copy link
Collaborator Author

KirstieJane commented Nov 22, 2018

  • Add a sentence near the top (or the bottom) to make clear that following everything perfectly is not required, we're mostly just really excited that anyone is here and taking part ✨ ---- maybe also add to Ways of Working doc Add a ways of working document #26

@pherterich
Copy link
Collaborator

pherterich commented Dec 7, 2018

Moved from #39

  • add new labels
  • explain how to use templates for various parts

@pherterich
Copy link
Collaborator

  • @pherterich to add discussion on WIP chapter processes

@rainsworth
Copy link
Collaborator

@rainsworth
Copy link
Collaborator

rainsworth commented Apr 3, 2019

re: quite a few comments above about syncing/staying up to date with upstream

Add brief section (and point to section that already exists in the book?) about how to reset local fork to upstream/master (for when you have changes on your local fork that you do not want to save and want to start over from the current state of the original repo).

For example:

> git remote add upstream https://github.com/alan-turing-institute/the-turing-way
> git remote -v     
origin	https://github.com/rainsworth/the-turing-way.git (fetch)
origin	https://github.com/rainsworth/the-turing-way.git (push)
upstream	https://github.com/alan-turing-institute/the-turing-way (fetch)
upstream	https://github.com/alan-turing-institute/the-turing-way (push)
> git fetch upstream
> git reset --hard upstream/master
> git clean -f
> git push origin master --force

@rainsworth
Copy link
Collaborator

FYI I'm going to work on the section Making a change with a pull request here at Collaborations Workshop 2019

alexmorley pushed a commit that referenced this issue Apr 29, 2019
Corrected inline quotes in version_control.md
@malvikasharan malvikasharan changed the title Contributing guidelines for the project Contributing guidelines [Join the conversation] Sep 4, 2019
@malvikasharan malvikasharan added the good first issue Good issue for newcomers to fix or respond to label Sep 4, 2019
LauraCarter pushed a commit that referenced this issue Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2018 Issues from 2018. community issues releated to building a healthy community good first issue Good issue for newcomers to fix or respond to
Development

No branches or pull requests

6 participants