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/golang/plugin/imports.go](../app/libs/golang/plugin/imports.go)
10
11
12```
13
14// TODO delete after v0.4 is released
15//
16```
17
18### [app/libs/golang/plugin/model/server.go](../app/libs/golang/plugin/model/server.go)
19
20
21```
22 Cache() *GrFs
23 // TODO delete after v0.4 is released
24 //
25```
26
27### [app/libs/golang/plugin/server.go](../app/libs/golang/plugin/server.go)
28
29
30```
31
32// TODO delete after v0.4 is released
33// Deprecated: Use Worktree().WriteContent(filepath, content string) instead
34```
35
36### [app/libs/golang/plugin/test/fakeserver.go](../app/libs/golang/plugin/test/fakeserver.go)
37
38
39```
40
41// TODO delete after v0.4 is released
42//
43```
44
45### [app/plugins/apex/main.go](../app/plugins/apex/main.go)
46
47
48```
49 default:
50 // TODO download if distant? Copy if local?
51 }
52```
53
54### [app/plugins/apex/worktree.go](../app/plugins/apex/worktree.go)
55
56
57```
58 LastEdited: commit.Date,
59 Author: "// TODO",
60 hasBeenUpdated: true,
61```
62
63### [app/plugins/grafter/main.go](../app/plugins/grafter/main.go)
64
65
66```
67 }
68 // TODO should be append when api permit to append
69 content := fmt.Sprintf("%s\n---\n\n## Report **%s** from %s\n\n%s\n", filecontent, report.Level, report.FromPlugin, strings.Join(report.Content, "\n"))
70```
71
72### [app/plugins/silo/conf.go](../app/plugins/silo/conf.go)
73
74
75```
76 {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"},
77 {Title: "Todo is lie", Description: "", Format: "embed", TableHeader: "", For: "**/*|!.gitroot/**", Where: "// TODO", Selects: []string{}, To: "boards/todos.md", Paginator: 0, Sort: "file", SortOrder: "asc"},
78 {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"},
79```
80
81### [app/server/background/plugin.go](../app/server/background/plugin.go)
82
83
84```
85
86 // TODO delete
87
88```
89
90### [app/server/plugin/commandfordiff.go](../app/server/plugin/commandfordiff.go)
91
92
93```
94 log.Debug("CommandForDiffFromPackpCmd commit", logger.NewLoggerPair("msg", com.Message))
95 parent, err := com.Parent(0) // TODO what parent?
96 if err != nil {
97```
98
99### [app/server/plugin/manager.go](../app/server/plugin/manager.go)
100
101
102```
103
104 // TODO rework plugin start/activation
105 // for each command (branch) we have a list of plugins to start/activate
106```
107
108### [app/server/plugin/runtime.go](../app/server/plugin/runtime.go)
109
110
111```
112
113// TODO delete after v0.4 is released
114// Deprecated: Use WriteContent(fs, filepath, content string) instead
115```
116
117### [app/server/repository/create.go](../app/server/repository/create.go)
118
119
120```
121 if repoConf.Kind == "" || repoConf.Kind == RepoKindNormal {
122 bareRepo, err := git.PlainInit(m.conf.GetDirPathForRepo(repoConf.Name), true, git.WithDefaultBranch(plumbing.NewBranchReferenceName(repoConf.DefaultBranch)), git.WithObjectFormat(config.SHA1)) // TODO debug sha256
123 if err != nil {
124```
125
126### [app/server/user/signer.go](../app/server/user/signer.go)
127
128
129```
130 return true, key, nil
131 } else if _, err := com.Verify(key); err == nil { // TODO not optimal because verify encodeWithoutSignature for each
132 return true, key, nil
133```
134
135### [app/testsuite/proxy-ressources/all-plugins.yml](../app/testsuite/proxy-ressources/all-plugins.yml)
136
137
138```
139 to: boards/todos.md
140 where: // TODO
141 - description: |-
142```
143
144### [app/testsuite/proxy-root.sh](../app/testsuite/proxy-root.sh)
145
146
147```
148quiet_git checkout -b firstGraft
149echo "// TODO better main" >> doc/index.md
150quiet_git add .
151```
152
153### [app/testsuite/update-ressources/plugins.yml](../app/testsuite/update-ressources/plugins.yml)
154
155
156```
157 to: boards/todos.md
158 where: // TODO
159 - description: |-
160```