1 |
Am Donnerstag, den 04.06.2009, 19:01 -0400 schrieb Thomas Anderson: |
2 |
> While writing the devmanual patch that I agreed to write for removal of |
3 |
> eclasses I came across the very vague definition of "deprecating" |
4 |
> eclasses before removal. Ulrich(last name ommitted to avoid stabbing ;-) ) |
5 |
> and we came up with the following for the process of deprecating an |
6 |
> eclass: |
7 |
> |
8 |
> a. make sure nothing in the tree uses it any more |
9 |
> b. announce deprecation on -dev |
10 |
> c. put a warning in pkg_setup |
11 |
> d. add a line containing exactly "# @DEAD" for vapier's man pages |
12 |
> |
13 |
> Please vote so we don't have to go over this in a meeting. I personally |
14 |
> am fine with it, but my vote matters little. |
15 |
According to the above you applied Common Sense (tm) which would have |
16 |
been sufficient, but since you ask: yes, I think it looks ok. |
17 |
We may want to create an additional deprecated.eclass where we implement |
18 |
pkg_setup (and maybe pkg_pretend for eapi-3) to have a default "this is |
19 |
deprecated" warning and die-statement. |
20 |
|
21 |
Cheers, |
22 |
Tiziano |
23 |
|
24 |
|
25 |
-- |
26 |
Tiziano Müller |
27 |
Gentoo Linux Developer, Council Member |
28 |
Areas of responsibility: |
29 |
Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor |
30 |
E-Mail : dev-zero@g.o |
31 |
GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30 |