@@ -27,10 +27,24 @@ Core Team Member Responsibilities
27
27
28
28
Core Team members are unpaid volunteers and as such, they are not expected to
29
29
dedicate any specific amount of time on Symfony. They are expected to help the
30
- project in any way they can, from reviewing pull requests, writing documentation
31
- to participating in discussions and helping the community in general, but their
32
- involvement is completely voluntary and can be as much or as little as they
33
- want.
30
+ project in any way they can. From reviewing pull requests and writing documentation,
31
+ to participating in discussions and helping the community in general. However,
32
+ their involvement is completely voluntary and can be as much or as little as
33
+ they want.
34
+
35
+ Core Team Communication
36
+ ~~~~~~~~~~~~~~~~~~~~~~~
37
+
38
+ As an open source project, public discussions and documentation is favored
39
+ over private ones. All communication in the Symfony community conforms to
40
+ the :doc: `/contributing/code_of_conduct/code_of_conduct `. Request
41
+ assistance from other Core and CARE team members when getting in situations
42
+ not following the Code of Conduct.
43
+
44
+ Core Team members are invited in a private Slack channel, for quick
45
+ interactions and private processes (e.g. security issues). Each member
46
+ should feel free to ask for assistance for anything they may encounter.
47
+ Expect no judgement from other team members.
34
48
35
49
Core Organization
36
50
-----------------
@@ -145,6 +159,14 @@ A Symfony Core membership can be revoked for any of the following reasons:
145
159
* Willful negligence or intent to harm the Symfony project;
146
160
* Upon decision of the **Project Leader **.
147
161
162
+ Core Membership Compensation
163
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164
+
165
+ Core Team members work on Symfony on a purely voluntary basis. In return
166
+ for their work for the Symfony project, members can get free access to
167
+ Symfony conference. Personal vouchers for Symfony conference are handed out
168
+ on request by the **Project Leader **.
169
+
148
170
Code Development Rules
149
171
----------------------
150
172
@@ -178,6 +200,13 @@ A pull request **can be merged** if:
178
200
``+1 `` (if the submitter is part of the Mergers team, two *other * members)
179
201
and no Core member voted ``-1 `` (via GitHub reviews or as comments).
180
202
203
+ .. _core-team_minor-changes :
204
+
205
+ .. note ::
206
+
207
+ Minor changes comprise typos, DocBlock fixes, code standards
208
+ violations, and minor CSS, JavaScript and HTML modifications.
209
+
181
210
Pull Request Merging Process
182
211
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183
212
@@ -205,6 +234,79 @@ following these rules:
205
234
Getting the right category is important as it is used by automated tools to
206
235
generate the CHANGELOG files when releasing new versions.
207
236
237
+ .. tip ::
238
+
239
+ Core team members are granted write-access to the main repository. To
240
+ avoid unintentional pushes to the main project (which in turn creates
241
+ new versions on Packagist), core team members are encouraged to have
242
+ two clones of the project locally:
243
+
244
+ #. A clone for your own contributions, which you use to push to your
245
+ fork on GitHub. Clear out the push URL for the main repository using
246
+ ``git remote set-url --push origin dev://null ``;
247
+ #. A clone for merging, which you use in combination with ``gh `` and
248
+ allows you to push to the main repository.
249
+
250
+ Upmerging Version Branches
251
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
252
+
253
+ To synchronise changes in all versions, version branches are regularly
254
+ merged from oldest to latest, called 'upmerging'. This is a manual process.
255
+ There is no strict policy on when this occurs, but usually not more than
256
+ once a day and at least once before monthly releases.
257
+
258
+ Before starting the upmerge, Git must be configured to provide a merge
259
+ summary by running:
260
+
261
+ .. code-block :: terminal
262
+
263
+ $ git config --global merge.summary true
264
+
265
+ The upmerge should always be done on all maintained versions at the same
266
+ time. Refer to `the releases page `_ to find all actively maintained
267
+ versions (indicated by a green color).
268
+
269
+ Start on the oldest version and make sure it's up to date with the upstream
270
+ repository. Then, check-out the second oldest version, update from upstream
271
+ and merge the previous version from the local branch:
272
+
273
+ .. code-block :: terminal
274
+
275
+ # 'origin' is refered to as the main upstream project
276
+ $ git fetch origin
277
+
278
+ # update the local branches
279
+ $ git checkout 6.4
280
+ $ git reset --hard origin/6.4
281
+ $ git checkout 7.2
282
+ $ git reset --hard origin/7.2
283
+ $ git checkout 7.3
284
+ $ git reset --hard origin/7.3
285
+
286
+ # upmerge 6.4 into 7.2
287
+ $ git checkout 7.2
288
+ $ git merge --no-ff 6.4
289
+ # ... resolve conflicts
290
+ $ git commit
291
+
292
+ # upmerge 7.2 into 7.3
293
+ $ git checkout 7.3
294
+ $ git merge --no-ff 7.2
295
+ # ... resolve conflicts
296
+ $ git commit
297
+
298
+ $ git push origin 7.3 7.2 6.4
299
+
300
+ .. warning ::
301
+
302
+ Upmerges must be explicit, i.e. no fast-forward merges.
303
+
304
+ .. tip ::
305
+
306
+ Solving merge conflicts can be challenging. You can always ping other
307
+ core team members to help you in the process (e.g. members that merged
308
+ a specific conflicting change).
309
+
208
310
Release Policy
209
311
~~~~~~~~~~~~~~
210
312
@@ -216,13 +318,6 @@ Symfony Core Rules and Protocol Amendments
216
318
The rules described in this document may be amended at any time at the
217
319
discretion of the **Project Leader **.
218
320
219
- .. _core-team_minor-changes :
220
-
221
- .. note ::
222
-
223
- Minor changes comprise typos, DocBlock fixes, code standards
224
- violations, and minor CSS, JavaScript and HTML modifications.
225
-
226
321
.. _`symfony-docs repository` : https://github.com/symfony/symfony-docs
227
322
.. _`UX repositories` : https://github.com/symfony/ux
228
323
.. _`fabpot` : https://github.com/fabpot/
@@ -263,3 +358,4 @@ discretion of the **Project Leader**.
263
358
.. _`mtarld` : https://github.com/mtarld/
264
359
.. _`spomky` : https://github.com/spomky/
265
360
.. _`alexandre-daubois` : https://github.com/alexandre-daubois/
361
+ .. _`the releases page` : https://symfony.com/releases
0 commit comments