Browse Source

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.
version-0.14.0
Ludovic Courtès 5 years ago
parent
commit
a222b734b3
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 11
      gnu/services/version-control.scm
  2. 1
      po/packages/POTFILES.in

11
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.")))
;;;

1
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
Loading…
Cancel
Save