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

Clone the repo #113

Merged
merged 19 commits into from
Mar 12, 2024
Merged

Clone the repo #113

merged 19 commits into from
Mar 12, 2024

Conversation

sjspielman
Copy link
Member

@sjspielman sjspielman commented Mar 6, 2024

Which issue does this address?

#12

Briefly describe the scope of the added docs file, including whether you link out to any external docs.

I've added docs for cloning the repository, and based on the discussion in #15, I also provided instructions for how to add the upstream remote that will allow them to stay in sync over time.
For cloning, I linked to a GitKraken video and provided some clarifying bullet points to guide them through parts of the video they may be uncertain about.
For the remote, I wrote those out directly and used screenshots to help explain.

Will you need additional visual aids for these docs?

No; I have already added images.

Any other comments for reviewers?

Note that this is stacked on #110.

I tried to provide some explanation about the terminology we're using - "upstream", "origin, and "remote" - without getting too into the weeds. IMO these terms are necessary "jargon" since it is inevitable contributors will encounter them while using git. Any feedback on this presentation would be great!

Author checklist

Reviewer checklist

Please refer to the docs style guide while reviewing this pull request.

@sjspielman
Copy link
Member Author

Anyone is welcome to have a look here, but I'm waiting to request review until the base is main and this can be previewed.

Base automatically changed from sjspielman/34-fork to main March 6, 2024 22:06
@sjspielman
Copy link
Member Author

Inspired by this morning's meeting, I added a quick sentence to the forking docs that their fork will also be public: ac3bbc2

Copy link
Member

@jashapiro jashapiro left a comment

Choose a reason for hiding this comment

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

Looks good. I had a few comments on images, and a bit more about naming and fitting with how GitHub refers to remote repositories.

Comment on lines 20 to 21
- Do not change the "Full path" field when cloning.
You should retain the folder name `OpenScPCA-analysis`.
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to tell people this? Why can't they change the name locally?

Copy link
Member Author

Choose a reason for hiding this comment

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

I suppose it doesn't matter, just wanted to give some guidance about how they should interact with this step. Would you suggest telling them to choose their own journey here?

Copy link
Member

Choose a reason for hiding this comment

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

I just wouldn't specify. The video doesn't show changing the default, I don't think, so no need to mention it.

This video presents two approaches to cloning: `Clone with URL`, and Clone based on your integrated `GitHub.com` account.
Either approach is fine to take!

While watching these instructions, please bear in mind the following:
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to mention anything about the difference between SSH and http here? If they have not set up SSH, they probably need to use the http version (This is what the clone from github.com will do by default)

Copy link
Member Author

Choose a reason for hiding this comment

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

My sense is that things would just kind of work if they have signed into GitKraken with their github account, so I was trying to hide this "advanced" sort of information to avoid throwing too much information at them that isn't directly related to steps they need to take.

What level of detail are you proposing to add here?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think that is quite true. GitKraken only sets up https by default, I think. If you already have SSH keys, it will use them, and it can create and update SSH keys if you ask it to, but in the most basic setting it will only set up for http.

I would just recommend that they choose http unless they have set up SSH. Basically, if you know what you are doing you can choose ssh, but otherwise you probably want http.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, took a stab at it, let me know what you think!

docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
Copy link
Member

@jashapiro jashapiro left a comment

Choose a reason for hiding this comment

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

A couple GitHub-related suggestions

docs/contributing.md Outdated Show resolved Hide resolved
docs/technical-setup/fork-the-repo.md Outdated Show resolved Hide resolved
Copy link
Member Author

Choose a reason for hiding this comment

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

just noting i replaced this with a smaller screenshot, it was too long before i think

Copy link
Member

@jashapiro jashapiro left a comment

Choose a reason for hiding this comment

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

LGTM, with just a few small suggestions.


## Adding images

All image files should be placed in `docs/img`.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add a comment about image sizes? Something like "Try to size images to ~2X the display size"? (Optimal to look good on high dpi displays without making them too big)

docs/technical-setup/clone-the-repo.md Outdated Show resolved Hide resolved
@@ -19,7 +20,7 @@ Follow these steps to create your fork:

1. At the top right corner, click the "Fork" button:
(The numbers you see in this screenshot may differ from the numbers on the website - that's ok!)
![Button on GitHub.com to fork a repository.](../img/fork-button.png){width="400"} <!-- No new line above, to keep tabbed in -->
![Button on GitHub to fork a repository.](../img/fork-button.png){width="400"} <!-- No new line above, to keep tabbed in -->
Copy link
Member

Choose a reason for hiding this comment

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

Did you want to center these too? Or a different PR, maybe.

Copy link
Member Author

Choose a reason for hiding this comment

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

Since you've approved this, I'll do it in a different PR

docs/technical-setup/install-a-github-client.md Outdated Show resolved Hide resolved
@sjspielman sjspielman merged commit 64ae6b4 into main Mar 12, 2024
3 checks passed
@sjspielman sjspielman deleted the sjspielman/12-clone branch March 12, 2024 17:25
This was referenced Mar 12, 2024
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.

2 participants