Tuesday, 2014-03-04

*** jcoufal has quit IRC00:29
*** openstackgerrit has quit IRC00:44
*** openstackgerrit has joined #storyboard00:44
krotscheckAnyone familiar with what the syntax is to make a column default to a certain value, specifically a boolean? My migration's not doing what I think ti's doing.00:57
krotscheckop.add_column('projects', sa.Column('is_active', sa.Boolean(), default=True))00:57
*** cody-somerville has quit IRC01:02
*** jcoufal has joined #storyboard01:14
*** jcoufal has quit IRC01:15
mordredkrotscheck: ola!01:26
krotscheckmordred: ola!01:26
krotscheckmordred: I feel like I'm the only person in this channel.01:28
mordredkrotscheck: yeah - it's a bit lonely01:29
krotscheckExcept for the occasional person asking me when things are going to be done.01:29
krotscheckThat's nice.01:29
krotscheckMakes me feel like people care.01:29
mordredkrotscheck: well, we do - and we're sad we're not giving you more love01:30
krotscheckSo you in town already, or are you flying in tomorrow?01:30
mordredkrotscheck: wednesday01:32
mordredkrotscheck: I'll be there in the morning01:32
krotscheckkk01:33
krotscheckHow's TripleO?01:33
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: [WIP] Added DELETE method for projects, stories, and tasks.  https://review.openstack.org/7776302:52
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Enable story and project 'deletion'  https://review.openstack.org/7776402:54
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard-webclient: Task, story, and project fixes  https://review.openstack.org/7701302:54
*** krotscheck has quit IRC02:57
*** drdee has joined #storyboard03:50
*** drdee has quit IRC04:49
*** saju_m has joined #storyboard07:12
ttxIS IT DONE YET08:21
*** saju_m has quit IRC08:26
*** hashar has joined #storyboard08:36
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Auth Token Middleware  https://review.openstack.org/7473508:52
*** saju_m has joined #storyboard09:41
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Auth Token Middleware  https://review.openstack.org/7473511:17
*** hashar_ has joined #storyboard11:27
*** hashar has quit IRC11:27
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Add superuser check  https://review.openstack.org/7785911:36
*** hashar_ has quit IRC11:53
*** miqui has joined #storyboard12:36
*** david-lyle has quit IRC12:39
*** saju_m has quit IRC12:40
*** hashar has joined #storyboard12:41
*** saju_m has joined #storyboard12:51
*** saju_m has quit IRC13:04
*** miqui_ has joined #storyboard13:15
*** miqui has quit IRC13:15
*** miqui_ is now known as miqui13:23
*** hashar has quit IRC13:51
*** hashar has joined #storyboard13:52
*** drdee has joined #storyboard13:57
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Load superusers from a yaml file  https://review.openstack.org/7788414:06
openstackgerritNikita Konovalov proposed a change to openstack-infra/storyboard: Fix session usage in db_api  https://review.openstack.org/7788514:09
*** mfer has joined #storyboard14:36
*** david-lyle has joined #storyboard15:28
*** krotscheck has joined #storyboard16:56
ttxkrotscheck, NikitaKonovalov: sorry i don't have any review bandwidth as we are on feature freeze day and I herd cats16:57
* krotscheck does his best cat impression16:57
ttxI hope mordred will help getting stuff +2ed16:57
krotscheckHe's in seattle tomorrow.16:57
krotscheckI will sit on his head16:57
ttxtried to review as much as I could yesterday16:57
ttxand last week16:58
ttxkrotscheck: commented on the task/story creation review though16:58
ttxI think we are touching on a key point there16:58
ttx(in the "should the API implement some business logic" dept)16:59
ttxi'll let you read16:59
krotscheckResponse posted.17:13
krotscheckGoing through more.17:13
krotscheckttx: You available to help me interview candidates in the next two weeks?17:13
krotscheck(Maybe after the cats are fed?)17:13
krotscheckruhe: How about you, do you have time to interview some candidates for storyboard?17:14
ruhekrotscheck: hi!17:14
ttxkrotscheck: replied to your meail17:14
ttxor email17:14
ruhekrotscheck: it depends on day and time, but i'd be happy to help with that17:15
krotscheckNikitaKonovalov: Thank you for all your comments on python - more of those kinds of comments help me learn the language faster :)17:15
krotscheckruhe: Well, I'm going to have them schedule with you directly. If they're not proactive enough to do that, then they're likely not proactive enough to succeed on an open source project like this.17:16
*** jcoufal has joined #storyboard17:16
krotscheckThat way you can arrange a time that works for both of you.17:17
ruhekrotscheck: woah, i like your approach :)17:17
* mordred goes to look at things17:23
*** cody-somerville has joined #storyboard17:33
krotscheckdavid-lyle: Do you have the time to interview two candidates for me next week?17:36
krotscheck(or this week)17:36
ttxkrotscheck: re-commented17:36
ttx story without task would not appear anywhere, except on a special "stories without task" view (most people will access stories from a project or projectgroup-specific view). It's also not automatically repairable. So if we allow creation of stories without tasks, we need to have a group of people assigned to looking into them and fixing them. Given my experience of the OpenStack crowd, nobody will consistently sign up to do that. So WHY allow it to happe17:37
ttxn in the first place ? The tool should match what we accept to do, rather than force us into unpleasant tasks. Because there lies... launchpad.17:37
ttxkrotscheck: you basically artificially create a chore that someone will have to go through17:38
ttxby allowing something to happen, something that nobody wants to support17:39
ttxor spend time to fix17:39
david-lylekrotscheck: yes, later this week or next is best17:40
ttxkrotscheck: launchpad is full of extra maintenance chores like this (because it lets us do weird things) - and getting rid of those is one of the main drivers behind storyboard17:41
krotscheckdavid-lyle: thanks, I'll have them contact you and arrange with your schedule17:41
ttxIf the API "only" reflects the database structure without adding some value, then it's a bit of a useless overhead17:42
krotscheckttx: Ok, I still disagree, because all of your concerns, to me, are things taht can be polished and refined in the clients.17:42
ttxkrotscheck: except that some people will not use the client and talk to the API directly17:42
krotscheckttx: And those people will likely be engineers who have read the documentation17:43
ttxcreating bad records that somebody will have to go through17:43
krotscheckttx: Rather than brainless scriptkiddies who are randomly writing POST requests17:43
krotscheckIf you're writing a client, and you create a story, and it doesn't show up anywhere... what are you likely to do? Read the docs? Ask questions? Or just shrug and say: Oh, well!17:44
ttxkrotscheck: most of them will be. Some of them won't. So you will end up with bad records with nobody looking at them17:44
krotscheckttx: Should we be looking at bad records?17:44
krotscheckIf all the pieces aren't there, why bother showing them?17:44
ttxkrotscheck: ok, I see your point there. We can just ignore the bad records17:45
krotscheckSure, we can give the author a way of finding things that they've craeted and triage them, but it's not the responsibility of the API to surface invalid data.17:45
ttxkrotscheck: not totally convinced we should let people create things that won't appear anywhere...17:46
ttxbut maybe the tradeoff is sane17:46
ttxbetween the REST purity argument and the fact that sane people will use clients anyway17:46
krotscheckttx: Yeah - most people are lazy.17:47
krotscheck...and will try to automate things.17:47
* krotscheck points at mordred17:47
ttxJust sounds weird to me that we allow something we don't want to happen17:47
ttxbut maybe that's what REST is about17:47
krotscheckWell, there's an alternate solution that I'm not familiar enough with python to implement.17:47
ruhei thought it will be automatically prevented by: 1) create_story => creates default task 2) finish_last_task => finish/deprecate/close story17:47
ttxruhe: but the API will let you create story without a default task. thats' the whole discussion here17:48
ttxruhe: krotscheck argues that the APi should let you do that. I argue it should not17:48
krotscheckAnd that's to create a POST request for stories that require the additional data for the first task17:48
krotscheckSo instead of just a story, we post something like this:17:49
krotscheck{name:"foo", tasks[{name: "task1"}]}17:49
krotscheckReally, what I care about is giving the client control over what goes in that task.17:49
ttxkrotscheck: I guess we can revisit later anyway. Go for REST purity for the time being and APRV this one17:50
krotscheckkk17:50
ruheour current api already creates default task17:51
* ttx needs a break and a dinner now17:51
ttxbefore entering meeting tunnel17:51
ttxruhe: krotscheck would like you to fix that.17:51
*** hashar has quit IRC17:51
ttxdiscussion @ https://review.openstack.org/#/c/77013/17:51
ruheno problem :)17:51
krotscheckAlready done that17:52
krotscheckruhe: That's done. Don't worry about it :)17:52
*** che-arne has quit IRC17:53
krotscheckAlso, I'm about ready to let the Auth stuff drop, given that the meat of the implementation is in the middleware patch.17:53
openstackgerritA change was merged to openstack-infra/storyboard: Decoupled API story and task creation.  https://review.openstack.org/7766817:56
krotscheckAnyone know why the API unit tests are failing to migrate the database properly?17:57
krotscheckhttp://logs.openstack.org/63/77763/1/check/gate-storyboard-python26/4a104f5/console.html17:57
krotscheckI suspect it has something to do with using SQLite instead of MySQL...17:57
ruhekrotscheck: right and NikitaKonovalov had a patch to fix that17:59
krotscheckruhe: ooh, thanks! Digging....17:59
openstackgerritA change was merged to openstack-infra/storyboard-webclient: Task, story, and project fixes  https://review.openstack.org/7701317:59
ruhekrotscheck: this one https://review.openstack.org/#/c/75381/7/storyboard/common/migration_patch.py18:01
*** jcoufal_ has joined #storyboard18:02
krotscheckmordred: Can you explain your comments on https://review.openstack.org/#/c/77085/ to me?18:03
krotscheckOr maybe give me more context?18:03
*** jcoufal has quit IRC18:05
krotscheckruhe: Methinks I'm going to approve 74713 - We need to create a story where we actually address the "what are we going to do with docs" problem, gerrit isn't the place to do it.18:05
ruhekrotscheck: i've read your link. thanks a lot for it18:07
krotscheckruhe: It's a good discussion on the topic, but really it's just a starting point.18:08
ruhei wanted to discuss that topic with you and ttx but have been overloaded with other stuff recently18:08
krotscheckSorry about -1'ing your change. It didn't occur to me that the resulting discussion would be big.18:08
ruhekrotscheck: well, i've learned a lot of things from that discussion18:08
mordredkrotscheck: yes!18:09
mordredkrotscheck: pip does not have a real dependency resolver - it's depth-first18:09
mordredkrotscheck: so, sadly, order matters18:09
mordredit conveys actual potential different operation18:09
krotscheckmordred: Oh. Well, that explains that.18:09
mordredthings that are specifically listed first i nthe files are pbr in the requirements.txt and hacking in the test-requirements.txt repo18:10
mordredit's painful18:10
*** che-arne has joined #storyboard18:10
openstackgerritA change was merged to openstack-infra/storyboard: Fix session usage in db_api  https://review.openstack.org/7788518:10
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Update developer documentation  https://review.openstack.org/7471318:12
* krotscheck is riding the rebase train18:12
mordredmmm. train18:18
krotscheckmordred: I'd like to drop the Auth side of things. I'm comfortable with the javascript, but I'd like a final set of eyes on https://review.openstack.org/#/c/68642/ (most of the meat is actually in the followup). Can you take a look?18:19
mordredkrotscheck: looking18:20
krotscheckThanks18:20
* krotscheck is riding the waiting for zuul train....18:37
krotscheck:/18:37
openstackgerritA change was merged to openstack-infra/storyboard: Update developer documentation  https://review.openstack.org/7471318:41
openstackgerritA change was merged to openstack-infra/storyboard: Clean up doc, private func, removed unused file  https://review.openstack.org/7717918:55
*** jcoufal_ has quit IRC19:37
*** drdee has quit IRC19:57
openstackgerritMichael Krotscheck proposed a change to openstack-infra/storyboard: Remove Branch and Milestone legacy tables  https://review.openstack.org/7718720:01
krotscheckEven though we're not quite ready with Auth yet, I think it's safe to start entering stories. http://storyboard.openstack.org/#!/project/5/stories20:08
*** jcoufal has joined #storyboard20:14
*** hashar has joined #storyboard20:29
*** cody-somerville has quit IRC20:50
*** jcoufal has quit IRC20:58
krotscheckUgh, I cannot win.20:58
krotscheckSomething's wacky with our DB unit tests20:59
krotscheckOr, well, the migrations during the tests20:59
*** jcoufal has joined #storyboard21:03
*** hashar has quit IRC21:41
*** jcoufal has quit IRC21:50
*** jcoufal has joined #storyboard21:52
krotscheckIs subunit known to fail on warnings?22:02
*** mfer has quit IRC22:24
*** jcoufal has quit IRC23:06
mordredkrotscheck: no?23:26
krotscheckYeah.23:26
krotscheckSomething wacky is going on with ttx's change. I'm currently fixing the npm mirror bit.23:26
krotscheckBut23:26
mordredkrotscheck: kk23:27
krotscheckI'll dig into it in a bit23:27
mordredkrotscheck: I just tried adding a story and it failed. is that the wacky that you mentioned?23:27
krotscheckBut the error messages are not helpful23:27
mordredkrotscheck: also, I was thinking I should add puppet to run the projects.yaml utility - do you think I shoudl do that? or hold off?23:27
krotscheckmordred: You mean on storyboard.o.o? I just created a story without a problem.23:28
krotscheckRefresh your cache maybe?23:28
krotscheckhttp://storyboard.openstack.org/#!/story/15/overview23:28
krotscheckI have an LKDL-story23:29
mordredoh!23:29
krotscheckI'm guessing the UI didn't refresh23:29
krotscheckhttp://storyboard.openstack.org/#!/project/5/stories23:29
mordredhttp://storyboard.openstack.org/#!/story/17/overview23:29
*** jcoufal has joined #storyboard23:30
mordredkrotscheck: NEAT!23:30
mordredkrotscheck: I need to warn you23:34
mordredkrotscheck: you may have just become a verb23:34
*** david-lyle has quit IRC23:34
krotscheckA verb that means...23:35
mordred"mordred | I'll krotscheck it"23:35
mordredkrotscheck: I believe it may mean "fix it in deep and awesome ways that I don't fully understand"23:36
krotscheck...urrr. Alright23:37
*** jcoufal has quit IRC23:39
*** jcoufal has joined #storyboard23:41
krotscheckmordred: Well, I could use some deep and awesome Alembic fixing on thierry's migrations23:43
mordredkrotscheck: where are you seeing the badnesses?23:45
krotscheckmordred: Here - http://logs.openstack.org/87/77187/4/check/gate-storyboard-python26/7a9e8bf/console.html23:46

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