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

Create CONTRIBUTING.md #12

Merged
merged 1 commit into from
Oct 15, 2019
Merged

Create CONTRIBUTING.md #12

merged 1 commit into from
Oct 15, 2019

Conversation

cseas
Copy link
Contributor

@cseas cseas commented Oct 15, 2019

Added contributing and setup guidelines as discussed in #5

CONTRIBUTING.md Outdated
- Clone your forked repo locally.

```
$ git clone git@github.com:yourname/blog.git
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

@cseas cseas Oct 15, 2019

Choose a reason for hiding this comment

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

Yeah I myself am on linux (Ubuntu) and have never used SSH for cloning a git repo. I tried running git clone git@github.com:cseas/blog.git and got the following error:

image

Anyway, I've changed the SSH commands to HTTPS as suggested.

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 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!

Copy link
Contributor

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.

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 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!

Copy link
Contributor Author

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.

@asdofindia asdofindia merged commit 03a91ed into MozillaIndia:master Oct 15, 2019
@asdofindia
Copy link
Contributor

I'm gonna merge without reviewing as we can always have further edits happening later. Thanks.

@cseas cseas deleted the contributing branch October 16, 2019 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants