opendevstack / opendevstack/ods-core
Prevent commits without ticket reference
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 53
- Forks
- 34
- Avg merge
- 3h 26m
- Merged PRs (30d)
- 1
Description
As we want to have full traceability, it should not be allowed (at least not by default) to have commits that are not connected to a Jira ticket.
This means that:
- Commits should be rejected if not done through a "ticket branch"
- On integeration branches (such as
developormasteretc.) only merge commits which reference one or more Jira tickets should be allowed
Most likely this can be done through a BitBucket hook, and/or the shared library ...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by investigating the BitBucket hook and shared library mentioned in the issue, along with how integration branches such as develop and master are handled. Define the required ticket-branch and merge-commit checks, then verify that commits without Jira references are rejected while valid referenced commits remain allowed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- ci-cd, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100