From a222b734b38f93b014b21e4d538002a5fec71b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 28 Nov 2017 23:24:17 +0100 Subject: 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. --- gnu/services/version-control.scm | 11 +++++++++-- po/packages/POTFILES.in | 1 + 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 -- cgit v1.2.3