/srv/irclogs.ubuntu.com/2014/09/08/#ubuntu-autopilot.txt

=== om26er is now known as om26er|afk
=== om26er|afk is now known as om26er
=== om26er is now known as om26er|doc
balloonsveebers, ronru asked me to wrap and sort the packaging for https://code.launchpad.net/~nskaggs/autopilot/fix-1328600/+merge/227399 so I did. Should be all set and all yours now22:00
veebersballoons: sweetbix, I'm taking a look now. Did you see my query from earlier? (re: how does this effect current tests, do they need changes, have you tested it against, say, the cal. app)22:01
balloonsveebers, no I didn't see your query. So this should allow the calendar app and clock app to actually run tests against the datepicker22:09
balloonsI tried my original changes long ago against them, but haven't tried them since. Umm.. It would be useful to run the UITK tests without the qml tests to workaround the bug.22:10
balloonsI would say that's the best way to confirm things22:10
veebersballoons: hmm, those are quite some packaging changes there :-P but if robru approves it that's ok by me. Normally I would ask that un-related changes like that are in a different pre-req branch22:12
balloonsveebers, yea I agree it muddle the water on packaging, but he requested it, so :-)22:14
veebersballoons: ack, fair enough. Can you get his 'ok stamp' on that MP please22:14
balloonsveebers, yes I'll ask him to do so22:14
veebersthomi: do you know why python3-autopilot relies on libjs-jquery & libjs-underscore? I can imagine it being a build dep for the docs, but not the python3-autopilot package22:18
thomiveebers: it's a build-dep, is it not?22:19
veebersthomi: it's both22:19
veeberswell, it's in the buld-deps22:19
thomiveebers: it's for coverage docs22:19
thomithe kbd shgortcuts22:19
veebersthomi: ah ok, that makes sense22:19
thomino idea why it's a dependency of ap tho22:19
veebers(well after decoding that sentence ;-) )22:19
veebersoh, I got confused. So we don't know why it's a dep for the python3-autopilot package?22:20
veebersballoons: I get a test error: http://pastebin.ubuntu.com/8294055/22:24
balloonsveebers, hmmm...22:26
veebersI pulled, built packages, installed and ran that one test (autopilot.tests.functional.test_types)22:26
balloonsveebers, is DateTime(2013-12-31 23:00:00) coming from autopilot then? that would seem interesting.22:28
veebersballoons: that datetime aka reference will be coming from item.foo, right?22:30
thomiveebers: I don't know why it's a dependency, no - sorry22:32
veebersthomi: ack, I'll investigate further22:33
balloonsveebers, my expectation is you would get 2014-01-01 in your local time from the qml, and we then compare it to the datetime object we create. I expect both to be 2014-01-01. the only diff between your run and my local run should be the local timezone that is assigned22:33
balloonsdo you agree? If so, it would seem something isn't quite right.22:34
veebersballoons: let me read what the test is doing22:36
veebersballoons: hmm, the DateTime init is receiving timestamp: 1388487600 which seems fine (think), but poking around with the debugger I see these: http://pastebin.ubuntu.com/8294235/22:50
veebersam I confused or is something not right happening there22:50
balloonsveebers, ohh I get it22:51
thomiveebers: one method applies DST, the other does not22:51
veebersah right22:52
balloonsveebers, at least jenkins loves me :-) green is green23:09
veebersballoons: heh :-) it's just that pesky NZTZ23:09
balloonsveebers, what concerns me I guess is the property is read from the qml and converted to local time for you, so it's not 2014-01-01.23:15
balloonswhich is fine, it just means my reference date needs to expect that23:15
balloonswhich is what we said we wanted.. so I think it's ok to tweak the ref object23:16
balloonsveebers, do you agree with this? http://paste.ubuntu.com/8294466/23:30
balloonsmmm.. I suppose I should derive the timestamp from the date23:32
veebersballoons: no, that's effectively just going to test that an objects value is the same as a copy of that object (using the references timestamp)23:32
balloonsyep yep23:32
veeberswhat if the timestamp has been changed or whatever23:32
veebersballoons: also, seeing that code I'm a little concerned that existing autopilot tests will need to change to reflect the changes within autopilot23:33
balloonsveebers, http://paste.ubuntu.com/8294543/?23:38
balloonslittle crazy..23:39
veebersthat seems a little heavy handed. Perhaps there needs to be a change in autopilot-qt (and -gtk)?23:42
balloonsdoes it work locally for you?23:42
balloonsveebers, the goal of this silliness was to replicate current behavoir23:42
balloonsthe idea was not to break anything and continue with the local timezone idea23:43
veebersballoons: ah ok, so not suggested as a fix?23:43
veeberssorry I'm a little confused onw :_\23:43
balloonsveebers, the paste? sorry I was jumping back to your thoughts about " also, seeing that code I'm a little concerned that existing autopilot tests will need to change to reflect the changes within autopilot"23:43
balloonson the overall changes, I was attempting to not break anything, which became painful at times23:44
balloonswe could simply assume everything is in UTC and store things in utc etc.. a bit saner23:45
veebersballoons: ah ok, I asked that because this test is effectively doing what one would do in a test (i.e. compare the date against what was returned from the dbus procy object)23:45
veebersif you're having to do a bunch of code to produce an object to compare against we might have a problem23:45
balloonsright.. I'm struggling with what I want this functional test to be.. and also a bit sad to see it fails for you.. But we understand why23:45
veebersright ok, I think I'm back up to speed now :-) I'll try your paste and make sure it works for me23:46
veebersballoons: that latest paste of yours passes on my machine23:47
balloonsveebers, right excellent. It passes because I'm replicating exactly what I expect that object to be after being read by autopilot23:48
balloonsthe question I suppose now is, are you happy with how autopilot treats the date/23:50
balloonsveebers, I suppose we should simply run uitk tests and see what happens23:52
balloonsminus the datepicker workaround changes I made23:52
veebersballoons: that would be a good start, are you able to make that so?23:53
veebersheh 'make it so'. balloons: put a hamburger on an intercept course with my mouth, make it so23:53
balloonsveebers, I'm hungry.. no dinner yet for me!23:54
* balloons running23:54

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