9 Commits

Author SHA1 Message Date
Clark Boylan
684db551cf Enable cgit caching.
* 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
2013-08-19 12:56:54 -07:00
Elizabeth Krumbach Joseph
8dd215bece Add static web directory for cgit & initial files
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
2013-08-16 16:41:30 -07:00
Jenkins
a577234407 Merge "Cleanup cgit interface" 2013-08-15 15:56:02 +00:00
Jenkins
9631f49873 Merge "Add high max-repo-count for index page in cgit" 2013-08-15 15:54:29 +00:00
Jeremy Stanley
ef54ed93c9 Serve repos via git+https outside of cgit
* 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
2013-08-15 03:04:04 +00:00
Mathieu Gagné
0abefb0c28 Cleanup cgit interface
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
2013-08-14 18:06:43 -04:00
Elizabeth Krumbach Joseph
ff3ce8ec5a Add high max-repo-count for index page in cgit
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
2013-08-13 17:36:50 -07:00
Elizabeth Krumbach
8b81e9d213 Add httpd ssl support to git.openstack.org
Certificates have been added to hiera, now adding the support for
https in a new apache file.

Change-Id: I8447d60a15779b103556e53f04accf671dbf4843
2013-08-06 16:26:52 -07:00
Elizabeth Krumbach
52732dd550 Add cgit web service and git server
Define git.openstack.org server and deploy cgit web service with
Apache on CentOS.

Change-Id: Id3c7c870e25e4202915bc081454896895084f9af
2013-07-16 09:55:11 -07:00