by exDM69 · 10y ago · 0 comments
If only Git would allow storing reviews and issues in the repo proper. Something like Git notes with conventions to refer to files/lines in a file/different revisions etc. Something similar to Fossil.
This would solve half of the problem. The other half would be the UI layer.
Now the reviews live in a database, outside of the repo, and can't be downloaded locally for offline work.
This would allow doing code reviews and managing issues e.g. while commuting in a train. And everything would be pretty fast compared to waiting for a web page to load for every file you want to review and connecting to a server for every comment you write.
Not sure about using json, though.
Now this project is just the first step, now it needs a code review tool (UI) on top that's good enough to match Gerrit, GitHub, etc.
Also check out emacs' org-mode for an alternative approach.
And last but not least, does it just sound like you value the review higher than the code? Why should it be more than a text file like any other? Meaning is something we add to the text. A tool with a specific goal like git shouldn't enhance a meaning to an object type.
Email workflow would solve the connectivity issues, but the reviews, issues etc are not stored for posterity along with the code.
Reviews don't need to be much more than text, but they need some metadata to refer to files/revisions/lines. Basically this could be solved with some conventions on top of text files that machines could understand.
What I'm after is something like Fossil, where all the project management can be done offline and in a structured way.