feat/gitea #2
6
.vscfavoriterc
Normal file
6
.vscfavoriterc
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resources": [],
|
||||
"groups": [
|
||||
"Default"
|
||||
]
|
||||
}
|
||||
@@ -63,14 +63,14 @@ def load(self):
|
||||
**File:** `~/.config/claude/gitea.env`
|
||||
|
||||
```bash
|
||||
GITEA_API_URL=https://gitea.hyperhivelabs.com/api/v1
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_gitea_token
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
```
|
||||
|
||||
**Generating Gitea API Token:**
|
||||
|
||||
1. Log into Gitea: https://gitea.hyperhivelabs.com
|
||||
1. Log into Gitea: https://gitea.hotserv.cloud
|
||||
2. Navigate to: **Settings** → **Applications** → **Manage Access Tokens**
|
||||
3. Click **Generate New Token**
|
||||
4. Token configuration:
|
||||
@@ -90,9 +90,9 @@ mkdir -p ~/.config/claude
|
||||
|
||||
# Create gitea.env
|
||||
cat > ~/.config/claude/gitea.env << EOF
|
||||
GITEA_API_URL=https://gitea.hyperhivelabs.com/api/v1
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_token_here
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
EOF
|
||||
|
||||
# Secure the file (important!)
|
||||
|
||||
@@ -422,7 +422,7 @@ Planner: I'll create the issue...
|
||||
[Tool executes: create_issue(...)]
|
||||
|
||||
Created issue #47: "Extract Intuit Engine Service"
|
||||
View at: https://gitea.hyperhivelabs.com/org/repo/issues/47
|
||||
View at: https://gitea.hotserv.cloud/org/repo/issues/47
|
||||
|
||||
Now let me generate a detailed sprint plan...
|
||||
```
|
||||
|
||||
@@ -150,9 +150,9 @@ The plugins use a hybrid configuration approach that balances security and flexi
|
||||
**System-Level:**
|
||||
```bash
|
||||
# ~/.config/claude/gitea.env
|
||||
GITEA_API_URL=https://gitea.hyperhivelabs.com/api/v1
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_token
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
|
||||
# ~/.config/claude/wikijs.env
|
||||
WIKIJS_API_URL=https://wiki.hyperhivelabs.com/graphql
|
||||
@@ -366,9 +366,9 @@ mkdir -p ~/.config/claude
|
||||
|
||||
# Gitea config
|
||||
cat > ~/.config/claude/gitea.env << EOF
|
||||
GITEA_API_URL=https://gitea.hyperhivelabs.com/api/v1
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_gitea_token
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
EOF
|
||||
|
||||
# Wiki.js config
|
||||
|
||||
@@ -111,7 +111,7 @@ mkdir -p ~/.config/claude
|
||||
cat > ~/.config/claude/gitea.env << EOF
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_gitea_token_here
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
EOF
|
||||
|
||||
chmod 600 ~/.config/claude/gitea.env
|
||||
@@ -137,7 +137,7 @@ For company/PMO mode, omit the `.env` file or don't set `GITEA_REPO`.
|
||||
**Required Variables**:
|
||||
- `GITEA_API_URL` - Gitea API endpoint (e.g., `https://gitea.hotserv.cloud/api/v1`)
|
||||
- `GITEA_API_TOKEN` - Personal access token with repo permissions
|
||||
- `GITEA_OWNER` - Organization or user name (e.g., `hyperhivelabs`)
|
||||
- `GITEA_OWNER` - Organization or user name (e.g., `hhl-infra`)
|
||||
|
||||
### Project-Level Configuration
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ mkdir -p ~/.config/claude
|
||||
cat > ~/.config/claude/gitea.env << EOF
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_gitea_token_here
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
EOF
|
||||
|
||||
chmod 600 ~/.config/claude/gitea.env
|
||||
@@ -239,7 +239,7 @@ print(f'Mode: {result[\"mode\"]}')
|
||||
Expected output:
|
||||
```
|
||||
API URL: https://gitea.hotserv.cloud/api/v1
|
||||
Owner: hyperhivelabs
|
||||
Owner: hhl-infra
|
||||
Repo: test-repo (or None for company mode)
|
||||
Mode: project (or company)
|
||||
```
|
||||
@@ -377,7 +377,7 @@ print('\\n✅ PMO mode tests passed!')
|
||||
```bash
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_token_here
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
```
|
||||
|
||||
**Project-level** (`.env` in project root):
|
||||
@@ -445,7 +445,7 @@ mkdir -p ~/.config/claude
|
||||
cat > ~/.config/claude/gitea.env << EOF
|
||||
GITEA_API_URL=https://gitea.hotserv.cloud/api/v1
|
||||
GITEA_API_TOKEN=your_token_here
|
||||
GITEA_OWNER=hyperhivelabs
|
||||
GITEA_OWNER=hhl-infra
|
||||
EOF
|
||||
|
||||
chmod 600 ~/.config/claude/gitea.env
|
||||
|
||||
Reference in New Issue
Block a user