Antero Mejr
7a4f858f39
etc: teams: Add help information for commands.
...
* etc/teams.scm.in (main): Add command information to usage help prompt.
Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-03 17:26:52 +01:00
Tobias Geerinckx-Rice
068f1a1905
etc: systemd services shouldn't ‘RemainAfterExit’.
...
* etc/guix-daemon.service.in (RemainAfterExit): Don't.
* etc/guix-publish.service.in (RemainAfterExit): Likewise don't.
2022-10-23 02:00:26 +02:00
Tobias Geerinckx-Rice
0f6ec662f6
etc: Add ‘Restart=always’ to both systemd services.
...
* etc/guix-daemon.service.in (Restart): ‘Always’ do.
* etc/guix-publish.service.in (Restart): Likewise.
2022-10-23 02:00:25 +02:00
Tobias Geerinckx-Rice
f16d91295a
etc: Add ‘OOMPolicy=continue’ to guix-daemon.service.
...
* etc/guix-daemon.service.in (OOMPolicy): Continue.
2022-10-23 02:00:00 +02:00
Marius Bakke
a4fd4db6d1
news: Add entry for 'pyproject-build-system'.
...
* etc/news.scm: Add entry.
Co-authored-by: Florian Pelz <pelzflorian@pelzflorian.de>
Co-authored-by: Julien Lepiller <julien@lepiller.eu>
2022-10-27 19:43:07 +02:00
Christopher Baines
be9b213c75
maint: Tweak release manifest special case for armhf-linux.
...
Don't remove the emacs package, as it does build and substitutes are
available. Do remove the guix package though, as it doesn't build due to Guile
memory issues while compiling the package modules.
* etc/release-manifest.scm (%base-packages/armhf): Don't replace the emacs
package, remove the guix package.
(%base-manifest): Remove FIXME comment as %base-packages/armhf doesn't relate
to build power.
2022-10-25 10:10:06 +01:00
Liliana Marie Prikler
85aff4de30
snippets: Harden for review activity.
...
When reviewing patches, whose commit logs don't follow the structure outlined
in “Submitting Patches”, a reviewer might be tempted to use snippets to
rewrite them. This makes it so that their attempt, while not immediately
succeeding, isn't completely thwarted.
* etc/snippets/tempel/text-mode (add\ , remove\ , rename\ , update\ )
(addcl\ , https\ ): Use an empty "p" field if (car (magit-staged-files))
fails.
2022-10-22 14:16:13 +02:00
Tobias Geerinckx-Rice
0d2ad16c07
guix-install.sh: Cosmetically tweak non-interactive output.
...
Avoid printing
Press return to continue...[1666352494.051]: Starting installation…
[1666352648.869]: …
when the return itself wasn't echoed on the console.
* etc/guix-install.sh (welcome): Add a carriage return to the prompt,
so that the next line of output may overwrite it.
2022-10-16 02:00:29 +02:00
Tobias Geerinckx-Rice
a326e3085d
guix-install.sh: Warn if we suspect dodgy automation.
...
This doesn't affect the installation (yet), but reserves the right to
default to safe values other than ‘y’ in future.
* etc/guix-install.sh (welcome): Warn if the ‘return’ wasn't.
2022-10-16 02:00:28 +02:00
Tobias Geerinckx-Rice
1e8e84b286
guix-install.sh: Treat all uncaught errors as fatal.
...
* etc/guix-install.sh: Set -o pipefail.
2022-10-16 02:00:28 +02:00
Tobias Geerinckx-Rice
54c0b5c457
guix-install.sh: Suggest what to do if fetching OpenPGP key(s) fails.
...
* etc/guix-install.sh (chk_gpg_keyring): Report an _err and set the
exit_flag if wget | gpg --import fails.
2022-10-16 02:00:28 +02:00
Tobias Geerinckx-Rice
9a0a786c25
guix-install.sh: Time out fetching OpenPGP keys.
...
The default 900s provide no useful backstop in interactive use.
* etc/guix-install.sh (chk_gpg_keyring): Add a 30s wget --timeout.
2022-10-16 02:00:28 +02:00
Thiago Jung Bauermann
6f7b44e42e
news: Add 'pt' translation.
...
* etc/news.scm: Add Portuguese translation of entry about the new
--emulate-fhs option.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-10-17 07:32:47 +02:00
Florian Pelz
759d365cd2
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of '--emulate-fhs' entry.
2022-10-14 12:37:15 +02:00
Ludovic Courtès
2c11e857af
news: Add entry for 'guix shell --emulate-fhs'.
...
* etc/news.scm: Add entry.
2022-10-13 09:34:15 +02:00
Maxim Cournoyer
e46bb5fd5a
guix-install.sh: Restore compatibility with "yes" invocation.
...
Commit 6a2e303d3a
had modified prompt_yes_no to only read a single character,
aiming to ease the user experience. This was, in retrospect, a bad idea, as
it makes user input error more likely and introduces complexity.
This commit reverts to line-oriented input, while preserving the default yes
value so that a user can simply hit 'Enter' at the prompt in place of typing
"yes".
* etc/guix-install.sh (_flush): Delete function.
(prompt_yes_no): Restore line-oriented read. Remove loop. Make anything else
than yes means no. Use Bash features to streamline definition.
Reported-by: Lars-Dominik Braun <lars@6xq.net> and others.
2022-10-11 12:00:44 -04:00
Maxim Cournoyer
9ca0f9e5a9
guix-install.sh: Add Bash prompt customization option.
...
Fixes <https://issues.guix.gnu.org/55484 >.
* etc/guix-install.sh (sys_customize_bashrc): New function.
(main): Use it.
2022-10-07 08:25:40 -04:00
Maxim Cournoyer
231e5f29ae
guix-install.sh: Introduce 'die' utility function.
...
* etc/guix-install.sh (die): New function.
(chk_sys_arch): Use it.
(guix_get_bin_list, guix_get_bin, sys_create_store): Likewise.
2022-10-07 08:20:33 -04:00
Maxim Cournoyer
6a2e303d3a
guix-install.sh: Improve prompt_yes_no procedure.
...
* etc/guix-install.sh (_flush): New function.
(prompt_yes_no): Clear input, then only read the first character, silently.
Add the [Yes/no] string to the message. When a newline is entered by the
user, treat it as the default value, which is "yes".
(chk_gpg_keyring): Remove "(yes/no)" from the prompt message.
(configure_substitute_discovery): Likewise.
(sys_authorize_build_farms): Likewise.
2022-10-07 01:23:05 -04:00
Liliana Marie Prikler
5e63e51afe
snippets: Fix move.
...
The current move is never correct. It flip-flops between car and cadr for
the destination. Since the position of the destination is not actually a
fixed point in the list of changes, use a more robust method of inferring it.
* etc/snippets/tempel/text-mode (move\ ): Infer source and destination from
washed diffs. Process new module before destination.
2022-10-06 21:16:46 +02:00
Liliana Marie Prikler
da281417cc
snippets: tempel: Reformat.
...
This makes it so that ‘indent-region’ and ‘delete-trailing-whitespace’ do not
change the file.
* etc/snippets/tempel/text-mode: Reformat.
2022-10-06 21:16:46 +02:00
Liliana Marie Prikler
980c34853e
snippets: tempel: Fix calls to mapconcat.
...
* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator
argument to mapconcat.
2022-10-06 21:16:45 +02:00
Thiago Jung Bauermann
aeaabc4253
news: Add 'pt' translation.
...
* etc/news.scm: Add Portuguese translation of entry about the --with-source
option being recursive.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-10-03 16:23:16 +02:00
Thiago Jung Bauermann
ee8211a62c
etc: teams: Add news.scm to translations team scope.
...
* etc/teams.scm.in (translations)[#:scope]: Add etc/news.scm.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-10-03 15:33:29 +02:00
Florian Pelz
0dec41f329
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of '--with-source' entry.
2022-10-01 00:55:28 +02:00
Jesse Gibbons
4244f5e9a7
news: Add entry for '--with-source'.
...
* etc/news.scm: Add entry.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-09-29 23:10:25 +02:00
zimoun
ea49070a36
teams: Add Simon Tournier.
...
* etc/teams.scm.in: Add Simon Tournier.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
(
8710f01e04
etc: teams: Add (.
...
* etc/teams.scm.in: Add (.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
(
fb9f51a81f
etc: teams: Add more scopes to teams.
...
* etc/teams.scm.in (r, julia, ruby, go, rust, kernel, translations,
home, mozilla, racket): Add scopes.
(emacs)[scope]: Add ``guix import elpa''-related files.
(installer)[scope]: Correct ``guix/installer'' to ``gnu/installer''.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
Thiago Jung Bauermann
e122c7b834
news: Add 'pt' translation.
...
* etc/news.scm: Add Portuguese translation of entries about WSL system images
and about Guix System image API documentation.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-28 09:03:22 +02:00
pukkamustard
f5ffaacd55
teams: Add pukkamustard.
...
* etc/teams.scm.in: Add pukkamustard.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 08:42:51 +02:00
Josselin Poiret
b4de11b5dc
teams: Add Josselin Poiret.
...
* etc/teams.scm.in: Add Josselin Poiret.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-27 08:40:48 +02:00
Nicolas Graves
b6274a20e8
etc: Add tempel snippet move.
...
* etc/snippets/tempel/text-mode (move\): New entry.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-26 23:29:36 +02:00
Florian Pelz
9e4164c6ff
news: Add another 'de' translation.
...
* etc/news.scm: Add German translation of images API entry.
2022-09-26 13:18:34 +02:00
Florian Pelz
5602eaeacb
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of WSL images entry.
2022-09-26 13:14:49 +02:00
Guillaume Le Vaillant
bc072c9a57
etc: teams: Add description and scope for lisp team.
...
* etc/teams.scm.in (lisp): Add description and scope fields.
2022-09-26 11:10:24 +02:00
Liliana Marie Prikler
1f63c5709c
etc: teams: Give games a scope.
...
* etc/teams.scm.in (games)[#:name]: Change to “Games and Toys”.
[#:description, #:scope]: New fields.
2022-09-25 20:55:38 +02:00
Liliana Marie Prikler
2300e3148a
etc: teams: Add description and scope for emacs.
...
* etc/teams.scm.in (emacs): Add #:description and #:scope.
2022-09-25 20:21:36 +02:00
Julien Lepiller
bfa723ba10
etc: teams: Define Java team scope.
...
* etc/teams.scm.in (java): Define it.
2022-09-25 14:40:01 +02:00
Julien Lepiller
13cf9ebe84
etc: teams: Define OCaml team scope.
...
* etc/teams.scm.in (ocaml): Define it.
2022-09-25 14:39:36 +02:00
Mathieu Othacehe
6ab5106645
news: Add entry about image API documentation.
...
* etc/news.scm: Add entry.
2022-09-25 13:52:19 +02:00
Mathieu Othacehe
13f469744b
news: Add entry about WSL images.
...
* etc/news.scm: Add entry.
2022-09-25 13:40:10 +02:00
Lars-Dominik Braun
9943bbfaa1
etc: teams: Define python team scope.
...
* etc/teams.scm.in (python): Define it.
2022-09-25 12:42:11 +02:00
Lars-Dominik Braun
b6aef666d9
etc: teams: Define haskell team scope.
...
* etc/teams.scm.in (haskell): Define it.
2022-09-25 12:42:11 +02:00
Mathieu Othacehe
2e0fa826c9
etc: installer: Define installer team scope.
...
* etc/teams.scm.in (installer): Define it.
2022-09-25 09:27:59 +02:00
Mathieu Othacehe
7ca846c8c9
etc: teams: Define core team scope.
...
* etc/teams.scm.in (core): Define it.
2022-09-25 09:27:59 +02:00
Liliana Marie Prikler
b1a7a5723b
etc: teams: Add regular expression support to scopes.
...
* etc/teams.scm (find-teams-by-scope): Differentiate between raw strings
and regexps. Make raw string matches strict.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-25 09:27:59 +02:00
Mathieu Othacehe
2a66304535
etc: teams: Add scope support.
...
Add a scope list to each team. This list defines all the files and
directories that are mentored by the team.
Also add a cc-members command that takes two Git revision strings as input,
add returns the members that should be CC'ed given the files impacted between
the two revisions.
* etc/teams.scm.in (<team>)[scope]: New field.
(team, list-teams): Adapt those procedures.
(find-team-by-scope, diff-revisions): New procedures.
(main): Add a "cc-members" command.
* doc/contributing.texi ("Teams"): Document it.
("Sending a Patch Series"): Adapt it.
2022-09-25 09:27:59 +02:00
Andrew Tropin
f64825730f
etc: teams: Add entry for Andrew Tropin.
...
* etc/teams.scm.in ("Andrew Tropin"): New member.
2022-09-14 18:25:10 +03:00
Florian Pelz
631d893023
news: Fix 'de' translation.
...
Follow-up to 23b50ddbdb
.
* etc/news.scm: Fix punctuation. Use the same terminology
as the German manual.
2022-09-12 22:09:12 +02:00
Thiago Jung Bauermann
23b50ddbdb
news: Fix en dash usage.
...
The en dash is used to separate pairs of words or numbers. The em dash is the
one used to separate sentences. In addition, in English text we are using the
convention of not separating the dash with spaces.
* etc/news.scm: Change the en dash to em in entry about Emacs native
compilation.
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-09-12 19:16:24 +02:00
Thiago Jung Bauermann
032068a96c
news: Add 'pt' translation.
...
* etc/news.scm: Add Portuguese translation of entry about Emacs native
compilation.
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2022-09-12 18:42:17 +02:00
Guillaume Le Vaillant
6c6eba3f1a
news: Fix entry.
...
* etc/news.scm: Fix commit field.
2022-09-11 16:04:20 +02:00
Liliana Marie Prikler
d48c2c7df3
news: Add entry about Emacs native compilation.
...
* etc/news.scm: Add entry.
2022-09-11 15:46:32 +02:00
Florian Pelz
6ee40c3d99
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-09-10 21:52:18 +02:00
Guillaume Le Vaillant
de257d1ffc
etc: teams: Add entry for Guillaume Le Vaillant.
...
* etc/teams.scm.in ("Guillaume Le Vaillant"): New member.
2022-09-09 18:00:12 +02:00
Julien Lepiller
1d690f7d1d
news: Update 'fr' translation.
...
* etc/news.scm: Add French translation to kernel news.
2022-09-09 06:50:54 +02:00
Thiago Jung Bauermann via Guix-patches via
0a875c62d8
news: Add 'pt' translation.
...
* etc/news.scm: Add Portuguese translation of entry about the update of the
'linux-libre' package.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-09 06:42:40 +02:00
Leo Famulari
dc9a0bb8b2
news: Add entry about the update of the 'linux-libre' package.
...
* etc/news.scm: Add entry.
2022-09-05 23:26:00 -04:00
Philip McGrath
b8a6f6b40d
etc: teams: Add entry for Philip McGrath.
...
* etc/teams.scm.in ("Philip McGrath"): New member.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath
59b0cc6866
etc: teams: Add racket team.
...
* etc/teams.scm.in (racket): New team.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Ludovic Courtès
fe149b01d0
maint: Ignore cross-compilation to x86.
...
This is consistent with what's done by 'cross-jobs' in (gnu ci).
* etc/release-manifest.scm (%cross-manifest): Remove "x86_64-linux-gnu"
and "i686-linux-gnu" from the list returned by 'targets'.
2022-09-01 18:31:26 +02:00
Nicolas Graves
47c11772df
etc: Update yasnippet build system list.
...
* etc/snippets/yas/scheme-mode/guix-package (build-system): Add
chicken-build-system, minetest-build-system, rebar-build-system
and renpy-build-system.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves
0928b82070
etc: Add tempel snippet for :phases.
...
* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ )
(replace\ ): New snippets.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:15 +02:00
Nicolas Graves
c4acaf4120
etc: Add tempel snippets.
...
* etc/snippets/tempel/scheme-mode: New file.
* etc/snippets/tempel/text-mode: New file.
* etc/snippets/scheme-mode: Moved from here...
* etc/snippets/yas/scheme-mode: ... to here.
* etc/snippets/text-mode: Moved from here...
* etc/snippets/yas/text-mode: ... to here.
* doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup
accordingly. Add tempel setup.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-08-30 11:50:14 +02:00
Mathieu Othacehe
845c841e21
time-travel-manifest: Use a separate cache per system.
...
* etc/time-travel-manifest.scm (<guix-instance-compiler>): Use a separate
cache per system so that parallel system evaluations do no step on each
other's toes.
2022-08-17 15:42:56 +02:00
Thiago Jung Bauermann via Guix-patches via
ca8c7a36df
news: Add 'pt' translation.
...
The menu entry reference is kept in English because the manual isn't
translated to Portuguese yet.
* etc/news.scm: Add Portuguese translation of 'guix style -f' entry.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-08-14 08:51:41 +02:00
Mathieu Othacehe
26629d3c9e
etc: teams: Add Mathieu Othacehe to mentors.
...
* etc/teams.scm.in (mentors): New member.
2022-08-11 14:47:14 +02:00
Florian Pelz
6ce3e51aa8
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix style -f' entry.
Correct manual references in previous 'guix style' entries.
2022-08-10 12:45:41 +02:00
Ludovic Courtès
5bce4c8242
build-system: Add 'channel-build-system'.
...
* gnu/ci.scm (channel-build-system, channel-source->package): Remove.
* gnu/packages/package-management.scm (channel-source->package): New
procedure, moved from (gnu ci).
* guix/build-system/channel.scm: New file, with code moved from (gnu ci).
* doc/guix.texi (Build Systems): Document it.
2022-08-09 15:16:06 +02:00
Ludovic Courtès
a109ee9048
news: Add entry for 'guix style -f'.
...
* etc/news.scm: Add entry.
2022-08-08 11:54:23 +02:00
Ludovic Courtès
eab5366e67
disarchive-manifest: Exclude the Chromium tarball.
...
* etc/disarchive-manifest.scm (disarchive-collection): Exclude
"chromium-" tarballs.
2022-08-06 23:14:41 +02:00
Mathieu Othacehe
0e6e037417
etc: teams: Add entry for Mathieu Othacehe.
...
* etc/teams.scm.in ("Mathieu Othacehe"): New member.
2022-08-05 17:14:59 +02:00
Eric Bavier
791620b61d
etc: teams: Add entry for Eric Bavier.
...
* etc/teams.scm.in ("Eric Bavier"): New member.
(mozilla): Add #:description keyword before description.
2022-08-05 09:48:16 -05:00
Ludovic Courtès
6d4a0ccecb
disarchive-manifest: Filter out origins without a hash.
...
* etc/disarchive-manifest.scm (disarchive-collection): Filter out
origins with a phony hash.
2022-08-05 15:28:02 +02:00
Ludovic Courtès
2acffd56a5
disarchive-manifest: Handle tar.xz archives.
...
* etc/disarchive-manifest.scm (tarball-origin?): Add ".tar.xz".
2022-08-05 00:14:29 +02:00
Jonathan Brielmaier
45ca6967ab
etc: teams: Add entry for Jonathan Brielmaier.
...
* etc/teams.scm.in ("Jonathan Brielmaier"): New member.
2022-07-13 20:06:26 +02:00
Jonathan Brielmaier
a3f8eac564
etc: teams: Add mozilla team.
...
* etc/teams.scm.in (mozilla): New team.
2022-07-13 20:03:35 +02:00
Thiago Jung Bauermann
d301374d97
etc: teams: Add entry for Thiago Jung Bauermann.
...
* etc/teams.scm.in ("Thiago Jung Bauermann"): New member.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-10 23:57:15 +02:00
Ludovic Courtès
5d0437ea8c
time-travel-manifest: Use a separate Git checkout cache.
...
* etc/time-travel-manifest.scm (guix-instance-compiler): Parameterize
%REPOSITORY-CACHE-DIRECTORY.
2022-07-10 23:57:14 +02:00
Ludovic Courtès
9fdc4b6c28
monads: Add 'mparameterize'.
...
* etc/system-tests.scm (mparameterize): Move to...
* guix/monads.scm (mparameterize): ... here.
* tests/monads.scm ("mparameterize"): New test.
* .dir-locals.el (c-mode): Add it.
2022-07-10 23:57:14 +02:00
Christopher Baines
6e2f5fe217
etc: teams: Add entry for Christopher Baines.
...
* etc/teams.scm.in ("Christopher Baines"): New member.
2022-07-08 23:36:24 +01:00
Ludovic Courtès
e80f0cda96
etc: Add 'time-travel-manifest.scm'.
...
This manifest makes it easy to test travels from the current revision
back to the revision of a past Guix release.
Suggested by zimoun <zimon.toutoune@gmail.com>.
* etc/time-travel-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2022-07-08 23:58:11 +02:00
Björn Höfling
ff751a68dc
etc: teams: Add entry for Björn Höfling.
...
* etc/teams.scm.in ("Björn Höfling"): New member.
2022-07-08 17:11:24 +02:00
jgart via Guix-patches via
3e8a1e8f25
etc: teams: Add entry for jgart.
...
* etc/teams.scm.in ("jgart"): New member.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-07-07 20:08:01 +02:00
Lars-Dominik Braun
c3e4532498
etc: teams: Add entry for Lars-Dominik Braun.
...
* etc/teams.scm.in ("Lars-Dominik Braun"): New member.
2022-07-07 20:06:49 +02:00
Florian Pelz
b150c70b15
etc: teams: Add entry for Florian Pelz.
...
* etc/teams.scm.in ("Florian Pelz"): New member.
2022-07-07 00:29:14 +02:00
Julien Lepiller
3ce152bf5b
etc: teams: Add entry for Julien Lepiller.
...
* etc/teams.scm.in ("Julien Lepiller"): New member.
2022-07-06 22:16:46 +02:00
Philip McGrath
3348e485b7
etc/guix-install.sh: Check for profile from 'guix home'.
...
If "$HOME/.guix-home/profile" exists, use it for GUIX_PROFILE instead of
"$HOME/.guix-profile".
* etc/guix-install.sh (sys_create_init_profile): Check for 'guix home'
profile.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:38 +02:00
Philip McGrath
23aafc800c
etc/guix-install.sh: Initialize XDG base directories.
...
The default values from the XDG base directory specification make little
sense for Guix System, and some scripts in Guix assume that they are not
"empty or unset": for example, see <https://issues.guix.gnu.org/56050 >.
On foreign distros, however, omitting the default values is likely to
break software from the distro, perhaps even preventing the desktop
environment from starting. To smooth over the difference, use the
system-wide configuration to ensure the environment variables are always
explicitly set on foreign distros.
* etc/guix-install.sh (sys_create_init_profile): Explicitly initialize
XDG base directory variables.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 23:38:37 +02:00
Efraim Flashner
47ed000d4d
etc: teams: Add entry for Efraim Flashner.
...
* etc/teams.scm.in ("Efraim Flashner"): New member.
2022-07-04 11:14:39 +03:00
Leo Famulari
1f33ff1173
teams: Add leo Famulari.
...
* etc/teams.scm.in ("Leo Famulari"): New member.
2022-07-03 22:50:31 -04:00
Liliana Marie Prikler
9cdfecc8a3
etc: teams: Add entry for Liliana Prikler.
...
* etc/teams.scm.in ("Liliana Marie Prikler"): New member.
2022-07-03 17:11:21 +02:00
Liliana Marie Prikler
672c863f55
etc: teams: Sort members lexicographically by last name.
...
* etc/teams.scm.in: Sort members lexicographically by last name.
2022-07-03 17:11:18 +02:00
Andreas Enge
4a2f487740
etc: Update teams.
...
* etc/teams.scm.in: Rename maths team to science and add myself to it.
2022-07-03 16:33:26 +02:00
Ricardo Wurmus
4eaf90470f
etc: Add teams.scm.
...
* etc/teams.scm.in: New file.
* configure.ac: Generate executable.
* .gitignore: Ignore generated file.
2022-07-03 14:12:32 +02:00
Florian Pelz
c86484782e
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-06-29 16:28:35 +02:00
Leo Famulari
75c5003a4a
news: Add entry about the update of the 'linux-libre' package.
...
* etc/news.scm: Add entry.
2022-06-29 08:52:58 -04:00
Florian Pelz
92773dedcd
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix refresh -L' entry.
2022-06-23 16:20:34 +02:00
Ludovic Courtès
2873433c72
news: Add entry for 'guix refresh -L' change.
...
* etc/news.scm: Add entry.
2022-06-22 23:49:06 +02:00
Florian Pelz
3f70501532
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of edit sub-commands entry.
2022-06-05 11:30:24 +02:00
Florian Pelz
607e677430
news: Update copyright line.
...
* etc/news.scm: Update Maxime Devos’ copyright header.
2022-06-05 11:30:10 +02:00
Ludovic Courtès
ac826aef9c
news: Add entry for 'guix system edit' and 'guix home edit'.
...
* etc/news.scm: Add entry.
Co-authored-by: Maxime Devos <maximedevos@telenet.be>
2022-06-04 12:09:37 +02:00
Tobias Geerinckx-Rice
dc6d92ac93
bash completion: Fix & unify option parsing.
...
We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’.
* etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option):
New functions.
(_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m)
(_guix_is_dash_C, _guix_is_dash_p): Use them.
2022-05-29 02:00:20 +02:00
Maxim Cournoyer
5e6efdfeec
etc/committer: Teach it how to commit package removal.
...
* etc/committer.scm.in (hunk-types): New variable.
(<hunk>): Rename hunk-definition? getter to 'hunk-type'.
(diff-info): Mute a git warning by separating file names from arguments with
'--'. Rename the 'definitions?' variable to 'type'.
Use the 'addition type when a new package addition is detected, 'removal when
removed else #f.
(add-commit-message): Re-indent.
(remove-commit-message): New procedure.
(main)[definitions]: Make commit message conditional depending on whether it
is an addition or removal.
[changes]: Adjust indentation.
2022-05-31 14:52:13 -04:00
Maxim Cournoyer
6c956243bc
etc/committer: Prefix (sxml xpath) symbols to avoid name conflict.
...
This avoids a naming conflict for 'filter', provided by both (srfi srfi-1)
and (sxml xpath).
* etc/committer.scm.in: Use 'use-modules' instead of 'import', and use a
prefix for the (sxml xpath) module.
(new-sexp): Adjust accordingly.
(change-commit-message): Likewise.
2022-05-31 14:52:13 -04:00
Josselin Poiret
dab819d5c4
Move (gnu platform) and (gnu platforms ...) to guix/.
...
* gnu/platform.scm:
* gnu/platforms/arm.scm:
* gnu/platforms/hurd.scm:
* gnu/platforms/mips.scm:
* gnu/platforms/powerpc.scm:
* gnu/platforms/riscv.scm:
* gnu/platforms/s390.scm:
* gnu/platforms/x86.scm: Move to guix/.
* Makefile.am:
* doc/guix.texi (Porting to a New Platform):
* etc/release-manifest.scm:
* gnu/ci.scm:
* gnu/image.scm:
* gnu/local.mk:
* gnu/packages/bioinformatics.scm:
* gnu/packages/bootstrap.scm:
* gnu/packages/cross-base.scm:
* gnu/packages/instrumentation.scm:
* gnu/packages/linux.scm:
* gnu/system/image.scm:
* gnu/system/images/hurd.scm:
* gnu/system/images/novena.scm:
* gnu/system/images/pine64.scm:
* gnu/system/images/pinebook-pro.scm:
* gnu/system/images/rock64.scm:
* guix/scripts/build.scm:
* guix/scripts/system.scm:
* guix/self.scm: Update (gnu platform...) to (guix platform...).
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-25 09:27:25 +02:00
Florian Pelz
a6da02217e
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix import elm' entry.
2022-05-23 11:52:29 +02:00
Mathieu Othacehe
dd970122dd
ci: Do not rely on hardcoded cross-targets lists.
...
* gnu/ci.scm (%cross-targets): Remove it ...
(cross-jobs): ... and use the targets procedure instead.
* etc/release-manifest.scm: Adapt it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:33 +02:00
Ludovic Courtès
b782d11f9b
news: Add entry for 'guix import elm'.
...
* etc/news.scm: Add entry.
2022-05-22 01:42:27 +02:00
Maxim Cournoyer
e56ff45600
snippets: Add a 'remove' snippet.
...
* etc/snippets/text-mode/guix-commit-message-remove-package: New file.
2022-05-12 12:46:07 -04:00
Florian Pelz
968992e499
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of update of 'linux-libre' entry.
2022-04-24 23:05:24 +02:00
Guillaume Le Vaillant
31a8f0cde6
news: Fix news entry commit reference.
...
* etc/news: Fix commit reference of news entry about Linux-libre kernel update
to 5.17.
2022-04-24 12:07:54 +02:00
Leo Famulari
59b91fdbcd
news: Add entry about the update of the 'linux-libre' package.
...
* etc/news.scm: Add entry.
2022-04-23 13:45:46 -04:00
Ludovic Courtès
dbde386794
tests: System tests really parameterize 'current-guix-package'.
...
Until now, 'current-guix-package' was parameterized in the wrong
context. Thus, 'current-guix' would end up building a variant of the
'guix' package instead of the package returned by
'channel-source->package', which is much less expensive to build.
* etc/system-tests.scm (mparameterize): New macro.
(tests-for-current-guix): Change the 'value' field of each <system-test>
record to parameterize 'current-guix-package' for good.
2022-04-11 00:25:33 +02:00
Florian Pelz
029cb8c95f
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix shell --export-manifest' entry.
2022-04-05 16:28:48 +02:00
Ludovic Courtès
b1e7e64f35
news: Add entry about 'guix shell --export-manifest'.
...
* etc/news.scm: Add entry.
2022-04-04 23:12:07 +02:00
Florian Pelz
0d21677170
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix home container' entry.
2022-03-20 01:10:57 +01:00
Ludovic Courtès
a58defdae8
news: Add entry about 'guix home container'.
...
* etc/news.scm: Add entry.
2022-03-19 19:20:24 +01:00
Florian Pelz
9e154465b2
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix pull --news' entry.
2022-03-03 12:10:21 +01:00
Tobias Geerinckx-Rice
209a3274f8
news: Add entry about ‘guix pull --news’ changes.
...
* etc/news.scm: Add entry.
2022-02-27 01:00:06 +01:00
Florian Pelz
ad9cd004c8
news: Fix 'de' translation.
...
* etc/news.scm: Fix typo.
2022-02-09 13:04:05 +01:00
Florian Pelz
758a20569d
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of end of Gzip substitutes entry.
2022-02-09 11:19:25 +01:00
Florian Pelz
238a63b0eb
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix deploy -x' entry.
2022-02-09 11:04:00 +01:00
Maxim Cournoyer
0f97729034
news: Add entry about the sunsetting of Gzip substitutes.
...
* etc/news.scm (channel-news): New entry.
2022-02-08 21:59:48 -05:00
Ludovic Courtès
9408a4edcb
news: Add entry about 'guix deploy -x'.
...
* etc/news.scm: Add entry.
2022-02-02 18:43:08 +01:00
Marius Bakke
bbc2fb0d52
etc: Remove redundant SELinux permissions block.
...
* etc/guix-daemon.cil.in (guix_daemon): Consolidate two blocks adding
sock_file permissions on guix_daemon_conf_t.
2022-01-26 09:31:45 +01:00
Marius Bakke
98e74d520a
etc: Add more SELinux permissions for the daemon.
...
* etc/guix-daemon.cil.in (guix_daemon): Permit write on guix_daemon_conf_t
sock_file, necessary for garbage collection.
2022-01-24 11:28:14 +01:00
Ricardo Wurmus
67d74daf0c
etc: committer: Support plain input lists.
...
* etc/committer.scm.in (change-commit-message): Support new-style plain list
inputs in addition to old-style inputs with labels.
2022-01-23 14:01:30 +01:00
Liliana Marie Prikler
2c9f13ba63
etc: Match define-public only at line start.
...
The current regexp simply matches the first occurence, which more often than
not points to the *previous* variable.
* etc/snippets/text-mode/guix-commit-message-update-package ($1): Restrict
match to beginning of line with optional indentation.
2022-01-19 20:47:03 +01:00
Ludovic Courtès
93d3a2b23c
bash completion: Complete "guix home" sub-commands.
...
* etc/completion/bash/guix (_guix_complete): Treat "guix home" like
"guix system".
2022-01-17 19:05:48 +01:00
Fulbert
e35deac9e7
bash completion: Fix options completion.
...
Fixes, for example, "guix import pypi --<TAB>", which would previously
fail to show '--recursive'.
* etc/completion/bash/guix (_guix_complete_option): Fix options
completion for first subcommand.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Florian Pelz
0891ac16d0
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix style --styling=format' entry.
2022-01-16 09:01:10 +01:00
Ludovic Courtès
9a112a8fe1
news: Fix typos in French text.
...
* etc/news.scm: Fix typos.
2022-01-10 19:31:03 +01:00
Ludovic Courtès
0976e92a0f
news: Add news entry about 'guix style'.
...
* etc/news.scm: Add entry.
2022-01-10 15:01:30 +01:00
Ludovic Courtès
c4fe13c294
style: Add '--styling' option.
...
* guix/scripts/style.scm (format-package-definition): New procedure.
(%options, show-help): Add "--styling".
(%default-options): Add 'styling-procedure'.
(guix-style): Honor it.
* tests/style.scm (with-test-package)
("input labels, 'safe' policy")
("input labels, 'safe' policy, nothing changed")
("input labels, margin comment")
("input labels, margin comment on long list")
("input labels, line comment")
("input labels, modify-inputs and margin comment"): Pass "-S inputs".
* etc/indent-code.el: Remove.
* doc/contributing.texi (Formatting Code): Mention "guix style" instead
of "etc/indent-code.el".
(Submitting Patches): Add item for "guix style".
* doc/guix.texi (Invoking guix style): Document "-S" and update.
2022-01-10 14:59:26 +01:00
Florian Pelz
8fcf947591
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of ‘--tune’ entry.
2022-01-02 14:56:42 +01:00
Florian Pelz
f107c20e50
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of ‘integer expected from stream’ entry.
2022-01-02 11:51:51 +01:00
Ludovic Courtès
40662f7da8
news: Add entry about '--tune'.
...
* etc/news.scm: Add entry.
2022-01-01 15:56:32 +01:00
Tobias Geerinckx-Rice
1cfb8be3a1
news: Tie the latest news entry to a later commit.
...
Using 1eb40a6
was more correct than pragmatic, as those who have upgraded
their own Guix since then will not see the message urging them to upgrade
the Guix they don't know about.
This follows up on commit df830ef91a
.
* etc/news.scm: Tie latest news entry to an arbitrary later commit.
2021-12-30 13:57:05 +01:00
Tobias Geerinckx-Rice
df830ef91a
news: Add ‘integer expected from stream’ entry.
...
* etc/news.scm: Add entry.
2021-12-30 13:41:27 +01:00
Florian Pelz
8a96bf4c74
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of GDM Wayland entry.
2021-12-14 22:35:58 +01:00
Florian Pelz
af220bfbd2
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of package inputs entry.
2021-12-14 18:21:59 +01:00
Florian Pelz
644ff4dc69
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of static networking entry.
2021-12-14 15:41:34 +01:00
Ludovic Courtès
1052ae5f03
Merge branch 'master' into core-updates-frozen
2021-12-13 11:49:15 +01:00
Ludovic Courtès
c8609493ba
news: Add entry about 'static-networking-service-type'.
...
* etc/news.scm: Add entry.
2021-12-13 00:09:33 +01:00
Mathieu Othacehe
32750e8c3e
Merge remote-tracking branch 'signed/master' into core-updates
2021-12-10 21:49:25 +01:00
Tobias Geerinckx-Rice
f3af1fb0bc
bash completion: Complete ‘guix shell -f’.
...
* etc/completion/bash/guix (_guix_complete): Suggest a file name
following ‘guix shell […] -f’.
2021-12-08 21:09:55 +01:00
Ludovic Courtès
3867cb7885
maint: Don't require unsupported packages such as GNOME on i686-linux.
...
* etc/release-manifest.scm (%system-manifest): Filter out PACKAGE when
it doesn't pass 'supported-package?'.
2021-12-08 18:56:52 +01:00
Ricardo Wurmus
9bc0f45df5
Merge remote-tracking branch 'origin/master' into core-updates-frozen
2021-12-05 19:17:41 +01:00
Jonathan Brielmaier
1e5656e7bd
news: Add copyright line for myself.
...
* etc/news.scm: Add myself to the copyright headers.
2021-12-04 15:10:29 +01:00
Jonathan Brielmaier
205a65839a
news: Add entry about Icedove 91.
...
* etc/news.scm: New entry.
2021-12-01 22:52:02 +01:00
Josselin Poiret
4b28553e73
news: Notify of Wayland support in GDM
...
* etc/news.scm: Add a news entry.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-15 11:49:45 +01:00
Efraim Flashner
1c94392a13
Merge remote-tracking branch 'origin/master' into core-updates-frozen
2021-11-08 09:06:14 +02:00
Tobias Geerinckx-Rice
071f4e3db3
guix-install.sh: Undo some bugs introduced by shellcheck.
...
* etc/guix-install.sh: Unquote all file names containing ~root.
2021-11-07 20:09:59 +01:00
Efraim Flashner
bc5155b952
Merge remote-tracking branch 'origin/master' into core-updates-frozen
2021-10-31 14:49:47 +02:00
Tobias Geerinckx-Rice
8e6989fcaf
bash completion: Complete top-level options.
...
* etc/completion/bash/guix (_guix_complete_option): Fix operation without a {,sub}command.
(_guix_complete): Call it also when no command is given.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
0987a0eba4
bash completion: Don't hard-code "guix" binary name.
...
* etc/completion/bash/guix (_guix_complete_command):
Use ${COMP_WORDS[0]} instead of hard-coding "guix".
2021-10-31 00:57:07 +02:00
Florian Pelz
2efc7819ce
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of "guix shell" entry.
2021-10-27 15:39:36 +02:00
Ludovic Courtès
4aa41a37f0
news: Add entry about "guix shell".
...
* etc/news.scm: Add entry.
2021-10-25 20:11:25 +02:00
Ludovic Courtès
80edb7df65
Add 'guix shell'.
...
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
2021-10-25 18:58:18 +02:00
Liliana Marie Prikler
55f6d9e818
etc: completion: Filter gratuitous spaces from available packages.
...
Tested with:
guix environment --{ad-hoc,pure} zsh guix bash-completion coreutils -- zsh
% fpath=(~/guix/etc/completion/zsh $fpath)
% autoload -U compinit; compinit
* etc/completion/zsh/_guix (_guix_list_available_packages): Remove spaces.
Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-10-24 20:17:05 +02:00
Mathieu Othacehe
e486b2b674
Merge remote-tracking branch 'signed/master' into core-updates
2021-10-18 14:37:26 +00:00
Sarah Morgensen
f8b10932c8
Add git configuration templates to improve diff hunk header detection.
...
This is a follow-up to commit 9fc8ae4171
, which
missed two hunks from <https://issues.guix.gnu.org/50363 >.
Reported by hackeryarn on #guix.
* .gitattributes, etc/git/gitconfig: New files.
Signed-off-by: Marius Bakke <marius@gnu.org>
2021-10-14 00:24:34 +02:00
Mathieu Othacehe
a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen.
2021-10-12 17:46:23 +00:00
Ludovic Courtès
2ad1ef8446
disarchive-manifest: Provide valid 'version' string.
...
* etc/disarchive-manifest.scm <top level>: Turn 'version' field into a
string.
2021-10-09 01:02:18 +02:00
Tobias Geerinckx-Rice
ed14bc2984
bash completion: Fix ‘system’ & ‘container’ subcommands.
...
* etc/completion/bash/guix (_guix_complete): Count words from the
innermost command.
2021-10-03 19:23:49 +02:00
Tobias Geerinckx-Rice
d71cfaea30
bash completion: Complete ‘guix size’ file names.
...
* etc/completion/bash/guix (_guix_complete): Complete store file names
after the ‘size’ command.
2021-10-03 19:23:49 +02:00
Tobias Geerinckx-Rice
9e3355d2a3
bash completion: Complete ‘guix build’ file names.
...
* etc/completion/bash/guix
(_guix_complete_available_package_or_store_file): New function.
(_guix_complete): Call it in place of _guix_complete_available_package
after the ‘build’ command.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice
ee5e4779e2
bash completion: Complete ‘guix weather’ packages.
...
* etc/completion/bash/guix (_guix_complete): Complete available package
names for ‘guix weather’ when not following ‘-m’.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice
17f76b209c
bash completion: Append to $COMPREPLY where possible.
...
_guix_complete is always called with a fresh empty array.
* etc/completion/bash/guix (_guix_complete_command)
(_guix_complete_subcommand, _guix_complete_installed_package)
(_guix_complete_option, _guix_complete_pid): Append to $COMPREPLY rather
than re-assigning.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice
6fba67df19
bash completion: Consolidate similar $command ‘if’ branches.
...
* etc/completion/bash/guix (_guix_complete): Combine the ‘upgrade’ and
‘remove’ commands, as well as ‘download’, ‘gc’, and ‘hash’.
2021-10-03 19:23:48 +02:00
Tobias Geerinckx-Rice
e4ed0b3969
guix-install.sh: Don't swallow wget errors.
...
Using ‘-q’ suppresses *all* stderr output, including errors.
* etc/guix-install.sh (chk_gpg_keyring, guix_get_bin_list, guix_get_bin):
Substitute ‘--no-verbose’ for ‘-q’.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-09-29 16:56:40 +02:00
Florian Pelz
4687ee9cac
news: Adapt 'de' translation.
...
* etc/news.scm: Mention that Guix Home is a "technology preview".
2021-09-29 10:40:45 +02:00
Ludovic Courtès
62180be2ee
news: Mention that Home is a "technology preview".
...
* etc/news.scm: Mention that Home is a "technology preview".
2021-09-28 15:43:00 +02:00
Florian Pelz
1c1bfe681a
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of Guix Home entry.
2021-09-27 23:47:53 +02:00
Oleg Pykhalov
6ae4644984
Merge branch 'wip-guix-home'
2021-09-27 17:27:12 +03:00
Andrew Tropin
a2b937984a
news: Add entry about Guix Home.
...
* etc/news.scm: Add entry.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-27 17:27:02 +03:00
Florian Pelz
d96582f810
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix graph -M' entry.
2021-09-23 08:51:48 +02:00
Florian Pelz
84db46783b
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of fallback to SWH entry.
2021-09-23 08:33:10 +02:00
Ludovic Courtès
09289d0d2b
news: Add entry for Git clone fallback to SWH.
...
Suggested by zimoun.
* etc/news.scm: Add entry.
2021-09-22 16:14:39 +02:00
Ludovic Courtès
9102512748
news: Add entry for "guix graph -M".
...
* etc/news.scm: Add entry.
2021-09-21 15:16:20 +02:00
Xinglu Chen
3d15a19874
etc: committer: Amend previous commit if a copyright line was added.
...
Previously, the script would raise an error if a copyright line was added to a
file in gnu/packages/. With this change, it will amend the previous commit
whenever a copyright line is added, and add the copyright line to the commit.
* etc/committer.scm.in (add-copyright-line): New procedure.
(main): Check if a copyright line was added and call ‘add-copyright-line’ if
necessary.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-21 15:15:52 +02:00
Thiago Jung Bauermann
5c4fd77097
etc: Add systemd files for running ‘guix gc’ periodically
...
* etc/guix-gc.service.in: New file.
* etc/guix-gc.timer: Likewise.
* .gitignore: Ignore generated ‘guix-gc.service’.
* nix/local.mk (nodist_systemdservice_DATA): Add ‘guix-gc.service’ and
‘guix-gc.timer’.
(EXTRA_DIST): Add ‘guix-gc.service.in’ and ‘guix-gc.timer’.
* doc/guix.texi (Binary Installation): Mention the new systemd files.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-09-20 14:18:21 +00:00
Marius Bakke
5c3cb22c9b
Merge branch 'master' into core-updates-frozen
...
Conflicts:
gnu/packages/bioinformatics.scm
gnu/packages/chez.scm
gnu/packages/docbook.scm
gnu/packages/ebook.scm
gnu/packages/gnome.scm
gnu/packages/linux.scm
gnu/packages/networking.scm
gnu/packages/python-web.scm
gnu/packages/python-xyz.scm
gnu/packages/tex.scm
gnu/packages/version-control.scm
gnu/packages/xml.scm
guix/build-system/dune.scm
guix/build-system/go.scm
guix/build-system/linux-module.scm
guix/packages.scm
2021-09-17 01:25:52 +02:00
Ludovic Courtès
98712c14fe
etc: Add 'disarchive-manifest.scm'.
...
* etc/disarchive-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2021-09-14 11:50:58 +02:00
Ludovic Courtès
3b758dd22d
etc: Add 'source-manifest.scm'.
...
* etc/source-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2021-09-14 11:50:58 +02:00
Ludovic Courtès
d9dfbf886d
Merge branch 'master' into core-updates-frozen
2021-09-07 14:19:08 +02:00
Marius Bakke
c4133c43c7
Merge branch 'master' into core-updates-frozen
...
Conflicts:
gnu/packages/algebra.scm
gnu/packages/games.scm
gnu/packages/golang.scm
gnu/packages/kerberos.scm
gnu/packages/mail.scm
gnu/packages/python.scm
gnu/packages/ruby.scm
gnu/packages/scheme.scm
gnu/packages/tex.scm
gnu/packages/tls.scm
gnu/packages/version-control.scm
2021-08-12 00:30:27 +02:00
Noah Evans
a8dd285d5a
zsh completion: Add missing commands and arguments.
...
* etc/completion/zsh/_guix (_guix_install, _guix_remove, _guix_upgrade):
New functions.
(_guix_build, _guix_challenge, _guix_download, _guix_environment,
_guix_packages, _guix_gc, _guix_hash, _guix_lint, _guix_package,
_guix_publish, _guix_pull, _guix_refresh, _guix_size, _guix_system):
Add some of the missing arguments.
(_guix_cmds): Add missing commands.
Co-authored-by: Brice Waegeneire <brice@waegenei.re>
2021-08-28 17:57:50 +02:00
Sarah Morgensen
80fc776a61
etc/committer: Pass command-line arguments to main.
...
* etc/committer.scm.in: Call main with command line arguments.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:19 +02:00
Sarah Morgensen
73177859bc
etc/committer: Support custom commit messages.
...
Allow custom change commit messages by supplying a commit message and
optionally a changelog message as arguments.
* etc/committer.scm.in (break-string-with-newlines)
(custom-commit-message): New procedures.
(main)[change-commit-message*]: New sub-procedure. Use them.
(main): Use it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-08-10 17:32:19 +02:00
Maxime Devos
50c2dcd1c9
etc: committer: Support reading G-expressions.
...
Some package definitions use G-expressions (see, e.g., chez-scheme).
Import (guix gexp) such that Guile knows how to read those.
Otherwise, an exception such as the following might be raised:
ERROR: In procedure read:
In procedure scm_lreadr: gnu/services/networking.scm:480:16: Unknown # object: #\~
* etc/committer.scm.in: Import (guix gexp).
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-08-07 14:01:20 +02:00
Ludovic Courtès
0e47fcced4
Merge branch 'master' into core-updates
2021-07-18 19:50:01 +02:00
Maxim Cournoyer
073904c553
guix-install.sh: Untabify.
...
* etc/guix-install.sh (sys_create_build_user): Normalize to spaces.
2021-07-14 08:50:22 -04:00
Ludovic Courtès
9b4c3c675c
news: Add news entry for simplified package inputs.
...
* etc/news.scm: Add entry.
2021-07-11 01:06:04 +02:00
Maxim Cournoyer
4cbe0127a6
guix-install.sh: Prompt for configuring substitutes discovery.
...
Also ensure prompt_yes_no always print the message with a trailing space,
which is more pleasing to the eye.
* etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option.
* etc/guix-daemon.service.in: Likewise.
* etc/init.d/guix-daemon.in: Likewise.
* etc/openrc/guix-daemon.in: Likewise.
* etc/guix-install.sh (configure_substitute_discovery): New procedure.
(sys_enable_guix_daemon): Ask the user whether automatic substitute discovery
should be enabled. Set the '--discover' argument accordingly.
(prompt_yes_no): Add a trailing space to the message.
(sys_authorize_build_farms): Remove trailing space from the message argument.
* NEWS (Distribution): Add news.
2021-07-07 23:54:20 -04:00
Hartmut Goebel
7f06567b83
guix-install.sh: No longer export GUIX_PROFILE.
...
If GUIX_PROFILE is exported here, any subsequent
"source /some/other/profile/etc/profile" will set variables pointing to
"$HOME/.guix-profile" instead of pointing to the sourced profile.
* etc/guix-install.sh (sys_create_init_profile): No longer export GUIX_PROFILE.
2021-07-07 21:25:16 +02:00
Florian Pelz
20dfda3d9e
news: Add 'de' translation.
...
* etc/news.scm: Add German translation of 'guix pack --format=deb' entry.
2021-06-30 16:02:29 +02:00
Maxim Cournoyer
6396f0c235
news: Add entry for the new 'deb' guix pack format.
...
* etc/news.scm: Add entry.
2021-06-29 15:01:10 -04:00