about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseGitTree.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: simplify command generation for git commands
This shortens the code quite a bit at a negligible performance cost, and the diffstat agrees.
2017-01-17repobrowse: verbose git tree display uses qspawn for ls-tree
For now, qspawn provides resource management for dealing with expensive "git ls-tree" processes.
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-07repobrowse: fix alignment of gitlink entries
We no longer display links to the "plain" and "log" views from here, so reduce the padding used for this rarely-seen type.
2016-04-07repobrowse: show invalid type for tree views
Show some diagnostic information for non-(blob|tree) objects to perhaps help users figure out what to do with other objects.
2016-04-07repobrowse: do not bold directory names in tree view
This should increase visibility of actual executable files
2016-04-05repobrowse: nofollow and noindex tree links
It is expensive and of dubious usefulness to have tree content auto-followed and indexed by search engines. Reduce the links we recommend to crawlers so they don't waste resources of users running our code or waste the time of search engine users finding low-value content. We will allow indexing blobs, however, as they may contain useful information for others to refer to. Of course, I definitely want search engines to index commit messages; as I consider those to be the most important data served.
2016-04-05repobrowse: use 'raw' to link to the /plain/ endpoint
We use 'raw' in the rest of public-inbox to resolve the raw, unformatted message (as does gmane and gitweb), so don't expose the word 'plain' to users which only cgit seems to use.
2016-04-05honor core.abbrev from git-config(1)
We will use core.abbrev=12 by default if unset, as the git default of 7 is too low for long-term usability of links. Some of our callers used 16, which was probably excessive.
2016-04-05repobrowse: queries are VCS-specific
While we want to keep a consistent set of parameters across different VCSes, we cannot expect users of non-git VCSes to use the same parameter names which make sense for git users.
2016-04-05repobrowse: change Perl capitalization to "Repobrowse"
We mainly call it "repobrowse" (all lowercase), so do not imply it is two separate words by capitalizing "Browse".