about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitCommit.pm
DateCommit message (Collapse)
2017-03-03repobrowse: consistently set text charset
For everything with relevant content, we'll try to set UTF-8 charset and reduce duplication when generating response headers.
2017-03-02repobrowse: rename "tree" endpoint to "src"
This is shorter, and makes more sense as the endpoint displays both tree listings and actual blob sources. This will also make rewriting existing URLs from cgit installations easier.
2017-02-22repobrowse: fixup revision handling
Revisions passed in the URL must not be ignored. This fixes some bugs introduced in commit f6244586ba4f5a5e7575e1254be8c9bbe303fce9 ("repobrowse: switch to new URL format to avoid query strings")
2017-02-21repobrowse: stop abbreviating commit hashes
Abbreviations can become ambiguous over time, and it seems other tools are fine with displaying unabbreviated hashes for commits. This should reduce workload for the search engines, too.
2017-02-17repobrowse: minor style cleanups
Avoid using '=>' arrow notation for arrays and array references, it is confusing and more verbose. Additionally, combine "use constant" statements when possible.
2017-02-16repobrowse: memoize git symbolic-ref resolution
The "HEAD" symbolic ref is rarely changed, so memoize it for now and avoid exposing it in URLs.
2017-02-16repobrowse: shorten "repo_info" to "-repo"
This makes it more consistent with how we use the Inbox objects for the main code.
2017-02-16repobrowse: switch to new URL format to avoid query strings
Query strings make endpoint caching more difficult since they're order-independent. They are also more likely lost or truncated inadvertantly when copy+pasting, so try to avoid them for default endpoints. There's still some things which are broken and followup commits will be needed to fix them.
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.