public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/corosync/
Date: Tue,  5 May 2020 21:46:21 +0000 (UTC)	[thread overview]
Message-ID: <1588715173.d2bd0ad359f6b217b1e8c1da7956eb54addfa355.slyfox@gentoo> (raw)

commit:     d2bd0ad359f6b217b1e8c1da7956eb54addfa355
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May  5 21:46:02 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May  5 21:46:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2bd0ad3

sys-cluster/corosync: drop invalid version check, bug #705276

'if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then' uses lexicographical
version compare. That should be ver_cmp version compare or similar.

As it's a guard against non-existent version let's just drop the ewarn.

Closes: https://bugs.gentoo.org/705276
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-cluster/corosync/corosync-2.3.5.ebuild | 11 -----------
 sys-cluster/corosync/corosync-2.4.2.ebuild | 11 -----------
 2 files changed, 22 deletions(-)

diff --git a/sys-cluster/corosync/corosync-2.3.5.ebuild b/sys-cluster/corosync/corosync-2.3.5.ebuild
index 3e4bf6a0f56..3485dedb6bb 100644
--- a/sys-cluster/corosync/corosync-2.3.5.ebuild
+++ b/sys-cluster/corosync/corosync-2.3.5.ebuild
@@ -73,14 +73,3 @@ src_install() {
 	use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.{,l}a || die
 
 }
-
-pkg_postinst() {
-	if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then
-		ewarn "!! IMPORTANT !!"
-		ewarn " "
-		ewarn "Migrating from a previous version of corosync can be dangerous !"
-		ewarn " "
-		ewarn "Make sure you backup your cluster configuration before proceeding"
-		ewarn " "
-	fi
-}

diff --git a/sys-cluster/corosync/corosync-2.4.2.ebuild b/sys-cluster/corosync/corosync-2.4.2.ebuild
index 49840bb0216..bdea670c8da 100644
--- a/sys-cluster/corosync/corosync-2.4.2.ebuild
+++ b/sys-cluster/corosync/corosync-2.4.2.ebuild
@@ -69,14 +69,3 @@ src_install() {
 	use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.{,l}a || die
 
 }
-
-pkg_postinst() {
-	if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then
-		ewarn "!! IMPORTANT !!"
-		ewarn " "
-		ewarn "Migrating from a previous version of corosync can be dangerous !"
-		ewarn " "
-		ewarn "Make sure you backup your cluster configuration before proceeding"
-		ewarn " "
-	fi
-}


             reply	other threads:[~2020-05-05 21:46 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 21:46 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-17  6:27 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/corosync/ Ionen Wolkens
2024-01-12  8:30 Arthur Zamarin
2023-06-28  7:55 Sam James
2021-02-03 20:19 Thomas Deutschmann
2021-01-15 22:07 Sam James
2021-01-14 23:59 Sam James
2021-01-10 21:58 Sam James
2021-01-09  6:56 Sam James
2021-01-01 23:29 Sam James
2020-12-01 21:55 Marc Schiffbauer
2020-11-23 16:39 Sergei Trofimovich
2020-11-12 17:17 Marc Schiffbauer
2020-11-12 17:10 Marc Schiffbauer
2020-10-21 12:59 Alexys Jacob
2020-07-20 12:24 Sam James
2020-04-28  8:52 Mikle Kolyada
2019-11-24  3:36 Aaron Bauman
2019-08-11  8:45 Michał Górny
2018-04-15 14:30 Johannes Huber
2018-04-14 19:33 Mikle Kolyada
2018-02-22  9:05 Agostino Sarubbo
2018-02-06 15:10 Thomas Deutschmann
2017-12-03 21:11 Sergei Trofimovich
2017-06-19 16:52 Alexis Ballier
2017-06-19 16:33 Alexis Ballier
2017-05-30 15:34 Lars Wendler
2017-05-19  1:10 Michael Weber
2017-05-16 13:05 Agostino Sarubbo
2017-05-16  8:01 Agostino Sarubbo
2017-05-11 14:41 Agostino Sarubbo
2017-04-22 15:05 Alexys Jacob
2017-02-23  9:20 Michael Weber
2017-02-23  8:34 Michael Weber
2016-06-29 22:33 Alexey Shvetsov
2016-03-09 11:29 Alexys Jacob
2016-01-26  8:25 Alexys Jacob
2015-09-06  4:18 Doug Goldstein

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=1588715173.d2bd0ad359f6b217b1e8c1da7956eb54addfa355.slyfox@gentoo \
    --to=slyfox@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