about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseGitAtom.pm
DateCommit message (Collapse)
2017-02-09repobrowse: shorten internal names
We'll still be keeping "repobrowse" for the public API for use with .psgi files, but shortening the name means less typing and we may have command-line tools, too.
2017-01-26repobrowse/git/atom: remove unused subroutine
We never ended up using it.
2017-01-26repobrowse: simplify command generation for git commands
This shortens the code quite a bit at a negligible performance cost, and the diffstat agrees.
2017-01-21repobrowse: preserve newlines in Atom feed
Commit messages are assumed to be displayed in a terminal with a fixed width font, so we must preserve newlines and all whitespace as-is so ASCII art may be displayed properly.
2017-01-21repobrowse: fix full URL generation in Atom feed
We must not drop the leading slash in the URI. This regression was introduced when we dropped Plack::Request dependency.
2017-01-21repobrowse: avoid extra hash assignments for Atom feed
This should make the code somewhat easier-to-follow.
2017-01-21repobrowse: git Atom feed uses Qspawn->psgi_return
This allows us to wait on "git log" output in a non-blocking manner while being able to throttle on backpressure from slow clients when used with pi-httpd.
2017-01-21repobrowse: git Atom feed uses Qspawn->psgi_qx
This allows pi-httpd to service other I/O while we wait on "git symbolic-ref" to run. And psgi_return will be used in the next commit...
2016-12-22repobrowse: remove Plack::Request dependency
This does not make installation easier, but lightens runtime a bit. Plack::Request is unnecessary bloat and indirection which does things behind our back. $env has all the stuff we need.
2016-12-14repobrowse: start reducing Plack::Request dependencies
We'll be migrating away from it to minimize dependencies and surprises, just like the rest of public-inbox did several months ago.
2016-04-05repobrowse: implement Atom feed
Mostly following cgit, except we do not serve redundant text-only output which wastes bandwidth and doesn't preserve pre-formatting layout which is critical to some messages.