* [gentoo-portage-dev] [PATCH] repoman: revert preserve_old_lib deprecation (bug 480244)
@ 2021-02-23 23:41 Zac Medico
2021-02-24 8:10 ` [gentoo-portage-dev] " Zac Medico
0 siblings, 1 reply; 2+ messages in thread
From: Zac Medico @ 2021-02-23 23:41 UTC (permalink / raw
To: gentoo-portage-dev; +Cc: Zac Medico
Repoman should not report that preserve_old_lib is deprecated,
since preserve-libs is not covered by PMS.
This reverts commit 49cbc17bf7b99be586e158c1bd588cfe91dfe58c.
Bug: https://bugs.gentoo.org/480244
Bug: https://bugs.gentoo.org/692486
Signed-off-by: Zac Medico <zmedico@gentoo.org>
---
repoman/cnf/linechecks/linechecks.yaml | 2 +-
.../lib/repoman/modules/linechecks/deprecated/deprecated.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/repoman/cnf/linechecks/linechecks.yaml b/repoman/cnf/linechecks/linechecks.yaml
index 2182b467a..7c040e2b2 100644
--- a/repoman/cnf/linechecks/linechecks.yaml
+++ b/repoman/cnf/linechecks/linechecks.yaml
@@ -25,7 +25,7 @@ errors:
DEPRECATED_BINDNOW_FLAGS: 'Deprecated bindnow-flags call'
EAPI_DEFINED_AFTER_INHERIT: 'EAPI defined after inherit'
NO_AS_NEEDED: 'Upstream asneeded linking bug (no-as-needed)'
- PRESERVE_OLD_LIB: 'Ebuild calls deprecated preserve_old_lib'
+ PRESERVE_OLD_LIB: 'Upstream ABI change workaround on line: %d'
BUILT_WITH_USE: 'built_with_use'
NO_OFFSET_WITH_HELPERS: 'Helper function is used with D, ROOT, ED, EROOT or EPREFIX'
USEQ_ERROR: 'Ebuild calls deprecated useq function'
diff --git a/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py b/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py
index d1a590f1d..ad488c53a 100644
--- a/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py
+++ b/repoman/lib/repoman/modules/linechecks/deprecated/deprecated.py
@@ -19,8 +19,8 @@ class DeprecatedHasq(LineCheck):
class PreserveOldLib(LineCheck):
- """Check for calls to the deprecated preserve_old_lib function."""
- repoman_check_name = 'ebuild.minorsyn'
+ """Check for calls to the preserve_old_lib function."""
+ repoman_check_name = 'upstream.workaround'
re = re.compile(r'.*preserve_old_lib')
error = 'PRESERVE_OLD_LIB'
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-portage-dev] Re: [PATCH] repoman: revert preserve_old_lib deprecation (bug 480244)
2021-02-23 23:41 [gentoo-portage-dev] [PATCH] repoman: revert preserve_old_lib deprecation (bug 480244) Zac Medico
@ 2021-02-24 8:10 ` Zac Medico
0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2021-02-24 8:10 UTC (permalink / raw
To: Zac Medico, gentoo-portage-dev
[-- Attachment #1.1: Type: text/plain, Size: 767 bytes --]
On 2/23/21 3:41 PM, Zac Medico wrote:
> Repoman should not report that preserve_old_lib is deprecated,
> since preserve-libs is not covered by PMS.
> This reverts commit 49cbc17bf7b99be586e158c1bd588cfe91dfe58c.
>
> Bug: https://bugs.gentoo.org/480244
> Bug: https://bugs.gentoo.org/692486
> Signed-off-by: Zac Medico <zmedico@gentoo.org>
> ---
> repoman/cnf/linechecks/linechecks.yaml | 2 +-
> .../lib/repoman/modules/linechecks/deprecated/deprecated.py | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
Due to controversy, I would like to withdraw this patch, and call upon
interested parties to help decide an appropriate course of action or
inaction for https://bugs.gentoo.org/480244.
--
Thanks,
Zac
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-24 8:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-23 23:41 [gentoo-portage-dev] [PATCH] repoman: revert preserve_old_lib deprecation (bug 480244) Zac Medico
2021-02-24 8:10 ` [gentoo-portage-dev] " Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox