[Top][All Lists]

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

guix lint questions

From: mikadoZero
Subject: guix lint questions
Date: Wed, 20 Mar 2019 22:08:06 -0400
User-agent: mu4e 1.0; emacs 26.1

I am preparing my first package.  I have questions about the output of
guix lint.

I have done:
`guix environment guix`
`./configure --localstatedir=/var`
`make check`

On a new git branch I have added emacs-ace-link to emacs-xyz.scm which

(define-public emacs-ace-link
    (name "emacs-ace-link")
    (version "0.5.0")
       (method url-fetch)
       (uri (string-append "";
                           version ".tar.gz"))
       (file-name (string-append name "-" version ".tar.gz"))
    (build-system emacs-build-system)
     `(("emacs-avy" ,emacs-avy)))
    (home-page "";)
    (synopsis "Quickly follow links in Emacs")
     "Currently, to jump to a link in a @file{Info-mode}, @file{help-mode}, 
@file{woman-mode}, @file{org-mode}, @file{eww-mode}, @file{compilation-mode}, 
@file{goto-address-mode} buffer, you can tab through the links to select the 
one you want.  This is an O(N) operation, where the N is the amount of links.  
This package turns this into an O(1) operation.  It does so by assigning a 
letter to each link using avy.")
    (license license:gpl3+)))

I have three questions about the output of:
`./pre-inst-env guix lint emacs-ace-link`

1)  What is the significance of:

;;; note: source file /home/guix/u/guix/guix/gnu/packages/image-processing.scm
;;;       newer than compiled 
;;; note: source file /home/guix/u/guix/guix/gnu/packages/image-processing.scm
;;;       newer than compiled 

This shows up many times for different scm files.

2)  How should this be addressed?

gnu/packages/emacs-xyz.scm:1099:5: address@hidden: the source URI should not b
e an autogenerated tarball

Line 1099 is referring to origin.

3)  How should this be addressed?

/home/guix/u/guix/guix/gnu/packages/emacs-xyz.scm:1095:2: address@hidden: line
 1113 is way too long (417 characters)

Line 1113 is referring to the text of the description.

Looking at other packages in emacs-xyz.scm there are other packages that
have longer descriptions than the one here for emacs-ace-link.

reply via email to

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