guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Add "guix lint".


From: Cyril Roelandt
Subject: [PATCH 0/2] Add "guix lint".
Date: Tue, 22 Jul 2014 01:51:56 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]