about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseGitSummary.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-02-09repobrowse: avoid slurping lines
"foreach (<$fh>)" in Perl requests lines in array context, so use "while" instead for lazy reading. This follows ba4c50c20b95679580beba1ef290a4281d5285b7 in master ("config: do not slurp lines into memory")
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-22repobrowse: git summary view uses psgi_qx
This reduces one synchronous dependency from the hot path, and psgi_return will be used in the future.
2016-04-05repobrowse: summary handles multiple README types
git.git uses README.md, nowadays, but older revisions used plain old README. Handle both out-of-the box.
2016-04-05repobrowse: use symbolic-ref instead of ugly rev-parse match
Oops, forgot about this old command :x
2016-04-05repobrowse: show repository index
Sometimes; people like to advertise projects and group them. Of course, "-hidden" is a valid group for projects which do not want to be advertised.
2016-04-05repobrowse: implement preliminary summary page
This should provide a decent landing page for projects. Alternative README files may be configured with the per-repo "readme" directive.