1
0
forked from clan/clan-core

Fixed Contributing.md guide

This commit is contained in:
Luis Hebendanz 2024-06-24 19:02:04 +02:00
parent fdd7ac7bbf
commit 88f97bd2b6
2 changed files with 10 additions and 4 deletions

View File

@ -44,6 +44,14 @@ Let's get your development environment up and running:
```bash
git remote add upstream gitea@git.clan.lol:clan/clan-core.git
```
5. **Create an access token**:
- Log in to Gitea.
- Go to your account settings.
- Navigate to the Applications section.
- Click Generate New Token.
- Name your token and select all available scopes.
- Generate the token and copy it for later use.
- Your access token is now ready to use with all permissions.
5. **Register Your Gitea Account Locally**:
@ -54,9 +62,8 @@ Let's get your development environment up and running:
- 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
- Do you have an access token? Yes
- Token: <yourtoken>
- Set Optional settings: No

View File

@ -98,7 +98,6 @@ def test_generate_secret(
assert pwd_secret.isprintable()
assert pwd_secret.isascii()
# test idempotency for vm1 and also generate for vm2
cli.run(["facts", "generate", "--flake", str(test_flake_with_core.path)])
assert age_key.lstat().st_mtime_ns == age_key_mtime