GitRoot

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