Add Merge Request template
Hi, I propose to use a MR template within the project in order to make sure that we do not skip information that might be relevant when asking for reviews.
As it's a template, it can easily be modified or removed when not needed (case in point: I'm not using it now). We'd need to have it in master, then activate the option in the repo.
See: https://git.xfel.eu/gitlab/help/user/project/description_templates
It's a template I've used in other projects, or here , which I think exhaustive enough.
Merge request reports
Activity
- .gitlab/merge_request_templates/default.md 0 → 100644
1 <!--- Provide a general summary of your changes in the Title above. 2 If it is specific to a detector, indicate which in square brackets. 3 If it is specific to an algorithm, indicate which in square brackets, eg: 4 [AGIPD] [DARK] add plotting --> 5 6 ## Description 7 <!--- Describe your changes in detail 8 Why is this change required? What problem does it solve? 9 If it fixes an open issue, please link to the issue here. --> 10 11 ## How Has This Been Tested? 12 <!--- Please describe in detail how you tested your changes. 13 Include details of your testing environment, tests ran to see how 14 your change affects other areas of the code, etc. --> 15 - Resolved by Karim Ahmed
2 cents from my side: I already worked with this kind of checklist when I was still using SVN (08'). It does help, for sure, but...
- Make sure to "keep it as simple as possible" - no verbose
- For hotfixes, keep it even more straightforward (usually, you do it in a rush)
- To be honest, sometimes it is a bit annoying to provide it and it slows down the MR
- Nothing replaces a well written and commented code.
- Once in a rush, stressed and under pressure, processes and documentation are "throw out through the window" - every process checkpoint must be also thought for stressing times.
@kamile @kluyvert @tmichela - comments?
@danilevc I would start it with yourself as a prototype before having it established for the entire team. Therefore, you can be practical measuring the benefits (@ahmedk already gave you the LGTM anyways)
Edited by Hugo Santos- Resolved by Cyril Danilevski
- Resolved by Cyril Danilevski
added 1 commit
- 0574d8e5 - Apply suggestion to .gitlab/merge_request_templates/default.md
added 1 commit
- aebc2a2d - Apply suggestion to .gitlab/merge_request_templates/default.md
- .gitlab/merge_request_templates/default.md 0 → 100644
11 your change affects other areas of the code, etc. --> 12 13 ## Relevant Documents (optional) 14 <!-- Include any relevant screenshot, elogs, reports, if appropriate. --> 15 16 ## Types of changes 17 <!--- What types of changes does your code introduce? Uncomment all lines that apply: --> 18 19 <!-- - Bug fix (non-breaking change which fixes an issue) --> 20 <!-- - New feature (non-breaking change which adds functionality) --> 21 <!-- - Breaking change (fix or feature that would cause existing functionality to not work as expected) --> 22 23 ## Checklist: 24 <!--- Go over all the following points, and uncomment all lines that apply: --> 25 26 <!-- - My code follows the code style of this project. --> - .gitlab/merge_request_templates/default.md 0 → 100644
13 ## Relevant Documents (optional) 14 <!-- Include any relevant screenshot, elogs, reports, if appropriate. --> 15 16 ## Types of changes 17 <!--- What types of changes does your code introduce? Uncomment all lines that apply: --> 18 19 <!-- - Bug fix (non-breaking change which fixes an issue) --> 20 <!-- - New feature (non-breaking change which adds functionality) --> 21 <!-- - Breaking change (fix or feature that would cause existing functionality to not work as expected) --> 22 23 ## Checklist: 24 <!--- Go over all the following points, and uncomment all lines that apply: --> 25 26 <!-- - My code follows the code style of this project. --> 27 <!-- - My change requires a change to the documentation. --> 28 <!-- - I have updated the documentation accordingly. --> Do we know how up to date the documentation is at present? I confess I've barely looked at it. The docs on RTD haven't built successfully in about a year: https://in.xfel.eu/readthedocs/projects/european-xfel-offline-calibration/builds/
mentioned in commit baff7e0e