← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/lpci:fix-documentation-for-root-flag into lpci:main

 

Jürgen Gmach has proposed merging ~jugmac00/lpci:fix-documentation-for-root-flag into lpci:main.

Commit message:
Fix default value for the `root` flag in documentation

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  Bug #2025359 in lpci: "Jobs running as root even if root: true has not been specified"
  https://bugs.launchpad.net/lpci/+bug/2025359

For more details, see:
https://code.launchpad.net/~jugmac00/lpci/+git/lpcraft/+merge/445654
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/lpci:fix-documentation-for-root-flag into lpci:main.
diff --git a/NEWS.rst b/NEWS.rst
index 06151a5..21b7957 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,11 @@
 Version history
 ===============
 
+0.2.2 (unreleased)
+==================
+
+- Fix default value for the `root` flag in documentation.
+
 0.2.1 (2023-06-06)
 ==================
 
diff --git a/docs/configuration.rst b/docs/configuration.rst
index 3a71bcd..73e2a58 100644
--- a/docs/configuration.rst
+++ b/docs/configuration.rst
@@ -76,7 +76,7 @@ Job definitions
     If ``true``, run shell commands declared by ``run-before``,
     ``run``, and ``run-after`` as root;
     if ``false``, run them as a non-root user (``_lpci``).
-    Default value: ``false``.
+    Default value: ``true``.
 
 ``run-before`` (optional)
     A string (possibly multi-line) containing shell commands to run for this