diff options
Diffstat (limited to 'server/setup/05-service-settings/srv')
-rw-r--r-- | server/setup/05-service-settings/srv/scm/gitweb.conf | 20 | ||||
-rw-r--r-- | server/setup/05-service-settings/srv/www/cgit/cgitrc | 59 |
2 files changed, 59 insertions, 20 deletions
diff --git a/server/setup/05-service-settings/srv/scm/gitweb.conf b/server/setup/05-service-settings/srv/scm/gitweb.conf deleted file mode 100644 index 36056e0..0000000 --- a/server/setup/05-service-settings/srv/scm/gitweb.conf +++ /dev/null @@ -1,20 +0,0 @@ - -$git_temp = "/tmp"; - -# The directories where your projects are. Must not end with a slash. -$projectroot = "/srv/scm"; - -# Base URLs for links displayed in the web interface. -our @git_base_url_list = qw(git://jausoft.com/srv/scm http://jausoft.com/srv/scm); - -$feature{'blame'}{'default'} = [1]; -$feature{'blame'}{'override'} = 1; - -$feature{'pickaxe'}{'default'} = [1]; -$feature{'pickaxe'}{'override'} = 1; - -$feature{'snapshot'}{'default'} = ['']; -#$feature{'snapshot'}{'default'} = ['tbz2']; -#$feature{'snapshot'}{'default'} = ['tbz2', 'tgz', 'zip', 't7z']; -#$feature{'snapshot'}{'override'} = 2; - diff --git a/server/setup/05-service-settings/srv/www/cgit/cgitrc b/server/setup/05-service-settings/srv/www/cgit/cgitrc new file mode 100644 index 0000000..eb9f812 --- /dev/null +++ b/server/setup/05-service-settings/srv/www/cgit/cgitrc @@ -0,0 +1,59 @@ +# +# cgit config +# see cgitrc(5) for details + +css=/cgit-css/cgit.css +logo=/images/jogamp_symbols/website_final_blue_jogamp_346x70pel.png +favicon=/SocialCoding/logo_symbol_finals/website_final_blue_favicon_symbol_16x16pel.ico + +# Following lines work with the above Apache config +#css=/cgit-css/cgit.css +#logo=/cgit-css/cgit.png + +# Allow http transport git clone +enable-http-clone=1 + +# if you do not want that webcrawler (like google) index your site +#robots=noindex, nofollow + +source-filter=/srv/www/cgit/filters/syntax-highlighting-edited.sh + +# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value: +virtual-root=/cgit/ + +# Enable caching of up to 1000 output entries +cache-size=1000 + +# Specify some default clone urls using macro expansion +clone-url=http://jogamp.org/cgit/$CGIT_REPO_URL git://jogamp.org/cgit/$CGIT_REPO_URL + +# Show extra links for each repository on the index page +enable-index-links=1 + +# Enable ASCII art commit history graph on the log pages +enable-commit-graph=1 + +# Show number of affected files per commit on the log pages +enable-log-filecount=1 + +# Show number of added/removed lines per commit on the log pages +enable-log-linecount=1 + +# Enable statistics per week, month and quarter +max-stats=quarter + +# Set the title and heading of the repository index page +root-title=JogAmp Git Repositories + +# Set a subheading for the repository index page +root-desc=tracking our artifacts, decentralised + +# Include some more info about example.com on the index page +#root-readme=/srv/www/jogamp.org + +enable-index-owner=0 +enable-git-config=1 + +repo.snapshots=0 + +scan-path=/srv/scm/ |