diff options
| author | Sergey Trofimov <sarg@sarg.org.ru> | 2025-06-24 14:50:03 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-07-01 22:57:27 +0200 |
| commit | c4b332bfc1579dfd1b7b2bbf6d56ac16526ffc7e (patch) | |
| tree | 863beb29feb3fbb884cc715d9747cf8f5f6b048b /doc/contributing.texi | |
| parent | d1cebc2488091d6bcaba777ddd733140ba0756a9 (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>
Diffstat (limited to 'doc/contributing.texi')
| -rw-r--r-- | doc/contributing.texi | 26 |
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 |
| 1433 | Sometimes you may need to update a monotonic collection of grouped | 1433 | Sometimes you may need to update a monotonic collection of grouped |
| 1434 | packages, in particular module e.g. @code{(gnu packages astronomy)} - it | 1434 | packages, in a particular module---e.g., @code{(gnu packages astronomy)}. |
| 1435 | would require refreshing package versions, creating commits following | 1435 | Doing so requires refreshing package versions, creating commits |
| 1436 | guidelines and test them. Let's say there are 200+ packages which have | 1436 | following guidelines and testing them. Let's say there are 200+ packages |
| 1437 | fresh versions, you may deal with that task by applying the following | 1437 | with fresh versions, you may deal with this task by applying the |
| 1438 | technique. | 1438 | following technique. |
| 1439 | 1439 | ||
| 1440 | Enter a development shell in your local Guix checkout, assuming you | 1440 | Enter a development shell in your local Guix checkout, assuming you |
| 1441 | already run @code{bootstrap} and @code{configer}: | 1441 | already 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 | ||
| 1450 | The first command will update all packages in @code{(gnu packages | 1450 | The first command updates all packages in @code{(gnu packages |
| 1451 | astronomy)} to the latest versions and write changes back to the file. | 1451 | astronomy)} to the latest versions and writes changes back to the file. |
| 1452 | The second will invoke @code{etc/commiter.scm} script, a helper script | 1452 | The second invokes @code{etc/commiter.scm} script, a helper script for |
| 1453 | aiming exactly for larger scale updates; it will identify each package | 1453 | larger scale updates; it identifies each package diff and creates |
| 1454 | diff and create corresponding commits with correct style. | 1454 | corresponding commits with the correct style. |
| 1455 | 1455 | ||
| 1456 | If your machine is powerful enough you may check that the whole | 1456 | If your machine is powerful enough, you may check that the whole |
| 1457 | collection has no regression and still can be built successfully: | 1457 | collection 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@}') |
