15:14:21 #startmeeting Fedora Packaging Committee 15:14:21 Meeting started Wed Apr 20 15:14:21 2011 UTC. The chair is spot. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:14:21 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:14:23 hm. 15:14:25 * spot wonders if the bot is sick 15:14:27 anyways. 15:14:28 can we do a quick roll call? 15:14:30 #meetingname fpc 15:14:30 The meeting name has been set to 'fpc' 15:14:36 #topic Roll Call 15:14:44 * SmootherFrOgZ here 15:14:52 Howdy. 15:15:00 hi 15:15:06 yo 15:15:25 geppetto, limburgher: ping 15:15:30 * limburgher yo 15:16:05 pong 15:16:10 okay, thats 7 15:16:17 abadger1999 is on vacation 15:16:29 and racor, well, :) 15:17:14 okay, lets hit the oldies. 15:17:24 #topic Systemd Migration Guidelines - https://fedorahosted.org/fpc/ticket/31 15:17:37 * spot had 0 time to test this since we met last 15:18:13 anyone else have time to test? 15:18:32 no 15:18:35 Honestly I've been sick since we last met. 15:18:44 But I think folks have been talking about it on-list. 15:19:13 me neither, sorry 15:19:15 tibbs|h: yeah, i saw some of that, it looked like everything worked, but i'd still like to test them out 15:19:17 It's not as if all the testing has to be done by us anyway. 15:19:41 I did start but not finish the whole step. Should have more time this weekend hopefully 15:19:42 yeah, i just know this is rather important to get right 15:20:36 Okay, lets move on, please help test if you can. 15:20:41 I got the impression that some folks had already started using this in their packages. 15:20:55 #topic Perl paths @INC change - https://fedorahosted.org/fpc/ticket/73 15:21:16 Did we ever get anything back on this? 15:21:19 In keeping with my previous 0 free time, I did not have a chance to talk to Perl upstream about this. 15:21:53 Are we all having the same sort of week? :) 15:21:59 it looks that way 15:22:00 I sure am. 15:22:09 my free time pretty much drops to 0 between beta and final 15:22:22 I had a little time to work on my draft and deal with SCM requests; that's about it. 15:22:44 so, lets table this one, and i'll talk to perl upstream 15:23:37 #topic New Filtering Mechanisms - https://fedorahosted.org/fpc/ticket/76 15:23:55 tibbs|h, you opened this one, but i don't see specific proposed changes 15:24:06 I started on a draft, but I'm quickly running into more questions than I can answer. 15:24:12 I need to get with Panu for a bit. 15:24:27 okay, we'll look at it in a week, thanks. 15:24:38 https://fedoraproject.org/wiki/User:Tibbs/AutoProvidesAndRequiresFiltering 15:24:41 Should update the ticket. 15:24:53 Really, I just need to translate some examples and figure out a bit of magic. 15:24:56 #topic %defattr is no longer needed in Fedora - https://fedorahosted.org/fpc/ticket/77 15:25:14 Still +1 to this. 15:25:24 yeah, i'm +1 here too 15:25:35 Why didn't we approve this last week again? 15:25:36 +1 15:25:41 Just needs an rpmlint tweak, I think, along with someone updating all of our drafts. 15:25:43 I'm +1, IIRC 15:25:45 +1 15:25:50 I don't think this was filed before the meeting last week. 15:26:02 +1 15:26:33 I see +6, limburgher, if you want to go on the record, feel free to chime in 15:26:38 Toshio was +q in the ticket. 15:26:45 tibbs|h: yep, thats right 15:26:48 yeh, it was part of the open floor … so we didn't vote 15:26:49 so, +7 15:27:01 +1 15:27:16 #action Approved (+1:8, 0:0, -1:0) 15:27:46 Progress! 15:28:22 okay, this one has no ticket, but came up on the list 15:28:33 #topic Updating gsettings scriptlets 15:29:15 I'm not entirely sure what the issue is here, but if it's currently broken then we need to "just fix it". 15:29:21 several folks have pointed out that the GSettings scriptlets do not handle migrating from gconf to gsettings 15:30:04 Julian Sikorski suggested these as a replacement: http://lists.fedoraproject.org/pipermail/devel/2011-April/150641.html 15:30:42 * rdieter likes that version better 15:31:09 it looks reasonable to me. 15:31:47 So, lets vote on fixing the scriptlets 15:31:51 +1 15:31:51 +1 from me for this 15:32:07 +1. Looks elegantish. 15:32:16 I'm curious as to what went wrong, since the desktop folks gave us what's currently in the guidelines. 15:32:42 +1 15:32:46 But, sure, +1 if what we have is wrong and this is better. (I know very little about gnome.) 15:32:55 +1 15:33:13 I'd just hate to go from something that's broken to something else that's broken. 15:33:13 tibbs|h: AIUI it was to do with multilib 15:33:17 #action Approved (+1:6, 0:0, -1:0) 15:34:12 this is ticket 78 (quickly entered) 15:35:12 there is one more open ticket, the macro pathing one. 15:35:28 #topic Remove requirement to use macros for paths 15:36:08 So, i've been thinking about this a bit off and on 15:36:23 I'm still not buying the arguments that we might need to change _bindir one day. 15:36:34 Toshio's point about %configure is interesting 15:36:56 we have quite a few macros that use the pathing macros 15:37:15 both provided by rpm and custom macros that Fedora has created 15:37:30 I don't really see why that would block this, though. 15:37:51 well, it wouldn't. 15:38:08 there was something about macros making it easier to do cross-compilation 15:38:14 So, the big question is: what benefit do we get from this change? 15:38:35 i worry that we'll get sloppy spec files if we permit pathing without macros 15:39:03 Basically less line noise. 15:39:18 And avoiding some weirdness when people really do want to put files in bin. 15:39:32 Since they can't just say "/bin" now, they redefine _bindir. 15:39:36 Which is kind of loony. 15:39:50 huh? people do that? 15:39:52 do we actually say they can't say /bin ? 15:40:01 * spot has several packages that do say /bin /sbin 15:40:12 rpmlint? 15:40:22 To be honest it was an old merge review and might have changed. 15:41:11 "Use macros instead of hard-coded directory names (see Packaging:RPMMacros ). " 15:41:14 What really gets me is when we have macros that are pointlessly longer than what they replace. 15:41:16 thats what the guideline says 15:42:01 tibbs|h: e.g. %{_sysconfdir} and %{_localstatedir} 15:42:17 And sometimes you just want to know where a spec puts some files. Right now you can't just look; you have to keep a mental table of what all of those macros expand do. 15:42:19 to. 15:42:47 It just seems that we have this level of indirection that doesn't appear to buy us much of anything. 15:43:28 another concern that i have is that we know we have to keep %{_libdir} 15:43:38 Certainly; that's mandatory. 15:43:57 Because that macro actually serves a purpose. 15:44:41 I'm curious as to how specs could be made sloppier by this, though. I know people do weird things; I just wonder how forcing macros might prevent that. 15:44:47 I do think path macros help keep a spec file clean and legible 15:45:24 I'm having trouble understanding how. 15:45:38 I agree with tibbs|h on the part that says it's annoying to use macros that are long than their expansion 15:45:52 Maybe I'll fix up a couple of my specs and see how they look. 15:46:02 well, i think if you typo a manual path, it could succeed 15:46:09 if you typo a macro, it won't. 15:46:16 hm, true 15:46:18 good point 15:46:50 also, the use of macros makes custom directories and odd layout choices stand out a bit more 15:47:10 Just looked at one spec and now I have to run --showrc to look up one of the macros because I don't remember it. 15:47:21 if you see %{_bindir} and then below it /usr/arg/dinosaurs!/foo/ 15:47:38 _datadir is defined to _datarootdir. Great. 15:47:49 tibbs|h: rpm --eval 15:47:50 Which is _prefix/share. 15:48:04 but if that entry is surrounded by /usr/share/dinosaurs!/ and /usr/lib/dinosaurs!/ 15:48:39 this just seems like a solution in search of a problem to me. 15:48:48 And _localstatedir is just /var. 15:49:23 * spot notes that %{_var} is also /var 15:49:24 tibbs|h: those long names come from autoconf configure options I think 15:49:49 Now there's a great example we should be following. 15:50:12 tibbs|h: Ahh, a joke, I've heard of those :) 15:50:21 no we just need %{_etc} ;) 15:50:34 My RSI does not thank you. 15:51:34 Anyway, I don't really know what remains to be said. 15:51:36 i would not be opposed to some improved wording that says that while the use of pathing macros is encouraged, in situations where the macro is longer than the path it represents or situations where the packager feels it is cleaner to use the actual path, they are permitted to use the actual path instead of the macro, however, they must do so consistently (no mixing of hardcoded paths and macros). 15:51:50 I could go for that. 15:52:12 But of course you have to be careful that folks don't think they can't use _libdir because they decided not to use _localstatedir. 15:52:17 does that logic parse for everyone here? i know thats a hell of a sentence. :) 15:52:37 I know what you both meant :) 15:52:42 I'm +1 on not mixing both 15:52:43 tibbs|h: yeah, that should be called out explicitly. 15:52:43 And I agree 15:53:17 SMootherFr0gZ: 15:55:17 "Packagers are strongly encouraged to use macros instead of hard-coded directory names (see Packaging:RPMMacros). However, in situations where the macro is longer than the path it represents, or situations where the packager feels it is cleaner to use the actual path, the packager is permitted to use the actual path instead of the macro. There are several caveats to this approach: * The package must be consistent, you must not mix hardcoded paths and macro 15:55:17 s * %{_libdir} must always be used, you may not substitute a hard-code path" 15:55:46 that would replace the first sentence of "Macros" in the guidelines 15:56:05 thoughts? 15:56:16 Did you intend those two starred statements to conflict? 15:56:35 I read it as an exception. 15:56:35 There have been differing interpretations of "don't mix" rules in the past. 15:56:42 hmm. no. perhaps I should be more clear. 15:57:12 "Don't use both the macro and its definition" is one interpretation. 15:57:13 I would say: "%{_libdir} must always be used for binary libraries, due to multilib. 15:57:16 Apart from that, +1 15:57:22 "If you use macros, you must use macros everywhere" is another. 15:57:28 * The package must be consistent, you must not use a hard-coded path in the spec and later in the same spec, use the macro for that path. 15:57:52 OK, so the first interpretation, which is fine. 15:58:12 * spot wonders if there is a simpler way to word that 15:58:15 geppetto, +1 for multilib 15:58:58 It's going to be tough to hash this out over IRC, I think. 15:59:45 tibbs|h: eh, i think we're pretty close 16:00:09 what about: 16:00:11 "Packagers are strongly encouraged to use macros instead of hard-coded directory names (see Packaging:RPMMacros). However, in situations where the macro is longer than the path it represents, or situations where the packager feels it is cleaner to use the actual path, the packager is permitted to use the actual path instead of the macro. There are several caveats to this approach: 16:00:11 * The package must be consistent, you must not use a hard-coded path in the spec and later in the same spec, use the macro for that path. 16:00:11 * %{_libdir} must always be used for binary libraries due to multi-lib, you may not substitute a hard-code path" 16:00:12 * The package must be consistent. For any given path, within the same spec, use either a hard-coded path or a macro, not a combination of the two. 16:00:22 limburgher: i like that 16:00:38 With your libdir clause. 16:00:48 okay, once more: 16:00:51 "Packagers are strongly encouraged to use macros instead of hard-coded directory names (see Packaging:RPMMacros). However, in situations where the macro is longer than the path it represents, or situations where the packager feels it is cleaner to use the actual path, the packager is permitted to use the actual path instead of the macro. There are several caveats to this approach: 16:00:51 * The package must be consistent. For any given path, within the same spec, use either a hard-coded path or a macro, not a combination of the two. 16:00:51 * %{_libdir} must always be used for binary libraries due to multi-lib, you may not substitute a hard-code path" 16:01:44 +1 16:01:48 +1 from me 16:01:53 +1 16:01:54 +1 16:02:16 +1 16:02:16 Personally I'd prefer to axe the "strongly", but I can live with this. +1 16:02:40 racor: i saw you sneak in, would you like to vote here? 16:02:59 spot: no, I am lacking context 16:03:06 racor: fair enough. 16:03:23 #action Approved (+1:6, 0:0, -1:0) 16:04:14 Okay, open floor time 16:04:15 spot: meetings now are at 15:00 UTC? I sneaked in because I thought a meeting was going to happen 16:00 UTC. 16:04:19 #topic Open Floor 16:04:35 racor: yes, sorry, we moved to 1500 UTC 16:04:36 racor: Correct. 1500 UTC. 16:04:40 i need to update the wiki 16:04:52 racor: hopefully 1500 will be a better time for you 16:05:13 spot: 15:00 UTC is much better! 16:06:16 spot: How do you generally communicate with Panu? 16:06:31 tibbs|h: irc usually works, but he's not terrible with email 16:06:49 I seem to keep missing him on IRC, because he's on the other end of the planet. 16:07:08 tibbs|h: you can always try tossing questions in #rpm.org 16:07:20 I never would have found that. 16:08:06 I'm trying to work out macro magic so that you can use the new filtering stuff additively. 16:08:28 tibbs|h: normally, the words "macro magic" summon toshio 16:08:32 tibbs|h: but he's on vacation 16:08:46 You could specify multiple filters with the old stuff, but the new ones are just defined once. 16:08:59 I just say abadger1999 abadger1999 abadger1999. 16:09:12 :) 16:09:24 asnake? 16:09:33 tibbs|h: I would probably just email the rpm list … but IRC might work, if you are around at the right times 16:09:35 But with macro magic, you could theoretically append to the existing regex. Depending on the regex language in use and whether the macros are sufficiently expressive. 16:09:49 ooh, you lost me at "regex". :) 16:09:59 This is important to keep %perl_default_filter working, as that's really useful. 16:10:28 * spot nods 16:10:38 anyways, it sounds like there is nothing for the open floor 16:10:41 so i will close it out 16:10:47 we'll meet again next week at 1500 UTC 16:10:50 thanks everyone 16:10:54 #endmeeting