Skip to content

Commit a0a0057

Browse files
committed
Updated contributor branch references - 2.0 no longer maintained
The current documentation refers throughout to making bugfix and corrections against the 2.0 branch, however this is no longer maintained. Updated with references to 2.1 to make this more obvious to new contributors.
1 parent e24625b commit a0a0057

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

README.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ This documentation is rendered online at http://symfony.com/doc/current/
66
Contributing
77
------------
88

9-
>**Note**
10-
>Unless you're documenting a feature that's new to a specific version of Symfony
11-
>(e.g. Symfony 2.1), all pull requests must be based off of the **2.0** branch,
12-
>**not** the master or 2.1 branch.
9+
>**Note**
10+
>Unless you're documenting a feature that's new to a specific version of Symfony
11+
>(e.g. Symfony 2.2), all pull requests must be based off of the **2.1** branch,
12+
>**not** the master or 2.2 branch.
1313
1414
We love contributors! For more information on how you can contribute to the
1515
Symfony documentation, please read

contributing/code/bugs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If your problem definitely looks like a bug, report it using the official bug
3030

3131
* *(optional)* Attach a :doc:`patch <patches>`.
3232

33-
.. _documentation: http://symfony.com/doc/2.0/
33+
.. _documentation: http://symfony.com/doc/current/
3434
.. _users mailing-list: http://groups.google.com/group/symfony-users
3535
.. _forum: http://forum.symfony-project.org/
3636
.. _IRC channel: irc://irc.freenode.net/symfony

contributing/code/patches.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ Choose the right Branch
107107
Before working on a patch, you must determine on which branch you need to
108108
work. The branch should be based on the `master` branch if you want to add a
109109
new feature. But if you want to fix a bug, use the oldest but still maintained
110-
version of Symfony where the bug happens (like `2.0`).
110+
version of Symfony where the bug happens (like `2.1`).
111111

112112
.. note::
113113

114114
All bug fixes merged into maintenance branches are also merged into more
115115
recent branches on a regular basis. For instance, if you submit a patch
116-
for the `2.0` branch, the patch will also be applied by the core team on
116+
for the `2.1` branch, the patch will also be applied by the core team on
117117
the `master` branch.
118118

119119
Create a Topic Branch
@@ -126,18 +126,18 @@ topic branch:
126126
127127
$ git checkout -b BRANCH_NAME master
128128
129-
Or, if you want to provide a bugfix for the 2.0 branch, first track the remote
130-
`2.0` branch locally:
129+
Or, if you want to provide a bugfix for the 2.1 branch, first track the remote
130+
`2.1` branch locally:
131131

132132
.. code-block:: bash
133133
134-
$ git checkout -t origin/2.0
134+
$ git checkout -t origin/2.1
135135
136-
Then create a new branch off the 2.0 branch to work on the bugfix:
136+
Then create a new branch off the 2.1 branch to work on the bugfix:
137137

138138
.. code-block:: bash
139139
140-
$ git checkout -b BRANCH_NAME 2.0
140+
$ git checkout -b BRANCH_NAME 2.1
141141
142142
.. tip::
143143

@@ -230,7 +230,7 @@ while to finish your changes):
230230
231231
.. tip::
232232

233-
Replace `master` with `2.0` if you are working on a bugfix
233+
Replace `master` with `2.1` if you are working on a bugfix
234234

235235
When doing the ``rebase`` command, you might have to fix merge conflicts.
236236
``git status`` will show you the *unmerged* files. Resolve all the conflicts,
@@ -365,7 +365,7 @@ Rework your Patch
365365

366366
Based on the feedback on the pull request, you might need to rework your
367367
patch. Before re-submitting the patch, rebase with ``upstream/master`` or
368-
``upstream/2.0``, don't merge; and force the push to the origin:
368+
``upstream/2.1``, don't merge; and force the push to the origin:
369369

370370
.. code-block:: bash
371371

contributing/documentation/overview.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ multiple branches: ``2.0``, ``2.1``, ``2.2`` corresponding to the different
3030
versions of Symfony itself. The ``master`` branch holds the documentation
3131
for the development branch of the code.
3232

33-
Unless you're documenting a feature that was introduced *after* Symfony 2.0
34-
(e.g. in Symfony 2.1), your changes should always be based on the 2.0 branch.
35-
To do this checkout the 2.0 branch before the next step:
33+
Unless you're documenting a feature that was introduced *after* Symfony 2.1
34+
(e.g. in Symfony 2.2), your changes should always be based on the 2.1 branch.
35+
To do this checkout the 2.1 branch before the next step:
3636

3737
.. code-block:: bash
3838
39-
$ git checkout 2.0
39+
$ git checkout 2.1
4040
4141
.. tip::
4242

43-
Your base branch (e.g. 2.0) will become the "Applies to" in the :ref:`doc-contributing-pr-format`
43+
Your base branch (e.g. 2.1) will become the "Applies to" in the :ref:`doc-contributing-pr-format`
4444
that you'll use later.
4545

4646
Next, create a dedicated branch for your changes (for organization):
@@ -61,16 +61,16 @@ Following the example, the pull request will default to be between your
6161
.. image:: /images/docs-pull-request.png
6262
:align: center
6363

64-
If you have made your changes based on the 2.0 branch then you need to change
65-
the base branch to be 2.0 on the preview page:
64+
If you have made your changes based on the 2.1 branch then you need to change
65+
the base branch to be 2.1 on the preview page:
6666

6767
.. image:: /images/docs-pull-request-change-base.png
6868
:align: center
6969

7070
.. note::
7171

72-
All changes made to a branch (e.g. 2.0) will be merged up to each "newer"
73-
branch (e.g. 2.1, master, etc) for the next release on a weekly basis.
72+
All changes made to a branch (e.g. 2.1) will be merged up to each "newer"
73+
branch (e.g. 2.2, master, etc) for the next release on a weekly basis.
7474

7575
GitHub covers the topic of `pull requests`_ in detail.
7676

-11.6 KB
Loading

0 commit comments

Comments
 (0)