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.master
parent
87dad874c9
commit
a222b734b3
|
@ -156,7 +156,11 @@
|
||||||
(service-extension account-service-type
|
(service-extension account-service-type
|
||||||
(const %git-daemon-accounts))
|
(const %git-daemon-accounts))
|
||||||
(service-extension activation-service-type
|
(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)))
|
(define* (git-daemon-service #:key (config (git-daemon-configuration)))
|
||||||
"Return a service that runs @command{git daemon}, a simple TCP server to
|
"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)
|
cgit-activation)
|
||||||
(service-extension nginx-service-type
|
(service-extension nginx-service-type
|
||||||
cgit-configuration-nginx-config)))
|
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.")))
|
||||||
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
|
|
|
@ -59,3 +59,4 @@ gnu/packages/wordnet.scm
|
||||||
gnu/packages/xiph.scm
|
gnu/packages/xiph.scm
|
||||||
gnu/services/base.scm
|
gnu/services/base.scm
|
||||||
gnu/services/networking.scm
|
gnu/services/networking.scm
|
||||||
|
gnu/services/version-control.scm
|
||||||
|
|
Reference in New Issue