public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/runit/
Date: Fri, 12 Jan 2024 16:41:20 +0000 (UTC)	[thread overview]
Message-ID: <1705077647.6ea6d6ba85b17a26911cd024aa8fde251b147d64.ionen@gentoo> (raw)

commit:     6ea6d6ba85b17a26911cd024aa8fde251b147d64
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 16:39:48 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 16:40:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea6d6ba

sys-process/runit: remove accidentally committed file

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 sys-process/runit/z | 124 ----------------------------------------------------
 1 file changed, 124 deletions(-)

diff --git a/sys-process/runit/z b/sys-process/runit/z
deleted file mode 100644
index 94ec0c233b7e..000000000000
--- a/sys-process/runit/z
+++ /dev/null
@@ -1,124 +0,0 @@
- * Info: Using [Gentoo] (https://bugs.gentoo.org/xmlrpc.cgi)
- * Info: Getting bug 862615 ..
-cf_runtime_testing_required: ---
-remaining_time: 0.0
-Blocks      : 610764
-Component   : Current packages
-OpSystem    : Linux
-AssignedTo  : williamh@gentoo.org
-Updated     : 20220911T22:19:38
-Hardware    : All
-actual_time : 0.0
-classification: Unclassified
-Priority    : Normal
-Version     : unspecified
-Title       : sys-process/runit: duplicate pkg_preinst definition
-Severity    : normal
-Reporter    : sam@gentoo.org
-estimated_time: 0.0
-TargetMilestone: ---
-Status      : CONFIRMED
-CC          : base-system@gentoo.org
-Reported    : 20220801T02:32:59
-Product     : Gentoo Linux
-Attachments : 0
-
-Comments    : 3
-
-[Comment #0] sam@gentoo.org : 20220801T02:32:59
--------------------------------------------------------------------------------
-runit-2.1.2-r1.ebuild has two definitions of pkg_preinst:
-
-1) This one comes first (so is NOT used):
-```
-pkg_preinst() {
-        if has_version 'sys-process/runit' &&
-                has_version '<sys-process/runit-2.1.2' &&
-                [ -d "${EROOT}"etc/runit/runsvdir/all ]; then
-                if [ -e "${EROOT}"etc/sv ]; then
-                        mv -f "${EROOT}"etc/sv "${EROOT}"etc/sv.bak || die
-                        ewarn "${EROOT}etc/sv was moved to ${EROOT}etc/sv.bak"
-                fi
-                mv "${EROOT}"etc/runit/runsvdir/all "${EROOT}"etc/sv|| die
-                ln -sf "${EROOT}"etc/sv "${EROOT}"etc/runit/runsvdir/all || die
-                cp -a "${EROOT}"etc/runit/runsvdir "${T}" || die
-                touch "${T}"/make_var_service || die
-        fi
-}
-```
-
-2) This one comes last (so is the one used):
-```
-pkg_postinst() {
-        if [[ -z $REPLACING_VERSIONS ]]; then
-                default_config
-        elif [[ -n $pre_212 ]]; then
-                migrate_from_211
-        fi
-
-        ewarn "To make sure sv works correctly in your currently open"
-        ewarn "shells, please run the following command:"
-        ewarn
-        ewarn "source /etc/profile"
-        ewarn
-
-        if [ -L "${EROOT}"var/service ]; then
-                ewarn "Once this version of runit is active, please remove the"
-                ewarn "compatibility symbolic link at ${EROOT}var/service"
-                ewarn "The correct path now is ${EROOT}etc/service"
-                ewarn
-        fi
-
-        if [ -L "${EROOT}"etc/runit/runsvdir/all ]; then
-                ewarn "${EROOT}etc/runit/runsvdir/all has moved to"
-                iewarn "${EROOT}etc/sv."
-                ewarn "Any symbolic links under ${EROOT}etc/runit/runsvdir"
-                ewarn "which point to services through ../all should be updated
-to"
-                ewarn "point to them through ${EROOT}etc/sv."
-                ewarn "Once that is done, ${EROOT}etc/runit/runsvdir/all should
-be"
-                ewarn "removed."
-                ewarn
-        fi
-}
-```
-
-Which one is supposed to be used?
-
-[Comment #1] sam@gentoo.org : 20220801T02:35:24
--------------------------------------------------------------------------------
-(Recommenting as first comment had wrong paste of second definition.)
-
-runit-2.1.2-r1.ebuild has two definitions of pkg_preinst:
-
-1) This one comes first (so is NOT used):
-```
-pkg_preinst() {
-        if has_version 'sys-process/runit' &&
-                has_version '<sys-process/runit-2.1.2' &&
-                [ -d "${EROOT}"etc/runit/runsvdir/all ]; then
-                if [ -e "${EROOT}"etc/sv ]; then
-                        mv -f "${EROOT}"etc/sv "${EROOT}"etc/sv.bak || die
-                        ewarn "${EROOT}etc/sv was moved to ${EROOT}etc/sv.bak"
-                fi
-                mv "${EROOT}"etc/runit/runsvdir/all "${EROOT}"etc/sv|| die
-                ln -sf "${EROOT}"etc/sv "${EROOT}"etc/runit/runsvdir/all || die
-                cp -a "${EROOT}"etc/runit/runsvdir "${T}" || die
-                touch "${T}"/make_var_service || die
-        fi
-}
-```
-
-2) This one comes last (so is the one used):
-```
-pkg_preinst() {
-        if  has_version '<sys-process/runit-2.1.2'; then
-                pre_212=yes
-        fi
-}
-```
-
-[Comment #2] sam@gentoo.org : 20220911T22:19:38
--------------------------------------------------------------------------------
-ping


             reply	other threads:[~2024-01-12 16:41 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 16:41 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07 15:33 [gentoo-commits] repo/gentoo:master commit in: sys-process/runit/ Mike Gilbert
2024-09-05 14:42 Mike Gilbert
2024-09-05 14:42 Mike Gilbert
2024-08-23  7:33 Ulrich Müller
2024-08-23  7:28 Sam James
2024-08-23  7:28 Sam James
2024-08-22 14:35 Mike Gilbert
2024-08-22 14:06 Mike Gilbert
2024-07-21  0:31 Sam James
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-16  6:07 Robin H. Johnson
2024-01-12 16:31 William Hubbs
2022-08-01  2:33 Sam James
2022-02-13 21:08 Conrad Kostecki
2021-05-14  9:35 Agostino Sarubbo
2021-05-13 21:17 Sam James
2021-05-13 21:17 Sam James
2021-05-13 21:16 Sam James
2021-05-13 21:15 Sam James
2021-05-13 21:15 Sam James
2021-05-13 21:15 Sam James
2018-05-20  0:20 William Hubbs
2018-05-20  0:18 William Hubbs
2016-11-15  3:47 Mike Frysinger
2016-11-14 14:50 Mike Frysinger
2016-11-11 18:52 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1705077647.6ea6d6ba85b17a26911cd024aa8fde251b147d64.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox