public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] [PATCH 0/1] EAPI 9 no longer rewrites absolute symlinks
@ 2024-06-20 18:20 Ulrich Müller
  2024-06-20 18:20 ` [gentoo-pms] [PATCH 1/1] " Ulrich Müller
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Müller @ 2024-06-20 18:20 UTC (permalink / raw
  To: gentoo-pms; +Cc: Ulrich Müller

Following discussion in bug 934514, #gentoo-pms and #gentoo-portage,
here's another item for EAPI 9.

See https://bugs.gentoo.org/934514 for the rationale.

Ulrich Müller (1):
  EAPI 9 no longer rewrites absolute symlinks

 eapi-differences.tex |  5 +++++
 merge.tex            | 19 +++++++++++++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)

-- 
2.45.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-pms] [PATCH 1/1] EAPI 9 no longer rewrites absolute symlinks
  2024-06-20 18:20 [gentoo-pms] [PATCH 0/1] EAPI 9 no longer rewrites absolute symlinks Ulrich Müller
@ 2024-06-20 18:20 ` Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2024-06-20 18:20 UTC (permalink / raw
  To: gentoo-pms; +Cc: Ulrich Müller

Bug: https://bugs.gentoo.org/934514
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
 eapi-differences.tex |  5 +++++
 merge.tex            | 19 +++++++++++++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index f6aafe7..3d5bb97 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -171,6 +171,9 @@ Controllable stripping & \compactfeatureref{dostrip} &
 \t{unpack} support for \t{rar} & \compactfeatureref{unpack-extensions} &
     Yes & Yes & No & No \\
 
+Absolute symlink rewriting & \compactfeatureref{symlink-rewrite} &
+    Yes & Yes & Yes & No \\
+
 \end{longtable}
 
 \chapter{Differences between EAPIs}
@@ -356,6 +359,8 @@ EAPI 9 is EAPI 8 with the following changes:
 
 \begin{compactitem}
 \item Different default EAPI for profiles, \featureref{profile-eapi-default}.
+\item Absolute symlinks no longer being rewritten, \featureref{symlink-rewrite}
+
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{9}
diff --git a/merge.tex b/merge.tex
index 27b0ba8..e51c1b8 100644
--- a/merge.tex
+++ b/merge.tex
@@ -138,8 +138,23 @@ Ebuilds must not attempt to merge a symlink on top of a directory.
 
 \subsection{Rewriting}
 
-Any absolute symlink whose link starts with \t{D} must be rewritten with the leading \t{D} removed.
-The package manager should issue a notice when doing this.
+\featurelabel{symlink-rewrite} In EAPIs listed in table~\ref{tab:symlink-rewrite} as rewriting
+symlinks, any absolute symlink whose link starts with \t{D} must be rewritten with the leading
+\t{D} removed. The package manager should issue a notice when encountering such a symlink.
+
+\ChangeWhenAddingAnEAPI{9}
+\begin{centertable}{Rewriting of absolute symlinks}
+    \label{tab:symlink-rewrite}
+    \begin{tabular}{ll}
+      \toprule
+      \multicolumn{1}{c}{\textbf{EAPI}} &
+      \multicolumn{1}{c}{\textbf{Rewrite symlinks?}} \\
+      \midrule
+      0, 1, 2, 3, 4, 5, 6, 7, 8 & Yes \\
+      9                         & No  \\
+      \bottomrule
+    \end{tabular}
+\end{centertable}
 
 \section{Hard links}
 
-- 
2.45.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-20 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 18:20 [gentoo-pms] [PATCH 0/1] EAPI 9 no longer rewrites absolute symlinks Ulrich Müller
2024-06-20 18:20 ` [gentoo-pms] [PATCH 1/1] " 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