Fixed Contributing.md guide
This commit is contained in:
@@ -44,6 +44,14 @@ Let's get your development environment up and running:
|
|||||||
```bash
|
```bash
|
||||||
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. **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**:
|
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:
|
- Fill out the prompt as follows:
|
||||||
- URL of Gitea instance: `https://git.clan.lol`
|
- URL of Gitea instance: `https://git.clan.lol`
|
||||||
- Name of new Login [git.clan.lol]:
|
- Name of new Login [git.clan.lol]:
|
||||||
- Do you have an access token? No
|
- Do you have an access token? Yes
|
||||||
- Username: YourUsername
|
- Token: <yourtoken>
|
||||||
- Password: YourPassword
|
|
||||||
- Set Optional settings: No
|
- Set Optional settings: No
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,6 @@ def test_generate_secret(
|
|||||||
assert pwd_secret.isprintable()
|
assert pwd_secret.isprintable()
|
||||||
assert pwd_secret.isascii()
|
assert pwd_secret.isascii()
|
||||||
|
|
||||||
|
|
||||||
# test idempotency for vm1 and also generate for vm2
|
# test idempotency for vm1 and also generate for vm2
|
||||||
cli.run(["facts", "generate", "--flake", str(test_flake_with_core.path)])
|
cli.run(["facts", "generate", "--flake", str(test_flake_with_core.path)])
|
||||||
assert age_key.lstat().st_mtime_ns == age_key_mtime
|
assert age_key.lstat().st_mtime_ns == age_key_mtime
|
||||||
|
|||||||
Reference in New Issue
Block a user