/srv/irclogs.ubuntu.com/2012/06/27/#ubuntuone.txt

Brewsterhey I'm looking to sync a folder on ubuntu one via the command line03:28
Brewsterwould anyone happen to know the command off the top of their head?03:28
mattgriffinBrewster: u1sdtool -h03:45
mattgriffinBrewster: --create-folder=PATH  Create user defined folder in the specified path03:45
mattgriffini think03:45
Brewstercool03:45
Brewsterthanks03:45
mattgriffinnp03:46
Brewstercya03:58
MonkeyDustnot sure if it is important to report: when clicking Explore in the ubuntu one gui, pcmanfm opens a new tab, but nautilus opens a new window04:22
MonkeyDustalso, I cannot view files I published using U104:45
JamesTaitGood morning all! :)09:16
gatoxgood morning11:05
mandelgatox, morning!11:06
gatoxmandel, hi11:06
gatoxmandel, how are you?11:07
mandelgatox, fine, making u1 on darwin work nicer and nicer :)11:07
gatoxmandel, :D11:07
mandelgatox, I've noticed that we might have a problem with the inhibitor, which is a PITA11:08
mandelgatox, all the rest works and I already merged the work with current trunk11:08
mandelgatox, we should land your branches asap11:08
gatoxmandel, yes please! i fix everything you and alecu say yesterday!11:08
gatoxmandel, great review yours11:09
mandelgatox, I'll take a look now to darwin3, are 3-4 the last ones?11:09
gatoxmandel, i couldn't sleep very well last night..... a lot of drunk people shouting..... ii hope you don't do the same in your partys11:10
* gatox is old11:10
gatoxmandel, darwin4..... is the last one.....11:10
gatoxi'll have 2 more..... but they are for really specific bugs, not part of the whole port11:10
mandelgatox, ok, lets try to land those 2 today11:11
mandelso that we can merge mine asap and talk with mmcc about the packaging11:12
mandelif we have something for this week it means we are one week early to the expected deadline :)11:12
gatoxohhh darwin2 landed! yey!11:12
mandelgatox, by the way, can you take a look at https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-path-no-user/+merge/11232411:14
gatoxmandel, also.... let me know if you need any reviews..... now i'm working on bugs for fsevents...... not being crazy refactoring a lot of lines :P11:14
gatoxthattttttt11:14
gatoxjeje11:14
gatoxok11:14
mandelgatox, there was a problem connecting to the daemon, disconnecting and connectig11:14
mandelbut is solved in that branch :)11:14
gatoxmandel, +1........ also (if you want) take a look at this: http://youtu.be/tA_BJBLdduQ :D11:18
gatoxmandel, should i mark it as globally approve? or do you want more reviews for that branch?11:18
mandelgatox, lets get a +1 from mmcc11:22
mandelgatox, believe it or not I read your blog, I already watched that video :)11:23
gatoxmandel, ack11:23
gatoxmandel, jeje imposible! i added this video 2 mins ago jejeje11:23
mandelgatox, is there another about code completion the?11:23
gatoxthe previous one was aabout functions returns..... this is code completion working with inheritance11:23
mandels/the/then11:23
mandelah!11:23
gatoxthere are 3 code completion videos :P11:24
mandelI'll take a look then11:24
gatoxmandel, jejeje no pressure!!..... i'm just really excited about it :P11:24
mandelgatox, don't hate me, but there are some needs fixing11:25
mandelgatox, most of them are just stupid things, but the one about del_watch is not11:25
mandelsorry..11:25
gatoxmandel, no problem!11:27
gatoxi'll take a look11:27
mandelgatox, I have the fact that we don't have some pylint error when there is a @defer.inlineCallbacks and no yield11:28
mandelgatox, having said that, if the yield is just for super which is the last line, you can not use the decorator and do return super().blah() because it will return a deferred like the inlineCallbacks will do11:29
mandelless lines of code :)11:29
mandelgatox, does the comment make sense?11:33
gatoxmandel, yappppp11:34
alecuund... hallo!12:02
gatoxalecu, hi!12:03
mandelalecu, hello12:03
mandelalecu, I'd like to talk about the inhibitor implementation on darwin12:04
mandelalecu, I have seen that when the machine logs out u1 stops and seems not to resume the uploads, does that sound possible12:04
mandel?12:04
alecumandel: it sounds possible, yes.12:05
alecumandel: logout or suspend?12:05
mandelalecu, I think is suspend, I left the machine over night12:06
mandelalecu, but I can test with both12:06
mandelalecu, if that is the case we might need to implement the inhibitor, is that correct?12:06
alecumandel: "suspend" is more likely to affect us, yes.12:06
alecumandel: no: we should not inhibit suspend12:06
alecumandel: the inhibitor is for log out: we warn the user that some files are still being synchronized12:07
mandelalecu, hm.. ok I'll test that then12:07
alecumandel: perhaps we can inhibit "idle" suspend... but we would be chewing a lot of battery...12:07
alecumandel: "idle" suspend as opposed to "closing the lid" suspend.12:08
mandelalecu, anyways, atm I'm a little block on gatox branches landing and talking with mmcc about packaging (need to start the daemon)12:08
mandelalecu, the rest seems to all work ok with no problem in all the IRL tests I've done12:08
alecumandel: those are greaaaat news!12:11
mandelalecu, and the mem consumption is not bad, I guess I don't not what the virtual mem means in the process monitor from mac 'cause firefox also uses 2 gb, so we look fine syncing 15 gb of music12:12
mandelalecu, including moving from one wireless to another, changing to 3g etc.. lo puetee todo lo que supe12:12
gatoxback again (internet issues)12:13
mandelI'm off to have lunch12:32
* mandel lunch12:32
ralsinagood morning!12:32
gatoxralsina, hi12:32
mandelralsina, he, just when i was leaving :)12:34
ralsinamandel: we are in sync :-)12:36
mandelralsina, apparently hehe12:36
mandelgatox, please let me know when you are done fixing the last needs fixing and I'll take a second look12:36
mandelnow, I'm really off to eat12:36
gatoxmandel, of course12:37
gatoxmandel, this one has been updated: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin3-fsevents/+merge/111666 let me know when you get this message12:52
mandelgatox, ok, looking13:47
mandelgatox, there is a merge conflic13:48
mandelt13:48
gatoxmandel, with darwin3?13:49
mandelgatox, apparently: Text conflict in ubuntuone/platform/os_helper/darwin.py13:49
mandelgatox, or so it believes launchpad13:49
gatoxmandel, ok, merging with u1-client13:49
gatoxmandel, resolved13:51
mandelgatox, ping13:58
gatoxmandel, pong13:58
mandelgatox, so, you dont think is a good idea to move the def is_valid_syncdaemon_path(path_indexes=None): to darwin?13:58
mandelgatox, line 1146 of the diff13:59
gatoxmandel, that is in darwin14:00
gatoxmandel, this is what i see: http://paste.ubuntu.com/1062569/14:00
mandelgatox, sorry I mean 119614:01
mandelgatox, we never use that in unix, do we?14:01
gatoxmandel, mmmmm that should be there..... let me check14:01
gatoxmandel, sorry..... copy, not cut14:02
mandelgatox, lol14:02
mandel:)14:02
gatoxmandel, done14:02
mandelgatox, 26dd and then p14:02
* mandel is going to make gatox learn vim 14:03
gatox¬¬14:03
mandelgatox, I would have done return  super(WatchManager, self).del_watch(wd) instead of the decorator.. but yours works the same way  I suppose :P14:07
=== yofel_ is now known as yofel
gatoxmandel, i can change it if you want14:10
gatoxno problem14:10
mandelgatox, do as you wish14:10
gatoxmandel, i'll do it.. i know you want me to change that jeje14:10
mandel;)14:10
gatoxmandel, done14:11
gatoxmandel, now let me merge with darwin4 to see if there isn't any conflict14:11
gatoxmandel, ok, darwin4 is ready too14:14
urbanaperalsina: quit feeding the trolls14:30
ralsinaurbanape: ha14:31
mandelgatox, running tests on win and linux, i might have some comments about 4 due to some fears I have about this: self._path = os.path.abspath(path)14:31
ralsinaurbanape: I get coffee, I throw a troll a nugget14:31
mandelralsina, he, i was trolling a little too :P14:31
mandelis waaaaay too much fun hehehe14:31
mandelgatox, why sis you remove the abspath ?14:33
gatoxmandel, diff-line?14:33
mandelgatox, 73314:34
gatoxmandel, ah yes14:35
gatoxmandel, that is being applied in darwin and windows..... because of the way paths are created with abspath, in windows i needed to apply that before calling the function, and on darwin after14:36
mandelgatox, hm.. funny, why do you have to call it after on darwin?14:37
mandelgatox, I just want to know the reasoning to understand the change :)14:37
gatoxmandel, it was causing some problems with the handling of the paths as key because of the last /14:37
mmcchi guys, catching up...14:38
gatoxmmcc, hi14:38
mandelgatox, what do you mean?14:38
mandelmmcc, I'd love to chat with you later about the daemon and how to make it in the bundle to start when the machine boots14:38
mandelmmcc, that is one of the last pieces + gatox branches :)14:39
gatoxmandel, sorry..... it is like this:14:40
gatoxon darwin i need to call it first....... BECAUSE:14:40
mmccmandel, ack. after standup?14:40
gatoxmandel, we are adding in common.py the / at the end..... but abspath in darwin, removes that..... so, i want the abspath, but i don't want the separator at the end that common.py adds because it needed to compare it with ignored paths, and so get removed14:41
gatoxso in darwin i get the abspath first14:41
mandelmmcc, super, I'd like to add it to the bundle with no launchd support for the fd and later add that, but indeed after the standup :)14:41
dobeywait14:41
dobeythere's something on reddit that *isn't* spam?14:42
mandelgatox, uh uh uh, removing the / might be an issue14:42
dobeyi want to see it14:42
mandelgatox, how do you compare it with an ignored path?14:42
gatoxmandel, that's why i get the abspath first14:42
gatoxso we don't have that issue14:42
mandeldobey, no, there is not, is a great troll competition hehehe14:42
mandelgatox, os.path.abspath removes the os.path.sep in all platforms14:43
gatoxmandel, so we are using it in another way on windows?14:44
mandelgatox, so, no matter the os, the path wont have os.path.sep in path[-1]14:44
mandelgatox, only thing I know is that there we had the abspath with no os.path.sep in the end and you changed it, so I worry :)14:45
gatoxmandel, i don't change it..... in window is doing the same as always14:45
gatoxmandel, or you mean for darwin?14:45
mandelgatox, darwin14:46
mandelgatox, that paths is used to see if it is ignored, right?14:46
gatoxmandel, ok..... let me check adding that in darwin again14:46
mandelgatox, but does it make sense that I'm worried?14:49
gatoxmandel, yes...... but i want to check again why the test were requiring that...... so, let me try, and i'll give you a fresh answer14:50
mandelgatox, the behavior of os.path.abspath is the exact same in both platforms, is the abspath with no os.path.sep at the end, os it is a little fishy to say I just have to do it that one in a single case14:50
mandelunless fsevents is stupid, which is possible :)14:50
gatoxmandel, that could be...... but i don't want to guess..... i don't remember exactly, so i'll check14:51
mandelgatox, I hate you for making me memorize your surname when branching14:54
gatoxmandel, jejejeje14:54
mandelgatox, I just wanted to let you know.. I really really hate you for that14:54
gatoxmandel, jejeje14:55
dobeymmcc: can you please change your formatting of commit messages on your merge proposals to use sentence form (start with capital, end with period), and if you're going to include bug numbers in the commit message please use (LP: #$BUGNUM) so launchpad parses it properly? thanks14:55
=== zyga is now known as zyga-food
mmccdobey, noted.14:56
briancurtinme15:00
dobeymeh15:00
thisfredme15:00
gatoxme15:01
mmccme15:01
thisfredDONE: Bug #999562 TODO: still wrap up Bug #999562  BLOCKED: a tad, by libcurl peculiarities (it hangs when doing  t) NEXT:15:01
ubot5Launchpad bug 999562 in U1DB "retry logic on 503 " [High,In progress] https://launchpad.net/bugs/99956215:01
thisfredouch15:01
thisfredplz ignore that :)15:01
dobeybad thisfred15:02
thisfredvery15:02
dobeyalecu, ralsina, mandel: stand-up15:02
alecume (no notes)15:02
mandelme15:03
ralsiname (no notes)15:03
briancurtinready?15:04
dobeyaye15:04
briancurtinDONE: installer debugging, got XP working after manually installing VS2008 runtime in a clean VM15:04
briancurtinTODO: test a few more cases, probably put vcredist back into an installer step rather than (or in addition to) side-by-side installation15:04
briancurtinBLOCKED: none15:04
briancurtinNEXT: dobey15:04
thisfreddobey: define aye?15:05
thisfredDONE: Bug #999562 TODO: still wrap up Bug #999562  BLOCKED: a tad, by libcurl peculiarities (it hangs when doing  the same request twice even though that should work) NEXT: gatox15:06
dobeyDONE: releases/uploads15:06
dobeyTODO: SSO release/upload, u1db package?, check on u1-gnome bugs, check on getting stable PPA up to par15:06
ubot5Launchpad bug 999562 in U1DB "retry logic on 503 " [High,In progress] https://launchpad.net/bugs/99956215:06
dobeyBLCK: None.15:06
gatoxDONE:15:06
gatoxChanges in my branches regarding the comments, reviews, working on moved from partial bug.15:06
gatoxTODO:15:06
gatoxMake sure that my branches land today :P. Keep working in the reamining fsevents bugs, start sleeping like a normal person.15:06
gatoxBLOCKED:15:06
gatoxNo15:06
gatoxmmcc, go15:06
mmcc DONE: messy reactor fix on windows and darwin15:06
mmcc TODO: discuss packaging fsdaemon, polish up CP reactor fix, setup new macbook-air15:06
mmccBLOCK: none15:06
mmcc NEXT: alecu15:06
alecuDONE: some mac reviews, misc debugging, setup of a Q partition, played a bit with py3k15:06
alecuTODO: more py3k15:06
alecuBLOCKED: no15:06
alecuNEXT: mandel15:06
mandelDONE: Reviews, reviews.. Fixed bug 1018319.15:06
mandelTODO: more gatox reviews. Adapt my code to gatox code. Talk with mmcc about adding the daemon to the packages.15:06
mandelBLOCKED: no15:06
mandelnext, ralsina15:06
ubot5Launchpad bug 1018319 in Ubuntu One FsEvents daemon "There are issues reconnecting to the daemon" [High,In progress] https://launchpad.net/bugs/101831915:06
ralsinaDONE: XP and Q setup (finally), reviews, cmake tweaking, mgmt call, canonicaladmin, minor stuff TODO: finish cmake for u1db, check windows progress, 1-1s, lots of minor stuff BLOCKED: no15:08
ralsinacomments?15:10
ralsinaEOM then15:11
mandelI have a comment, our manager is a troll :P15:13
dobeystop your blogspam!15:13
mandela good one, but a troll..15:13
dobeyalso, someone really needs to turn off the voice synthesizer, if they want to stop hearing you15:14
mandelgatox, I think I'm ready to approve fsevents 3 at least tests pass and I cannot see any other problem, alecu  can you take a look asap15:14
mandelalecu, gatox branches do block me from landing my stuff and tom is my last day before pycon15:15
mandeldobey, lol15:15
mandeldobey, you are a master troll.. what a bloody team..15:15
dobeyheh15:16
mmccbtw, I know of a looming problem with the fsevents branches, but we can fix it after they land - need to import reactor inside each function that uses it, importing it at the top installs the wrong reactor15:16
mmccthat'll be in platform/filesystem_notifications/darwin.py15:17
mandelmmcc, it does not, here we are lucky :)15:19
mmccmandel, ?15:19
mandelmmcc, the deal is that only bin/ubuntuone-syncdaemon imports main after it imported the reactor15:21
mandelmmcc, so, when you import the reactor for the first time in the script, it will import the correct one15:21
mmccmandel: the problem I'm seeing is with controlpanel's bin/ubuntuone-control-panel-qt15:21
mandelmmcc, yes, control-panel and sso are a diff worls, anyways, lets mumble talk about packaging and I explain better what I mean :)15:22
mmccbut syncdaemon probably won't have the same problem if it's a QCoreApplication - if you import qt4reactor before you create a QApplication, qt4reactor will create a QCoreApplication instead for you15:22
mandelmmcc, exactly, on win and darwin we use the select reactor and on linux the gi one15:23
mmccmandel: for syncdaemon, you mean?15:23
mandelmmcc, yes15:23
gatoxmandel, you were right about the abspath thing..... it seems that i get confuse with and old bug15:26
* mandel high fives gatox!15:26
gatoxmandel, o/15:26
mandelgatox, cool, one thing less to worry about :)15:26
gatoxmandel, yep15:26
dobeyalecu, ralsina: https://code.launchpad.net/~dobey/ubuntu-sso-client/update-4-0/+merge/11238015:30
ralsinadobey: got it15:30
gatoxmandel, let me push the changes, because some tests were wrong15:32
ralsinadobey: +115:33
dobeythanks15:33
mandelgatox, is that for 3 or 4?15:34
gatoxmandel, 415:34
* briancurtin downloading vista right now, running for coffee15:43
gatoxmandel, i'll let you know when 4 is ready..... i need to fix something because the / thing is breaking the ignored paths checks15:45
mandelgatox, so, it was a good catch the abspath thing or I made you miserable?15:46
gatoxmandel, the second one15:46
gatoxjejeje15:46
gatoxpayback for memorize my surname15:46
mandellol15:47
mandelgatox, can you look at 3, I'm getting an error on windows15:54
mandelgatox, not related to your code, can you try and reproduce it?15:54
gatoxmandel, running the tests......15:55
mandelgatox, ok, it might be my machine, just double check15:56
gatoxmandel, yes, i have an issue with test_get_config......   and it's in trunk too16:00
gatoxmandel, if that is what you see16:00
mandelgatox, yes... fuuuu16:00
gatoxx216:00
mandelgatox, I wonder when this happened16:01
* mandel looks at jenkins16:01
mandelgatox, jenkins seems happy O_o16:03
gatoxmandel, so...... you machina has became to the evil side like mine16:03
gatoxmachine16:03
mandelgatox, I'm forcing a build, lets see what happens16:03
dobeyok, off to lunch. bbiab16:05
gatoxmandel, ok, darwin4 is ready too... just run the tests to see that i didn't brake anything.... all green16:07
gatoxnow lunch for me!16:07
=== gatox is now known as gatox_lunch
=== zyga-food is now known as zyga
=== salgado is now known as salgado-lunch
=== Myrtti is now known as StaffRingedSeal
mmccheading out to lunch16:23
alecugatox_lunch: "TODO: Implement this decorators to fix some encoding issues in darwin"16:23
alecugatox_lunch: how are those supposed to be work?16:24
alecuok, let's discuss this after lunch.16:24
gatox_lunchalecu, maybe i'm wrong, i thought mandel was working on that16:24
gatox_lunchmandel, am i right? or i understand something else16:24
alecugatox_lunch: oh, are they coming in a later branch?16:25
alecugatox_lunch: no problem then.16:25
gatox_lunchalecu, we should check with mandel.... i undeerstood that16:25
mandelgatox_lunch, I worked on listdir etc.. we have to see in which ecoding you get the things from the fsevents lib16:25
mandelgatox_lunch, we can write a simple test :)16:25
gatox_lunchmandel, ack, i'll take a look after lunch16:26
mandelI'm eod, but will be back later :)16:27
alecugatox_lunch: I really don't like filesystem_notifications/test_darwin.py16:35
alecugatox_lunch: there's so much stuff copied from test_windows that I think we should consider working on refactoring this while mandel goes to pycon.16:37
mandelalecu, I already mentioned it :)16:37
alecumandel: awesome.16:37
ralsinaalecu, mandel: can we do a refactoring *after* it's merged?16:37
mandelalecu, is a must TODO all tests are the same16:37
mandelralsina, alecu, my point is, merge soon, propose mine, clean up while I eat pasta in italy16:38
alecugatox_lunch: and I still don't like the time.sleep's around the tests...16:38
ralsinamandel: +1 on thatplan16:38
* mandel smokes cigar16:39
ralsina"I +1 when a plan comes together" doesn't sound right.16:39
alecumandel: what are your branches pending merge?16:41
mandelalecu, this needs a review: https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-path-no-user16:42
mandelalecu, and I'll propose lp:~mandel/ubuntuone-client/fsevents-daemon asap16:43
mandelalecu, which is when diego lands his16:43
mandelalecu, will be here late night (EU time) to try and propose16:43
gatox_lunchalecu, IIRC, we talk in mumble that we were going to do this way, and then refactor the tests16:51
alecugatox_lunch: yes, I remember. But I'm still not keen on the idea of landing so much copypasted code.16:52
=== salgado-lunch is now known as salgado
gatox_lunchalecu, so..... do you want me to change darwin4.... or propose a darwin5 for that?? or??16:53
gatox_lunchi'll finish lunch.... brb16:54
alecugatox_lunch: and since mandel is going to pycon I wondered if we were rushing too much just to land his stuff16:54
alecugatox_lunch: go, finish lunch, let's discuss laters.16:54
* alecu will have lunch too.16:54
alecusorry for interrupting your lunch so many times :P16:54
mandelalecu, I can always propose mine and make it land before :)16:54
mandelalecu, I have no problem with that at all16:55
ralsinaalecu: gatox's fault for having lunch on his computer ;-)16:55
* ralsina sips his soup16:55
alecumandel: I branched lp:~mandel/ubuntuone-client/fsevents-daemon and I see that it has a lot of empty tests...16:55
mandelralsina, is the only reason he fails the turing test..16:55
mandelalecu, uh, I did not push the tests, give me a sec16:56
alecumandel: perhaps a push is missing16:56
alecuditto16:56
alecumandel: does it depend on any of the branches that gatox is working on?16:56
mandelalecu, none16:56
mandelalecu, and it is merged with current trunk16:57
alecumandel: great. But does it touch the same files as gatox's?16:57
mandelalecu, no16:57
alecumandel: then propose it! we can surely land it before the other one.16:57
mandelalecu, ok16:58
alecumandel: one more thing: are you leaving tomorrow for pycon, or working tomorrow?16:58
mandelalecu, working, I'll be off on friday16:58
alecumandel: then propose it, and let's discuss the order in which we land them tomorrow in our AM.16:59
mandelalecu, ok :)16:59
=== gatox_lunch is now known as gatox
gatoxback17:03
gatoxso...... now i don't understand why mandel was waiting for my branches jejee17:03
gatoxalecu, now when you finish your lunch.... what should i do with the remaining branches then?17:04
mandelgatox, because there is an overlap of code17:04
mandelgatox, alecu, I wanted to make things smaller once you added the code, if we don't we will have some duplicated code17:04
gatoxmandel, you said it doesn't to alecu17:04
mandelgatox, it does not touch the same files.. which is diff17:04
gatoxahhh ok17:04
mandelgatox, I worked assuming the work you would do so that we did not step on each other :)17:05
mandelalecu, gatox, ralsina, mmcc: here it is: https://code.launchpad.net/~mandel/ubuntuone-client/fsevents-daemon/+merge/11239317:05
mandelI though it would be smaller, sorry17:05
mandelalthough, 1000 lines is normal for gatox  ;)17:06
gatoxmandel, i'll review that17:06
mandelgatox, so, what I wanted to reuse form your code is the NotifyProcessor, which is one overlap in the code17:09
alecugatox: I still accept the idea of refactoring the testing code after it lands on trunk.17:09
ralsinabriancurtin: looks (thanks to rye) like the problem with the 7 build is that it's including two system DLLs in dist/ even though they are listed in dll_excludes in setup.py :-/17:09
mandelgatox, the monitor and the factory are not shared, and the tests are just for the factory17:09
ralsinabriancurtin: can you check in 7 that in a clean build they are included and maybe delete them on build?17:09
alecugatox: what I'm not really convinced is the "time.sleep" in the tests.17:09
briancurtinralsina: that's wonderful17:09
ralsinabriancurtin: good news are we only need resigning the installer17:09
alecugatox: we should build some other mechanism, because that won't scale.17:09
mandelalecu, there must be a way to remove them, I know you helped me to remove it on windows and we used a deferred instead by waiting for a number fo events17:10
briancurtinralsina: i'll look17:10
alecumandel: exactly. gatox ^17:10
gatoxalecu, the thing is.... we are getting those events...... but in some time..... for syncdaemon it will works as always, but for the tests, where they want to access to a specific value in a specific time, that tend to fail.... that's why the sleep17:11
gatoxalecu, mandel can you point where to look at?17:11
gatoxpretty please17:11
mandelgatox, so, if you say to the test, wait for 4 events, when done return them in a deferred callback17:11
mandelgatox, look at _perform_actions on windows17:12
gatoxmandel, ack17:12
alecugatox: we should be hooking for the signals of those events, and yielding on that, instead of time.sleep, because sleep always ends up giving malfunctioning tests.17:12
mandelgatox, here: http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-client/trunk/view/head:/tests/platform/filesystem_notifications/test_windows.py#L16717:13
alecuok, let's lunch now.17:13
gatoxalecu, nono!! jejee17:13
gatoxmandel, cool! thx..... i'll adapt darwin4 to that........17:13
gatoxthe neverending refactor......17:13
mandelgatox, does the function make sense?17:13
alecugatox: can you do that in darwin3 instead? that's where the sleeps are17:14
gatoxalecu, ack17:14
alecugatox: (I'm assuming you are using bzr pipeline for all this)17:14
dobeywelcome to darwinia17:14
alecugatox: (if not, shame on you :-) )17:14
gatoxalecu, nop17:14
mandelgatox, the TestHandler waits to receive a number of events, lets say 5, we we do get to 5 we yield, else we timeout and have a failing test17:15
gatoxmandel, honestly...... i'll need to try and see.... i'm a little worried about macfsevents threads and stuff17:15
mandelgatox, you are not making me confident with that sentence hehehe17:15
gatoxmandel, i'm not confident :P17:15
mandelgatox, che, just lie to me and say you are ;)17:16
gatoxmandel, i'm not confident..... but i'm honest :P17:16
gatoxmandel, ok..... stop distracting me :P i think i understand the function, i'll try that17:17
mandelmmcc, may I have a review for: https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-path-no-user/+merge/11232417:17
briancurtinralsina: oh wtf, removing those does make it work17:21
ralsinabriancurtin: yep17:21
ralsinabriancurtin: but they should not be there, I excluded them manually! :-)17:21
briancurtinralsina: i'll check on vista right now just to be 100% sure it's the same issue17:23
ralsinabriancurtin: awesome17:23
briancurtin(i dont know why it'd be something else, but may as well look now that i have the VM)17:23
gatoxralsina, 1-1?17:24
gatoxralsina, i set the alarm to never forget again :P17:25
ralsinagatox: haha, sure17:25
ralsinagatox: mumble17:26
gatoxralsina, ok17:26
briancurtinralsina: vista is ok. i will repackage the 3.0.2 installer and send it for re-signing and try to figure out why those DLLs went in17:32
ralsinabriancurtin: you'll have to create a new RT for it17:32
briancurtinwill do17:32
ralsinabriancurtin: you can copy from the last one17:33
mandelok, EOD for me, laters!17:42
* mandel walks dog and gets ready for football17:42
gatoxmandel, bye17:45
=== zyga is now known as zyga-afk
* briancurtin2 i need a break, will be back shortly.18:45
* briancurtin2 back19:04
mmccApple's strange new universe where you download the IDE from the App store and the command line tools are *optional*.19:23
mmccand a separate download...19:23
alecugatox: so, did the comment from mandel to wait for the right number of events made sense?19:34
gatoxalecu, yes.... i'm trying to adapt the code to that19:34
alecugreat19:34
gatoxit wil require some........ CHA CHAN CHA CHAN! .......... REFACTOR jejeje but seems possible..... even with the macfsevents things19:35
alecugatox: doh19:36
dobeywait_for_planetary_alignment()19:43
ryedobey: UniverseError: None19:52
gatoxok people..... eod for me.... and i need to get some sleep...... see you tomorrow!  :D20:08
ralsinabye gatox!20:08
mmccalecu, ralsina, anyone: quick review of u1-client mac test running script tweak: https://code.launchpad.net/~mikemc/ubuntuone-client/fix-1013268/+merge/11242220:08
ralsinago to sleep for real20:08
ralsinammcc:  looking20:08
alecummcc: looking20:09
gatoxralsina, bye..... stop trolling crazy people :P20:09
gatoxthey don'y diserve your time20:09
ralsinammcc: global +120:09
mmccralsina: thx20:09
ralsinagatox: I am generous that way20:09
gatoxjejeje20:09
ralsinagatox: also, the u1db tests take 5 minutes here20:10
ralsinalots of dead time20:10
gatoxralsina, jejeje20:10
gatoxralsina, well, so..... enjoy the trolling :P20:10
dobeyalecu, ralsina: https://code.launchpad.net/~dobey/ubuntuone-client/shebangs/+merge/11242520:19
dobeyalecu, ralsina: https://code.launchpad.net/~dobey/ubuntu-sso-client/shebangs/+merge/11242420:20
ralsinadobey: got it20:20
ralsinadobey: +1 trivial20:21
ralsinaand the same on the other one20:22
dobeythanks20:22
ralsinadobey: can I trade you with https://code.launchpad.net/~ralsina/u1db/cmake2/+merge/112392 ?20:36
dobeyabout to look at it20:36
ralsinadobey: landing that would require a tarmac reconfiguration, or a top-level Makefile that calls cmake which seems kinda ugly.20:36
ralsinadobey: cool, thanks20:37
dobeydoesn't the toplevel already call cmake?20:37
ralsinadobey: the toplevel has no Makefile after this branch20:39
ralsinadobey: it's roughly in the same state as autotools would be before autogen.sh20:39
dobeyhmm20:40
mmccidle question - is there a 'less' or 'more' or 'cat' or 'open' or anything convenient in windows for me to view a file from cmd.exe?20:40
ralsinammcc: yes, there is more20:41
ralsinammcc: but I would not call it convenient20:41
dobeyheh20:41
ralsinammcc: let me find you a set of unixy tools20:41
dobeymmcc: notepad.exe20:41
mmccah, more, good enough.20:41
dobeyor install mingw20:41
mmccI really just wanted to dump the file. I also just noticed Notepad++.exe can be cmdlined20:41
ralsinayes, I would rather use notepad than more20:41
ralsinaNotepad++ even has an option to be installed over notepad :-)20:42
ralsinaalso, http://unxutils.sourceforge.net/20:42
briancurtin2mmcc: i have gnuwin32 installed so anything i tell you might come from there...but i think on vanilla win32 you can type "edit foo" and it'll open some minimal terminal editor20:42
ralsinamuch smaller than cygwin20:42
briancurtin2mmcc: ah, "type foo"20:43
briancurtin2type is similar to cat20:43
mmcc:) thanks guys! more and type will do for now. edit didn't work, told me the system cannot execute the specified program, but I don't need to solve this now20:44
dobeyralsina: is there a rule to get rid of all the cmake-generated stuff?20:48
ralsinadobey: delete the build folder20:48
dobeyralsina: and if i did cmake .?20:48
ralsinadobey: he20:48
ralsinadobey: make clean should delete most of it20:48
ralsinadobey: but probably not all20:49
dobeybut not enough. because if i make a directory and do cmake .. in it, nothing useful happens20:49
dobeymake hulk-angry20:49
ralsinadobey: probably need to delete CMkeFiles too20:50
ralsinadobey: but not really sure20:50
dobeyit fails if you don't do the cmake in a subdir :-(20:55
dobeyit won't find u1db.h20:58
ralsinaI may be able to fix that if you want21:01
ralsinaso put a needsfixing and I'll look at it tonight21:02
dobeywow21:03
dobeyi am glad i generally ignore reddit21:04
mmccdobey: you looking at ralsina's thread there, or something else?21:07
mmcc(I also ignore reddit, and these days HN too... haven't really missed it)21:07
ralsinammcc, dobey: feel free to ignore that one too, I just got there because they linked to a post of mine, and have a trolling issue.21:07
mmccalecu, ralsina: I am interested in your comments on this fix for the qt4reactor vs. QApplication ordering issue. I don't love how this turned out and had at least one other way of doing it, but this changes the least code...21:08
mmcchttps://code.launchpad.net/~mikemc/ubuntuone-control-panel/fix-1015825-reorder-reactor/+merge/11243221:09
ralsinammcc: I'll check it but I have to EOD just about now21:09
ralsinahave my son asking me to play power rangers tower defense ;-)21:09
dobeypeople on reddit who purport to be trolls by spouting off nonsense, give proper trolls a bad name21:09
mmccralsina: ok, no prob. it's quick to read, so maybe later. go play21:10
alecummcc: looking21:10
ralsinadobey: trolls these days, they have no skills!21:10
dobeythey are just goblins21:10
mmccI liked that troll about Tolkein ripping off Harry Potter the other day, that was good stuff21:10
mmccI like a troll with some depth21:11
dobeyi need to head off too21:15
dobeyhave a good evening!21:19
mmccbye dobey21:19
mmccback - irc died after dobey left. I think it was sad.21:28
alecummcc: sorry, I opened your branch and got distracted.22:06
alecummcc: I think that it looks fine22:06
alecummcc: I think it just needs some unittests for the stuff you've added in ubuntuone/controlpanel/gui/qt/main/__init__.py22:07
mmccalecu, hmmm. all that's added is conditionally installing the reactor, unles I'm missing something, right?22:08
alecummcc: right22:08
mmccright, so that conflicts with the reactor used in the tests...22:08
alecummcc: I think we have unittests for main() too.22:09
mmccwhich is why I made it conditional22:09
mmccan earlier version didn't have the install_reactor_darwin flag, and blew up the tests22:09
mmccspecifically, the tests die because we already have an installed reactor22:09
mmccso I think there's no way to test this cleanly, but I'm certainly happy to be corrected22:10
alecummcc: I think we could move the import plus the install to a new function or method, and unit test the "if"22:10
alecummcc: and the unit test would patch this new method just to check if it's being called.22:11
mmccoh wait, I'm being dense. can we patch qt4reactor? or does that not work since I'm importing it in there?22:11
mmccmaybe I don't need to import it there. I could import it at toplevel, and patch install to check that it's called22:12
alecummcc: I'm not sure if there's a simple way to patch the import...22:12
mmccI don't think there are side effects to importing it at toplevel. I'll see...22:12
alecummcc: yes, that might work better22:12
alecummcc: wait22:12
alecummcc: I think that it would matter22:12
alecummcc: because on linux we don't use the qtreactor22:13
mmccright, of course. well, I can only import it at toplevel for darwin...22:13
alecummcc: in fact, we are trying to get rid of the reactor on the gui modules22:13
alecusorry, the gui apps.22:13
mmccyes, I know, but unfortunately this ordering seems to matter more on darwin than on windows (which has the reactor installed in the control-panel-qt main script22:14
mmcc)22:14
alecuright.22:15
mmccpretty ugly22:15
alecuwe are pushing all this code to run on places where it was not thought it would run... windows, darwin.... so yes it's getting ugly fast :-)22:16
mmccyep - well, that's life :)22:16
mmccso I've changed it to import qt4reactor only for darwin at toplevel in gui/qt/main/__init__ and am adding tests to be sure we handle the reactor flag correctly. what's a good way to test that the reactor isn't imported (or installed) on other platforms?22:19
alecummcc: what about patching "sys.platform" ?22:28
mmccalecu: if I patch sys.platform to = 'darwin', then the test will try to import qt4reactor on linux, right?22:30
mmccI guess I could skip the test for linux...22:30
mmccgotta go, will come back later tonight to clean this up23:16
* alecu waves, too23:32
=== salgado is now known as salgado-afk

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