GitRoot

craft your forge, build your project, grow your community freely
  1---
  2id: "b65b"
  3priority: 100
  4sprint: ""
  5assignee: null
  6status: triage
  7kind: issue
  8---
  9
 10# Action needed to release 0.3.0
 11
 12**BLOCKING**:
 13
 14- [x] gitroot on root is `/root` in apex
 15- [x] worktree link in apex
 16- [x] hop launched every push even if not in `app/`: because hop build on `endCommit` which is called everytime endependant of path
 17
 18**TODO**:
 19
 20- [x] https://gitroot.dev/gitroot-0.2.0 is linked in [zero to hero](../doc/tutorials/from_zero_to_hero.md) and [deploy instance](../doc/tutorials/deploy_instance.md) tutos ==> move to `latest`
 21- [x] compile and scp gitroot and plugins
 22- [x] update gitroot itself
 23- [x] update plugins (in git)
 24- [ ] install bwrap, mise and git in the server
 25- [x] new forge conf: externalsshaddr, externalhttpaddr, executor (bwrap)
 26- [x] new apex conf: favicon, meta (see below)
 27- [x] add hop plugin and configure
 28- [ ] add `apexRenderMetadatas: true` on all issues/grafts
 29- [x] restart gitroot for executor run
 30
 31config apex:
 32
 33```yaml
 34configuration:
 35  branchesDir: branches
 36  favicon: logo.png
 37  footer: <p>Start with <code>git clone ssh://gitroot.dev/</code> 🚀</p><small>Hosted with ❤️ by Gitroot</small>
 38  generateGitWorktree: true
 39  header: <h1>GitRoot</h1><i>craft your forge, build your project, grow your community freely</i>
 40  menu:
 41    - display: 🏠 Home
 42      link: /
 43    - display: 📖 Documentation
 44      link: /doc/
 45    - display: 🔖 Versions
 46      link: /CHANGELOG.html
 47    - display: 🐞 Issues
 48      link: /boards/issues.html
 49    - display: 🚀 Code
 50      link: /worktree/
 51    - display: ☕ Blog
 52      link: /blog/
 53    - display: 🗨 Contact
 54      link: /contact.html
 55  meta:
 56    description: GitRoot is a small yet powerfull git forge.
 57    fediverse:creator: "@forge@gitroot.dev"
 58    og:description: GitRoot is a small yet powerfull git forge.
 59    og:title: GitRoot
 60  style: simple.min.css
 61```
 62
 63forgeConf:
 64
 65```yaml
 66execconf:
 67  baremetal:
 68    enabled: false
 69  bwrap:
 70    enabled: true
 71    user: nobody
 72    uid: 65534
 73    gid: 65534
 74    robind: []
 75    bind: ["/home/rmaneschi/.cache/mise:/cache/mise"]
 76  container:
 77    enabled: false
 78    bin: podman
 79  ssh:
 80    enabled: false
 81    hosts:
 82      - user: myUSer
 83        address: 127.0.0.1
 84        port: 22
 85        publickey: ssh-ed25519 AAAAC3NzaC1...
 86```
 87
 88config hop:
 89
 90```yaml
 91- url: file:///home/rmaneschi/projects/gitroot/app/plugins/hop/hop-0.0.1.wasm
 92  name: hop
 93  version: 0.0.1
 94  active: true
 95  run:
 96    - path: app/**/*
 97      branch:
 98        - "*"
 99      when:
100        - add
101        - mod
102        - del
103      write:
104        git: []
105        web: []
106        exec:
107          - command: mise
108      configuration:
109        exec:
110          build: ""
111          cmds:
112            - args:
113                - trust
114              cmd: mise
115            - args:
116                - run
117                - fmt
118              cmd: mise
119          env: ["MISE_CACHE_DIR=/cache/mise"]
120```