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>
This commit is contained in:
Sergey Trofimov 2025-06-24 14:50:03 +02:00 committed by Ludovic Courtès
parent d1cebc2488
commit c4b332bfc1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1431,14 +1431,14 @@ called at the top level.
@cindex packaging, maintenance @cindex packaging, maintenance
Sometimes you may need to update a monotonic collection of grouped Sometimes you may need to update a monotonic collection of grouped
packages, in particular module e.g. @code{(gnu packages astronomy)} - it packages, in a particular module---e.g., @code{(gnu packages astronomy)}.
would require refreshing package versions, creating commits following Doing so requires refreshing package versions, creating commits
guidelines and test them. Let's say there are 200+ packages which have following guidelines and testing them. Let's say there are 200+ packages
fresh versions, you may deal with that task by applying the following with fresh versions, you may deal with this task by applying the
technique. following technique.
Enter a development shell in your local Guix checkout, assuming you Enter a development shell in your local Guix checkout, assuming you
already run @code{bootstrap} and @code{configer}: already ran @code{bootstrap} and @code{configure}:
@example @example
~$ guix shell --development guix ~$ guix shell --development guix
@ -1447,14 +1447,14 @@ already run @code{bootstrap} and @code{configer}:
> ./pre-inst-env etc/commiter.scm > ./pre-inst-env etc/commiter.scm
@end example @end example
The first command will update all packages in @code{(gnu packages The first command updates all packages in @code{(gnu packages
astronomy)} to the latest versions and write changes back to the file. astronomy)} to the latest versions and writes changes back to the file.
The second will invoke @code{etc/commiter.scm} script, a helper script The second invokes @code{etc/commiter.scm} script, a helper script for
aiming exactly for larger scale updates; it will identify each package larger scale updates; it identifies each package diff and creates
diff and create corresponding commits with correct style. corresponding commits with the correct style.
If your machine is powerful enough you may check that the whole If your machine is powerful enough, you may check that the whole
collection has no regression and still can be built successfully: collection has no regressions and can still be built successfully:
@example @example
[env: /gnu/store/lzxbi1ps43msyw7m5wblziy8mj6hw5kw-profile] [env: /gnu/store/lzxbi1ps43msyw7m5wblziy8mj6hw5kw-profile]
> ./pre-inst-env guix build $(./pre-inst-env guix package -A | awk '/astronomy.scm/@{print $1"@@"$2@}') > ./pre-inst-env guix build $(./pre-inst-env guix package -A | awk '/astronomy.scm/@{print $1"@@"$2@}')