1 |
On Mon, 10 Apr 2017 13:38:58 +1200 |
2 |
Kent Fredric <kentnl@g.o> wrote: |
3 |
> |
4 |
> When you reverse this, you introduce a situation where adding a new |
5 |
> version across the board creates a new skeleton-tree of support. |
6 |
|
7 |
FYI, this is how it is when a new Java JDK comes out. When 1.5 came |
8 |
out, if 1.4 code had issues compiling, the package was addressed. The |
9 |
same thing can happen any time a new version comes out. |
10 |
|
11 |
The impact most times is minimal. Unless there are wide sweeping |
12 |
changes. Which is pretty rare in any language. |
13 |
|
14 |
> And when you find something that *doesnt* work, you may have to |
15 |
> recursively mark its *dependents* as "non-working" to avoid a |
16 |
> dependency graph breakage. |
17 |
|
18 |
This has never been the case with Java. |
19 |
|
20 |
If package A requires version X, but B Y, then B builds with Y as its |
21 |
pulled in as a dep. while A proceeds to build with X. |
22 |
|
23 |
Where this is different for Python, Ruby, and also Perl. They all |
24 |
install files into a directory based on version. You may have multiple |
25 |
copies in each, vs one. Perl does not have targets, nor does Java. |
26 |
|
27 |
> This is the sort of thing that makes life hell, for both developers |
28 |
> and users. |
29 |
|
30 |
The present system is a PITA for users. Fiddling with adding/removing |
31 |
targets for Python/Ruby. In addition to selecting which for the system. |
32 |
All these same problems exist for Java, with the exception of |
33 |
installation locations as mentioned. |
34 |
|
35 |
> I could be barking up the wrong tree, buy the python team could give a |
36 |
> better idea of what that would look like in practice than me. |
37 |
|
38 |
I have direct experience in this. I am experiencing some of this now |
39 |
with JDK 9. It is different regarding Python and Ruby. It would be up |
40 |
to those teams. But I do think the entire TARGETS aspect needs to be |
41 |
revisited. |
42 |
|
43 |
No one likes adding/removing TARGETS. That is a waste of anyone's time. |
44 |
Much less developers adding/removing targets from ebuilds. |
45 |
|
46 |
-- |
47 |
William L. Thomson Jr. |