logoalt Hacker News

smcamerontoday at 2:58 PM3 repliesview on HN

I wonder if you could replace the whole github issues feature with just a directory within each git repo named "Issues/". Within that, have another couple directories, "open/", and "closed/". Within "open", have a directory per issue, e.g. "such-and-such-does-not-work/". Within each issue directory, have "issue.txt", or "issue.md", which takes the place of the page for each issue on github. You could store other things in the issue directory which "issue.md" could reference, e.g. screen shots, logs, whatever. When an issue is closed, it gets git mv'ed to "closed/". You want to see a list of open issues sorted by time? Just "ls -ltr Issues/open". Want to see open issues related to the frakfrobber? "grep -i frakfrobber Issues/open/*". Add a comment to an issue? "vim Issues/open/my-issue/issue.md; git add !$; git commit -m 'Updated my-issue';" It would move the entire issues subsystem back under control of bare "git" and make it portable. Undoubtedly, I am not the first to think of such a thing.


Replies

jasongitoday at 3:03 PM

The whole point of issues is that users can create them when they don't have repo write access.

nafeytoday at 3:06 PM

Check out Haxxy, it has a lot of fresh ideas related to issues/pr management

https://youtu.be/iBDUTaKWVdU

show 2 replies