Skip to content

Commit

Permalink
Merge adf63d9 into 29d7aef
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Feb 7, 2022
2 parents 29d7aef + adf63d9 commit 5bb9df5
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check_mandatory_trailers.yml
@@ -0,0 +1,16 @@
name: Check Mandatory Trailers

on:
- pull_request

jobs:
check-mandatory-trailers:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: print history
run: |
set -x
echo ${{ github.event.pull_request.base.ref || github.ref }}
echo ${{ github.event.pull_request.head.ref || github.ref }}
1 change: 1 addition & 0 deletions HISTORY.rst
Expand Up @@ -93,6 +93,7 @@ Full Change List
- Fix issue with variant annotation export (#328)
- Adding REST API versioning to (#333)
- Adding more postgres versions to CI (#337)
- Add checking for mandatory trailers (#323)

-------
v0.23.9
Expand Down
20 changes: 18 additions & 2 deletions docs_manual/developer_development.rst
Expand Up @@ -4,12 +4,28 @@
Development
===========

VarFish is based on the SODAR core framework which has a `developer manual <https://sodar-core.readthedocs.io/en/latest/development.html>`_
itself. It is worth having a look there. The following lists parts that are useful in particular:
VarFish is based on the SODAR core framework which has a `developer manual <https://sodar-core.readthedocs.io/en/latest/development.html>`_ itself.
It is worth having a look there.
The following lists parts that are useful in particular:

- `Models <https://sodar-core.readthedocs.io/en/latest/dev_project_app.html#models>`_
- `Rules <https://sodar-core.readthedocs.io/en/latest/dev_project_app.html#rules-file>`_
- `Views <https://sodar-core.readthedocs.io/en/latest/dev_project_app.html#views>`_
- `Templates <https://sodar-core.readthedocs.io/en/latest/dev_project_app.html#templates>`_
- `Icons <https://sodar-core.readthedocs.io/en/latest/dev_general.html#using-icons>`_
- `Forms <https://sodar-core.readthedocs.io/en/latest/dev_project_app.html#forms>`_

------------------
Mandatory Trailers
------------------

In addition, the following rules apply to git commit trailers:

- You may specify ``Breaks-API: true`` trailer if your commit breaks the (REST) API (and thus the CLI)
- You may specify ``Breaks-Data-Import: true`` trailer if your commit breaks backward compatibility with data import.
- You **must** provide ``Influences-Query-Result:`` with value ``true`` or ``false`` to mark whether your change may change the variant query results.
- You **must** either provide a ``Related-Issue:`` trailer which references a Github commit or ``No-Related-Issue:``.
When specifying ``No-Related-Issue:`` you can use the following values:

- ``trivial`` - for trivial changes (commit **must** pass code review)
- ``reason FREE TEXT`` - provide a terse free-text reason for why there is no related reason
Empty file added foo
Empty file.

0 comments on commit 5bb9df5

Please sign in to comment.