Skip to content

Commit f5df948

Browse files
authored
Merge pull request #1239 from poldracklab/doc/pr_template_update
[MAINT] Update PR template
2 parents cd7ec89 + 10df36e commit f5df948

File tree

2 files changed

+46
-44
lines changed

2 files changed

+46
-44
lines changed

CONTRIBUTING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,21 @@ It can also be helpful to test your changes locally, using an [FMRIPREP developm
5454

5555
A member of the development team will review your changes to confirm that they can be merged into the main codebase.
5656

57+
Pull requests titles should begin with a descriptive prefix:
58+
59+
* ``ENH``: enhancements or new features
60+
* ``FIX``: bug fixes
61+
* ``TST``: new or updated tests
62+
* ``DOC``: new or updated documentation
63+
* ``STY``: style changes
64+
* ``REF``: refactoring existing code
65+
* ``CI``: updates to continous integration infrastructure
66+
* ``MAINT``: general maintenance
67+
68+
For example: `[ENH] Support for SB-reference in multi-band datasets`
69+
70+
For works-in-progress, add the ``WIP`` tag in addition to the descriptive prefix.
71+
Pull-requests tagged with ``[WIP]`` will not be merged until the tag is removed.
5772

5873
## FMRIPREP coding style guide
5974

@@ -105,6 +120,11 @@ We welcome and recognize all contributions from documentation to testing to code
105120
You can see a list of current contributors in our [zenodo file][link_zenodo].
106121
If you are new to the project, don't forget to add your name and affiliation there!
107122

123+
## Licensing
124+
125+
fMRIPrep is licensed under the BSD 3-clause license. Any contributions will be licensed under
126+
the same terms.
127+
108128
## Thank you!
109129

110130
You're awesome. :wave::smiley:

docs/pull_request_template.md

Lines changed: 26 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
Text in these brackets are comments, and won't be visible when you submit your pull request.
3+
If this is your first contribution, please take the time to read these, in particular the comment
4+
beginning "Welcome, new contributors!".
5+
-->
6+
17
## Changes proposed in this pull request
28

39
<!--
@@ -15,53 +21,29 @@ of ongoing development efforts and possible overlaps between contributions).
1521
Please summarize here the main changes to the documentation that the reviewers should be aware of.
1622
-->
1723

18-
## Pull-request guidelines:
24+
25+
1926
<!--
20-
Please make sure you have read the PR guidelines below, and checked
21-
all boxes that apply at the bottom.
22-
-->
23-
1. We invite you to list yourself as a *fMRIPrep* contributor, so if your name
24-
is not already mentioned, please modify the
25-
[``.zenodo.json``](https://github.com/poldracklab/fmriprep/blob/master/.zenodo.json)
26-
file with your data right above Russ' entry. Example:
27-
```
28-
{
29-
"name": "Contributor, New FMRIPrep",
30-
"affiliation": "Department of fMRI prep'ing, Open Science Made-Up University",
31-
"orcid": "<your id>"
32-
},
33-
{
34-
"name": "Poldrack, Russell A.",
35-
"affiliation": "Department of Psychology, Stanford University",
36-
"orcid": "0000-0001-6755-0259"
37-
},
38-
```
39-
40-
2. By submitting this request you acknowledge that your contributions are available under the BSD 3-Clause license.
27+
Welcome, new contributors!
4128
42-
3. Use a descriptive prefix, between brackets for your PR: ``ENH`` (enhancement), ``FIX``, ``TST``, ``DOC``, ``STY``,
43-
``REF`` (refactor), ``CI`` (continous integration), ``MAINT`` (maintenance). Example:
44-
```
45-
[ENH] Support for SB-reference in multi-band datasets
46-
```
47-
For works-in-progress, add the ``WIP`` tag in addition to the descriptive prefix.
48-
Pull-requests tagged with ``[WIP]`` will not merged in until the tag is removed.
29+
We ask you to read through the Contributing Guide:
30+
https://github.com/poldracklab/fmriprep/blob/master/CONTRIBUTING.md
4931
50-
4. Your PR will be reviewed according to the following
51-
[template](https://github.com/poldracklab/fmriprep/wiki/Reviewing-a-Pull-Request).
32+
These are guidelines intended to make communication easier by describing a consistent process, but
33+
don't worry if you don't get it everything exactly "right" on the first try.
5234
53-
5. Documentation is a fundamental aspect to the *glass-box* philosophy that *fMRIPrep* abides by.
54-
Please understand that the *fMRIPrep* team may (are likely to) request you to improve the documentation
55-
provided with this PR, within the PR or in future PRs.
56-
35+
To boil it down, here are some highlights:
5736
58-
**Please review and check the following**:
59-
<!-- replace the empty checkboxes [ ] below with checked ones [x] accordingly -->
37+
1) Consider starting a conversation in the issues list before submitting a pull request. The discussion might save you a
38+
lot of time coding.
39+
2) Please use descriptive prefixes in your pull request title, such as "ENH:" for an enhancement or "FIX:" for a bug fix.
40+
(See the Contributing guide for the full set.) And consider adding a "WIP" tag for works-in-progress.
41+
3) Any code you submit will be licensed under the same terms (BSD 3-Clause) as the rest of fMRIPrep.
42+
4) We invite every contributor to add themselves to the `.zenodo.json` file
43+
(https://github.com/poldracklab/fmriprep/blob/master/.zenodo.json), which will result in your being listed as an author
44+
at the next release. Please add yourself as the next-to-last entry, just above Russ.
6045
61-
- [ ] I have read the [guidelines for contributions](https://github.com/poldracklab/fmriprep/blob/master/CONTRIBUTING.md).
62-
- [ ] I understand that my contributions will not be merged unless the work is
63-
finished (i.e. no ``[WIP]`` tag remains in the title of my PR) and tests pass.
64-
- [ ] The proposed code follows the
65-
[coding style](https://github.com/poldracklab/fmriprep/blob/master/CONTRIBUTING.md#fmriprep-coding-style-guide),
66-
to the extent I understood them (and I will address any comments raised by the PR's reviewers in this regard).
67-
- [ ] \(Optional\) I opt-out from being listed in the `.zenodo.json` file.
46+
A pull request is a conversation. We may ask you to make some changes before accepting your PR,
47+
and likewise, you should feel free to ask us any questions you have.
48+
49+
-->

0 commit comments

Comments
 (0)