Table of Contents |
---|
This document contains guidelines how to specify commit comments and merge request (MR) title and description. Please check out /wiki/spaces/CMD/pages/5432398970 on how name a Git branch.
Gitlab can be found at httphttps://gitlab.docker.marinels.localcom/
Commits
Every commit must contain the JIRA Jira task Id, it's full task name, URL to the JIRA taskthe Jira task and optionally a short description about this commit (in that order).
The reason for this structure is to be able to quickly grasp what task this commit is about and what has changed in this commit.
Example:
- Line 1: PSDEV-133: Moran - Dev/QA - Remove Feedback Scores
- Line 2: https://marinelsrippleops.atlassian.net/browse/PSDEV-133
- Line 3+: (some notes about changes in this commit)
Merge Request
When creating a merge request MR please follow some guidelines and naming conventions:
- Every feature/bug needs a merge request in Gitlab
- Merge request title: [JIRA Task Jira Task Id]: [JIRA Task Jira Task Title] (e.g. PSDEV-300: CSMART Scheduler - Sorting Problem Exists in Allocation Report)
- If you have multiple tasks in one merge request, add all Jira Task Ids to the title so they get properly linked (i.e. SUCO-401/SUCO-354: CUK - Org Profile Field Updates)
- If you want to prevent accidental merging add the prefix WIP Draft in front of the title. It can't be merged until WIP Draft is removed.
- Merge request description:
Line 1: URL to JIRA task to Jira task (i.e. https://marinelsrippleops.atlassian.net/browse/PSDEV-300)
- Line 2+ any details you deem important to knowrecord
- Assignee: Stefan
Note: If the MR contains multiple Jira tasks, add a URL for every Jira task and add every [Jira Task Id] to the title. For example: PSDEV-1083|PSDEV1086|PSDEV-1090: MLS Update Notification Templates