openSUSE / openSUSE-release-process

Other
8 stars 9 forks source link

Enforce use of Definition of Done #5

Open lkocman opened 4 years ago

lkocman commented 4 years ago

This could be a continuation of the Issue #4 and is essentially blocked on it

I wrote a pre-commit hook for the gitlab/SLE to double check whether each new task hasDefinition of done set.

There are ways how this can be tricked, and it causes problems with rebases, however works fine if your HEAD is up2date.

pre-receive.txt

SLE pre-commit-hook location https://gitlab.suse.de/sle-prjmgr/release-management-checklist/blob/master/hooks/pre-receive

Documentation about the coomit hook: https://confluence.suse.com/display/projectmanagement/Git+hooks#Githooks-pre-commithook