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

[docs] add documentation on how to make a Pr with Gitpod. #1262

Closed
wants to merge 2 commits into from

Conversation

nisarhassan12
Copy link
Contributor

@nisarhassan12 nisarhassan12 commented May 7, 2020

Closes #1253


<details>

### How to make a Pull Request with Gitpod?
Copy link
Member

Choose a reason for hiding this comment

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

@jorgeorpinel @nisarhassan12 feels it's not a good place for very long instructions like this in this doc, sorry. It's a good thing to mention that there is a possibility, may be provide the button, but docs like this should be maintained but the Gitpod, not us.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shcheklein I agree. Making Prs with Gitpod is briefly documented here https://www.gitpod.io/docs/pull-requests/ should I update the Pr to only have the link instead ?

Copy link
Member

Choose a reason for hiding this comment

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

@nisarhassan12 I'll let @jorgeorpinel decide on this :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok. Thanks.

Copy link
Contributor

@jorgeorpinel jorgeorpinel May 8, 2020

Choose a reason for hiding this comment

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

Hmm I thought the expandable section would be appropriate for this (I would just put it inside the block quote). But indeed we shouldn't have to maintain Gitpod instructions that may change in the future... Sorry, I guess I didn't think it through. Let me think... ⏳

Copy link
Contributor

@jorgeorpinel jorgeorpinel May 8, 2020

Choose a reason for hiding this comment

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

I guess we could just link to https://www.gitpod.io/docs/git/ and https://www.gitpod.io/docs/pull-requests/ but the forking part is not mentioned anywhere unfortunately, which is my main concern.

We cold also have a separate user-guide like we have on some 3rd party tools e.g. https://dvc.org/doc/user-guide/setup-google-drive-remote or https://dvc.org/doc/user-guide/running-dvc-on-windows

I supose it'll be easier for me to take over this PR. Thanks for your contributions so far Nisar! (I hope you enabled repo maintainers to push to the PR branch 🙂)

Copy link
Contributor

Choose a reason for hiding this comment

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

p.s. please notice my feature request in your repo @nisarhassan12 thanks: gitpod-io/gitpod/issues/1482

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok. Thanks.

Copy link
Contributor Author

@nisarhassan12 nisarhassan12 May 10, 2020

Choose a reason for hiding this comment

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

p.s. please notice my feature request in your repo @nisarhassan12 thanks: gitpod-io/gitpod/issues/1482

@jorgeorpinel I'm not sure about this I think I have not unchecked the following while making the PR:

image

Please let me know if you are not able to push to my branch.

@jorgeorpinel jorgeorpinel temporarily deployed to dvc-landing-master-re3jtk2lrzp May 8, 2020 18:23 Inactive
@jorgeorpinel jorgeorpinel self-assigned this May 8, 2020
@jorgeorpinel
Copy link
Contributor

- Fork the repo by selecting Find Command from View in the top menu and then
type fork and press enter:

![image](https://user-images.githubusercontent.com/46004116/76392493-75727880-6393-11ea-8939-41e6c36477de.png)
Copy link
Member

Choose a reason for hiding this comment

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

We should host these images on the dvc.org (e.g. to process them properly with sharp)? not sure what are the consequences of sharing it like this. Btw, @nisarhassan12 how did you create them?

Copy link
Contributor

@jorgeorpinel jorgeorpinel May 9, 2020

Choose a reason for hiding this comment

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

I think he pasted them into a Github issue or comment like this:

image

![image](https://user-images.githubusercontent.com/1477535/81460584-e2c04100-916b-11ea-86b6-6f36b0317bac.png)

Copy link
Contributor

Choose a reason for hiding this comment

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

Which is interesting. I wonder it Github ever deletes images from it's CDN.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah! True I pasted them in Github comment. Sorry, this is a bad idea.

@shcheklein
Copy link
Member

@nisarhassan12 @jorgeorpinel any updates on this one?

@nisarhassan12
Copy link
Contributor Author

I supose it'll be easier for me to take over this PR. Thanks for your contributions so far Nisar! (I hope you enabled repo maintainers to push to the PR branch 🙂)

@shcheklein Thanks. @jorgeorpinel said the above ☝️ in #1262 (comment)

@shcheklein
Copy link
Member

@nisarhassan12 I see, got it. Thanks.

@jorgeorpinel
Copy link
Contributor

Yes, I still have this under my radar!

@shcheklein
Copy link
Member

Closing this for now. After a few discussions with the team I think we should keep the docs more or less general, and avoid providing external links unless they provide some different flow, bring substantially different, faster, etc. experience.

Some thoughts behind this logic. In our case we have two types of ad-hoc contributors:

  1. Editors - they don't need this for sure. They can edit MD files with Github.
  2. Front-end developers - they should be already aware about the tools the prefer to use (editors, etc). If they prefer online editor - up to them, it's still a regular flow with yarn, etc.

Also, we def should avoid using Github URLs for assets, or complicated instructions.

@shcheklein shcheklein closed this May 20, 2020
@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented May 21, 2020

Understood. I do like Gitpod as well as https://github.com/features/codespaces (I also used to work with https://aws.amazon.com/cloud9/ some years ago, not sure if they now integrate with GH as wlel) but not sure whether we should mention them somewhere or how. Maybe in the README.md ... Will think about it.

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.

Gitpod should clone a fork
3 participants