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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2B3B139694 for ; Tue, 20 Jun 2017 05:42:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7EEDE0DD0; Tue, 20 Jun 2017 05:42:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6431CE079C for ; Tue, 20 Jun 2017 05:42:16 +0000 (UTC) Received: from [46.246.42.179] (anon-42-179.vpn.ipredator.se [46.246.42.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zlg) by smtp.gentoo.org (Postfix) with ESMTPSA id A0764341979 for ; Tue, 20 Jun 2017 05:42:14 +0000 (UTC) Subject: Re: [gentoo-dev] [PATCH] fdo-mime.eclass: Mark the eclass as deprecated To: gentoo-dev@lists.gentoo.org References: <20170619132019.11142-1-mgorny@gentoo.org> From: Daniel Campbell Message-ID: Date: Mon, 19 Jun 2017 22:42:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 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 MIME-Version: 1.0 In-Reply-To: <20170619132019.11142-1-mgorny@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eH9lqC0wENqEo4ell5Cdk9RWN6OPHPEXv" X-Archives-Salt: f2021ab1-b235-4d28-8943-b36e769b5790 X-Archives-Hash: 4b753a49434fe4b6f1203c3d830c8c16 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eH9lqC0wENqEo4ell5Cdk9RWN6OPHPEXv Content-Type: multipart/mixed; boundary="wKhkGNpbMJu6HrXSpC6AGinPRQugQqk0M"; protected-headers="v1" From: Daniel Campbell To: gentoo-dev@lists.gentoo.org Message-ID: Subject: Re: [gentoo-dev] [PATCH] fdo-mime.eclass: Mark the eclass as deprecated References: <20170619132019.11142-1-mgorny@gentoo.org> In-Reply-To: <20170619132019.11142-1-mgorny@gentoo.org> --wKhkGNpbMJu6HrXSpC6AGinPRQugQqk0M Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06/19/2017 06:20 AM, Micha=C5=82 G=C3=B3rny wrote: > The GNOME team has committed the xdg-utils.eclass serving exactly > the same purpose as fdo-mime.eclass, supposedly with the goal of > replacing it. However, it seems that they have never bothered to > actually hint the deprecation in the fdo-mime.eclass in any way. > As a result, developers are still adding references to this eclass > instead of using xdg-utils or xdg, and/or not working towards replacing= > them. >=20 > Add an explicit deprecation notice to the fdo-mime.eclass to make it > clear that the eclass should not be used in new packages, and what > the replacement eclasses are. > --- > eclass/fdo-mime.eclass | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/eclass/fdo-mime.eclass b/eclass/fdo-mime.eclass > index b3b096d154e7..8e51d8a69df1 100644 > --- a/eclass/fdo-mime.eclass > +++ b/eclass/fdo-mime.eclass > @@ -1,4 +1,4 @@ > -# Copyright 1999-2011 Gentoo Foundation > +# Copyright 1999-2017 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > =20 > # @ECLASS: fdo-mime.eclass > @@ -7,6 +7,8 @@ > # @AUTHOR: > # Original author: foser > # @BLURB: Utility eclass to update the desktop mime info as laid out i= n the freedesktop specs & implementations > +# @DESCRIPTION: > +# This eclass is DEPRECATED. Please use xdg-utils or xdg instead. > =20 > # @FUNCTION: fdo-mime_desktop_database_update > # @DESCRIPTION: >=20 Looks good to me. Thanks for looking out for stuff like this. That aside, isn't this supposed to be standard operating procedure if a developer is deprecating an eclass? And similarly with the removal of an eclass, all ebuilds getting updated by the developer or team that prompted the removal of the eclass? My apologies if this is answered elsewhere. I want to be sure what's expected, just in case I need to touch an eclass. --=20 Daniel Campbell - Gentoo Developer OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6 --wKhkGNpbMJu6HrXSpC6AGinPRQugQqk0M-- --eH9lqC0wENqEo4ell5Cdk9RWN6OPHPEXv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgIn+0tMDW9PQWDLnASQOlFA54XAFAllItasACgkQASQOlFA5 4XCBPQ/+PFSVKmRldcOyZNYRNn3e8xOoxUyOF0fe6s5Kxf2usCC1qYPc6qmbY8so bhpUVI7RakNR1btxKcVZIon7g3f9RNdVf1gxYTuoKrl6redRM2RKFjWaUD+M39h+ A9Kb22LLQTaFxAEf6jzOjlTZOxJCn4WxzM95figCmGhMXQ3iL24w1F1Q+chpF/B+ NAPRcjaq52KMj08GbPHm0S6b9yZk2yFrs+5Aoq0ACYWnTY+1raRRskqM1vrjT098 Ut/S4/EqPkaajAAb6MfNARNYxCuszfbzxrJO/EYztuAqq0u7mfoNCogm64QKjnhN miSM4QRgMcDY/5xlHjAoRxF6MiTQ/MG64RwoNH2Jj4yQiMHCZKSdT0O+WKjW67/H OVwP/bshwaiWMP/w49in5qrKzjdOCx5czEGPN/j+MJHo7/UcPU/wurDpFlfcR9gH KrIPCRUTPeILmSS6mpaF3VouvvJAjeX47J+BcdoVTTIW/VmxeTxDIHZHcP3fWGpV NEGSsHCCoq6rLhDkWXrsV1e15hOlL4SsDkokcf2dr6mO/AUqgOvCcibqLC+qKB4N fvZvGkqQS2CVdwfMrW9/UD+gxvXYjbNHXU3R3R8X8DucsD5/SEiGbvDl/bOeC21y p/Y5uKN8YjgiuAuC3mZa5oJjnMj/WZry4waKsoKXvCuOO0W66CI= =9idU -----END PGP SIGNATURE----- --eH9lqC0wENqEo4ell5Cdk9RWN6OPHPEXv--