guix-play/guix
Ludovic Courtès d10474c38d
lint: formatting: Gracefully handle relative file names.
Fixes <https://bugs.gnu.org/42543>.
Reported by Jack Hill <jackhill@jackhill.us>.

* guix/lint.scm (check-formatting): Always return a list (previously we
would return #f when 'search-path' returns #f).  Check whether
LOCATION's file is a relative file name.  Return a warning if not.
* tests/guix-lint.sh: Add test.
2020-08-23 23:05:16 +02:00
..
build build-system/haskell: Do not pass "--bindir" during configure. 2020-08-13 16:44:56 +02:00
build-system build-system/haskell: Add 'extra-directories' keyword. 2020-08-13 16:44:52 +02:00
import utils: Remove compatibility re-export of 'memoize'. 2020-07-25 19:11:36 +02:00
scripts scripts: Pass #:verbosity to 'build-notifier'. 2020-08-03 17:18:37 +02:00
store store: deduplication: Handle fs without d_type support. 2020-07-28 14:10:28 +02:00
tests tests: Move OpenPGP helpers to (guix tests gnupg). 2020-06-16 16:10:46 +02:00
base16.scm
base32.scm
base64.scm base64: Do not use (rnrs). 2019-12-15 00:34:05 +01:00
build-system.scm
bzr-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
cache.scm Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
channels.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
ci.scm ci: Add build-products id field and export accessors. 2020-06-15 15:34:19 +02:00
colors.scm ui: Don't disable colors when INSIDE_EMACS is set. 2020-02-24 11:01:52 +01:00
combinators.scm combinators: Fix typo. 2020-07-05 03:15:08 +05:30
config.scm.in Add (guix lzlib). 2019-05-06 23:21:33 +02:00
cpio.scm
cve.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
cvs-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
deprecation.scm deprecation: Add a two-element form for simple aliases. 2020-01-12 00:19:09 +01:00
derivations.scm Merge branch 'staging' into core-updates 2020-02-03 15:45:44 +01:00
describe.scm guix package: Save provenance information when using '--manifest'. 2019-12-29 18:24:54 +01:00
diagnostics.scm diagnostics: Add '&formatted-message'. 2020-07-25 19:11:36 +02:00
discovery.scm discovery: Fix typo. 2020-07-05 16:07:59 +05:30
docker.scm pack: Provide a meaningful "repository name" for Docker. 2019-09-16 10:25:31 +02:00
download.scm download: Add Savannah mirror. 2020-07-20 23:25:10 +02:00
elf.scm
ftp-client.scm
gexp.scm gexp: The result of 'imported-files/derivation' is non-substitutable. 2020-05-25 23:00:30 +02:00
git-authenticate.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
git-download.scm git-download: Don't verify X.509 certificate of SWH. 2020-07-10 00:11:00 +02:00
git.scm git: 'update-cached-checkout' has a new #:check-out? parameter. 2020-07-23 00:22:25 +02:00
glob.scm
gnu-maintenance.scm upstream: 'download-tarball' gracefully handles missing signatures. 2020-07-21 17:50:44 +02:00
gnupg.scm gnupg: Accept revoked keys. 2020-04-17 23:36:47 +02:00
grafts.scm grafts: Improve performance for derivations with many inputs. 2020-06-06 23:28:48 +02:00
graph.scm graph: Add 'shortest-path'. 2020-05-11 23:30:55 +02:00
hg-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
http-client.scm download: Do not leak file descriptors on TLS ports. 2020-01-03 16:06:26 +01:00
i18n.scm
inferior.scm utils: Move <location> and '&error-location' to (guix diagnostics). 2020-07-25 19:11:36 +02:00
json.scm json: Re-export 'define-json-mapping' from (json) when available. 2020-07-20 23:25:10 +02:00
licenses.scm licenses: Update Zlib license URL. 2020-05-15 12:27:22 +02:00
lint.scm lint: formatting: Gracefully handle relative file names. 2020-08-23 23:05:16 +02:00
lzlib.scm lzlib: Define 'dictionary-size+match-length-limit'. 2020-01-16 23:14:05 +01:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm nar: Use (guix i18n). 2020-06-18 14:48:17 +02:00
openpgp.scm openpgp: Use Libgcrypt's crc24 implementation. 2020-06-23 23:39:42 +02:00
packages.scm packages: Ensure bags are insensitive to '%current-system'. 2020-07-13 16:49:12 +02:00
pki.scm
profiles.scm utils: Move '&fix-hint' to (guix diagnostics). 2020-07-25 19:11:36 +02:00
profiling.scm
progress.scm Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
quirks.scm quirks: Adjust patch to allow traveling back to Dec. 2018. 2020-07-24 18:56:25 +02:00
records.scm records: Have ABI check work well for cross-compilation. 2020-04-08 00:05:45 +02:00
remote.scm Use 'formatted-message' instead of '&message' where appropriate. 2020-07-25 19:11:37 +02:00
repl.scm repl: Return stack traces along with exceptions. 2020-03-19 15:14:08 +01:00
scripts.scm scripts: Typo in args-fold*. 2020-07-12 10:07:59 +02:00
search-paths.scm
self.scm maint: Remove traces of "berlin.guixsd.org". 2020-07-10 00:11:00 +02:00
serialization.scm serialization: 'read-byte-string' makes a single read(2) call. 2020-01-24 23:56:43 +01:00
sets.scm
ssh.scm ssh: Really report Guile setup errors in 'send-files'. 2020-08-07 11:31:58 +02:00
status.scm status: Remove extra space before ellipsis. 2020-04-19 13:27:06 +02:00
store.scm store: Use '=' instead of 'eqv?'. 2020-06-26 16:19:53 +02:00
svn-download.scm guix: svn: Allow dropping externals. 2019-11-13 22:49:47 +01:00
swh.scm swh: Allow callers to disable X.509 certificate verification. 2020-07-10 00:11:00 +02:00
tests.scm packages: Introduce <content-hash> and use it in <origin>. 2020-05-22 01:29:39 +02:00
ui.scm ui: Report key-and-arg exceptions correctly. 2020-08-05 22:28:28 +02:00
upstream.scm upstream: Handle the case where the file name has no extension. 2020-07-27 13:35:49 +02:00
utils.scm utils: Add version-major+minor+point. 2020-08-17 07:57:23 +03:00
workers.scm
zlib.scm