aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-28 23:24:17 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-28 23:34:25 +0100
commita222b734b38f93b014b21e4d538002a5fec71b8a (patch)
tree89d07b2cbcca0821828b3e16c1aa647d0fd622a9
parent87dad874c929702192ece2d38a7a583b8202f348 (diff)
downloadguix-a222b734b38f93b014b21e4d538002a5fec71b8a.tar
guix-a222b734b38f93b014b21e4d538002a5fec71b8a.tar.gz
services: cgit, git-daemon: Add description and default value.
* gnu/services/version-control.scm (git-daemon-service-type) [description, default-value]: New fields. (cgit-service-type)[default-value]: New field. * po/packages/POTFILES.in: Add version-control.scm.
-rw-r--r--gnu/services/version-control.scm11
-rw-r--r--po/packages/POTFILES.in1
2 files changed, 10 insertions, 2 deletions
diff --git a/gnu/services/version-control.scm b/gnu/services/version-control.scm
index 388038e7bc..fce2ce1c25 100644
--- a/gnu/services/version-control.scm
+++ b/gnu/services/version-control.scm
@@ -156,7 +156,11 @@
(service-extension account-service-type
(const %git-daemon-accounts))
(service-extension activation-service-type
- git-daemon-activation)))))
+ git-daemon-activation)))
+ (description
+ "Expose Git respositories over the insecure @code{git://} TCP-based
+protocol.")
+ (default-value (git-daemon-configuration))))
(define* (git-daemon-service #:key (config (git-daemon-configuration)))
"Return a service that runs @command{git daemon}, a simple TCP server to
@@ -259,7 +263,10 @@ access to exported repositories under @file{/srv/git}."
cgit-activation)
(service-extension nginx-service-type
cgit-configuration-nginx-config)))
- (default-value (cgit-configuration))))
+ (default-value (cgit-configuration))
+ (description
+ "Run the Cgit web interface, which allows users to browse Git
+repositories.")))
;;;
diff --git a/po/packages/POTFILES.in b/po/packages/POTFILES.in
index cfc542f50e..83a13c1dab 100644
--- a/po/packages/POTFILES.in
+++ b/po/packages/POTFILES.in
@@ -59,3 +59,4 @@ gnu/packages/wordnet.scm
gnu/packages/xiph.scm
gnu/services/base.scm
gnu/services/networking.scm
+gnu/services/version-control.scm