Rename projection repo for Section 0
This commit is contained in:
@@ -5,19 +5,19 @@ This repo is projected into AFFiNE manually for now.
|
||||
Canonical Gitea repo:
|
||||
|
||||
```text
|
||||
http://100.64.0.1:30087/virgil-admin/rta-mock-docs.git
|
||||
http://100.64.0.1:30087/section0/rta-handbook.git
|
||||
```
|
||||
|
||||
Projected AFFiNE path:
|
||||
|
||||
```text
|
||||
Agent Workspace / projected-markdown / mock-rta-docs
|
||||
Agent Workspace / Section 0 / Git Projections / RTA Handbook
|
||||
```
|
||||
|
||||
## What A Collaborator Does
|
||||
|
||||
```sh
|
||||
cd ~/Developer/Section0/rta-mock-docs
|
||||
cd ~/Developer/Section0/rta-handbook
|
||||
git pull --ff-only
|
||||
# edit Markdown
|
||||
git add .
|
||||
@@ -33,7 +33,7 @@ collaborator's dirty working tree.
|
||||
Nice wrapper:
|
||||
|
||||
```sh
|
||||
/Users/virgil/Developer/rta/tmp/markdown-projection-gitea/collaborator-checkout/rta-mock-docs/scripts/project-rta-mock-docs.sh
|
||||
/Users/virgil/Developer/rta/tmp/markdown-projection-gitea/collaborator-checkout/rta-handbook/scripts/project-section0-rta-handbook.sh
|
||||
```
|
||||
|
||||
It pulls the projector checkout, checks it is clean, and runs the AFFiNE
|
||||
@@ -42,7 +42,7 @@ projection command.
|
||||
Manual equivalent:
|
||||
|
||||
```sh
|
||||
git -C /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-mock-docs pull --ff-only
|
||||
git -C /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-handbook pull --ff-only
|
||||
```
|
||||
|
||||
Then from `home-lab-v7`:
|
||||
@@ -51,14 +51,14 @@ Then from `home-lab-v7`:
|
||||
cd /Users/virgil/Developer/Virgil-Info/home-lab-v7
|
||||
|
||||
nix develop --command bash -lc 'scripts/ops/sync-obsidian-affine.rb \
|
||||
--name rta-mock-docs \
|
||||
--source /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-mock-docs \
|
||||
--name section0-rta-handbook \
|
||||
--source /Users/virgil/Developer/rta/tmp/markdown-projection-gitea/projector-checkout/rta-handbook \
|
||||
--username projection-bot \
|
||||
--authentik-sub rta-projection-bot \
|
||||
--affine-workspace "Agent Workspace" \
|
||||
--affine-workspace-id 53ea0a0b-eca7-4887-8e31-f5b2a8ab7744 \
|
||||
--affine-user-id ce42f50a-5367-4466-920b-7422c4e27de0 \
|
||||
--affine-namespace projected-markdown/mock-rta-docs \
|
||||
--affine-namespace 'Section 0/Git Projections/RTA Handbook' \
|
||||
--include "**/*.md" \
|
||||
--apply'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user