We have almost 500 git repositories now, bump up number of repos
shown on git.openstack.org/cgit/ from 400 to 600 to show them all
Change-Id: I374ba5a54862030385a14656a762782fa9b684a3
* modules/openstack_project/files/git/cgitrc: The dumb HTTP protocol
support in cgit is an attractive nuisance and source of surprising
random errors for users who misconfigure their repositories to use
it as a remote. We provide a separate smart HTTP backend and
configure cgit to list that as the clone URL anyway, so the default
enable-http-clone is disabled to avoid further accidental use.
Change-Id: Iacc34ba51cd835f7e999b753e06ef6eea41630df
* modules/cgit/manifests/init.pp: Add highlight package
dependency to cgit server
* modules/openstack_project/files/git/cgitrc: Enable syntax
highlighting option
* modules/openstack_project/files/git/openstack.css: Add basic
syntax highlighting, copied from CSS that used to ship with
cgit by default
Closes-Bug: #1228361
Change-Id: Ic496215b5782527ac8159dedf639e549debeed2b
A commit-filter adds the ability to format commit messages.
This commit-filter automatically adds links for:
- Change-id: Link to the change on review.o.o
- SHA1 hash: Link to the git commit on git.o.o
- Bug: Link to the bug on launchpad.net
- Blueprint: Link to the blueprint on launchpad.net
Change-Id: If8916948ca154e6957efb005d35812ae097721b7
* modules/openstack_project/files/cgitrc: Allow 1000 cache entries. Set
TTL for dynamic pages, repo summary pages, and the cgit front page to
one minute. Rely on the cache defaults for other pages. The various
options and their defaults can be viewed in cgitrc(5).
Change-Id: I49192b1ac43446a54b8ae98a44df5860bbafe1e0
Create and define a static directory for cgit to use.
Add initial favicon and logo files and include in cgitrc.
Also include custom CSS and background image.
Change-Id: If1e20d8e62557cc90aafbf92f4291b964400e029
* modules/cgit/templates/git.vhost.erb: Add Apache aliases to the
git-http-backend CGI and static git files where possible. This makes
git clone, pull and fetch HTTPS URLs more consistent with their git
protocol counterparts.
* modules/openstack_project/files/git/cgitrc: Adjust the displayed
HTTPS clone URL in the WebUI to match.
Change-Id: Ibb4fd41191f33b615ed36f78e1951555a1c0dad1
Cleanup UI by disabling useless elements:
- Disable ASCII art commit history graph on the log pages
- Do not show number of affected files per commit on the log pages
- Do not show number of affected lines per commit on the log pages
- Do not show owner for each repository on the index page
- Remove generic description on repository index page
Change-Id: I4df3f24ed9b6b160ecf4aebe8c1fdfb1a339accc
By default max-repo-count is set to 50, which causes multiple pages
of results for cgit. Bumping it up to 250 so that all current
projects all show up on the front page.
Change-Id: I527d0128e5376a8d61072fed4a7bb139558b12f6