1 |
Dnia 2014-08-26, o godz. 23:35:16 |
2 |
Michał Górny <mgorny@g.o> napisał(a): |
3 |
|
4 |
> Dnia 2014-08-26, o godz. 12:51:22 |
5 |
> Michał Górny <mgorny@g.o> napisał(a): |
6 |
> |
7 |
> > I think the best way forward is to: |
8 |
> > |
9 |
> > 1. Teach 'old' eselect-bashcomp to find files in the new $completionsdir |
10 |
> > as well as the old location, and stabilize that soon. |
11 |
> > |
12 |
> > 2. Switch the eclass and ebuilds to use the new $completionsdir. While |
13 |
> > at it, make sure that ebuilds install completion files whose names |
14 |
> > conform to the new layout (portage QA check likely). |
15 |
> > |
16 |
> > 3. Do we need some specific documentation except for a regular news |
17 |
> > item? Where? |
18 |
> > |
19 |
> > 4. Unmask the new bash-completion and eselect-bashcomp. Add a news item |
20 |
> > explaining the sudden change :). |
21 |
> |
22 |
> A bit more details to the plan: |
23 |
> |
24 |
> |
25 |
> 1. Bump app-admin/eselect-bashcomp (or app-shells/bash-completion) |
26 |
> to install env.d file with ES_BASHCOMP_DIRS pointing to the new |
27 |
> $completionsdir. |
28 |
> |
29 |
> [...] |
30 |
> |
31 |
> 2. Change bash-completion-r1.eclass default to /completions subdir. |
32 |
> |
33 |
> [...] |
34 |
> |
35 |
> 3. Bump app-shells/bash-completion to respect current $completionsdir. |
36 |
> |
37 |
> [...] |
38 |
|
39 |
If anyone wishes to review this further, attached bash-completion |
40 |
ebuild changes for (1) and (3), and eclass changes for (2). Tested |
41 |
and confirmed working. |
42 |
|
43 |
-- |
44 |
Best regards, |
45 |
Michał Górny |