-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows #1529
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows #1529
Conversation
The current CONTRIBUTING.md file is actually a code of conduct. This is a valuable document, but is misnamed. A following patch will replace CONTRIBUTING.md with a guide to contributing to Git using a Windows machine. Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
beb4a65
to
f04e4d1
Compare
CONTRIBUTING.md
Outdated
If you prefer, you can use a virtual machine (VM) to run Linux and test your changes in the | ||
full environment. I like this setup, particularly because the test suite runs a lot faster | ||
on Linux than on Windows or with the WSL. I connect to the VM using an SSH terminal like | ||
[PuTTY](http://www.putty.org/). I've tried to make the following steps be as clear as |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
CONTRIBUTING.md
Outdated
In order to build and use `git`, you will need the following libraries via `apt-get`: | ||
|
||
``` | ||
sudo apt-get update |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
CONTRIBUTING.md
Outdated
[PuTTY](http://www.putty.org/). I've tried to make the following steps be as clear as | ||
possible, without missing any steps. | ||
|
||
* [Download an Ubuntu Server ISO](https://www.ubuntu.com/download/server). |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
CONTRIBUTING.md
Outdated
Be sure to clone into `/home/[user]/` and not into any folder under `/mnt/?/` or your build | ||
will fail due to colons in file names. | ||
|
||
### Using a Linux Virtual Machine with Hyper-V |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
CONTRIBUTING.md
Outdated
a repo with ~1 million entries in the index. `inflate-repo.sh` will use an existing repo | ||
and copy the current work tree until it is a specified size. | ||
|
||
Test Your Changes on Linux |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
CONTRIBUTING.md
Outdated
* If the service is not found, install with `sudo apt-get install openssh-server`. | ||
* If the service is not running, then use `sudo service ssh start`. | ||
* Use `shutdown -h now` to shutdown the VM, go to the Hyper-V settings for the VM, expand Network Adapter | ||
to select "Advanced Features", and set the MAC address to be static (this can save your VM from losing |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
CONTRIBUTING.md
Outdated
You should now be ready to type `make` from the root of your `git` source directory. | ||
Here are some helpful variations: | ||
|
||
* `make -j[N] DEVELOPER=1`: Compile new sources using up to N concurrent processes. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Obviously, I like the renaming step, as I suggested it (during informal pre-review). Here is a note to myself that I also have to see whether we need to update any reference to the code of conduct. |
Getting started contributing to Git can be difficult on a Windows machine. CONTRIBUTING.md contains a guide to getting started, including detailed steps for setting up build tools, running tests, and submitting patches to upstream. Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
f04e4d1
to
c2a2fd5
Compare
A couple of suggested touchups. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
I offered a couple of tiny modifications at derrickstolee#3 @derrickstolee could you have a look? |
CONTRIBUTING.md: add guide for first-time contributors
Could I ask you to rebase (with |
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Rewrite CONTRIBUTING.md to be a guide for new developers on Windows
Git was originally designed for Unix systems and still today, all the build tools for the Git
codebase assume you have standard Unix tools available in your path. If you have an open-source
mindset and want to start contributing to Git, but primarily use a Windows machine, then you may
have trouble getting started. This guide is for you.
This pull request renames
CONTRIBUTING.md
toCODE_OF_CONDUCT.md
and replacesCONTRIBUTING.md
with content that may help new developers working on Git.