1 |
Duncan: |
2 |
> NP-Hardass posted on Tue, 19 Jan 2016 00:44:49 -0500 as excerpted: |
3 |
> |
4 |
>> "adopt-a-package" type program. In functionality, this is no different |
5 |
>> than proxy-maintenance, however, this codifies it into an explicit |
6 |
>> policy whereby users are encouraged to step and take over a package. |
7 |
>> This obviously requires a greater developer presence in the proxy-maint |
8 |
>> project (or something similar), |
9 |
>> but, personally, I think that a stronger dev presence in proxy-maint |
10 |
>> would be better for Gentoo as a whole. |
11 |
> |
12 |
> That gave me the idea of a maintainer-needed eclass. When packages are |
13 |
> set to maintainer-needed, they can simply inherit this eclass and add |
14 |
> whatever function to the pkg_postinst, that will add a message that will |
15 |
> in effect say "adopt-me please", probably printing a proxy-maintainer |
16 |
> invitation URL to go to for more information. |
17 |
> |
18 |
> Talking about pkg_postinst messages, unless I missed it there's no simple |
19 |
> way to add a one ATM, without coding up the whole function, making it |
20 |
> problematic for eclasses, etc. For EAPI-7, what about either a helper |
21 |
> function that can be called, or an array variable that can be simply |
22 |
> added to, that simply adds the supplied message to a list of messages |
23 |
> printed at pkg_postinst time, and of course an appropriate |
24 |
> default_pkg_postinst to go along with it? Then ebuilds and eclasses can |
25 |
> call this helper or set this var in whatever phase they need to, and the |
26 |
> message will be printed at pkg_postinst time without having to worry |
27 |
> about setting up your own pkg_postinst or stepping on anything |
28 |
> pkg_postinst related setup elsewhere. |
29 |
> |
30 |
See: |
31 |
sys-apps/portage: show an elog message when merged package is maintained |
32 |
by maintainer-needed |
33 |
https://bugs.gentoo.org/show_bug.cgi?id=398633 |
34 |
|
35 |
Can we reconsider implementing this idea perhaps? |
36 |
|
37 |
-- |
38 |
gokturk |