Make webassets packaging repo-path independent Gitiles' webassets genrule copied resources by stripping one path component from the source paths. That works when Gitiles is the main repository, where resource paths start with resources/..., but not when another Bzlmod build consumes Gitiles as a local external repository. In that case Bazel passes source paths below its external repository tree, so stripping one component leaves the wrong layout and the rule cannot cd into com/google/gitiles. Copy each source under the path segment after resources/com/google/gitiles/ instead. This preserves the existing archive layout for standalone Gitiles and allows Gerrit to source-build Gitiles from a modules/gitiles submodule while supplying its own JGit and java-prettify repositories. Change-Id: Iec8dbd92411d0fd5a5669035dadc6da231242fb8
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.
Use gerrit's issue tracker to file bugs.
Please refer to the Developer Guide.