-
Notifications
You must be signed in to change notification settings - Fork 14
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
Create CONTRIBUTING.md #12
Conversation
CONTRIBUTING.md
Outdated
- Clone your forked repo locally. | ||
|
||
``` | ||
$ git clone git@github.com:yourname/blog.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are suggesting SSH cloning, Might I suggest that you add a link to Setting up SSH in the git workflow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I wasn't aware this is SSH cloning. I just took the content from the main Mozilla India website's CONTRIBUTING.md as it is.
Should I replace the code with the one below?
$ git clone https://github.com/yourname/blog.git
Let's keep the setup simple for contributors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, Since it's Jekyll, I think most of the people will be developing with Linux; which till I know lacks a credential manager (I don't believe that caching the password can count as credential management) and thereby requiring people with 2FA to attach personal access token every time instead of the password. It would be better for people to clone with SSH.
Then again, I doubt beginners will be aware of such things and/or use 2FA. So keeping it HTTPS sounds like a possible way too. Not sure about why the Mozilla India contributing.md recommends using SSH, but I guess what I stated above might be the reason. So let's go with HTTPS for now. You can switch all the SSH commands to the HTTPS version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's cause you need to setup SSH xD, feel free to hit me up on twitter, etc. if you are interested in the same. Changes look good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to leave a comment here. Unless you want beginners to stay that way, what we need to show them is the way to grow. And not take shortcuts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's true! Shortcuts are never the way to go, hence my initial recommendation of adding the link to Setting up SSH. I will switch it back to SSH along with a proper guide for it mentioned initially in the next week once my exams are done. Meanwhile, @cseas can give it a tackle if interested, feel free to resolve any doubts!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated #5 with the discussion here. I might not be able to work on it at the moment.
I'm gonna merge without reviewing as we can always have further edits happening later. Thanks. |
Added contributing and setup guidelines as discussed in #5