Naming Conventions:
Naming conventions are important for:
- Onboarding
- Understanding
- Dependancies
Conventions should aim to be:
- As short as possible
- Not containing duplicates
- Agreed between teams
The Bad:β
Here are some examples we have found that are not great...
If the Gitlab Path does not equal to the actual remote path. For example:
Multiple occurances of names (we know it's rapha):
https://gitlab.com/rapharacing/rapha-middleware/rapha-customer-node
Inconsistency:β
Project Title: Minas Tirith Gitlab Project URL: https://gitlab.com/rapharacing/rapha-middleware/gateway-waf
Other:β
Gitlab: Names with Capitals in Gitlab should be avoided (gitlab projects/repos are always lowercase)
Project Names with special characters should be avoided
In Gitlab: Repository names MUST match remote URL
Gitlab Naming Requirementsβ
In Gitlab specifically create:
- A brief description for the project that states what it does
- A name that doesnβt repeat the group name
- A populated README.md that discusses what the project is doing and any relevant architectural diagrams
- A contributing.md to share how to easily contribute