guix-play/guix
Christopher Baines 38f3176a57
lint: Separate checkers by dependence on the internet.
I think there are a couple of potential uses for this. It's somewhat a
separation in to what checkers are just checking the contents of the
repository (line length for example), and other checkers which are bringing in
external information which could change.

I'm thinking particularly, about treating network dependent checkers
differently when automatically running them, but this commit also adds a
--no-network flag to guix lint, which selects the checkers that don't access
the network, which could be useful if no network access is available.

* guix/lint.scm (%checkers): Rename to %all-checkers.
(%local-checkers, %network-dependent-checkers): New variables.
* guix/scripts/lint.scm (run-checkers): Make the checkers argument mandatory.
(list-checkers-and-exit): Handle the checkers as an argument.
(%options): Adjust for changes to %checkers, add a --no-network option, and
change how the --list-checkers option is handled.
(guix-lint): Adjust indentation, and update how the checkers are handled.
2019-07-15 22:32:19 +01:00
..
build syscalls: Use 'define-as-needed' for 'AT_' constants introduced in Guile 2.2.5. 2019-07-15 10:00:12 +02:00
build-system Revert "guix: node-build-system: Use guile-json instead of a custom parser." 2019-07-14 20:18:07 +02:00
import import: pypi: Preserve package name case when forming pypi-uri. 2019-07-02 10:08:00 +09:00
scripts lint: Separate checkers by dependence on the internet. 2019-07-15 22:32:19 +01:00
store
tests
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm Add (guix bzr-download). 2019-05-09 00:22:37 -04:00
cache.scm
channels.scm channels: Avoid use of 'derivation-input-path'. 2019-07-15 10:01:05 +02:00
ci.scm
colors.scm
combinators.scm
config.scm.in Add (guix lzlib). 2019-05-06 23:21:33 +02:00
cpio.scm
cve.scm
cvs-download.scm
deprecation.scm deprecation: Use the 'warning' procedure for diagnostics. 2019-06-03 23:18:47 +02:00
derivations.scm gexp: 'lowered-gexp-guile' now returns a <derivation-input>. 2019-07-15 10:01:05 +02:00
describe.scm
diagnostics.scm Add (guix diagnostics). 2019-06-03 23:18:47 +02:00
discovery.scm discovery: Handle edge case in scheme-files when looking at symlinks. 2019-07-08 17:04:35 +01:00
docker.scm pack: 'docker' backend records the profile's search paths. 2019-07-04 18:05:02 +02:00
download.scm download: Use the new 'derivation' calling convention. 2019-07-15 10:01:05 +02:00
elf.scm
ftp-client.scm
gexp.scm gexp: 'lowered-gexp-guile' now returns a <derivation-input>. 2019-07-15 10:01:05 +02:00
git-download.scm guix: git-download: Remove explicit import. 2019-06-06 20:35:54 +02:00
git.scm
glob.scm
gnu-maintenance.scm gnu-maintenance: Switch to ftp.mirrorservice.org for KDE updater. 2019-06-10 13:58:24 +02:00
gnupg.scm
grafts.scm grafts: 'references-oracle' now takes a derivation input. 2019-07-02 18:33:51 +02:00
graph.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm inferior: Add 'read-repl-response'. 2019-07-04 18:05:02 +02:00
licenses.scm licenses: Add Historical Permission Notice and Disclaimer license 2019-06-20 18:24:49 +02:00
lint.scm lint: Separate checkers by dependence on the internet. 2019-07-15 22:32:19 +01:00
lzlib.scm lzlib: 'make-lzip-input-port' better handles end of decompression. 2019-06-01 15:26:30 +02:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm nar: Really lock store files. 2019-06-05 23:10:37 +02:00
packages.scm
pki.scm
profiles.scm profiles: Adjust packages->manifest pattern for inferior packages. 2019-07-03 12:03:07 +02:00
profiling.scm
progress.scm progress: Call 'time-difference' on times of the same type. 2019-06-24 23:10:13 +02:00
records.scm
remote.scm remote: Make sure the user doesn't mess up with the REPL protocol. 2019-07-15 18:27:22 +02:00
repl.scm Add (guix repl). 2019-07-04 18:05:02 +02:00
scripts.scm
search-paths.scm
self.scm self: Ship the (gnu machine …) modules. 2019-07-06 20:08:35 -04:00
serialization.scm
sets.scm
ssh.scm ssh: Add 'identity' keyword to 'open-ssh-session'. 2019-07-06 02:09:58 -04:00
status.scm
store.scm store: 'run-with-store' gracefully deals with #f store. 2019-07-05 00:51:17 +02:00
svn-download.scm
swh.scm
tests.scm lzlib: Add 'make-lzip-input-port/compressed'. 2019-05-27 22:47:24 +02:00
ui.scm guix gc: Correctly handle '--delete-generations' with no arguments. 2019-07-11 23:13:26 +02:00
upstream.scm
utils.scm utils: canonical-newline-port: Fix handling of carriage return at buffer end. 2019-06-20 14:07:01 +02:00
workers.scm
zlib.scm