From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2972C158083 for ; Sun, 8 Sep 2024 18:19:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0D4DE2A03; Sun, 8 Sep 2024 18:19:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90EB5E29FF for ; Sun, 8 Sep 2024 18:19:47 +0000 (UTC) From: Sam James To: gentoo-dev@lists.gentoo.org Cc: Sam James Subject: [gentoo-dev] [PATCH 00/44] eclass: add global-scope ewarn for deprecated < EAPI 7 Date: Sun, 8 Sep 2024 19:16:09 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 04a90ee2-5dc6-41ee-8339-2709d52f0ff3 X-Archives-Hash: 0344311e590be259a5929b0a3a3cb449 The motivation here is to give users and casual ebuild authors a final last warning before things are yanked out from under them, to make Gentoo a bit less hostile to develop on without following the MLs closely. While we want people to run e.g. pkgcheck, not everyone is going to. The global scope warning is noisy but all consumers in ::gentoo are gone already and the noise will be there in 30 days once the support is actually removed (as is already queued [0]) but with no temporary workaround then. For future EAPI deprecation cycles, we should consider warnings in the package manager as well as maybe a better well-defined lifecycle for EAPI support in eclasses, as it's currently very ad-hoc based on when the last consumer is gone in ::gentoo per-eclass. [0] https://github.com/gentoo/gentoo/pull/37652 Sam James (44): apache-module.eclass: add global-scope ewarn for deprecated < EAPI 7 autotools.eclass: add global-scope ewarn for deprecated < EAPI 7 bash-completion-r1.eclass: add global-scope ewarn for deprecated < EAPI 7 cdrom.eclass: add global-scope ewarn for deprecated < EAPI 7 check-reqs.eclass: add global-scope ewarn for deprecated < EAPI 7 depend.apache.eclass: add global-scope ewarn for deprecated < EAPI 7 desktop.eclass: add global-scope ewarn for deprecated < EAPI 7 flag-o-matic.eclass: add global-scope ewarn for deprecated < EAPI 7 fortran-2.eclass: add global-scope ewarn for deprecated < EAPI 7 gnuconfig.eclass: add global-scope ewarn for deprecated < EAPI 7 java-pkg-2.eclass: add global-scope ewarn for deprecated < EAPI 7 java-utils-2.eclass: add global-scope ewarn for deprecated < EAPI 7 libtool.eclass: add global-scope ewarn for deprecated < EAPI 7 mono-env.eclass: add global-scope ewarn for deprecated < EAPI 7 multibuild.eclass: add global-scope ewarn for deprecated < EAPI 7 multilib-build.eclass: add global-scope ewarn for deprecated < EAPI 7 multilib.eclass: add global-scope ewarn for deprecated < EAPI 7 multilib-minimal.eclass: add global-scope ewarn for deprecated < EAPI 7 multiprocessing.eclass: add global-scope ewarn for deprecated < EAPI 7 out-of-source-utils.eclass: add global-scope ewarn for deprecated < EAPI 7 pax-utils.eclass: add global-scope ewarn for deprecated < EAPI 7 perl-functions.eclass: add global-scope ewarn for deprecated < EAPI 7 php-pear-r2.eclass: add global-scope ewarn for deprecated < EAPI 7 portability.eclass: add global-scope ewarn for deprecated < EAPI 7 prefix.eclass: add global-scope ewarn for deprecated < EAPI 7 preserve-libs.eclass: add global-scope ewarn for deprecated < EAPI 7 readme.gentoo-r1.eclass: add global-scope ewarn for deprecated < EAPI 7 ruby-fakegem.eclass: add global-scope ewarn for deprecated < EAPI 7 ruby-ng.eclass: add global-scope ewarn for deprecated < EAPI 7 ruby-utils.eclass: add global-scope ewarn for deprecated < EAPI 7 strip-linguas.eclass: add global-scope ewarn for deprecated < EAPI 7 systemd.eclass: add global-scope ewarn for deprecated < EAPI 7 tmpfiles.eclass: add global-scope ewarn for deprecated < EAPI 7 toolchain-funcs.eclass: add global-scope ewarn for deprecated < EAPI 7 udev.eclass: add global-scope ewarn for deprecated < EAPI 7 vcs-clean.eclass: add global-scope ewarn for deprecated < EAPI 7 vim-doc.eclass: add global-scope ewarn for deprecated < EAPI 7 vim-plugin.eclass: add global-scope ewarn for deprecated < EAPI 7 vim-spell.eclass: add global-scope ewarn for deprecated < EAPI 7 virtualx.eclass: add global-scope ewarn for deprecated < EAPI 7 webapp.eclass: add global-scope ewarn for deprecated < EAPI 7 wrapper.eclass: add global-scope ewarn for deprecated < EAPI 7 xdg.eclass: add global-scope ewarn for deprecated < EAPI 7 xdg-utils.eclass: add global-scope ewarn for deprecated < EAPI 7 eclass/apache-module.eclass | 15 ++++++++++----- eclass/autotools.eclass | 14 +++++++++----- eclass/bash-completion-r1.eclass | 8 ++++++-- eclass/cdrom.eclass | 16 ++++++++++------ eclass/check-reqs.eclass | 14 +++++++++----- eclass/depend.apache.eclass | 13 +++++++------ eclass/desktop.eclass | 8 ++++++-- eclass/flag-o-matic.eclass | 12 ++++++++---- eclass/fortran-2.eclass | 14 +++++++++----- eclass/gnuconfig.eclass | 14 +++++++++----- eclass/java-pkg-2.eclass | 12 ++++++++---- eclass/java-utils-2.eclass | 12 ++++++++---- eclass/libtool.eclass | 9 +++++++++ eclass/mono-env.eclass | 14 +++++++++----- eclass/multibuild.eclass | 14 +++++++++----- eclass/multilib-build.eclass | 14 +++++++++----- eclass/multilib-minimal.eclass | 17 +++++++++++------ eclass/multilib.eclass | 14 +++++++++----- eclass/multiprocessing.eclass | 16 ++++++++++------ eclass/out-of-source-utils.eclass | 14 +++++++++----- eclass/pax-utils.eclass | 16 ++++++++++------ eclass/perl-functions.eclass | 11 ++++++----- eclass/php-pear-r2.eclass | 14 +++++++++----- eclass/portability.eclass | 12 ++++++++---- eclass/prefix.eclass | 16 ++++++++++------ eclass/preserve-libs.eclass | 14 +++++++++----- eclass/readme.gentoo-r1.eclass | 6 +++++- eclass/ruby-fakegem.eclass | 8 ++++++-- eclass/ruby-ng.eclass | 8 ++++++-- eclass/ruby-utils.eclass | 14 +++++++++----- eclass/strip-linguas.eclass | 16 ++++++++++------ eclass/systemd.eclass | 8 ++++++-- eclass/tmpfiles.eclass | 12 ++++++++---- eclass/toolchain-funcs.eclass | 12 ++++++++---- eclass/udev.eclass | 14 +++++++++----- eclass/vcs-clean.eclass | 14 +++++++++----- eclass/vim-doc.eclass | 12 ++++++++---- eclass/vim-plugin.eclass | 14 +++++++++----- eclass/vim-spell.eclass | 12 ++++++++---- eclass/virtualx.eclass | 14 +++++++++----- eclass/webapp.eclass | 14 +++++++++----- eclass/wrapper.eclass | 16 ++++++++++------ eclass/xdg-utils.eclass | 8 ++++++-- eclass/xdg.eclass | 14 +++++++++----- 44 files changed, 370 insertions(+), 193 deletions(-) -- 2.46.0