[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: services: cgit, git-daemon: Add description and default value.
From: |
Ludovic Courtès |
Subject: |
07/08: services: cgit, git-daemon: Add description and default value. |
Date: |
Tue, 28 Nov 2017 17:36:32 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit a222b734b38f93b014b21e4d538002a5fec71b8a
Author: Ludovic Courtès <address@hidden>
Date: Tue Nov 28 23:24:17 2017 +0100
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 388038e..fce2ce1 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 cfc542f..83a13c1 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
- branch master updated (20d2c6e -> 3af03e5), Ludovic Courtès, 2017/11/28
- 05/08: tests: cgit: Add a file to the test repository., Ludovic Courtès, 2017/11/28
- 06/08: tests: Add 'git-http' test., Ludovic Courtès, 2017/11/28
- 08/08: services: certbot: Add default value and description., Ludovic Courtès, 2017/11/28
- 07/08: services: cgit, git-daemon: Add description and default value.,
Ludovic Courtès <=
- 02/08: services: Add certbot service., Ludovic Courtès, 2017/11/28
- 04/08: services: Add Git HTTP(S) service support., Ludovic Courtès, 2017/11/28
- 01/08: build: Add missing patch., Ludovic Courtès, 2017/11/28
- 03/08: doc: Create "Version Control Services" section., Ludovic Courtès, 2017/11/28