[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49169] [PATCH v2 00/16] Removing input labels from package definiti
From: |
Ludovic Courtès |
Subject: |
[bug#49169] [PATCH v2 00/16] Removing input labels from package definitions |
Date: |
Wed, 30 Jun 2021 22:48:16 +0200 |
Hi!
This is an improved version of this patch series, with the following
changes:
• ‘guix style’ supports -e/--expression and
--input-simplification=POLICY. The latter allows users to ask
for input simplification even when labels don’t match package
names (this is useful in obvious cases where there’s a “libX11”
label for the “libx11” package, for instance.)
• I changed a few importers to emit simplified package inputs.
We’ll have to take care of the other importers eventually.
I plan to merge this series by the end of the week on ‘core-updates’.
The plan is to run ‘guix style’ (with no arguments: convert all the
packages as long as that does not involve a rebuild) towards the end
of the ‘core-updates’ cycle so as to minimize merge conflicts.
Thanks,
Ludo’.
Ludovic Courtès (16):
records: Support field sanitizers.
packages: Allow inputs to be plain package lists.
lint: Add 'input-labels' checker.
packages: Add 'lookup-package-input' & co.
packages: Add 'modify-inputs'.
gnu: Change inputs of core packages to plain lists.
utils: 'edit-expression' no longer leaks file ports.
utils: Add 'go-to-location' with source location caching.
utils: 'edit-expression' modifies the file only if necessary.
utils: 'edit-expression' copies part of the original source map.
Add 'guix style'.
packages: 'hidden-package' inherits the original package location.
import: pypi: Emit new-style package inputs.
import: cran: Emit new-style package inputs.
import: print: Emit new-style package inputs when possible.
import: elpa: Emit new-style package inputs.
.dir-locals.el | 6 +
Makefile.am | 2 +
doc/guix.texi | 208 ++++++++++++++--
gnu/packages/base.scm | 48 ++--
gnu/packages/guile.scm | 103 +++-----
gnu/packages/mes.scm | 25 +-
guix/import/cran.scm | 8 +-
guix/import/elpa.scm | 7 +-
guix/import/print.scm | 57 +++--
guix/import/pypi.scm | 15 +-
guix/lint.scm | 36 +++
guix/packages.scm | 146 +++++++++++-
guix/records.scm | 65 +++--
guix/scripts/style.scm | 527 +++++++++++++++++++++++++++++++++++++++++
guix/utils.scm | 151 +++++++++---
po/guix/POTFILES.in | 1 +
tests/cran.scm | 10 +-
tests/lint.scm | 14 ++
tests/packages.scm | 86 ++++---
tests/print.scm | 4 +-
tests/pypi.scm | 18 +-
tests/records.scm | 38 +++
tests/style.scm | 366 ++++++++++++++++++++++++++++
23 files changed, 1643 insertions(+), 298 deletions(-)
create mode 100644 guix/scripts/style.scm
create mode 100644 tests/style.scm
base-commit: 4c0cf61afd5ed62e830f2e87ef6b72505f2c303a
--
2.32.0
- [bug#49169] [PATCH 05/11] packages: Add 'modify-inputs'., (continued)
- [bug#49169] [PATCH 05/11] packages: Add 'modify-inputs'., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 09/11] utils: 'edit-expression' modifies the file only if necessary., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 06/11] gnu: Change inputs of core packages to plain lists., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 08/11] utils: Add 'go-to-location' with source location caching., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 10/11] utils: 'edit-expression' copies part of the original source map., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 11/11] Add 'guix style'., Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 00/11] Removing input labels from package definitions, Ludovic Courtès, 2021/06/22
- [bug#49169] [PATCH 00/11] Removing input labels from package definitions, Ludovic Courtès, 2021/06/27
- [bug#49169] [PATCH v2 00/16] Removing input labels from package definitions,
Ludovic Courtès <=
- [bug#49169] [PATCH v2 01/16] records: Support field sanitizers., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 03/16] lint: Add 'input-labels' checker., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 02/16] packages: Allow inputs to be plain package lists., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 04/16] packages: Add 'lookup-package-input' & co., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 05/16] packages: Add 'modify-inputs'., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 07/16] utils: 'edit-expression' no longer leaks file ports., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 06/16] gnu: Change inputs of core packages to plain lists., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 10/16] utils: 'edit-expression' copies part of the original source map., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 12/16] packages: 'hidden-package' inherits the original package location., Ludovic Courtès, 2021/06/30
- [bug#49169] [PATCH v2 13/16] import: pypi: Emit new-style package inputs., Ludovic Courtès, 2021/06/30