13:01:06 #startmeeting rpm_packaging 13:01:07 Meeting started Thu Aug 4 13:01:06 2016 UTC and is due to finish in 60 minutes. The chair is jruzicka. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:08 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:01:11 The meeting name has been set to 'rpm_packaging' 13:01:16 Hi. 13:01:17 hi 13:01:20 hi folks, nice to see you all, just get back from vacations 13:01:22 o/ 13:01:40 I think dirk is on a conference 13:01:41 hi 13:02:10 #chair IgorYozhikov astsmtl toabctl mivanov 13:02:11 Current chairs: IgorYozhikov astsmtl jruzicka mivanov toabctl 13:02:40 * toabctl is sick and may not stay the whole meeting 13:02:44 o/ 13:03:33 jruzicka, do you want to lead the meeting? 13:03:51 or anybody else? 13:04:00 toabctl, I rember volutneering 13:04:24 please insert any interesting items into agenda if you have any 13:04:29 https://etherpad.openstack.org/p/openstack-rpm-packaging 13:04:40 toabctl,I could lead it next time, just get back and collecting news and everything i missed :) 13:04:53 #topic how to unit test https://review.openstack.org/#/c/347447/ 13:05:11 let's see if topics show up while I stall with this :) 13:05:37 thing is... that code renders templates into blocks so I wonder howto unit test it without being dependent on the specific substitutions 13:05:44 as those are subject to change 13:06:30 IOW howto make the unit test in a way they don't need to be changed each time the distro specific template ({fedora,suse}.spec.j2) is changed? 13:08:06 * toabctl needs to look into that again 13:08:41 yeah, it's more like a poke so that someone looks at it :) 13:08:47 in related news 13:09:11 #topic ordering of (Build)Requires 13:10:05 Currently, we are forced to manually sort the requires in .spec because spec-cleaner requires it, is that correct? 13:10:11 *in .spec.j2 13:10:17 jruzicka, does it mean that you proposition for block build_requires will autoadd predefined values from dist-templates/*? 13:10:38 sorry I'm about 1st topic 13:10:39 jruzicka, yes. spec-cleaner forces the sort currently 13:10:53 jruzicka: yep, I found out today :) 13:11:01 IgorYozhikov, block isn't powerful enough to solve that :) I'm cooking another patch to post-process the build-requires 13:12:07 so we prefer to sort the requires logically 13:12:45 * toabctl is not sure if spec-cleaner is the best solution 13:13:03 Sorting becomes kinda hard since the translated package names might differ to the project names 13:13:29 So I suggest we allow any order and let renderspec order them, what do you think? 13:13:46 jruzicka, I just got thought - you could use blocks and just fill it with list of {block} py2pkg('..'),py2pkg('...') {endblock}-> it which will render like BuildRequires: translated-package-name 13:14:32 jruzicka, using sort as in requirements makes maintenance easier 13:14:36 IgorYozhikov, note that there can be only one block but multiple block of requirements. amongs other things 13:14:48 jruzicka, for reviews I like things in order even in the spec.j2 templates 13:15:10 IgorYozhikov, after thinking about it, solving the sorting via postprocessing is easiest 13:15:36 toabctl, well yeah, it makes sense that you want to apply same rules as for .spec :) 13:16:04 bad luck number80 is on flock 13:16:37 why not both? I mean, let's enforce order for the py2pkg name in the jinja template, then let renderspec render them in the right order 13:16:58 the current status could lead to trial and error 13:17:04 jpena to save the day with the most complicated solution :D 13:17:07 but yeah 13:17:30 I personally prefer to group the requires logically 13:17:49 * toabctl has to leave. pardon 13:18:20 jruzicka, if you will pull all reqs inside blocks - might be easier to process ans sort values inside blocks? 13:18:36 s/ans/and/ 13:18:39 IgorYozhikov, that's not how they work. 13:19:03 they don't allow post-processing, just inheritance 13:19:42 i c 13:20:30 IgorYozhikov, either a macro (which would change the structure drasticly) or a simple post-processing in renderspec... 13:20:32 so, what are cons or pros for logical || alphabetical ordering? 13:21:09 let's postpone this to a time when more people can express their opinion 13:22:39 just my opinion here: since we are updating template manually - it is easier to track changes if reqs recorded almost in the same manner as in requirements file. 13:22:56 anyway, jruzicka , agree, let's wait here :) 13:23:21 IgorYozhikov, yeah, I also prefer to have them in the same order as requirements.txt 13:23:42 with the extra few of our special fedora-ish deps on top 13:23:51 forced alphabetical order would break that 13:24:21 I'm just add non python stuff like zip or libs in the bottom of the reqs list 13:24:43 after all py2pkg() 13:24:58 yeah, for example 13:25:11 #topic reviews 13:26:05 if you have some priority reviews you'd like to point to, here's your chance 13:26:58 astsmtl, mivanov, toabctl do you have anything 4 review? 13:27:55 might be this one - https://review.openstack.org/#/c/336151/ 13:28:20 that needs discussion, so also postponed till next time 13:28:25 dirk, commented it with - need discussion 13:28:27 ok 13:28:53 because there seems to be too few people to discuss ATM :) 13:29:25 i c 13:29:48 and so... 13:29:50 #endmeeting