unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Missing code comments in guix source: 2 examples from gnu/services
@ 2018-11-05  8:30 swedebugia
  2018-11-05  8:40 ` Gábor Boskovits
  0 siblings, 1 reply; 6+ messages in thread
From: swedebugia @ 2018-11-05  8:30 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Hi

Reading this 
http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/monitoring.scm

I would like to know what darkstat is without having to look elsewhere.

None of the (define-s have docstrings and the top comment

;;;
;;; darkstat
;;;

does not help much.

prometheus-node-exporter-shepherd-service is just as little documented 
in the same file. From the file I have no idea what this does as its 
only documentation is:

|(shepherd-service (documentation "Prometheus node exporter.")|

---

http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/admin.scm

Is generally a little better documented with docstrings. But here a 
header like

;;;
;;; darkstat
;;;

is missing for rottlog and also a short description of what rottlog 
does. (from the name and peeking at the code I'm guessing it rotates 
logs but many services have arbitrary names, especially to newcomers on 
GNU/Linux)

-- 
Cheers
Swedebugia


[-- Attachment #2: Type: text/html, Size: 2048 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-11-09  6:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05  8:30 Missing code comments in guix source: 2 examples from gnu/services swedebugia
2018-11-05  8:40 ` Gábor Boskovits
2018-11-05  9:14   ` swedebugia
2018-11-05 10:39     ` Gábor Boskovits
2018-11-06 14:15   ` Ludovic Courtès
2018-11-08 23:12     ` swedebugia

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).