@@ -10,35 +10,38 @@ The following is a set of rules for contributing to **Rucio** and its
10
10
packages. Use your best judgment, and feel free to propose changes to this
11
11
document.
12
12
13
- If you have questions, you can reach the core development team on our
14
- [ __ Mattermost__ ] ( mattermost.md ) channel, or send an email to our
15
- development mailing list
[ __ [email protected] __ ] ( mailto:[email protected] ) .
13
+ If you have questions, you can reach the development team on our
14
+ [ __ Mattermost__ ] ( mattermost.md ) channel.
16
15
17
16
## What should I know before I get started
18
17
19
- A contribution can be either be a ** patch** or ** feature** :
18
+ Generally all [ __ pull requests__ ] ( https://github.com/rucio/rucio/pulls ) are to
19
+ be created against the Rucio ** master** branch. The master branch includes the
20
+ developments towards the ** next** major release. Usually we publish three major
21
+ releases per year, thus it might take several months until a development becomes
22
+ available in a published release (See [ __ Release policy__ ] ( started/release_policy.md ) ).
20
23
21
- * ** Patches** include bugfixes and minor changes to the code and are included in
22
- patch releases usually made on a bi-weekly schedule.
23
- * ** Features** include major developments or potentially disruptive changes and
24
- are included in feature releases made multiple times a year.
24
+ In addition, a contribution ** CAN** be included in the ongoing ** current** release
25
+ line. As a guiding principle:
25
26
26
- The [ __ repository__ ] ( https://github.com/rucio/rucio/ ) consists of different
27
- branches:
27
+ * Larger feature developments, backwards-compatibility breaking changes, changes
28
+ to the database schema, significant changes to the REST interface, and similar
29
+ ** MUST** be targeted towards the ** next** release line.
30
+ * Bugfixes, smaller backwards-compatbile changes to the REST interface, smaller
31
+ feature developments, and similar ** CAN** be targeted towards the ** current**
32
+ release line.
28
33
29
- * the ** master** branch includes the development for the next major version.
30
- * the ** release-…** branches include the patch/minor development of the
31
- releases.
34
+ To implement this policy the [ __ repository__ ] ( https://github.com/rucio/rucio/ )
35
+ consists of different branches:
32
36
33
- Release branches only exist for the currently maintained release
34
- versions. Hotfix branches are created on demand. Please communicate to the Rucio
35
- maintainers, if you wish to hotfix a previous release.
37
+ * the ** master** branch includes the developments towards the next major release.
38
+ * the ** release-…** branches include the patch/minor developments of the
39
+ releases (Such as current and LTS releases). Release branches only exist for
40
+ the currently maintained releases (See the [ __ release policy__ ] ( started/releasepolicy.md ) )
36
41
37
- Generally all [ __ pull requests__ ] ( https://github.com/rucio/rucio/pulls ) are to
38
- be created against the Rucio ** master** branch. Features will end up in the
39
- upstream ** master** only and patches are cherry-picked to the maintained
40
- releases if applicable. Release-specific changes are excluded from that rule and
41
- might be needed if e.g. cherry-picking to the last release was not successful.
42
+ Pull requests named/targeted for the ** next** major release will end up in the
43
+ upstream ** master** only. Pull requests named/targeted for the ** current** release
44
+ will be cherry-picked by the maintainer to the applicable release branch.
42
45
43
46
The following figure might help you with an overview:
44
47
@@ -105,16 +108,18 @@ number**.
105
108
Create a local branch that corresponds to the issue. To easily
106
109
identify the purpose of branches different keywords must be used:
107
110
108
- * Patch branches must be named ** patch-[ issue number] -[ short description] **
109
- * Feature branches must be named ** feature-[ issue number] -[ short description] **
111
+ * Contributions targeted to the ** current** release must be named
112
+ ** current-[ issue number] -[ short description] **
113
+ * Contributions targeted to the ** next** major release must be named
114
+ ** next-[ issue number] -[ short description] **
110
115
111
116
If you create these branches by hand please check the spelling because otherwise
112
117
the test automation might misidentify your branch. There are utility scripts to
113
118
fetch master and create these branches for you:
114
119
115
120
``` bash
116
- ./tools/create-patch -branch < unique issue number> ' <short_change_message>'
117
- ./tools/create-feature -branch < unique issue number> ' <short_change_message>'
121
+ ./tools/create-current -branch < unique issue number> ' <short_change_message>'
122
+ ./tools/create-next -branch < unique issue number> ' <short_change_message>'
118
123
```
119
124
120
125
### 4. Commit your changes
0 commit comments