all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Jeff Mickey <j@codemac.net>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add cscope
Date: Thu, 1 Oct 2015 11:24:10 +0200	[thread overview]
Message-ID: <idj8u7n3ps5.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <87lhboso90.fsf@codemac.net>

Hi,

> From 64a74d39d1d58c12806f3991afd5443d8d75bcd5 Mon Sep 17 00:00:00 2001
> From: Jeff Mickey <j@codemac.net>
> Date: Tue, 29 Sep 2015 18:07:44 -0700
> Subject: [PATCH] gnu: Add cscope

> * gnu/packages/cscope.scm: New file.
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.

I think this could better be added to the code.scm module rather than
getting its own module.  What do you think?

> +(define-public cscope
> +  (package
> +    (name "cscope")
> +    (version "15.8a")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://downloads.sourceforge.net/"

Please use “mirror://sourceforge...” if possible.

> +                                  name "/" name "-" version ".tar.gz"))
> +              (sha256
> +               (base32 "07jdhxvp3dv7acvp0pwsdab1g2ncxjlcf838lj7vxgjs1p26lwzb"))))

This line is too long.  I’m using fci-mode in Emacs to draw a line at
the position of the fill column, so it’s easy to tell if lines are too
long.

> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:configure-flags (list (string-append "--with-ncurses=" (assoc-ref %build-inputs "ncurses")))))

This line is also quite a bit too long.  You could easily break this up.

> +    (inputs `(("ncurses" ,ncurses)))
> +    (home-page "http://cscope.sourceforge.net")
> +    (synopsis "Tool for browsing source code, with ncurses and editor interfaces")

This synopsis is also a tad too long.

> +    (description "A tool for browsing source code. It has an information
> +database generated for faster searches and later reference, a fuzzy parser
> +that supports C, but is flexible enough to be useful for C++ and Java, and has
> +a command line mode for inclusion in scripts or as a backend to a
> +GUI/frontend.")

Please use two spaces between sentences.  Also, the first sentence
fragment should be a full sentence, such as

   “CScope is a tool for browsing source code...”

not

   “A tool for browsing source code.”

(I should say that to me it’s not obvious what this tool actually does.
Is it something like ctags?)

> +    (license license:bsd-3)))
> +

Okay.

~~ Ricardo

      parent reply	other threads:[~2015-10-01  9:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30  1:13 [PATCH] gnu: Add cscope Jeff Mickey
2015-09-30  1:19 ` Jeff Mickey
2015-10-01  9:11 ` Ludovic Courtès
2015-10-01 17:07   ` Mark H Weaver
2015-10-01  9:24 ` Ricardo Wurmus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=idj8u7n3ps5.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    --cc=j@codemac.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.