GitRoot
Craft your forge, Build your project, Grow your community freely
1# Todo is lie
2
3### [Test GitRoot on GitRoot](../grafts/make_hop_working.md)
4
5
6
7Use Hop plugin to test gitroot on gitroot.dev
8
9### [app/libs/zig/plugin/fakeserver.zig](../app/libs/zig/plugin/fakeserver.zig)
10
11
12```
13
14 // grfs_git: *model.GrFs, // TODO
15 // grfs_web: *model.GrFs,
16```
17
18### [app/plugins/apex/main.go](../app/plugins/apex/main.go)
19
20
21```
22 default:
23 // TODO download if distant? Copy if local?
24 }
25```
26
27### [app/plugins/apex/worktree.go](../app/plugins/apex/worktree.go)
28
29
30```
31 LastEdited: commit.Date,
32 Author: "// TODO",
33 hasBeenUpdated: true,
34```
35
36### [app/plugins/grafter/main.go](../app/plugins/grafter/main.go)
37
38
39```
40 }
41 // TODO should be append when api permit to append
42 p.server.Worktree().WriteContent(graftFilepath, string(content)+builder.String())
43```
44
45### [app/plugins/silo/conf.go](../app/plugins/silo/conf.go)
46
47
48```
49 {Title: "Roadmaps", Description: roadmapDescription, Format: "table", TableHeader: "| | priority |", For: "**/*.md", Where: "kind: 'roadmap'", Selects: []string{"priority: (\\d+)"}, To: "boards/roadmap.md", Paginator: 0, Sort: "title", SortOrder: "asc", Fs: "git"},
50 {Title: "Todo is lie", Description: "", Format: "embed", TableHeader: "", For: "**/*|!.gitroot/**", Where: "// TODO", Selects: []string{}, To: "boards/todos.md", Paginator: 0, Sort: "file", SortOrder: "asc", Fs: "git"},
51 {Title: "All Issues", Description: "All\n[New](./triage.md)", Format: "table", TableHeader: "| | status | priority |", For: "**/*.md", Where: "kind: issue", Selects: []string{"status: (.*)", "priority: (\\d+)"}, To: "boards/issues.md", Paginator: 10, Sort: "select[1]", SortOrder: "desc", Fs: "git"},
52```
53
54### [app/server/background/plugin.go](../app/server/background/plugin.go)
55
56
57```
58
59 // TODO delete
60
61```
62
63### [app/server/plugin/commandfordiff.go](../app/server/plugin/commandfordiff.go)
64
65
66```
67 log.Debug("CommandForDiffFromPackpCmd commit", logger.NewLoggerPair("msg", com.Message))
68 parent, err := com.Parent(0) // TODO what parent?
69 if err != nil {
70```
71
72### [app/server/plugin/iterator/manager.go](../app/server/plugin/iterator/manager.go)
73
74
75```
76
77// TODO: WTH!? go refuse a []model.Report as a []any
78func (m *Manager) AddReports(name string, slice []model.Report) *pullIterator {
79```
80
81### [app/server/plugin/manager.go](../app/server/plugin/manager.go)
82
83
84```
85
86 // TODO rework plugin start/activation
87 // for each command (branch) we have a list of plugins to start/activate
88```
89
90### [app/server/plugin/runtime.go](../app/server/plugin/runtime.go)
91
92
93```
94
95// TODO delete after v0.4 is released
96// Deprecated: Use WriteContent(fs, filepath, content string) instead
97```
98
99### [app/server/repository/create.go](../app/server/repository/create.go)
100
101
102```
103 if repoConf.Kind == "" || repoConf.Kind == RepoKindNormal {
104 bareRepo, err := git.PlainInit(m.conf.GetDirPathForRepo(repoConf.Name), true, git.WithDefaultBranch(plumbing.NewBranchReferenceName(repoConf.DefaultBranch))) // TODO debug sha256
105 if err != nil {
106```
107
108### [app/server/user/signer.go](../app/server/user/signer.go)
109
110
111```
112 return true, key, nil
113 } else if _, err := com.Verify(key); err == nil { // TODO not optimal because verify encodeWithoutSignature for each
114 return true, key, nil
115```
116
117### [app/testsuite/proxy-ressources/all-plugins.yml](../app/testsuite/proxy-ressources/all-plugins.yml)
118
119
120```
121 to: boards/todos.md
122 where: // TODO
123 - description: |-
124```
125
126### [app/testsuite/proxy-root.sh](../app/testsuite/proxy-root.sh)
127
128
129```
130quiet_git checkout -b firstGraft
131echo "// TODO better main" >> doc/index.md
132quiet_git add .
133```
134
135### [app/testsuite/update-ressources/plugins.yml](../app/testsuite/update-ressources/plugins.yml)
136
137
138```
139 to: boards/todos.md
140 where: // TODO
141 - description: |-
142```