GitRoot

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