Wednesday, 2017-04-12

openstackgerritmelissaml proposed openstack/rpm-packaging master: Update oslo.log to 3.24.0  https://review.openstack.org/45597804:20
openstackgerritOpenStack Proposal Bot proposed openstack/pymod2pkg master: Updated from global requirements  https://review.openstack.org/45598504:20
openstackgerritmelissaml proposed openstack/rpm-packaging master: Update oslo.rootwrap to 5.7.0  https://review.openstack.org/45604004:27
openstackgerritmelissaml proposed openstack/rpm-packaging master: Update oslo.messaging to 5.21.0  https://review.openstack.org/45604104:29
*** cshastri has joined #openstack-rpm-packaging05:49
openstackgerritThomas Bechtold proposed openstack/rpm-packaging master: monasca-api: Install /var/lib/monasca-api  https://review.openstack.org/45606205:49
*** pcaruana has joined #openstack-rpm-packaging06:30
*** cshastri_ has joined #openstack-rpm-packaging06:52
*** cshastri has quit IRC06:54
*** jruzicka has quit IRC06:55
*** jruzicka has joined #openstack-rpm-packaging06:57
*** cshastri_ is now known as cshastri07:07
*** leanderthal|afk is now known as leanderthal07:34
openstackgerritThomas Bechtold proposed openstack/renderspec master: Allow remote files for dynamic version detection  https://review.openstack.org/45553807:43
openstackgerritThomas Bechtold proposed openstack/rpm-packaging master: monasca-api: Install /var/lib/monasca-api  https://review.openstack.org/45606207:44
openstackgerritThomas Bechtold proposed openstack/rpm-packaging master: monasca-api: Log into /var/log/monasca-api  https://review.openstack.org/45610307:58
*** jpena|off has joined #openstack-rpm-packaging08:22
*** apevec has joined #openstack-rpm-packaging08:43
*** apevec has joined #openstack-rpm-packaging08:43
*** vnogin has joined #openstack-rpm-packaging10:04
*** vnogin has quit IRC10:29
*** vnogin has joined #openstack-rpm-packaging11:02
openstackgerritMerged openstack/rpm-packaging master: monasca-api: Install /var/lib/monasca-api  https://review.openstack.org/45606212:21
openstackgerritMerged openstack/rpm-packaging master: monasca-api: Log into /var/log/monasca-api  https://review.openstack.org/45610312:21
toabctljpena|off, number80 jruzicka about https://review.openstack.org/#/c/455538/13:24
toabctlyou are not tracking stable branches, correct?13:24
* toabctl wonders if there is a better solution to the problem13:24
jruzickatoabctl, I thought we track stable branches in RDO but I don't maintain packages any more so not sure about hotest new trends :) What is your concern?13:42
toabctljruzicka, a lot of magic in the upstream_version() function13:44
toabctljruzicka, and the behavior is different between static versioning and dynamic versioning13:44
toabctlit feels ugly13:44
jruzickatoabctl, it does feel a little bit magicky ;)13:51
toabctljruzicka, any ideas how to solve that in a nicer way?13:53
jruzickatoabctl, I was just going to ask if you are aware of any alternative because nothing comes to my mind.13:53
toabctlI was thinking about an extra source.yaml file with pypi-name + source-tarball pairs13:53
toabctland use that for version detection and then pass the version and the source to the spec during the render step13:54
toabctlbut not sure if that is better13:54
jruzickatoabctl, that is less likely to lead towards unexpected behavior, but extra file... meh.13:55
jruzickatoabctl, what is the problematic case you see with upstream_version()?13:56
toabctlwe already have epochs.yaml and the requirements file13:56
jruzickawell right :)13:56
toabctljruzicka, it's a chicken/egg problem. you need to extract the version from the tarball but you don't know the tarball before you did the rendering13:57
toabctland due to that there is a race13:57
toabctlfor the static versioning (setting version to eg. 1.2.3) it was easy. you 1) render the spec.j2 (no tarball needed for that) and 2) download the tarball13:59
toabctlfor dynamic versioning, you need to download the tarball first to extract the version during rendering13:59
openstackgerritMerged openstack/pymod2pkg master: Updated from global requirements  https://review.openstack.org/45598514:05
toabctljruzicka, so ideas are welcome :)14:36
jruzickatoabctl, so maybe the file would be optional for and only used for dynamic versioning?14:40
toabctlthe extra file? yes14:40
toabctljruzicka, another thing would be that renderspec downloads the upstream_source tarball and puts it in the same dir as the output .spec file14:41
toabctlthat way there would be no race14:41
toabctland we could add a --skip-source-update switch to tell renderspec to skip the download14:41
toabctlmaybe that is more elegant14:41
toabctlthe extra file makes the whole thing a lot more complicated14:42
*** cshastri has quit IRC14:43
jruzickatoabctl, source next to .spec sounds perfectly OK to me.14:45
jruzickaI'd also evade extra file if at all possible... if human is able to extract the version information, machine should be able to do so too, right? :)14:45
jruzickatoabctl, btw downloading source by default will force/encourage correct Source URLs, that's pretty good.14:53
openstackgerritThomas Bechtold proposed openstack/renderspec master: Make output template dir available in the context  https://review.openstack.org/45624214:58
toabctljruzicka, ^^ a first step14:58
*** eggmaster has joined #openstack-rpm-packaging15:05
jruzickatoabctl, found naming issues, as I tend to do :-p15:13
toabctljruzicka, tell me :)15:13
jruzickatoabctl, commented on the review :)15:14
jruzickatl;dr s/output template/output/ :D15:14
*** DrBacchus has joined #openstack-rpm-packaging15:15
*** rbowen has quit IRC15:17
*** DrBacchus is now known as rbowen15:17
openstackgerritThomas Bechtold proposed openstack/renderspec master: Make output dir available in the context  https://review.openstack.org/45624215:19
toabctljruzicka, fixed15:19
jruzickatoabctl, LGTM -> +215:39
openstackgerritMerged openstack/renderspec master: Make output dir available in the context  https://review.openstack.org/45624215:48
*** rbowen has quit IRC15:51
*** rbowen has joined #openstack-rpm-packaging15:51
openstackgerritThomas Bechtold proposed openstack/renderspec master: Allow remote files for dynamic version detection  https://review.openstack.org/45553815:55
*** rbowen has quit IRC16:11
*** rbowen has joined #openstack-rpm-packaging16:13
*** leanderthal is now known as leanderthal|afk16:22
*** vnogin has quit IRC17:25
*** vnogin has joined #openstack-rpm-packaging18:29
*** rbowen has quit IRC21:08
*** pcaruana has quit IRC21:51
*** vnogin has quit IRC22:24
*** pradk has quit IRC22:45
*** apevec has quit IRC22:49

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!