Skip to content

Commit

Permalink
Merge pull request #618 from ScilifelabDataCentre/DDS-1501-clarify-ma…
Browse files Browse the repository at this point in the history
…ster-part-of-pr-templates

Restructure PR template and add information to release instructions
  • Loading branch information
i-oden authored Mar 9, 2023
2 parents 1334f74 + 5547f81 commit e54985e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 63 deletions.
74 changes: 11 additions & 63 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,12 @@
<!--
> **Before _submitting_ PR:**
>
> - Fill in and tick fields
> - _Remove all rows_ that are not relevant for the current PR
> - Revelant option missing? Add it as an item and add a PR comment informing that the new option should be included into this template.
>
> **Before _merging_ PR:**
>
> _Tick all relevant items._
-->

## **1. This PR contains the following changes...**

_Add a summary of the changes and the related issue._

## **2. The following additional changes are required for this to work**

_Add information on additional changes required for the PR changes to work, both locally and in the deployments._
## Before submitting this PR

> E.g. Does the deployment setup need anything for this to work?
1. **Description:** _Add a summary of the changes in this PR and the related issue._
2. **Jira task / GitHub issue:** _Link to the github issue or add the Jira task ID here._
3. **How to test:** _Add information on how someone could manually test this functionality. As detailed as possible._
4. **Type of change:** [_Check the relevant boxes in the section below_](#what-type-of-changes-does-the-pr-contain)
5. **Add docstrings and comments to code**, _even if_ you personally think it's obvious.

## **3. The PR fixes the following GitHub issue / Jira task**

<!-- Comment out the item which does not apply here.-->

- [ ] GitHub issue (link):
- [ ] Jira task (ID, `DDS-xxxx`):
- [ ] The PR does not fix a specific GitHub issue or Jira task

## **4. What _type of change(s)_ does the PR contain?**
## What _type of change(s)_ does the PR contain?

<!--
- "Breaking": The change will cause existing functionality to not work as expected.
Expand All @@ -46,13 +24,7 @@ _Add information on additional changes required for the PR changes to work, both
- [ ] Tests **(only)**
- [ ] Workflow

## **5. Checklist**

<!-- Comment out the items which do not apply here.-->

### **Always**

<!-- Always go through the following items. -->
## Checklist

- [Changelog](../CHANGELOG.md)
- [ ] Added
Expand All @@ -64,35 +36,11 @@ _Add information on additional changes required for the PR changes to work, both
- [ ] Merged
- [ ] No blocking PRs
- PR to `master` branch
- [ ] Yes: Go to the section [PR to master](#pr-to-master)
- [ ] Yes: Read [the release instructions](../docs/procedures/new_release.md)
- [ ] I have followed steps 1-6.
- [ ] No

### If PR consists of **code change(s)**

<!-- If the PR contains code changes, the following need to be checked.-->

- Self review
- [ ] Done
- Comments, docstrings, etc
- [ ] Added / Updated
- Documentation
- [ ] Updated
- [ ] Update not needed

### If PR is to **master**

<!-- Is your PR to the master branch? The following items need to be checked off. -->

- [ ] I have followed steps 1-5 in [the release instructions](../docs/procedures/new_release.md)
- [ ] I am bumping the major version (e.g. 1.x.x to 2.x.x)
- [ ] I have made the corresponding changes to the web/API version

**Is this version _backward compatible?_**

- [ ] Yes: The code works together with `dds_web/master` branch
- [ ] No: The code **does not** entirely / at all work together with the `dds_web/master` branch. _Please add detailed and clear information about the broken features_

## **6. Actions / Scans**
## Actions / Scans

<!-- Go through all checkboxes. All actions must pass before merging is allowed.-->

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,4 @@ Please add a _short_ line describing the PR you make, if the PR implements a spe
- Bug: Return error code 1 if error during upload ([#615](https://github.com/ScilifelabDataCentre/dds_cli/pull/615))
- Clarification: Users should check that the error-file has been generated, and keep it in case we need it for debugging purposes ([#616](https://github.com/ScilifelabDataCentre/dds_cli/pull/616))
- Bug: Catch UnicodeEncodeError during API request to avoid unclear error message upon usage of non-latin1 characters in username and password ([#617](https://github.com/ScilifelabDataCentre/dds_cli/pull/617))
- Workflow: Restructure and clarify PR template ([#618](https://github.com/ScilifelabDataCentre/dds_cli/pull/618))
7 changes: 7 additions & 0 deletions docs/procedures/new_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
2. Wait for approval and merge by Product Owner or admin
6. Create a PR from `dev` to `master`

- Are you bumping the major version (e.g. 1.x.x to 2.x.x)?
- Yes: Add this info to the PR.
- Do the changes affect the API in any way?
- Yes:
- Add how the API is affected in the PR.
- Make the corresponding changes to the API and create a PR _before_ you merge this PR.
- _Backward compatibility:_ Check whether or not the dds_cli master branch works with the code in the PR. Note if the dds_web changes work with the previous version of the dds_cli. If something might break - give detailed information about what. **The users should be informed of this, e.g. via a MOTD.**
- All changes should be approved in the PRs to dev so reviewing the changes a second time in this PR is not necessary. Instead, the team should look through the code just to see if something looks weird.
- All sections and checks in the PR template should be filled in and checked. Follow the instruction in the PR description field.
- There should be at least one approval of the PR.
Expand Down

0 comments on commit e54985e

Please sign in to comment.