16:00:11 #startmeeting fpc 16:00:11 Meeting started Thu Jun 7 16:00:11 2018 UTC. 16:00:11 This meeting is logged and archived in a public location. 16:00:11 The chair is geppetto. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:11 Useful Commands: #action #agreed #halp #info #idea #link #topic. 16:00:11 The meeting name has been set to 'fpc' 16:00:11 #meetingname fpc 16:00:11 #topic Roll Call 16:00:11 The meeting name has been set to 'fpc' 16:00:17 Howdy. 16:00:20 * limburgher here 16:00:21 Hi 16:00:21 #chair tibbs 16:00:21 Current chairs: geppetto tibbs 16:00:23 #chair limburgher 16:00:23 Current chairs: geppetto limburgher tibbs 16:00:30 #chair mhroncok_phone 16:00:30 Current chairs: geppetto limburgher mhroncok_phone tibbs 16:01:53 * mhroncok_phone is on Fedora Release Party, will get to a computer soon 16:01:59 hi everybody 16:02:04 #chair decathorpe 16:02:04 Current chairs: decathorpe geppetto limburgher mhroncok_phone tibbs 16:02:56 I was going to say that we had no new tickets besides the one I filed to track the webextension draft, but I see one appeared this morning. 16:02:58 Anyone know if churchyard is around today? 16:03:03 yeh 16:03:08 Here 16:03:12 On his phone, I assume. 16:03:24 oh, bah 16:05:04 #chair mhroncok 16:05:04 Current chairs: decathorpe geppetto limburgher mhroncok mhroncok_phone tibbs 16:05:04 I'm here 16:05:21 #topic Schedule 16:05:24 https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/message/RQ3PUFXH7TJV7MO4TVV5MVGGBPPGVLNN/ 16:05:42 I've no idea what my email client decided to do to my email this week 16:05:58 I just thought, that's interesting formatting this week 16:06:04 indeed 16:06:22 it looked perfect when I just send … but what is in my sent folder looks like what hit the list :( 16:06:44 anyway … ignoring that in multiple ways … 772 16:06:58 #topic #772 Manual Python byte compilation change 16:07:01 .fpc 772 16:07:03 geppetto: Issue #772: Manual Python byte compilation change - packaging-committee - Pagure - https://pagure.io/packaging-committee/issue/772 16:07:26 So I read it, and... I'm afraid there's one thing I just don't get. 16:07:45 There's this thing which, if it would do anything at all, must always be disabled. 16:07:51 So... why don't we just disable it by default? 16:08:18 yeh 16:08:26 (The thing happens to be automatic byte compilation of anything named *.py outside of /usr/lib*/python*. 16:08:35 ) 16:08:53 the wording is weird, but I'm not 100% sure it does byte compilation outside of the dirs. 16:09:13 but if it does, that seems bad 16:09:18 Got discinnected, sorry 16:09:19 It does. Always has, actually. 16:09:41 should be on a better wifi now 16:10:05 This feature is about turning that off, but right now (as of recent rawhide) what's there is the ability to turn it off. It's still done by default. 16:10:34 I don't understand why we would have something which is on by default, but which we require that packagers disable. 16:10:45 tibbs: ok, so let me try to explain 16:10:53 we want to get rid of it 16:11:03 but we don't want to break everything 16:11:14 Where "everything" is what, exactly? 16:11:18 so we say you must disbale it now, so we don't bring in new packages that use it 16:11:35 later, in 2 or 3 releaes, when this is adapted a bit more, we say it's disabled by default 16:11:56 What would actually break? At worst some packages wouldn't build due to missing __pycache__ directories, maybe. 16:11:58 tibbs: packages that rely on the current badly designed bahaviour 16:12:00 do we have a rough list/count of packages that put *.py files outside of /usr/lib/*/python*.*? 16:12:31 There may be plenty, but how does anything rely on it? Python still runs if files aren't byte compiled. 16:12:38 it was a couple hundreds IIRC 16:12:49 uh 16:12:51 ok, iw we turn it of by default, it works for me 16:12:56 this was the compromise 16:13:13 The context would have been nice, I guess. 16:13:16 as approved by fesco. I think if we want to switch it of now, we need to get it reapproved 16:13:31 ok 16:13:39 Wish we had had a chance to comment on the fesco discussion, since this is... dumb. 16:13:51 ok, sorry for not bringing you in 16:14:00 I'm fine with it … just assumed it would only be < 50 packages and it would be easier to just switch it off 16:14:09 I'm not saying it's fesco who made us do it this way 16:14:15 I'm just saying it's how it got approved 16:14:35 This is sort of an illustration of a sad point. We pass this draft and all of those packages still build but are out of compliance with the guidelines. 16:15:00 tibbs: the packages will stop building it anyway with the other chnage 16:15:02 ... 16:15:10 https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package 16:15:24 trying to get pviktori in 16:15:36 tibbs: what would you prefer? 16:15:42 he had some list of packages that ship pyc files outside of python dirs 16:15:59 we can get the list and make a decision next week I guess 16:16:15 I'm mostly fine to +1 now. 16:16:30 pviktori: just if we have the list of packages 16:16:35 Basically I'm bemoaning an attitude that it's better to have all of these packages in random states of guidelines compliance rather than just break them. 16:16:38 pviktori: that rely on automagic bytecompilation 16:16:43 pviktori: or count at least 16:17:23 Obviously there's a tradeoff here, but we could fix those packages with one line instead of adding this weird "on by default but you MUST turn it off" thing to the guidelines. 16:17:36 Which then forces... how many packages to add that? 16:17:37 I would change "compilation, and compile them" to "compilation. You can then compile them" 16:17:46 which I think is easier to read. 16:18:00 geppetto: feel free to adjust th wording 16:18:03 in place 16:18:16 I don't have the list ready :( 16:18:19 tibbs: the one liner would need to know what to bytecompile exactly I guess 16:18:27 pviktori: np, thnaks 16:18:52 our idea was to fix all the pythno3 packages 16:18:54 mhroncok: The one liner would just turn the automatic bytecompilation back on. 16:18:58 and let the python2 packages die 16:19:03 without fixing them 16:19:20 tibbs: oh, got it 16:19:23 Just the other day I had to help someone in #fedora-devel to deal with the automatic bytecomp thing because it broke his package. 16:19:36 right 16:20:12 se the preffered way is to - get the list - add the onliner to turn this on - make it off y default? 16:20:18 Anyway, I guess we can add this unnecessary complication into the guidelines for now and then rip it out in a year, but that seems to be completely backwards from the right way to do it. 16:20:54 mhroncok: Ok, I've altered it … I'm +1 16:22:25 tibbs: Would you prefer some kind of config. to get the new behaviour? 16:22:30 Current diff is https://fedoraproject.org/w/index.php?title=User%3AChurchyard%2FManual_byte_compilation&type=revision&diff=latest&oldid=520118 16:22:42 geppetto: Exactly the opposite, actually. 16:23:02 Just make the change and have some kind of config. to get the old behaviour? 16:23:15 My point is that it is just bizarre to tell someone "X is on by default; you MUST disable it". 16:23:36 "f you have *.py files outside of the /usr/lib(64)?/pythonX.Y/ directories, you '''MUST''' disable their automatic compilation." 16:23:44 it is bizarre, yes 16:23:59 I mean it's more like "you must disable FOO, if you do weird things" 16:24:14 And the reason for that is that currently %_python_bytecompile_extra is 1. 16:24:34 but, yeh, I understand … but assuming we don't want to break 100s of packages tomorrow … I'm not sure what other option there is 16:24:54 geppetto: I don't see it that way, because the only case FOO _ever_ does anything is when you do those exact weird things. 16:25:36 Anyway, I don't see much point in my arguing about it further since this is the plan that FESCo has approved. 16:25:43 I quickly generated a list of packages that contain *.pyc files in /usr/share, and which files they are. it's *really* long 16:25:43 pviktori: are we OK to idenitfy the packages, and push one line to them in an automated fashion? 16:26:14 we can maybe ask fesco for a change 16:26:27 I don't think it's worth delaying movement on this for that. 16:26:51 That might be less work overall though 16:27:01 When I originally objected I didn't realize that the FESCo part of the process had existed. 16:27:06 But, as I said, I'm +1 on the current draft too. 16:28:20 One thing I might change is to explicitly say "on <= F28, if you need to change the python interpreter which is used for byte compilation of these files, add %global __python %__python3" 16:28:43 Currently it just says "This defaults to /usr/bin/python (that's Python 2.7 on Fedora). If you need to compile the modules for python3, set it to /usr/bin/python3 instead" 16:29:28 I.e. tell them the line to add instead of leaving it to them to understand how to set it properly. 16:29:48 Might as well tweak the draft 16:29:56 tibbs: it's in the fedora <= 28 section 16:30:18 Oh, there it is. 16:30:24 Sorry, I was looking at the diff and not the draft. 16:30:56 Also, ther's this added: "Note that this does disable the compilation of files in /usr/lib(64)?/pythonX.Y/. " 16:31:09 Never mind, I see what it's doing. 16:32:03 It's been too long since I looked at the Python_Appendix document, I think. 16:33:05 limburgher: decathorpe Any comments? 16:33:18 * decathorpe shrugs 16:33:47 Not really. Given the FESCO sitch, +1. 16:34:01 #chair 16:34:01 Current chairs: decathorpe geppetto limburgher mhroncok mhroncok_phone tibbs 16:34:08 yeah, +1 for now, even though the approach is strange 16:34:12 #unchair mhroncok_phone 16:34:12 Current chairs: decathorpe geppetto limburgher mhroncok tibbs 16:34:26 +1 and we'll fix this in a year or so. 16:34:28 tibbs: Ok, I think that just leaves you 16:34:35 I'm assuming mhroncok is +1 16:35:19 #action Manual Python byte compilation change (+1:5, 0:0, -1:0) 16:35:21 Ok 16:35:41 yes, I'm +1 16:36:29 #topic #691 noarch *sub*packages with arch-specific dependencies 16:36:31 .fpc 691 16:36:33 geppetto: Issue #691: guidelines change: noarch *sub*packages with arch-specific dependencies - packaging-committee - Pagure - https://pagure.io/packaging-committee/issue/691 16:37:02 mhroncok: opened the releng ticket 16:37:20 Should probably drop this out of meeting state until we get info. 16:37:21 finally 16:37:29 sorry for the dealy 16:37:33 no problem 16:37:45 ticket has been open since way before you got here 16:37:46 updated the tags 16:38:29 cool 16:38:40 ok, I thik that's it for updates … 16:38:45 #topic Open Floor 16:38:52 Anyone have anything they want to talk about? 16:38:59 Not I. 16:39:17 I decided it would be good to have webextension guidelines, so I figured I would start trying to draft some. 16:39:40 But I kind of realize that I don't know a lot about how chrome does them. 16:39:44 tibbs: I've seen it. but I really don't have any opinions there 16:39:50 exactly 16:40:30 Or rather, the way it seems to do it is bizarre, where the files aren't actually in the package. Instead there's a pointer to some internal bit of the chrome store and chrome fetches the files from there. 16:40:46 tibbs: that's rather horrible 16:40:59 But I don't have a lot of examples to follow. 16:41:13 web browsers seem to be special kind of horrible, yeah 16:41:16 tibbs: so if the bits go away upstream the package is worthless? 16:42:00 I guess that would be a side effect, yes. 16:42:24 smh 16:43:11 For example, the current webextension-token-signing package has /usr/share/chromium/extensions/(random-crap).json 16:43:23 That only contains "external_update_url": "https://clients2.google.com/service/update2/crx" 16:43:50 The firefox xpi file is just a zip of the actual javascript and content. 16:44:07 That's kind of what I expected 16:44:29 just pointing to an external url seems bad 16:44:44 Anyway, I'll have to look at it further but if anyone knows more about Chrome than the tiny bit I know, feel free to chime in. 16:44:53 geppetto, when has that ever stopped anyone? 16:44:55 tibbs: maybe spot would know 16:45:03 mhroncok, great point. 16:45:06 yeh, spot is the only person I can think of 16:45:26 although I'm not even sure how much he knows about the extensions 16:45:37 Anyway... 16:45:43 I'll give you all 15 minutes of your day back 16:45:47 #endmeeting