-
-
Notifications
You must be signed in to change notification settings - Fork 855
Update the quick start. #115
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,35 +14,26 @@ Quick Start | |
Here are the basic steps needed to get :ref:`set up <setup>` and contribute a | ||
patch: | ||
|
||
1. Set up and install dependencies. | ||
1. Install and set up :ref:`Git <vcsetup>` and other dependencies | ||
(see the :ref:`Get Setup <setup>` page for detailed information). | ||
|
||
Install :ref:`Git <vcsetup>` and other dependencies. | ||
2. Fork `the CPython repository on GitHub <cpython github>`_ and | ||
:ref:`get the source code <checkout>` using:: | ||
|
||
The dependencies needed will depend on the platform you're on. | ||
Go to :ref:`Get Setup <setup>` page for detailed information. | ||
git clone https://github.com/<your_username>/cpython | ||
|
||
2. :ref:`Get the source code <checkout>`:: | ||
3. Build Python, on UNIX and Mac OS use:: | ||
|
||
git clone https://github.com/python/cpython | ||
./configure --with-pydebug && make -j | ||
|
||
3. Build Python. | ||
|
||
Detailed information can be found :ref:`here <compiling>`. | ||
There are different instructions for :ref:`UNIX <unix-compiling>`, | ||
:ref:`Mac OS <MacOS>`, and :ref:`Windows <windows-compiling>`. | ||
|
||
The command to compile on UNIX and Mac OS is:: | ||
|
||
./configure --with-pydebug | ||
make -j | ||
|
||
On Windows:: | ||
and on Windows use:: | ||
|
||
PCbuild\build.bat -e -d | ||
|
||
If the build outputs warnings or errors, :ref:`build-dependencies` provides | ||
detail on standard library extensions that depend on installing third-party | ||
libraries for some operating systems. | ||
See also :ref:`more detailed instructions <compiling>`, | ||
:ref:`how to build dependencies <build-dependencies>`, and the | ||
plaform-specific pages for :ref:`UNIX <unix-compiling>`, | ||
:ref:`Mac OS <MacOS>`, and :ref:`Windows <windows-compiling>`. | ||
|
||
4. :doc:`Run the tests <runtests>`:: | ||
|
||
|
@@ -52,13 +43,19 @@ patch: | |
with :file:`./python.exe`. On Windows, use :file:`python.bat`. With Python | ||
2.7, replace ``test`` with ``test.regrtest``. | ||
|
||
5. Work on an issue from the `issue tracker`_. If an issue does not already | ||
exist, please create it. Trivial issues, like small typo fixes, do not | ||
require any issue to be created. | ||
5. Create a new branch where to work on an issue with:: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
...create it on the ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Is this OK? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Really like this change 👍 |
||
|
||
git checkout -b new_branch_name master | ||
|
||
If an issue does not already exist, please `create it <issue tracker>`_. | ||
Trivial issues (e.g. typo fixes) do not require any issue to be created. | ||
|
||
6. Once you fixed the issue, run the tests, run ``make patchcheck``, and if | ||
everything is ok, commit. | ||
|
||
6. Make a :doc:`pull request <pullrequest>`. | ||
Include ``bpo-NNNN`` in the pull request description, where ``NNNN`` is the | ||
issue number from the `issue tracker`_. For example:: | ||
7. Push the branch on your fork and :doc:`create a pull request <pullrequest>`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...your fork on GitHub and... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. |
||
Include the issue number using ``bpo-NNNN`` in the pull request description. | ||
For example:: | ||
|
||
bpo-12345: Fix some bug in spam module | ||
|
||
|
@@ -305,6 +302,7 @@ Full Table of Contents | |
|
||
.. _Buildbot status: https://www.python.org/dev/buildbot/ | ||
.. _Firefox search engine plug-in: https://www.python.org/dev/searchplugin/ | ||
.. _cpython github: https://github.com/python/cpython | ||
.. _Misc directory: https://github.com/python/cpython/tree/master/Misc | ||
.. _PEPs: https://www.python.org/dev/peps/ | ||
.. _python.org maintenance: https://pythondotorg.readthedocs.io/ | ||
|
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.
...GitHub to your GitHub account and...
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.
This should be clear enough, since immediately after it clones from the user account.
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.
@ezio-melotti For someone that has used git, your wording is fine. If someone new to git/GitHub is trying to help, they will often get confused about what is getting forked and cloned where. I know it seems trivial, but it really does help those who are still learning.
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.
Is this clear enough?
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.
Looks great. Thanks @ezio-melotti