4 ms·
What if we just reimplemented the entire github ui but everything is just stored in git? Git notes allows comments to be attached to any line for PR. Issues c
by pyrolistical 4y ago
What if we just reimplemented the entire github ui but everything is just stored in git?
Git notes allows comments to be attached to any line for PR.
Issues can just be a well known branch and schema. Issue comments are just git notes.
Ditto for wiki, project management and releases
- shagie 4y agoDo you really want JRandomUser to be able to add notes to your repository? What additional permisioning and hooks would you need to set up and maintain to allow JRandomUser to be able to add a note to a commit but not create a new commit? ... but they need to be able to create commits on well known branches in order to add issues. Can they make it so that mirrors run out of disk space by adding notes to all the commits or extremely large issues? Should people who have the ability to force push be able to rewrite the contents of anything anyone wrote as an issue or note? This way leads to madness. I'm sure it would be possible... but these are not headaches that I want to have.
- nerdponx 4y agoBut it would be pretty nice if people with commit access could add notes directly to commits in Github.
- account42 4y ago> Do you really want JRandomUser to be able to add notes to your repository? Not any less than I want them to comment via the web interface. > Can they make it so that mirrors run out of disk space by adding notes to all the commits or extremely large issues? Better to solve that than to just not mirror the comments which is what is currently the case. You can always opt your mirror to not fetch notes if that is what you want to do.
- hprotagonist 4y agoIt's called Fossil: https://fossil-scm.org https://fossil-scm.org
- 20after4 4y agoThis is pretty much how gerrit does code review.
- mananaysiempre 4y agoGitHub wikis are already accessible over Git in a separate repo, as advertised via the “Clone this wiki locally” sidebar link: e.g. the wiki at https://github.com/swaywm/sway/wiki https://github.com/swaywm/sway/wiki can be cloned from https://github.com/swaywm/sway.wiki https://github.com/swaywm/sway.wiki. (Of course, people have also made a variety of Git-based Web authoring tools spanning from CMSes to wikis, but I can’t say I’ve seen one that really worked out—Git’s capabilities seem too powerful to be tamed in a reasonable Web-based editor. The most elegant way to link from a website to its Git version history that I’ve seen is on Yannik Sander’s blog[1].) [1] e.g. https://blog.ysndr.de/posts/internals/2021-01-01-flake-ification/ https://blog.ysndr.de/posts/internals/2021-01-01-flake-ifica...