eny.space Landingpage
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs(README): replace dual git setup with Tangled mirror pipeline

authored by

Sam Sauer and committed by
Tangled
f6edc9c4 fcfd32f7

+7 -44
+7 -44
README.md
··· 159 159 4. **Access Control**: Dashboard shows subscription status and protected API buttons 160 160 5. **Protected Routes**: `/api/server/[endpoint]` routes check for active subscription before allowing access 161 161 162 - ## Multi-Remote Git Setup 163 - 164 - This repo syncs to two servers (tangled.sh primary, GitHub mirror) using a CI mirror script `.tangled/workflows/mirror.yml`. 165 - 166 - DEPRECATED: using a custom `all` remote. Running `git push all` updates both simultaneously. 167 - 168 - ### Current Config 169 - 170 - ```bash 171 - all git@tangled.sh:samsour.de/eny-space (fetch) 172 - all git@github.com:Krekeny/eny-space.git (push) 173 - all git@tangled.sh:samsour.de/eny-space (push) 174 - origin git@tangled.sh:samsour.de/eny-space (fetch) 175 - origin git@tangled.sh:samsour.de/eny-space (push) 176 - ``` 162 + ## Mirroring 177 163 178 - Note: I previously had `all` with `git@tangled.sh:samsour.de/eny-space` as **fetch only**, so pushes were only going to GitHub and the tangled.sh repo wasn’t in sync. The config above fixes that by adding tangled.sh as a push URL on `all`. 164 + Tangled is the primary git host. All pushes to `main`, `develop`, and `feature/*` branches are automatically mirrored to GitHub under `mirror/<branch-name>` via the Tangled CI pipeline at `.tangled/workflows/mirror.yml`. No manual multi-remote setup is needed. 179 165 180 - ### Setup (New Clones) 166 + ## How to Contribute 181 167 182 - ```bash 183 - # Clone primary 184 - git clone git@tangled.sh:samsour.de/eny-space 185 - 186 - # Add GitHub mirror + tangled push 187 - cd eny-space 188 - git remote rename origin tangled 189 - git remote add all git@tangled.sh:samsour.de/eny-space 190 - git remote set-url --add --push all git@github.com:Krekeny/eny-space.git 191 - git remote set-url --add --push all git@tangled.sh:samsour.de/eny-space 192 - 193 - # Push everything 194 - git push all --all 195 - git push all --tags 196 - ``` 197 - 198 - ### How to Contribute 199 - 200 - 1. Clone: `git clone git@tangled.sh:samsour.de/eny-space` 201 - 2. Branch: `git checkout -b your-feature` 202 - 3. Work: edit → `git add . && git commit -m "Your message"` 203 - 4. Push: `git push all` (syncs both servers!) 204 - 5. Update: `git fetch --all && git checkout main && git pull tangled main` 205 - 206 - Pro tip: add an alias `pushall="git push all"` in your shell config (e.g. `~/.bashrc` or `~/.zshrc`) for speed. 207 - 208 - # This is a test for commit 168 + 1. Clone: `git clone git@tangled.org:samsour.de/eny-space` 169 + 2. Branch: `git checkout -b feature/your-feature` 170 + 3. Work: edit → `git add . && git commit -m "your message"` 171 + 4. Push: `git push origin feature/your-feature`