Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ACCEPT_LICENSE revisited
Date: Sun, 19 Nov 2006 02:38:53
Message-Id: 20061119023552.GC10696@seldon
In Reply to: Re: [gentoo-dev] ACCEPT_LICENSE revisited by Jason Stubbs
1 On Mon, Nov 20, 2006 at 08:05:03PM +0900, Jason Stubbs wrote:
2 > On Sunday 19 November 2006 06:25, Brian Harring wrote:
3 > > The current default in portage however is that of ACCEPT_LICENSE=*;
4 > > since portage doesn't yet filter on licenses, and since interactive
5 > > ebuilds already exist, _that_ is the default.
6 > >
7 > > Finally, NON-INTERACTIVE shouldn't be a license group;
8 > > RESTRICT=interactive is the route there; you can have gpl software
9 > > distributed on cds that must be interactive (feed cds in as
10 > > requested).
11 > >
12 > > The only solution there would to be to invent a fake license group for
13 > > it and tag it in... which is not what license is about.
14 > >
15 > > Interactivity is a seperate thing from license; keep it that way.
16 >
17 > You're missing the point. It is nothing to do with interactivity.
18
19 *Cough*, you do realize you're saying that 'NON-INTERACTIVE' has
20 nothing to do with interactivity, right? If that's the case, I'd
21 suggest y'all find a better name for "NON-INTERACTIVE" ;-)
22
23 Meanwhile, the point that interactivty requires a seperate mechanism
24 still stands (see gpl example above).
25
26 Read on please, despite the jokes what I'm trying to make y'all see is
27 that interactivity (literal, the ebuild waits on stdin) is a seperate
28 thing from LICENSE (even if a specific license may always require
29 interactive confirmation), as such using such a name (let alone it as
30 default) doesn't make much sense.
31
32
33 > It is to do
34 > with check_license and ebuilds for packages that must have their license
35 > explicitly accepted.
36
37 And what of cdrom_get_cds and friends? They're going to require a
38 restrict due to them being interactive, unless y'all are proposing a
39 special case addition to the ebuilds restrict for when its license is
40 a member of NON-INTERACTIVE...
41
42 ACCEPT_LICENSE is just a visibility filter on what the user is willing
43 to deal with; it's not a binding agreement to that particular license
44 (wouldn't have to use check_license for EULAs if that were the case),
45 as such the mechanism of actually *accepting* the license is outside
46 of ACCEPT_LICENSE's purview.
47
48 It's just a filter on *licenses*, not on the mechanism of accepting a
49 license. Try to cram interactivity into it (even if just a badly
50 labeled license group name), give more meaning to the group then what
51 LICENSE is actually about. Label it EULA's if you like.
52
53 Short and sweet, you still need a matching restrict; as such such a
54 default/name is bleeding restrict into license; again, they're
55 seperate things.
56
57
58 > In other words there should be no "*" and the default
59 > ACCEPT_LICENSE should default to everything except ebuilds that are currently
60 > using check_license.
61
62 Again... what of cdrom_load_next_cd and friends? That functionality
63 (which can require interactivity) may be dealing strictly in GPL code.
64
65 Do you really think a user who hits that is going to care that
66 NON-INTERACTIVE actually means "non click through EULA licenses"?
67 They're going to be annoyed that the set NON-INTERACTIVE, came back 4
68 hours later to find that portage is hung waiting on interactive input.
69
70 In other words... the name at the very least seriously sucks, but
71 wait, theres more! :)
72
73
74 > The NON-INTERACTIVE group specified in the original GLEP
75 > specified that set.
76
77 Then the glep is inconsistant, since the backwards compatibility
78 claims-
79 "There should be no change to the user experience without the user
80 explicitly choosing to do so."
81
82 NON-INTERACTIVE obviously is not accept all licenses, as such there
83 *is* a change in the behaviour.
84
85 Further, if you think through the implications of such a label, you're
86 going to realize that without the matching restrict (which is the
87 *real* filtering of interactive ebuilds), someone is going to wind up
88 shoving a fake license into NON-INTERACTIVE for a license that doesn't
89 require user click through.
90
91 My suggestion would be to drop the NON-INTERACTIVE crap, go back to
92 the '*' original assumptino folks had, and finish off glep52; either
93 that or find a helluva lot better name for NON-INTERACTIVE since it's
94 duplication of what glep52 should address.
95
96 ~harring

Replies

Subject Author
Re: [gentoo-dev] ACCEPT_LICENSE revisited Chris Gianelloni <wolf31o2@g.o>