* [gentoo-pms] [PATCH] profiles.tex: The parent file can contain comments
@ 2023-04-12 19:23 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2023-04-12 19:23 UTC (permalink / raw
To: gentoo-pms
Closes: https://bugs.gentoo.org/470094
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
Since there haven't been any further comments in reply to [1], this
patch updates the spec to allow comments in the parent file.
AFAICS, Portage and Pkgcore have always supported this, because they use
the same function for reading of all line-based files in a profile.
[1] https://bugs.gentoo.org/470094#c11
profiles.tex | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/profiles.tex b/profiles.tex
index 30da81b..856643b 100644
--- a/profiles.tex
+++ b/profiles.tex
@@ -25,7 +25,8 @@
It is illegal for a profile's parent tree to contain cycles. Package manager behaviour upon
encountering a cycle is undefined.
-This file must not contain comments, blank lines or make use of line continuations.
+This file must not make use of line continuations. Blank lines and those beginning with a \t{\#}
+are discarded.
\subsection{The eapi file}
\label{sec:profile-eapi}
--
2.40.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-12 19:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12 19:23 [gentoo-pms] [PATCH] profiles.tex: The parent file can contain comments Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox