Date | Commit message (Collapse) |
|
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.
|
|
This shortens the code quite a bit at a negligible performance cost,
and the diffstat agrees.
|
|
For now, qspawn provides resource management for dealing with
expensive "git ls-tree" processes.
|
|
We'll be migrating away from it to minimize dependencies
and surprises, just like the rest of public-inbox did
several months ago.
|
|
We no longer display links to the "plain" and "log" views
from here, so reduce the padding used for this rarely-seen
type.
|
|
Show some diagnostic information for non-(blob|tree) objects
to perhaps help users figure out what to do with other objects.
|
|
This should increase visibility of actual executable files
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
We mainly call it "repobrowse" (all lowercase), so do not imply
it is two separate words by capitalizing "Browse".
|