aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorChristian Becke <christianbecke@web.de>2023-08-02 12:47:51 +0200
committerSam James <sam@gentoo.org>2023-08-08 05:50:17 +0100
commit6db114e2efd6ef05dbb285698f4b104f305ff113 (patch)
tree945fb076a5f06bf5c5cd2171d17dd80f09f0288a /man
parentDefine BROOT in pkg_* phases following PMS change (diff)
downloadportage-6db114e2efd6ef05dbb285698f4b104f305ff113.tar.gz
portage-6db114e2efd6ef05dbb285698f4b104f305ff113.tar.bz2
portage-6db114e2efd6ef05dbb285698f4b104f305ff113.zip
portage(5): fix description of volatile attribute
The description of the 'volatile' keyword in the 'repos.conf' section in the portage(5) man page seems to be inconsistent. I think the first two sentences correctly describe the behaviour of 'volatile' and agree with the comments in portage/repository/config.py: "Specifies whether a repository is volatile. Volatile repositories are assumed to contain changes made outside of Portage. This prohibits optimizations from occurring by assuming the integrity of the repository and its caches may be violated." The remainder of the paragraph inverts the meaning of 'volatile' and does not agree with the code in portage/repository/config.py: "Disabling this option allows local changes to be made to the repository for e.g. development safely. For git-synced repositories, Portage will not perform destructive operations. Per default, repositories are considered volatile if their directory is owned by either 'root' or 'portage' and if it is under /var/db/repos. Otherwise, the repository is considered non volatile." Bug: https://bugs.gentoo.org/911594 Signed-off-by: Christian Becke <christianbecke@web.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/portage.510
1 files changed, 5 insertions, 5 deletions
diff --git a/man/portage.5 b/man/portage.5
index 4bae67720..1c0ce22bd 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -1265,11 +1265,11 @@ sync\-openpgp\-key\-path setting. Defaults to no, false.
Specifies whether a repository is volatile. Volatile repositories
are assumed to contain changes made outside of Portage. This prohibits
optimizations from occurring by assuming the integrity of the repository
-and its caches may be violated. Disabling this option allows local changes to
-be made to the repository for e.g. development safely. For git-synced
-repositories, Portage will not perform destructive operations.
-Per default, repositories are considered volatile if their directory is owned
-by either 'root' or 'portage' and if it is under /var/db/repos. Otherwise,
+and its caches may be violated. Enabling this option allows local changes to
+be made to the repository for e.g. development safely. When enabled, Portage
+will not perform destructive operations for git-synced repositories. Per
+default, repositories are considered volatile if their directory is not owned
+by either 'root' or 'portage' or if it is not under /var/db/repos. Otherwise,
the repository is considered non volatile.
.TP