Commit graph

374 commits

Author SHA1 Message Date
Maxim Cournoyer
0d353b06ec
build: Make doc-po-update and doc-pot-update targets idempotent.
It used to be that the running the doc-po-update and doc-pot-update targets
would redo the same work on every run.  This change splits the problem in
smaller chunks and specifies build dependencies in a way that outputs only get
rebuilt when their inputs changed.

* po/doc/local.mk (DOC_PO_FILES): Harmonize escapes.
(POT_OPTIONS): Re-indent uniformly.
(doc-po-update-%, doc-po-update-cookbook-%): Re-implement with...
(make-update-po-files-rule): ... this new function.
(TMP_POT_FILES): Remove variable.
(%D%/%.pot, %D%/guix-manual.pot): New pattern rules.
(doc-pot-update, doc-po-update): Adjust prerequisites accordingly.
2021-04-29 15:30:27 -04:00
Maxim Cournoyer
eaf79d319d
build: Build the guix.pot-update and contributing.pot-update targets only once.
* po/doc/local.mk (doc-pot-update): Fix an issue where guix.pot-update an
contributing.pot-update were built twice.
2021-04-29 14:09:23 -04:00
Ludovic Courtès
9a618ee199
po: Remove file that no longer exists.
This is a followup to d95168321f.

* po/guix/POTFILES.in: Remove guix/scripts/import/nix.scm.
2021-04-25 14:34:23 +02:00
Julien Lepiller
1eb26d0e07
nls: Fix Chinese cookbook inclusion.
* po/doc/local.mk: zh_Hans is for the cookbook, not the manual.
2021-04-18 22:29:44 +02:00
Julien Lepiller
a209c597e2
nls: Remove 'vi' in LINGUAS
The po file is no longer available.

* po/packages/LINGUAS: Remove 'vi'.
2021-04-18 21:07:24 +02:00
Julien Lepiller
0cfe02cf55
nls: Update 'ru' translation. 2021-04-18 13:18:34 +02:00
Julien Lepiller
8830930e2b
nls: Add Chinese (Traditional) translation.
* po/doc/guix-cookbook.zh_Hans.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add it.
2021-04-18 13:18:29 +02:00
Julien Lepiller
2fd9582558
nls: Add Russian translation.
* po/guix/ru.po: New file.
* po/guix/LINGUAS: Add 'ru'.
2021-04-18 13:18:26 +02:00
Julien Lepiller
e18a3020f4
nls: Add Dutch translation.
* po/guix/nl.po: New file.
* po/guix/LINGUAS: Add 'nl'.
2021-04-18 13:18:24 +02:00
Julien Lepiller
0f355124af
nls: Add Korean translation.
* po/doc/guix-cookbook.ko.po: New file.
* po/doc/guix-manual.ko.po: New file.
* doc/local.mk (info_TEXINFOS): Add them.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* po/guix/ko.po: New file.
* po/guix/LINGUAS: Add 'ko'.
* po/packages/ko.po: New file.
* po/packages/LINGUAS: Add 'ko'.
2021-04-18 13:18:22 +02:00
Julien Lepiller
d2d6c20fee
nls: Add Italian translation.
* po/doc/guix-manual.it.po: New file.
* po/doc/local.mk (DOC_PO_FILES): Add it.
* doc/local.mk (info_TEXINFOS): Add it.
* po/guix/it.po: New file.
* po/guix/LINGUAS: Add 'it'.
2021-04-18 13:18:20 +02:00
Julien Lepiller
43fb84da67
nls: Add Persian translation.
* po/packages/fa.po: New file.
* po/packages/LINGUAS: Add 'fa'.
* po/doc/guix-cookbook.fa.po: New file.
* po/doc/guix-manual.fa.po: New file.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* doc/local.mk (info_TEXINFOS): Add them.
2021-04-18 13:18:17 +02:00
Julien Lepiller
25bd0aefe5
nls: Update 'sk' translation. 2021-04-18 13:18:15 +02:00
Julien Lepiller
77c6c0aa57
nls: Add Slovak translation.
* po/packages/sk.po: New file.
* po/packages/LINGUAS: Add 'sk'.
* po/doc/guix-manual.sk.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_PO_FILES): Add it.
2021-04-18 13:18:13 +02:00
Julien Lepiller
5cb08cca27
nls: Update 'pt_BR' translation. 2021-04-18 13:18:11 +02:00
Julien Lepiller
c3eaff8a21
nls: Add Portuguese (Brazil) translation of the manual. 2021-04-18 13:18:08 +02:00
Julien Lepiller
a36ffecfd7
nls: Update 'vi' translation. 2021-04-18 13:18:06 +02:00
Julien Lepiller
89162676b5
nls: Remove Vietnamese translations of packages.
No translated string is used in Guix anymore.
2021-04-18 13:18:04 +02:00
Julien Lepiller
5d1f110b45
nls: Update 'zh_CN' translations. 2021-04-18 13:18:02 +02:00
Julien Lepiller
0ff1d5ac7e
nls: Update 'ta' translation. 2021-04-18 13:18:00 +02:00
Julien Lepiller
49e6cf58af
gnu: Update 'sv' translation. 2021-04-18 13:17:58 +02:00
Julien Lepiller
de4617105c
nls: Update 'sr' translations. 2021-04-18 13:17:56 +02:00
Julien Lepiller
8a0195fcad
nls: Update 'pl' translations. 2021-04-18 13:17:53 +02:00
Julien Lepiller
4f35328689
nls: Update 'hu' translations. 2021-04-18 13:17:51 +02:00
Julien Lepiller
ff7309b001
nls: Update 'da' translations. 2021-04-18 13:17:49 +02:00
Julien Lepiller
8b6b62e0fd
nls: Update 'cs' translation. 2021-04-18 13:17:46 +02:00
Julien Lepiller
70250e1853
nls: Update 'eo' translations. 2021-04-18 13:17:43 +02:00
Julien Lepiller
959eca8a92
nls: Update 'es' translations. 2021-04-18 13:17:40 +02:00
Julien Lepiller
2a18bcbfd3
nls: Update 'de' translations. 2021-04-18 13:17:37 +02:00
Julien Lepiller
5ebe6904ea
nls: Update 'fr' translations. 2021-04-18 13:17:35 +02:00
Julien Lepiller
58c5911652
nls: Add French translation of the cookbook. 2021-04-18 13:17:31 +02:00
Julien Lepiller
9b976cfe1d
nls: Add Slovak translation.
* po/guix/LINGUAS: Add 'sk'.
* po/guix/sk.po: New file.
2021-04-13 14:28:01 +02:00
Katherine Cox-Buday
02e2e093e8
import: Add Go importer.
This patch adds a 'guix import go' command.

* doc/guix.texi (Requirements): Mention Guile-Lib dependency.
(Invoking guix import): Document 'guix import go'.
* gnu/packages/package-management.scm (guix)[inputs, propagated-inputs]:
Add GUILE-LIB.
* guix/self.scm (compiled-guix)[guile-lib]: New variable.
[dependencies]: Add it.
(specification->package): Add "guile-lib".
* guix/build-system/go.scm (go-version->git-ref): New procedure.
* guix/import/go.scm, guix/scripts/import/go.scm, tests/go.scm: New files.
* guix/scripts/import.scm: Declare subcommand guix import go
* po/guix/POTFILES.in: Add 'guix/scripts/import/go.scm'.
* Makefile.am (MODULES): Add 'guix/import/go.scm' and
'guix/scripts/import/go.scm'.
(SCM_TESTS): Add 'tests/go.scm'.

Co-Authored-By: Helio Machado <0x2b3bfa0@gmail.com>
Co-Authored-By: Francois Joulaud <francois.joulaud@radiofrance.com>
Co-Authored-By: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-Authored-by: Ludovic Courtès <ludo@gnu.org>
2021-03-10 18:01:48 +01:00
Simon South
db6b9d2f4b
services: Add transmission-daemon service.
* gnu/services/file-sharing.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* po/packages/POTFILES.in: Add it.
* tests/services/file-sharing.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* doc/guix.texi (File-Sharing Services): New section.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-02-12 15:11:36 +08:00
Julien Lepiller
a00af77904
nls: Update 'fr' translation. 2021-01-28 16:41:18 +01:00
Ludovic Courtès
02e5c95db9
Revert "nls: Update 'fr' translation."
This reverts commit 5d03ef73c3, which led
to these errors:

  /gnu/store/…-guix/fr.po:7206: 'msgstr' is not a valid Scheme format string, unlike 'msgid'. Reason: In the directive number 3, the character ' ' is not a valid conversion specifier.
  /gnu/store/…-guix/fr.po:7554: format specifications in 'msgid' and 'msgstr' are not equivalent
  /gnu/store/…-gettext-minimal-0.20.1/bin/msgfmt: found 2 fatal errors
2021-01-22 08:48:00 +01:00
Julien Lepiller
5d03ef73c3
nls: Update 'fr' translation. 2021-01-22 00:31:28 +01:00
Christopher Baines
681af17460
guix: Move narinfo code from substitute script to module.
This separation between the code for dealing with narinfos from the code doing
that for a purpose should make things clearer, and better support components
other that the substitute script in using this code.

This is just moving the code around, no code should have been significantly
changed.

* guix/scripts/substitute.scm (<narinfo>): Move record type to (guix narinfo).
(fields->alist, narinfo-hash-algorithm+value, narinfo-hash->sha256,
narinfo-signature->canonical-sexp, narinfo-maker, read-narinfo,
narinfo-sha256, valid-narinfo?, write-narinfo, narinfo->string,
string->narinfo, equivalent-narinfo?, supported-compression?,
compresses-better?, narinfo-best-uri): Move procedures to (guix narinfo).
(%compression-methods): Move variable to (guix narinfo).
* guix/narinfo.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add 'guix/narinfo.scm'.
2021-01-16 11:51:03 +00:00
Mathieu Othacehe
8361817bf6
install: Discover local substitute servers.
* gnu/installer/substitutes.scm: New file.
* gnu/installer/newt/substitutes.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add them.
* po/guix/POTFILES.in: Add gnu/installer/newt/substitutes.scm.
* gnu/installer/proxy.scm (with-silent-shepherd): Move to ...
* gnu/installer/utils.scm: ... here.
* gnu/installer/record.scm (<installer>)[substitutes-page]: New field.
* gnu/installer/newt.scm (substitutes-page): New procedure,
(newt-installer): register it.
* gnu/installer.scm (installer-steps): Add "substitutes-page" step.
* gnu/system/install.scm (%installation-services): Add avahi-service-type and
enable substitute server discover in guix-service-type.
[<name-service-switch>]: Set it to %mdns-host-lookup-nss.
2020-12-11 21:37:07 +01:00
Ludovic Courtès
41fb3d5a9a
nls: Update 'fr' translation of the manual. 2020-12-03 16:18:45 +01:00
Ludovic Courtès
cf53ea79dd
nls: Update 'fr' translation of the manual. 2020-11-21 15:49:36 +01:00
Miguel Ángel Arruga Vivas
c1eb04e6fd
nls: Update add missing script files.
* po/guix/POTFILES.in: Add missing script files.
2020-11-18 21:01:35 +01:00
Ludovic Courtès
ef1107e2cc
nls: Update string translations. 2020-11-12 10:13:45 +01:00
Ludovic Courtès
7547be7d99
nls: Update translations of the manual. 2020-11-12 10:12:45 +01:00
Julien Lepiller
74fdbbfaad
nls: Update translations of the manual. 2020-11-12 09:39:17 +01:00
Julien Lepiller
e55f6418cd
nls: Update 'ta' translation. 2020-11-12 09:39:10 +01:00
Tobias Geerinckx-Rice
1aced9aa0c
nls: Fix Texinfo typo.
* po/doc/guix-manual.de.po: Fix ‘@sasmp{}’ that broke ‘make’.
2020-11-03 13:30:23 +01:00
Julien Lepiller
595cd9cdb9
nls: Update translations of the manual. 2020-11-03 12:47:43 +01:00
Ludovic Courtès
0dc89c0368
nls: Internationalize command synopses as shown in 'guix help'.
This is a followup to 3794ce93be.

* po/guix/Makevars (XGETTEXT_OPTIONS): Add '--keyword=synopsis'.
2020-11-03 11:58:00 +01:00
Florian Pelz
86e878f107
nls: Update ‘de’ cookbook translation. 2020-11-01 12:52:59 +00:00
Ludovic Courtès
f68b3ba12d
guix build: Move transformation options to (guix transformations).
* guix/transformations.scm: New file.
* tests/scripts-build.scm: Rename to...
* tests/transformations.scm: ... this.
* Makefile.am (MODULES): Add 'guix/transformations.scm'.
(SCM_TESTS): Adjust to rename.
* guix/scripts/build.scm (numeric-extension?)
(tarball-base-name, <downloaded-file>, download-to-store*)
(compile-downloaded-file, package-with-source)
(transform-package-source, evaluate-replacement-specs)
(transform-package-inputs, transform-package-inputs/graft)
(%not-equal, package-git-url, evaluate-git-replacement-specs)
(transform-package-source-branch, transform-package-source-commit)
(transform-package-source-git-url, package-dependents/spec)
(package-toolchain-rewriting, transform-package-toolchain)
(transform-package-with-debug-info, transform-package-tests)
(%transformations, transformation-procedure, %transformation-options)
(show-transformation-options-help, options->transformation)
(package-transformations): Move to (guix transformations).
* guix/scripts/environment.scm: Adjust accordingly.
* guix/scripts/graph.scm: Likewise.
* guix/scripts/install.scm: Likewise.
* guix/scripts/pack.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/upgrade.scm: Likewise.
* po/guix/POTFILES.in: Add 'guix/transformations.scm'.
2020-10-31 23:16:43 +01:00
Miguel Ángel Arruga Vivas
aecbff83b0
nls: Update 'es' translation. 2020-10-30 13:12:53 +01:00
Julien Lepiller
61e839a9f9
nls: Update 'fr' translation of the manual. 2020-10-30 00:59:37 +01:00
Julien Lepiller
759774bc69
nls: Update 'ru' translation of the manual. 2020-10-29 20:19:05 +01:00
Ludovic Courtès
b35550c3d8
nls: Update. 2020-10-27 00:40:24 +01:00
Ludovic Courtès
4dd989708c
nls: Update manual translations. 2020-10-16 15:00:49 +02:00
Ludovic Courtès
a743b04a41
nls: Update. 2020-10-16 15:00:49 +02:00
Ludovic Courtès
f43ffee908
gexp: 'local-file' warns when passed a non-literal relative file name.
Fixes <https://bugs.gnu.org/43736>.
Reported by Vitaliy Shatrov <guix.vits@disroot.org>.

* guix/gexp.scm (%local-file): Add #:literal? and #:location.
Emit a warning when LITERAL? is false and FILE is not absolute.
(local-file): In the non-literal case, pass #:location and #:literal?.
* po/guix/POTFILES.in: Add guix/gexp.scm.
* tests/guix-system.sh: Add test for the warning.
2020-10-02 08:11:38 +02:00
Julien Lepiller
ac324be105
nls: Fix copyright and bug address in pot files.
* po/guix/Makevars: Fix COPYRIGHT_HOLDER and MSGID_BUGS_ADDRESS.
* po/packages/Makevars: idem.
2020-09-29 15:40:25 +02:00
Julien Lepiller
c69156fc89
nls: Fix documentation pot generation.
* po/doc/local.mk: Fix POT_OPTIONS to properly assign copyright and
define the proper license.
2020-09-29 15:33:20 +02:00
Ludovic Courtès
e095c73ea0
nls: Update 'fr' translation. 2020-07-27 12:06:37 +02:00
Ludovic Courtès
a98712785e
Add 'guix git authenticate'.
* guix/scripts/git.scm, guix/scripts/git/authenticate.scm,
tests/guix-git-authenticate.sh: New files.
* Makefile.am (MODULES): Add the *.scm files.
(SH_TESTS): Add 'tests/guix-git-authenticate.sh'.
* doc/guix.texi (Channels)[Specifying Channel Authorizations]: Mention
'guix git authenticate'.
(Invoking guix git authenticate): New node.
* po/guix/POTFILES.in: Add 'guix/scripts/git.scm' and
'guix/scripts/git/authenticate.scm'.
2020-07-11 12:33:01 +02:00
Ludovic Courtès
0701274446
nls: Update. 2020-05-05 23:45:56 +02:00
Ludovic Courtès
2b29219370
nls: Update. 2020-04-14 13:01:58 +02:00
Ludovic Courtès
935ef44b39
nls: Update. 2020-04-12 00:18:05 +02:00
Mathieu Othacehe
ee0ad7803c
installer: Add proxy support.
* gnu/installer/proxy.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer/newt/parameters.scm (run-proxy-page): New procedure,
(run-parameters-page): add the previous procedure to the parameters menu.
2020-04-08 10:24:02 +02:00
Mathieu Othacehe
07a53bd512
installer: Turn help menu into parameters menu.
* gnu/local.mk (INSTALLER_MODULES): Rename help.scm into parameters.scm.
* po/guix/POTFILES.in: Ditto.
* gnu/installer/record.scm (<installer>): Rename help-menu into parameter-menu
and help-page into parameters-page.
* gnu/installer/newt/parameters.scm: Renamed from help.scm. Update information
messages.
* gnu/installer/newt.scm: Update accordingly.
* gnu/installer/newt/keymap.scm: Ditto.
2020-04-08 10:24:02 +02:00
Mathieu Othacehe
786c9c39bc
installer: Add a help page.
* gnu/installer/newt/help.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer/record.scm (<installer>): Add 'help-menu' and 'help-page'
 fields,
 (installer-help-menu, installer-help-page): new exported procedures.
 * gnu/installer/newt.scm (init): Set the help line,
 (help-menu, help-page): new procedures used ...
 (newt-installer): ... here.
 * gnu/installer/newt/keymap.scm (run-layout-page): Add a context argument to
 differenciate the help context from the main one,
 (run-keymap-page): add a context argument and pass it to run-layout-page.
 * gnu/installer.scm (compute-keymap-step): Add a context argument and pass it
 to 'installer-keymap-page',
 (installer-steps): set the help menu and pass the appropriate context to
 compute-keymap-step calls,
 (guile-newt): update to revision 2.
2020-04-06 15:06:03 +02:00
Julien Lepiller
725862ef53
nls: Add Tamil translation.
* po/guix/LINGUAS: Add 'ta'.
* po/guix/ta.po: New file.
2020-04-02 14:57:37 +02:00
Ludovic Courtès
86603d8660
nls: Update. 2020-03-23 00:06:58 +01:00
Florian Pelz
895e6e8af6
doc: Fix build of German Cookbook translation.
This is a follow-up to f98e83a17f.
See <https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00095.html>.
Reported there by Vagrant Cascadian <vagrant@debian.org>.

* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Use correct file name.
(doc-po-update-cookbook-%): Use correct PO file name.
2020-03-06 20:50:18 +00:00
Florian Pelz
f98e83a17f
doc: Add German Cookbook translation.
* doc/local.mk (info_TEXINFOS): Add guix-cookbook.de.texi.
(TRANSLATED_INFO): Add guix-cookbook.de.texi.
* po/doc/guix-cookbook.de.po: New file.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add guix-cookbook.de.po.
2020-02-17 06:52:11 +00:00
Christopher Baines
57718bdf68
Revert "nls: Update 'es' translation of the manual."
I believe this change breaks guix pull:

  ./guix.es.texi:20971: @samp missing closing brace

This reverts commit d156e3fbcd.
2020-02-14 09:01:29 +00:00
Julien Lepiller
7bdb1988ae
nls: Update 'fr' translation. 2020-02-14 04:45:59 +01:00
Julien Lepiller
561185d279
nls: Update 'de' translation of the manual. 2020-02-14 04:45:56 +01:00
Julien Lepiller
d156e3fbcd
nls: Update 'es' translation of the manual. 2020-02-14 04:45:53 +01:00
Julien Lepiller
ade16123dc
nls: Update 'pt_BR' translation. 2020-02-14 04:45:36 +01:00
Ludovic Courtès
11da634a6e
Merge branch 'master' into core-updates 2019-09-24 10:11:38 +02:00
zimoun
aeb51370da
guix package: Add 'guix show' alias.
* guix/scripts/show.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* tests/guix-package-aliases.sh: Add test.
* doc/guix.texi (Invoking guix package): Document it and use it in a example.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-09-21 16:48:36 +02:00
Ricardo Wurmus
7bc46ecc34
doc: Add Guix Cookbook.
* .gitignore: Update ignore list.
* Makefile.am (assert-no-store-file-names): Exclude the cookbook.
* bootstrap: Generate po files for cookbook translations.
* doc/guix-cookbook.texi: New file.
* doc/local.mk (info_TEXINFOS): Add it; add a rule to build cookbook
translations.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): New variable.
(EXTRA_DIST): Add cookbook pot file and po files.
(doc-po-update-cookbook-%): New target.
(doc-pot-update): Also update cookbook pot file.
(doc-po-update): Also update cookbook po files.
2019-09-18 11:38:14 +02:00
Mark H Weaver
65542a8852
Merge branch 'master' into core-updates 2019-09-06 20:46:00 -04:00
Julien Lepiller
e60a3e7440
nls: Update 'fr' translation of the manual. 2019-08-31 21:30:09 +02:00
Julien Lepiller
b212fef4b0
nls: Update 'es' translation of the manual. 2019-08-31 21:29:46 +02:00
Mark H Weaver
0481289cbc
Merge branch 'master' into core-updates 2019-08-29 17:19:18 -04:00
Ludovic Courtès
a4915e1463
nls: Update 'sv' translation. 2019-08-25 22:48:41 +02:00
Ludovic Courtès
127a07152f
nls: Update 'de' translation. 2019-08-25 22:48:41 +02:00
Ludovic Courtès
3bbd30e9b0
nls: Update 'fr' translation. 2019-08-25 22:48:41 +02:00
Ludovic Courtès
64de896a71
Merge branch 'master' into core-updates 2019-07-17 15:51:10 +02:00
Christopher Baines
f363c836e0
lint: Move the linting code to a different module.
To try and move towards making programatic access to the linting code easier,
this commit separates out the linting script, from the linting functionality
that it uses.

* guix/scripts/lint.scm (emit-warnings): Alter to to not use match-lambda, as
<lint-warning> isn't accessible.
(<lint-warning>, lint-warning, make-lint-warning, lint-warning?,
lint-warning-message, lint-warning-message-text, lint-warning-message-data,
lint-warning-location, package-file, %make-warning make-warning,
<lint-checker>, lint-checker, make-lint-checker, lint-checker?,
lint-checker-name, lint-checker-description, lint-checker-check,
properly-starts-sentance?, starts-with-abbreviation?, %quoted-identifier-rx,
check-description-style, package-input-intersection,
check-inputs-should-be-native, check-inputs-should-not-be-an-input-at-all,
package-name-regexp, check-synopsis-style, probe-uri,
tls-certificate-error-string, validate-uri, check-home-page,
%distro-directory, check-patch-file-names, escape-quotes,
official-gnu-packages*, check-gnu-synopsis+description, origin-uris,
check-source, check-source-file-name, check-source-unstable-tarball,
check-mirror-url, check-github-url, check-derivation, check-license,
call-with-networking-fail-safe, with-networking-fail-safe,
current-vulnerabilities*, package-vulnerabilities, check-vulnerabilities,
check-for-updates, report-tabulations, report-trailing-white-space,
report-long-line, %hanging-paren-rx, report-lone-parantheses,
%formatting-reporters, report-formatting-issues, check-formatting, %checkers):
Move to…
* guix/lint.scm: … here
* po/guix/POTFILES.in: Add guix/lint.scm.
* Makefile.am: Add guix/lint.scm.
* tests/lint.scm: Change to import (guix lint), rather than (guix scripts lint).
2019-07-15 22:32:19 +01:00
Ludovic Courtès
93c2a00739
derivations: Deprecate the previous calling convention.
We will eventually require #:inputs to be a list of <derivation-input>;
store items will have to be passed as #:sources, already interned.

* guix/derivations.scm (warn-about-derivation-deprecation): New procedure.
(derivation): Add #:%deprecation-warning? parameter.
[warn-deprecation]: New macro.
[input->derivation-input, input->source]: Use it.
(build-expression->derivation): Pass #:%deprecation-warning?.
* po/guix/POTFILES.in: Add guix/derivations.scm.
2019-07-15 10:01:05 +02:00
Marius Bakke
fb9a23a3f3
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/python-xyz.scm
	gnu/packages/xml.scm
	guix/gexp.scm
	po/guix/POTFILES.in
2019-07-12 01:03:53 +02:00
Jakob L. Kreuze
5cbb832fb1
Add 'guix deploy'.
* guix/scripts/deploy.scm: New file.
* Makefile.am (MODULES): Add it.
2019-07-06 02:10:04 -04:00
Jakob L. Kreuze
fa9edf09e9
gnu: Add machine type for deployment specifications.
* gnu/machine.scm: New file.
* gnu/machine/ssh.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2019-07-06 02:10:04 -04:00
Ludovic Courtès
45d46223f9
utils: Add 'invoke/quiet'.
* gnu/build/bootloader.scm (G_): Remove.
(open-pipe-with-stderr, invoke/quiet): Move to...
* guix/build/utils.scm: ... here.  Use 'let-values' instead of
'define-values' because Guile 2.0 (the bootstrap Guile) doesn't know
about 'define-values'.
* po/guix/POTFILES.in: Remove gnu/build/bootloader.scm, and add
guix/build/utils.scm.
* tests/build-utils.scm: Remove import of (gnu build bootloader).
2019-06-17 16:13:36 +02:00
Ludovic Courtès
836a85da0e
gnu: bootstrap: Download the bootstrap bash, mkdir, tar, and xz binaries.
* gnu/packages/bootstrap.scm (%bootstrap-executables): New variable.
(bootstrap-executable-url, bootstrap-executable): New procedure.
(raw-build)[->store]: Use 'run-with-store' and 'origin->derivation'.
Add calls to 'derivation->output-path', and remove the list of
references passed to 'add-text-to-store' for BUILDER.  Augment the list
of #:inputs passed to 'derivation'.
(package-from-tarball): Use 'bootstrap-executable' instead of
'search-bootstrap-binary'.
(%bootstrap-glibc, %bootstrap-gcc, %bootstrap-mescc-tools)
(%bootstrap-mes): Likewise.
* guix/scripts/environment.scm (environment-bash): Use
'bootstrap-executable' instead of 'search-bootstrap-binary'.
(guix-environment): Adjust CONTAINER? case accordingly.
* po/guix/POTFILES.in: Add gnu/packages/bootstrap.scm.
2019-06-14 21:57:01 +02:00
Ludovic Courtès
376a258f25
Reinstate "nls: Update 'de' translation of the manual."
This reverts commit d69bbd8c70.
2019-06-13 13:32:23 +02:00
Ricardo Wurmus
d69bbd8c70
Revert "nls: Update 'de' translation of the manual."
This reverts commit 78b0f9419f.
2019-06-10 14:34:16 +02:00
Ludovic Courtès
78b0f9419f
nls: Update 'de' translation of the manual. 2019-06-07 21:59:56 +02:00
Ludovic Courtès
0e77eee8c8
nls: Update 'es' translation. 2019-05-17 11:22:29 +02:00
Ludovic Courtès
61886e5d0e
nls: Update 'de' translation. 2019-05-17 11:20:02 +02:00