summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Trofimov <sarg@sarg.org.ru>2025-06-24 14:50:03 +0200
committerLudovic Courtès <ludo@gnu.org>2025-07-01 22:57:27 +0200
commitc4b332bfc1579dfd1b7b2bbf6d56ac16526ffc7e (patch)
tree863beb29feb3fbb884cc715d9747cf8f5f6b048b
parentd1cebc2488091d6bcaba777ddd733140ba0756a9 (diff)
doc: contributing: Correct typos in Bulk updates.
* doc/contributing.texi (Bulk updates): Correct typos. Change-Id: I660520b64139537e6ca9186c06810f5053d4368e Signed-off-by: Ludovic Courtès <ludo@gnu.org> Modified-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--doc/contributing.texi26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi
index 8a506ef0693..0649e3b2e1b 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -1431,14 +1431,14 @@ called at the top level.
1431 1431
1432@cindex packaging, maintenance 1432@cindex packaging, maintenance
1433Sometimes you may need to update a monotonic collection of grouped 1433Sometimes you may need to update a monotonic collection of grouped
1434packages, in particular module e.g. @code{(gnu packages astronomy)} - it 1434packages, in a particular module---e.g., @code{(gnu packages astronomy)}.
1435would require refreshing package versions, creating commits following 1435Doing so requires refreshing package versions, creating commits
1436guidelines and test them. Let's say there are 200+ packages which have 1436following guidelines and testing them. Let's say there are 200+ packages
1437fresh versions, you may deal with that task by applying the following 1437with fresh versions, you may deal with this task by applying the
1438technique. 1438following technique.
1439 1439
1440Enter a development shell in your local Guix checkout, assuming you 1440Enter a development shell in your local Guix checkout, assuming you
1441already run @code{bootstrap} and @code{configer}: 1441already ran @code{bootstrap} and @code{configure}:
1442 1442
1443@example 1443@example
1444~$ guix shell --development guix 1444~$ guix shell --development guix
@@ -1447,14 +1447,14 @@ already run @code{bootstrap} and @code{configer}:
1447> ./pre-inst-env etc/commiter.scm 1447> ./pre-inst-env etc/commiter.scm
1448@end example 1448@end example
1449 1449
1450The first command will update all packages in @code{(gnu packages 1450The first command updates all packages in @code{(gnu packages
1451astronomy)} to the latest versions and write changes back to the file. 1451astronomy)} to the latest versions and writes changes back to the file.
1452The second will invoke @code{etc/commiter.scm} script, a helper script 1452The second invokes @code{etc/commiter.scm} script, a helper script for
1453aiming exactly for larger scale updates; it will identify each package 1453larger scale updates; it identifies each package diff and creates
1454diff and create corresponding commits with correct style. 1454corresponding commits with the correct style.
1455 1455
1456If your machine is powerful enough you may check that the whole 1456If your machine is powerful enough, you may check that the whole
1457collection has no regression and still can be built successfully: 1457collection has no regressions and can still be built successfully:
1458@example 1458@example
1459[env: /gnu/store/lzxbi1ps43msyw7m5wblziy8mj6hw5kw-profile] 1459[env: /gnu/store/lzxbi1ps43msyw7m5wblziy8mj6hw5kw-profile]
1460> ./pre-inst-env guix build $(./pre-inst-env guix package -A | awk '/astronomy.scm/@{print $1"@@"$2@}') 1460> ./pre-inst-env guix build $(./pre-inst-env guix package -A | awk '/astronomy.scm/@{print $1"@@"$2@}')