public inbox for gentoo-council@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-council] Question I had while writing my devmanual patch about eclasses
@ 2009-06-04 23:01 Thomas Anderson
  2009-06-06 12:16 ` Tobias Scherbaum
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thomas Anderson @ 2009-06-04 23:01 UTC (permalink / raw
  To: gentoo-council

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

While writing the devmanual patch that I agreed to write for removal of
eclasses I came across the very vague definition of "deprecating"
eclasses before removal. Ulrich(last name ommitted to avoid stabbing ;-) )
and we came up with the following for the process of deprecating an
eclass:

a. make sure nothing in the tree uses it any more
b. announce deprecation on -dev
c. put a warning in pkg_setup
d. add a line containing exactly "# @DEAD" for vapier's man pages

Please vote so we don't have to go over this in a meeting. I personally
am fine with it, but my vote matters little.

-- 
---------
Thomas Anderson
Gentoo Developer
/////////
Areas of responsibility:
AMD64, Secretary to the Gentoo Council
---------

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-council] Question I had while writing my devmanual patch about eclasses
  2009-06-04 23:01 [gentoo-council] Question I had while writing my devmanual patch about eclasses Thomas Anderson
@ 2009-06-06 12:16 ` Tobias Scherbaum
  2009-06-06 12:54 ` [gentoo-council] " Torsten Veller
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Tobias Scherbaum @ 2009-06-06 12:16 UTC (permalink / raw
  To: Thomas Anderson; +Cc: gentoo-council

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

Thomas Anderson wrote:
> a. make sure nothing in the tree uses it any more
> b. announce deprecation on -dev
> c. put a warning in pkg_setup
> d. add a line containing exactly "# @DEAD" for vapier's man pages

Looks good to me.

Tobias

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-council] Re: Question I had while writing my devmanual patch about eclasses
  2009-06-04 23:01 [gentoo-council] Question I had while writing my devmanual patch about eclasses Thomas Anderson
  2009-06-06 12:16 ` Tobias Scherbaum
@ 2009-06-06 12:54 ` Torsten Veller
  2009-06-06 13:19 ` [gentoo-council] " Tiziano Müller
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Torsten Veller @ 2009-06-06 12:54 UTC (permalink / raw
  To: gentoo-council

* Thomas Anderson <gentoofan23@gentoo.org>:
> c. put a warning in pkg_setup

pkg_setup is probably not exported.
Even if it gets exported, we can't be sure that it is run.

If we want to warn on future installations, we better put the
warning in all installation phases.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-council] Question I had while writing my devmanual patch about eclasses
  2009-06-04 23:01 [gentoo-council] Question I had while writing my devmanual patch about eclasses Thomas Anderson
  2009-06-06 12:16 ` Tobias Scherbaum
  2009-06-06 12:54 ` [gentoo-council] " Torsten Veller
@ 2009-06-06 13:19 ` Tiziano Müller
  2009-06-08 18:36 ` Petteri Räty
  2009-06-12 20:23 ` Doug Goldstein
  4 siblings, 0 replies; 6+ messages in thread
From: Tiziano Müller @ 2009-06-06 13:19 UTC (permalink / raw
  To: Thomas Anderson; +Cc: gentoo-council

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

Am Donnerstag, den 04.06.2009, 19:01 -0400 schrieb Thomas Anderson:
> While writing the devmanual patch that I agreed to write for removal of
> eclasses I came across the very vague definition of "deprecating"
> eclasses before removal. Ulrich(last name ommitted to avoid stabbing ;-) )
> and we came up with the following for the process of deprecating an
> eclass:
> 
> a. make sure nothing in the tree uses it any more
> b. announce deprecation on -dev
> c. put a warning in pkg_setup
> d. add a line containing exactly "# @DEAD" for vapier's man pages
> 
> Please vote so we don't have to go over this in a meeting. I personally
> am fine with it, but my vote matters little.
According to the above you applied Common Sense (tm) which would have
been sufficient, but since you ask: yes, I think it looks ok.
We may want to create an additional deprecated.eclass where we implement
pkg_setup (and maybe pkg_pretend for eapi-3) to have a default "this is
deprecated" warning and die-statement.

Cheers,
Tiziano


-- 
Tiziano Müller
Gentoo Linux Developer, Council Member
Areas of responsibility:
  Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor
E-Mail   : dev-zero@gentoo.org
GnuPG FP : F327 283A E769 2E36 18D5  4DE2 1B05 6A63 AE9C 1E30

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-council] Question I had while writing my devmanual patch about eclasses
  2009-06-04 23:01 [gentoo-council] Question I had while writing my devmanual patch about eclasses Thomas Anderson
                   ` (2 preceding siblings ...)
  2009-06-06 13:19 ` [gentoo-council] " Tiziano Müller
@ 2009-06-08 18:36 ` Petteri Räty
  2009-06-12 20:23 ` Doug Goldstein
  4 siblings, 0 replies; 6+ messages in thread
From: Petteri Räty @ 2009-06-08 18:36 UTC (permalink / raw
  To: Thomas Anderson; +Cc: gentoo-council

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

Thomas Anderson wrote:
> While writing the devmanual patch that I agreed to write for removal of
> eclasses I came across the very vague definition of "deprecating"
> eclasses before removal. Ulrich(last name ommitted to avoid stabbing ;-) )
> and we came up with the following for the process of deprecating an
> eclass:
> 
> a. make sure nothing in the tree uses it any more
> b. announce deprecation on -dev

-dev-announce

> c. put a warning in pkg_setup

Could make use of what debug.eclass does now.


Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-council] Question I had while writing my devmanual patch  about eclasses
  2009-06-04 23:01 [gentoo-council] Question I had while writing my devmanual patch about eclasses Thomas Anderson
                   ` (3 preceding siblings ...)
  2009-06-08 18:36 ` Petteri Räty
@ 2009-06-12 20:23 ` Doug Goldstein
  4 siblings, 0 replies; 6+ messages in thread
From: Doug Goldstein @ 2009-06-12 20:23 UTC (permalink / raw
  To: Thomas Anderson; +Cc: gentoo-council

On Thu, Jun 4, 2009 at 6:01 PM, Thomas Anderson<gentoofan23@gentoo.org> wrote:
> While writing the devmanual patch that I agreed to write for removal of
> eclasses I came across the very vague definition of "deprecating"
> eclasses before removal. Ulrich(last name ommitted to avoid stabbing ;-) )
> and we came up with the following for the process of deprecating an
> eclass:
>
> a. make sure nothing in the tree uses it any more
> b. announce deprecation on -dev
> c. put a warning in pkg_setup
> d. add a line containing exactly "# @DEAD" for vapier's man pages
>
> Please vote so we don't have to go over this in a meeting. I personally
> am fine with it, but my vote matters little.
>
> --
> ---------
> Thomas Anderson
> Gentoo Developer
> /////////
> Areas of responsibility:
> AMD64, Secretary to the Gentoo Council
> ---------
>

Looks good from here. ++

-- 
Doug Goldstein



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-12 20:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 23:01 [gentoo-council] Question I had while writing my devmanual patch about eclasses Thomas Anderson
2009-06-06 12:16 ` Tobias Scherbaum
2009-06-06 12:54 ` [gentoo-council] " Torsten Veller
2009-06-06 13:19 ` [gentoo-council] " Tiziano Müller
2009-06-08 18:36 ` Petteri Räty
2009-06-12 20:23 ` Doug Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox