mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
87dad874c9
commit
a222b734b3
2 changed files with 10 additions and 2 deletions
|
@ -156,7 +156,11 @@ (define git-daemon-service-type
|
|||
(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 @@ (define cgit-service-type
|
|||
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.")))
|
||||
|
||||
|
||||
;;;
|
||||
|
|
|
@ -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…
Reference in a new issue