mirror of
https://gitlab.com/recaptime-dev/squad/meta.git
synced 2025-06-05 04:29:30 +00:00
38 lines
1.7 KiB
Markdown
38 lines
1.7 KiB
Markdown
# Contributing guidelines for team profiles
|
|
|
|
## Linux DCO
|
|
|
|
By contributing patches, you agree to the [Linux DCO](https://developercertificate.org/) and sign-off your commits (`git commit -s` or `git commit --signoff`).
|
|
|
|
**For community contributors**: We do not require to sign our CLA in most projects (like this), although if you did, we'll assume your CLA signature will make your agreement to DCO legally binding.
|
|
|
|
## Updating/adding team profiles
|
|
|
|
> **Note**: You should add your team profile in this repo and not in [`gh:recaptime-dev/website-next`](https://github.com/recaptime-dev/website-next), due to how we setup CI for one-way synchorization.
|
|
|
|
For new members during onboarding, create your own team profile by [copying the template file] and fill in with your own.
|
|
|
|
```shell
|
|
# branch off if you have direct push access to the repo or fork to personal namespace
|
|
gh repo clone recaptime-dev/squad # with GitHub CLI
|
|
glab repo clone https://mau.dev/recaptime-dev/squad/gitlab-profile # with GitLab CLI
|
|
# option A: branch off (you can also branch off on your fork to keep things seperate
|
|
# from your own main branch)
|
|
git switch -c your-username/add-team-profile
|
|
# option B: fork via existing copy
|
|
gh repo fork recaptime-dev/squad --default-branch-only --remote
|
|
glab repo fork recaptime-dev/squad --remote
|
|
|
|
# first copy the template file into an new markdown file
|
|
cp team/template.md team/<your-github-username-in-lowercase>.md
|
|
|
|
# edit with your own details
|
|
$EDITOR team/<your-github-username-in-lowercase>.md
|
|
|
|
# make sure to protect your team profile file via CODEOWNERS
|
|
$EDITOR CODEOWNERS
|
|
|
|
# stage, sign-off and send a patch
|
|
git commit --signoff team/<your-github-username-in-lowercase>.md
|
|
git push origin your-username/add-team-profile
|
|
```
|