unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Add "guix lint".
@ 2014-07-21 23:51 Cyril Roelandt
  2014-07-21 23:51 ` [PATCH 1/2] scripts: add guix lint Cyril Roelandt
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Cyril Roelandt @ 2014-07-21 23:51 UTC (permalink / raw)
  To: guix-devel

Hello,

The first patch adds the "guix lint" command, that can be used to run a few
"checkers" on a given package, or on all defined packages. It can currently be
used to:
- warn users about input packages that should be native inputs (such as
  pkg-config);
- find stylistic issues in patch names;
- find stylistic issues in the synopses (trailing period, for instance).

Those checkers are not always right, but I think they might be useful to people
getting started with Guix packaging, as some of these issues have been raised
multiple times during patch reviews.

Other checkers may be added in the future, depending on our needs.

There are currently no tests; I'm willing to write them ASAP but wanted to get
some feedback first, especially because I'm not an experienced Guile programmer.

Cyril.
---

Cyril Roelandt (2):
  scripts: add guix lint
  gnu/packages: Remove trailing periods in some synopses.

 Makefile.am                |   1 +
 gnu/packages/fontutils.scm |   4 +-
 gnu/packages/gnome.scm     |   2 +-
 gnu/packages/lua.scm       |   2 +-
 gnu/packages/pdf.scm       |   2 +-
 gnu/packages/python.scm    |   4 +-
 gnu/packages/sdl.scm       |   2 +-
 guix/scripts/lint.scm      | 188 +++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 197 insertions(+), 8 deletions(-)
 create mode 100644 guix/scripts/lint.scm

-- 
1.8.4.rc3

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

end of thread, other threads:[~2014-09-01 21:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 23:51 [PATCH 0/2] Add "guix lint" Cyril Roelandt
2014-07-21 23:51 ` [PATCH 1/2] scripts: add guix lint Cyril Roelandt
2014-07-22  9:03   ` Ludovic Courtès
2014-07-22 13:38     ` Ludovic Courtès
2014-07-22 14:31     ` Eric Bavier
2014-07-22 15:26       ` Ludovic Courtès
2014-08-25  1:52     ` [PATCH] " Cyril Roelandt
2014-08-25 22:44       ` Ludovic Courtès
2014-09-01  0:39         ` [PATCH 1/2] Move specification->package to gnu/packages.scm Cyril Roelandt
2014-09-01  0:39           ` [PATCH 2/2] scripts: add guix lint Cyril Roelandt
2014-09-01 21:19             ` Ludovic Courtès
2014-09-01  8:55           ` [PATCH 1/2] Move specification->package to gnu/packages.scm Ludovic Courtès
2014-07-21 23:51 ` [PATCH 2/2] gnu/packages: Remove trailing periods in some synopses Cyril Roelandt
2014-07-22 19:27 ` [PATCH 0/2] Add "guix lint" Andreas Enge
2014-07-22 20:25   ` Ludovic Courtès

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).