Commit a319a8ba authored by Antoine Catton's avatar Antoine Catton

Expose clone/push url

parent 55d2d89b
...@@ -2,6 +2,8 @@ $projectroot = '${git-repos:base-directory}'; ...@@ -2,6 +2,8 @@ $projectroot = '${git-repos:base-directory}';
$site_name = '${slap-parameter:title}'; $site_name = '${slap-parameter:title}';
our @git_base_url_list = qw(${:url-list});
# Beautiful URLs # Beautiful URLs
$feature{'pathinfo'}{'default'} = [1]; $feature{'pathinfo'}{'default'} = [1];
$feature{'blame'}{'default'} = [1]; $feature{'blame'}{'default'} = [1];
...@@ -48,6 +48,7 @@ port = 8080 ...@@ -48,6 +48,7 @@ port = 8080
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${template-gitweb-conf:location}/${template-gitweb-conf:filename} url = ${template-gitweb-conf:location}/${template-gitweb-conf:filename}
output = $${rootdirectory:etc}/gitweb.conf output = $${rootdirectory:etc}/gitweb.conf
url-list = http://[$${slap-network-information:global-ipv6}]:$${httpd-conf:port} git://[$${slap-network-information:global-ipv6}]
[gitweb-cgi] [gitweb-cgi]
recipe = slapos.recipe.template recipe = slapos.recipe.template
......
...@@ -27,7 +27,7 @@ mode = 0644 ...@@ -27,7 +27,7 @@ mode = 0644
[template-gitrepo] [template-gitrepo]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-gitrepo.cfg url = ${:_profile_base_location_}/instance-gitrepo.cfg
md5sum = 0e690b9a11010c1597efab0e3de2d224 md5sum = 15dd1b7ea3259197b847e94342adf872
output = ${buildout:directory}/template-gitrepo.cfg output = ${buildout:directory}/template-gitrepo.cfg
mode = 0644 mode = 0644
...@@ -44,7 +44,7 @@ md5sum = 5c720202053bfba06eec6e97d8d47cd0 ...@@ -44,7 +44,7 @@ md5sum = 5c720202053bfba06eec6e97d8d47cd0
[template-gitweb-conf] [template-gitweb-conf]
<= template-download <= template-download
filename = gitweb.conf.in filename = gitweb.conf.in
md5sum = 5132d919f94bdb014c03e348da723978 md5sum = 580d4bd2723f7e0a44ec8fc5b360b429
[template-git-http-backend-cgi] [template-git-http-backend-cgi]
<= template-download <= template-download
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment