Contributing.md: Explain merge-after-ci for externals.

This commit is contained in:
Qubasa
2024-05-31 13:58:07 +02:00
parent 606143124d
commit 9444c1fded

View File

@@ -45,7 +45,22 @@ Let's get your development environment up and running:
git remote add upstream gitea@git.clan.lol:clan/clan-core.git git remote add upstream gitea@git.clan.lol:clan/clan-core.git
``` ```
5. **Allow .envrc**: 5. **Register Your Gitea Account Locally**:
- Execute the following command to add your Gitea account locally:
```bash
tea login add
```
- Fill out the prompt as follows:
- URL of Gitea instance: `https://git.clan.lol`
- Name of new Login [git.clan.lol]:
- Do you have an access token? No
- Username: YourUsername
- Password: YourPassword
- Set Optional settings: No
6. **Allow .envrc**:
- When you enter the directory, you'll receive an error message like this: - When you enter the directory, you'll receive an error message like this:
```bash ```bash
@@ -53,7 +68,7 @@ Let's get your development environment up and running:
``` ```
- Execute `direnv allow` to automatically execute the shell script `.envrc` when entering the directory. - Execute `direnv allow` to automatically execute the shell script `.envrc` when entering the directory.
6. **(Optional) Install Git Hooks**: 7. **(Optional) Install Git Hooks**:
- To syntax check your code you can run: - To syntax check your code you can run:
```bash ```bash
nix fmt nix fmt
@@ -63,8 +78,11 @@ Let's get your development environment up and running:
./scripts/pre-commit ./scripts/pre-commit
``` ```
7. **Open a Pull Request**: 8. **Open a Pull Request**:
- Go to the webinterface and open up a pull request - To automatically open up a pull request you can use our tool called:
```
merge-after-ci --reviewers Mic92 Lassulus Qubasa
```
# Debugging # Debugging