Tuesday, 2014-05-06

*** morganfainberg is now known as morganfainberg_Z02:46
*** ttx has quit IRC05:53
*** ttx has joined #openstack-relmgr-office05:57
*** ttx has quit IRC07:03
*** ttx has joined #openstack-relmgr-office07:03
*** morganfainberg_Z has quit IRC09:50
*** morganfainberg_Z has joined #openstack-relmgr-office09:59
*** david-lyle has joined #openstack-relmgr-office13:35
*** david-lyle has quit IRC13:37
*** david-lyle has joined #openstack-relmgr-office13:38
*** david-lyle has quit IRC13:43
*** mestery has joined #openstack-relmgr-office14:02
*** markmcclain has joined #openstack-relmgr-office14:19
*** david-lyle has joined #openstack-relmgr-office14:35
*** david-lyle has quit IRC14:35
*** david-lyle has joined #openstack-relmgr-office14:36
notmynamettx: I was under the impression that The OpenStack Way is to use VCS tags for version numbers, not strings in a source file. but your email this morning seems to imply that Swift is the only project using this. Can you clarify?14:50
ttxnotmyname: the other projects have the pre-version (like "2014.2") set in setup.cfg14:51
ttxso that all commits to master branches would generate 2014.2-pre tarballs (or whatever is PEP-compliant these days)14:52
notmynamehow does that square with pbr's version detection based on signed tags?14:53
ttxnotmyname: tags generate a version based on the tag14:54
ttxthe version in setup.cfg is used by pbr when there is no tag14:54
notmynameright, but either you are using a human to ensure they are kept in sync, or you are only doing one of the two14:55
notmynamedo the other projects use version numbers created from git tags?14:55
ttxindeed. Nothing makes sure the tag and the version in setup.cfg are actually coherent14:55
ttxnotmyname: the other integrated projects use the version in setup.cfg when the commit has not tag14:56
ttxswift iirc is the only integrated project that lets pbr guess what untagged versions should look like based on past tags14:57
notmynameso if it is the commit that has a tag, then the tag version is used. if that commit isn't exactly on the tag, then the version in setup.cfg is used?14:57
ttx... and if there is no version in setup.cfg pbr tries to guess based on past tags, yes.14:58
ttxor at least that's how I understood it last time I looked at it.14:58
ttxmordred would be the final authority on that14:58
notmynameand so how does each subsequent commit to master get an increasing version number (as in swift's usage of pbr)?14:58
* notmyname is fairly upset over this discrepancy15:00
ttxNot.. totally sure. We stopped generating per-commit tarballs so I can't tell in 30 sec15:00
ttxat one point there was some increment number, but at this point i'm not even sure it generates increasing version numbers15:01
ttxand I need to dive into a call15:01
notmynamealignment with the rest of openstack was the stick used to get swift using pbr (which has been painful technically and socially). so to find out that we're not actually aligned here is very frustrating15:02
ttxyeah... we need mordred on that one for full history15:03
*** mestery has quit IRC15:06
ttxnotmyname: but it only affects tarballs generated from untagged commits, right ?15:07
ttxnotmyname: I let mordred drive on that one, I decided to not care that much about tarballs generated from untagged SHAs15:07
notmynamettx: no, it affects `python -c 'import swift; print swift.__version__'`15:07
ttxand he changed the format of them so often I lost count15:08
notmynamewhich also affects anyone deploying from master (which, as I mentioned, is a big deal since there are many major openstack deployers announcing that they "follow trunk")15:08
ttxnotmyname: I see15:08
notmynameso anyone building their own packages from master is affected by this. and because of the longer window (and some key patches) with the icehouse release, we got bit by it this time15:09
ttxnotmyname: ok. my remark on the thread was that other projects seem to avoid the issue you were mentioning by using a version in setup.cfg. Also I don't think they have anything as visible as your __version__ being used in the code that exposes that number15:13
*** mordred has joined #openstack-relmgr-office15:14
mordredwow15:14
mordredwhat the heck is this? :)15:14
notmynamemordred: hi!15:14
notmynamemordred: it's ttx office hours!15:14
mordredNICE15:14
mordredttx: you're fancy15:14
ttxmordred: this channel is supposed to only be used for 1:1s with ptls fwiw15:14
mordredttx: nope. I'm going to use it for all conversations with you now15:14
notmynameheh. I'm a ptl. and I wanted to talk to ttx :-)15:14
* mordred is not a PTL - feels special15:15
notmynamettx: do we need to move this somewhere else?15:15
ttx... and we don't ave 1:1s scheduled this week so... :)15:15
ttxnotmyname: -infra or -dev would be better imho15:15
notmynameto -dev!15:15
notmynamemordred: context mordred: http://eavesdrop.openstack.org/irclogs/%23openstack-relmgr-office/%23openstack-relmgr-office.2014-05-06.log15:15
mordredok. I have read it15:17
mordredso - swift uses pbr in the same way that the client libraries do15:18
mordredwhich is what we refer to "post-versioning" - which is to say that generated versions are derived from the most recent signed tag15:18
ttxmordred: e said followup on -dev!15:19
ttxwe*15:19
mordredthe other server projects use "pre-versioning" - which is that non-signed commits derive a version number based on the version listed in setup.cfg - as it is the 'next' declared version15:19
mordredoh -15:19
mordredok. I'll follow up there15:19
mordredit'll be just a little bit - I'm in a network location where email access is stunted - but I'll certainly do that15:20
ttxmordred: oh. on irc #openstack-dev15:20
ttxnot on ml -dev15:21
*** markwash has joined #openstack-relmgr-office15:45
*** markmcclain has quit IRC16:41
*** morganfainberg_Z is now known as morganfainberg17:45
*** markwash_ has joined #openstack-relmgr-office17:57
*** markwash has quit IRC17:59
*** markwash_ is now known as markwash17:59
*** markmcclain has joined #openstack-relmgr-office18:54
*** markmcclain1 has joined #openstack-relmgr-office19:57
*** markmcclain2 has joined #openstack-relmgr-office19:59
*** markmcclain has quit IRC19:59
*** markmcclain2 has quit IRC19:59
*** markmcclain has joined #openstack-relmgr-office20:01
*** markmcclain1 has quit IRC20:02
*** mestery has joined #openstack-relmgr-office20:46
*** david-lyle has quit IRC21:48
*** markmcclain has quit IRC23:27

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