/srv/irclogs.ubuntu.com/2012/05/29/#ubuntuone.txt

=== zumbi_ is now known as Guest88650
JamesTaitGood morning, all! :)08:57
Moscherkoboldgood morning09:01
czajkowskialoha09:02
Moscherkoboldhi rye, do you have something new for me? :)09:03
ryeMoscherkobold: just arrived, let me look at the bug report09:04
ryesooo... fix committed09:05
Moscherkoboldthis means it should work now?09:07
ryeMoscherkobold: no, the code was not deployed yet and I don't see any merge tickets to merge accounts09:15
ryei'll create one and will follow up today (i was off on monday)09:15
Moscherkoboldok, maybe it would be also helpful for me to delete the second account, because it is empty anyway.09:18
Moscherkoboldbut it is always chosen if i log in on a win pc or on the website09:18
czajkowskiaquarius: random question, if you have a file shared out and published on U1 and you make changes on the desktop does it automatically get updated and still shared out on the same link?09:19
aquariusczajkowski, it depends how you edit it :(09:20
czajkowskiaquarius: well I reoponed my presentation and made changes on the deskop and saved09:21
czajkowskiwhat other way would you edit it ?09:21
ryeMoscherkobold: https://bugs.launchpad.net/ubuntuone-servers/+bug/1005819 - if you have a launchpad account you can subscribe to this bug to be notified when we switch it to fix released09:21
ubot5Error: ubuntu bug 1005819 not found09:21
aquariusczajkowski, if the program you edit it with just edits the file, then yes. However, quite a few programs don't *actually* do that (and it's very hard to tell what a program does) -- instead, they save your changes to a temp file and then rename the temp file over the top of the existing file. If this happens, it breaks the public URL because it's actually a different file :(09:22
aquariusczajkowski, and... openoffice is one of the programs that does this rename trick :(09:22
aquariusI would dearly love to see this fixed.09:22
aquariusbut fixing it is pretty hard09:22
czajkowskiaquarius: ahh so that's what happened, had to reshare the presentation as the link died09:22
aquariusczajkowski, yeah. It's really pathologically annoying. :(09:22
czajkowskiaquarius: it was really handy to do the talk at the weekend, then the file was already on the web and click share.09:22
ryeaquarius: originally we had a path-based publishing... I recall. then somebody complained and we switched. Was it like this?09:22
czajkowskibut that kinda bite me last night as needed to make a few changes and add links to stuff I mentioned :/09:23
aquariusczajkowski, yes. I don't have a very good solution here :(09:23
aquariusrye, path-based publishing fixes this problem, at the cost of others09:23
czajkowskiaquarius: no worries if there is a bug about it then I'll go back to sipping my drink and being quiet09:23
=== JamesTai1 is now known as JamesTait
Moscherkoboldrye: sry i have no launchpad acc, it would be great if you can keep me up to date?09:37
ryeMoscherkobold: could you please PM me your e-mail again so that I add it to my notes?09:38
ryeczajkowski: what I do in this case (i use U1 for all the media on my rtg.in.ua web site) is that i put the files somewhere, edit them and after that copy over to original locations thus overwriting the content byt not changing the inodes09:38
ryewell, i use a proxy too so that should I break the link i can set up a correct mapping09:39
ryebut this is an overkill09:39
czajkowskiyeah I just wanted to add a little content09:40
czajkowskino biggie09:40
lalejandHi everyone10:03
lalejandI just published a zip file from the ubuntuone folder in nautilus10:03
lalejandI can see it is published and see the link on the web U1 interface10:04
lalejandbut a right click on the zip file in nautilus still gives me only the "publish" option10:04
lalejandis it a know bug or do I have a problem with my nautilus ?10:04
lalejand"known"10:05
ryelalejand: known bug in nautilus plugin which does not load the list of published files properly10:06
lalejandokay thx. Just have to wait for it to be fixed then :)10:06
=== JanC_ is now known as JanC
gatoxgood morning!11:04
mandelgatox, morning!11:07
mandelgatox, did you try to run the cp on mac os x?11:07
gatoxmandel, hi11:15
gatoxmandel, no.... i was stuck with a bug in win11:15
gatoxmandel, do you want me to try now?11:17
* gatox is still trying to reproduce the bug on windows11:17
mandelgatox, no worries :)11:23
mandelgatox, just curious11:23
alecumandel, gatox: holas!11:56
gatoxalecu, buenas11:57
mandelalecu, hola!12:05
=== facundobatista_ is now known as facundobatista
mandelgatox, I have a new branch for the fsevents project: https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-dispatcher-tests/+merge/10776612:28
mandelgatox, take a look at the description since it tells you how to add OCMock to the $(DEVELOPER_LIBRARY_DIR), specially because the dependency is only related with the tests12:28
mandelgatox, I tried to write a patch method but although I managed to get it running it was terrible code to mantain, so I went with mocks, so sorry in advanc12:29
mandels/advanc/advance12:29
ryeno brians here12:38
ryetoo12:38
mandelrye, he starts later :)12:41
mandelrye, is briancurtin12:42
mandelok, lunch time for me12:42
* mandel lunch12:43
gatoxmandel, ack12:44
ralsinagood morning!12:44
gatoxralsina, hi12:44
mandelralsina, once I'm back from lunch, can we take a look on how to setup the mac mini so you can run at least the tests for the objective-c code?12:44
gatoxmandel, did you mark it as private for anything in particular?12:44
ralsinamandel: sure!12:44
mandelgatox, the entire thing is private12:44
ralsinamandel: I do have a ton of calls today though12:44
gatoxahhhh ok12:44
mandelralsina, once I'm back I'll let you know and then you can ping me whenever you are free :)12:45
mandelok, leaving to have tortilla de patatas :)12:45
alecumandel, oh, no. No mocks, please!12:47
dobeyhmm12:56
gatoxalecu, the suggested path is what we want! \o/13:00
alecugatox, vaaaamos!13:00
gatoxalecu, so....... fixing!13:01
gatoxalecu, thx for the mumble-time! :P jeje13:01
=== teknico_ is now known as teknico
=== m_conley_away is now known as m_conley
gatoxralsina, alecu when we want to use an icon from the current os theme for u1-cp.... and the os doesn't have that icon.... which would be the proper solution? add the icon to the control panel data folder.... or ignore that icon?13:38
* mandel back13:38
ralsinagatox: add a fallback to data13:38
gatoxralsina, roger13:39
ralsinagatox: operative word "fallback" ;-)13:39
mandelralsina, let me know when do you have time to set the env for the mac-mini13:44
mandelralsina, can be tom if you have a very busy day :)13:44
ralsinamandel: tomorrow early sounds good13:45
ralsinamandel: I want to do all my late 1-1s today13:45
mandelralsina, ok, which reminds me, we skipped lasts week13:46
mandelralsina, wanna have it or we wait 'til friday?13:46
ralsinamandel: exactly13:46
mandelralsina, that means, we have it?13:47
ralsinamandel: yes we will ahve it today13:48
mandelralsina, ack13:49
dobeywhat is this 1-1 you speak of?13:55
dobeymandel: i don't quite understand your review of my ubuntuone-installer branch14:05
mandeldobey, my questions is, if we have a data file (the logo) why don't we copy it to the correct location in the setup.py, or is that logo coming from somewhere else?14:08
dobeymandel: it is getting picked up/installed automatically14:09
mandeldobey, the other, please add a test that asserts that we do pass the correct path, I know is a simple 'stupid' tests but it is nice to have14:09
dobeymandel: i don't understand what you expect to test exactly14:09
mandeldobey, but what if I get the project and do python setup.py  install? the software will work with the logo?14:09
dobeymandel: yes14:09
mandeldobey, with the logo you mean, ok cool :)14:09
ralsinadobey: mythical creature14:10
dobeymandel: debian packages are created by doing setup.py install as well you know :)14:10
mandeldobey, yes, that is why I'm asking :)14:10
dobeyand the test, a) isn't so simple, and b) makes no sense14:11
mandeldobey, is simple, self.patch(object, '__find_data_file', function) where function will assert that the passed file is 'u1logo.svg' (which I would store in a const rather than in the middle of the code)14:13
dobeymandel: and it still makes no sense14:13
mandeldobey, in makes sense in the way that if someone by mistake removes it or changes it by accident we will know14:13
dobeyasssert that this one string we import in two places, from the same place, is the same14:13
dobeyif it's not the same, your system is f'c14:13
dobeyf'd14:13
dobeynobody other than me is going to ever touch this code :)14:14
mandeldobey, well, right now, is not imported from anywhere, is just in that call14:14
dobeymandel: until it's a const, and it's imported, and then even if someone does change it, the test will still pass14:14
mandeldobey, and.. while that is very very true (not being touch by any other person) what happens if you do?14:14
dobeythe only way the test will fail is if we hard code it in two separate places14:15
mandeldobey, well, then place it as a const, and we might find a middle ground ;)14:15
dobeyubuntuone-instlaler is going to die a very fiery death14:15
dobeywhat's the point?14:15
mandeldobey, self.__find_data_file(U1_LOGO) is much better than self.__find_data_file('u1logo.svg')14:15
dobeymaking a constant for a single string is like having a url shortener give you back a longer url than the one you typed in.14:17
mandeldobey, the same point as all other constants14:18
mandeldobey, I don't care about the length of the string, I care than when I get told I have to change the logo I don't have to look for it in the code14:18
dobeymandel: i guarantee that you will never be told to change the logo14:19
mandeldobey, oh... it is not me who I'm worried about, is the aliens that will find this code as the left overs of our civilization!14:20
mandeldobey, also, is good practice and is simpler to understand.. pretty please..14:21
dobeythey will know by the lack of our civilization being around, what idiots we were, already. no need to look at such trifling code14:21
dobeybesides, they probably wouldn't understand it anyway, for thousands of years after its discovery14:22
dobeyalso, it wouldn't test that it is the correct logo.14:23
dobeyit would test that we are asking for the filename which we are asking to be loaded, was asked to be loaded14:23
mandeldobey, we are not longer talking about the tests, I know I've lost that battle14:24
mandeldobey, I just want you to create the var and used it, no more14:24
dobeywhy?14:24
dobeyyou hate my fingers?14:24
mandeldobey, a little ;)14:24
mmccGood morning, everyone. Good morning, dobey's fingers.14:27
mandeldobey, is there a problem using an Apache licensed lib with our GPL code?14:28
dobeypossibly14:29
ralsinamorning mmcc14:29
alecumandel, on a similar testing note... why on earth did you choose OCMock?14:29
mandelalecu, because there is no bloody simple way to patch methods on objective-c14:30
dobeymy fingers have had enough torture from the ethernet cable yesterday14:30
mandeldobey, possibly? what does that mean?14:30
dobeymandel: it means licenses are hard14:30
briancurtinmandel: is there anything holding back https://code.launchpad.net/~ballogy/ubuntu-sso-client/drop-lazr/+merge/107153 from being merged?14:30
alecumandel, we already had maintenance issues with "mocker-style" tests...14:30
mandeldobey, yes, that is why I asked you, I usually dont care14:30
mandelbriancurtin, yes, lack of comment14:31
dobeymandel: i presume you're asking because you want to use an apache licensed library in fsevents-daemon which is GPL?14:31
alecumandel, oh, right. briancurtin: It's missing the "commit message", so tarmac won't land it.14:31
mandelalecu, briancurtin, fixed :)14:31
alecumandel, great.14:32
mandeldobey, yes, I want to use the google-toolbox-for-mac to reuse their logger rather than doing dirty tricks with NSLog14:32
briancurtinmandel: cool, thanks14:32
mmccmandel, what dirty tricks?14:33
gatoxalecu, mandel if you have time for a review please: https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/tests-failing/+merge/10779914:33
gatoxalecu, mandel this fix u1-cp tests and some problems with the music folder14:33
dobeymandel: http://www.apache.org/licenses/GPL-compatibility.html14:33
mandelmmcc, well NSLog does not log to a file so you have to change that, it does not support debug only messages which means that i have to use templates to create my own log functions by setting a a DEBUG flag14:34
mandelmmcc, I would like to log to asl which would be a nice feature14:34
mandeldobey, thx!14:34
alecumandel,  re: "no bloody simple way to patch methods on objective-c"... perhaps we should look at what other frameworks are building their tests, and see what they use instead.14:35
dobeymandel: but please discuss with mmcc re: his question, before going further :)14:35
mandeldobey, yes14:35
alecumandel, and we should look at the plenty other objective-c unit test framework that don't do mocking.14:35
alecumandel, like the one that comes standard with xcode. Or the one from google...14:36
mandelalecu, we are using the one that comes standard with Xcode which is ocunit and recommends ocmock14:36
mmccmandel, looking at the goog toolbox. I've never really needed a separate logging framework but I'll see what it offers.14:36
mandelalecu, most common ones are GHunit and ocunit, ocunit is in xcode and that is the only reason why I'm using it14:37
mmccmandel, also I didn't understand what you meant by using templates...?14:37
alecumandel, that sounds like a good reason. Anyway, -1 at using ocmock.14:37
mandelmmcc, sorry i mean macros..14:37
mmccmandel, ah ok.14:38
mandelalecu, I know, but how do you patch the methods? is possible but is a major PITA ( I have looked at using the objective-c runtime method and method_setImplemenation etc..)14:38
alecumandel, I mean... I still need to take a closer look at how ocmock works, but I'm biased by the previous headaches with python mocker.14:38
mandelalecu, lots of work for what we need14:38
mandelalecu, yes, that is why I added the comment, I don't like using it, I cannot think of I nicer way to do the tests14:39
alecumandel, then probably "patching methods" is not the way we should be writting tests.14:39
alecumandel, at least not in objective C.14:39
mandelalecu, yes, it is not, way to much work to be done and is not our job to write a 'patching lib'14:40
alecumandel, I think we should take a closer look at how people are writting tests with ocunit, or ghunit.14:40
dobey"patching methods" does not work very well in static languages14:40
alecudobey, right. Though objective C is pretty dynamic.14:41
mmccsorry I'm not much help here - my previous objective-C projects were not well tested, I've mostly only used python testing frameworks14:41
mmccalecu, can you catch me up on the issues you had with python mocker?14:41
alecummcc, the main issue was with maintainability of the tests.14:42
dobeymmcc: mocking things is bad because it means you end up testing the mocked code, and not the real code; and it makes maintaining the tests much harder14:42
mandelmmcc, is like writing the tests in brain fuck more or less14:42
alecummcc, a test with mocker would be understandable only to the person writting it, and only for a few hours...14:42
alecummcc, btw: I was responsible for quite a few of those tests, because I liked mocker, and now I'm ashamed.14:43
mmccheh14:43
mandelsame here..14:43
alecummcc, so, we are moving out of mocker for new python tests, and replacing it as we refactor old tests.14:43
mmccok14:44
alecummcc, also "mocking encourages a bad style of testing that is viral"  https://plus.google.com/107994348420168435683/posts/NVc4P3vTZZ914:44
mandelmmcc, mainly using patch from twisted.test case14:45
mandelmmcc, alecu, the beauty of that is that he wrote mocker..14:45
alecumandel, and that makes him much more trustworthy for recognizing his own errors. right?14:48
mandelalecu, yes, I was not being sarcastic, it was a complement for the statement :)14:48
* alecu is shutting down his pristine win 7 vm. This MSDN suscription has payed for itself today!14:49
mandelalecu, by the way, I remove the kernel header and everything works.. do you have around the errors that you were getting without it?14:52
thisfredme15:00
gatoxme15:00
briancurtinme15:00
ralsinamandel alecu mmcc briancurtin gatox thisfred dobey standup in 0 minutes!15:00
ralsiname15:00
mandelme15:00
dobeylies!15:00
mmccme15:00
ralsinaalecu: you!15:01
thisfredDONE: bug #1004540, bug #1004486, bug #1003610 TODO: bug #1003610 BLOCKED: no NEXT: gatox15:01
ubot5Launchpad bug 1004540 in U1DB "put docs with revno None (as create doc) and a previously deleted document should work, not require you to know the revno of the deleted version" [Medium,In progress] https://launchpad.net/bugs/100454015:01
ubot5Launchpad bug 1004486 in U1DB "db.get_all_docs() that returns all non deleted documents" [Medium,Fix released] https://launchpad.net/bugs/100448615:01
gatoxDONE:15:01
gatoxPropose a branch for the tests failing in u1-cp on windows, and the music folder not being shown correctly.15:01
gatoxTODO:15:01
gatoxFix some other u1-cp and sso issues. Go back to fsevents and add the info obtained with the tests in the wiki.15:01
gatoxBLOCKED:15:01
ubot5Launchpad bug 1003610 in U1DB "get_doc() and get_docs() should not return deleted documents by default" [Medium,Fix released] https://launchpad.net/bugs/100361015:01
gatoxNo15:01
gatoxbriancurtin, go15:01
briancurtinDONE: memorial day, BBQ15:01
briancurtinTODO: remove lazr from buildout/jenkins/installers once the branch lands, look into creating some type of beta channel so we can hook U1 on windows into the jenkins artifacts15:01
briancurtinBLOCKED: no15:01
briancurtinNEXT: ralsina15:01
ralsinaDONE: mgmt call, tech leads call, proposed a branch for get_root_dir bug, started working on the mac jenkins stuff TODO: keep working on that, lots of 1-1s blOCKED: no, NEXT briancurtin15:01
ralsinanext mandel then!15:02
mandelDONE: bug 1000868 bug 1003519 bug 1003914 bug 100086915:02
mandelTODO: 1-1 with ralsina. Talk with mmcc and alecu, no OCMock, then what?15:02
mandelBLOCKED: no15:02
mandelmmcc, please15:02
ubot5Launchpad bug 1000868 in Ubuntu One FsEvents daemon "Missing script to run tests via the command line." [High,In progress] https://launchpad.net/bugs/100086815:02
ubot5Launchpad bug 1003519 in Ubuntu One FsEvents daemon "Apple headers are present in the project" [High,In progress] https://launchpad.net/bugs/100351915:02
mmccDONE: visible progress in packaging sso-client, ate hamburgers15:02
mmccTODO: more packaging fun, reviews15:02
mmccBLCK: NO15:02
mmccNEXT: alecu ?15:02
ubot5Launchpad bug 1003914 in Ubuntu One FsEvents daemon "Tests fail when ran from the command line" [High,In progress] https://launchpad.net/bugs/100391415:02
ubot5Launchpad bug 1000869 in Ubuntu One FsEvents daemon "Missing tests for the FSEventsDispatcher class" [Medium,In progress] https://launchpad.net/bugs/100086915:02
dobeyλ DONE: logo and spacing in installer, reviews, triage, holiday15:02
dobeyλ TODO: expenses, set up milestones, triage15:02
dobeyλ BLCK: none.15:02
thisfredeh, pasto, that should be TODO: DONE: bug #100467315:04
ubot5Launchpad bug 1004673 in U1DB "Allow code to pass in document factories" [Undecided,New] https://launchpad.net/bugs/100467315:04
* gatox bank and lunch!15:05
=== gatox is now known as gatox_lunch
ralsinamandel: wana mumble?15:10
mandelmmcc, so, about logging, what do you usually do for logging to a file just in debug mode, just a macro?15:10
mandelralsina, sure!15:10
mandelmmcc, I thin asl is a good idea (http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/asl.3.html)  but I don't want to write a logging lib15:11
alecuuh, I totally forgot about the standup.15:14
mmccmandel, logging to a file for debug isn't something I've really needed to do - when a program wasn't launched from a terminal, the stdout & stderr go to Console.app, which lets you filter the messages, so I've usually just used that15:14
alecuDONE: a fix requested for secpatches, techleads mumble, mumble with gatox re suggested paths, started with SD bug queue15:15
alecuTODO: more SD bug queue, discuss alternative testing framework for osx15:15
alecuBLOCKED: no15:15
mmccmandel: but I can definitely see where writing to a separate file, and having configurable log levels, can be nice...15:17
mandelmmcc, specially for a daemon.. I don't want it to crash and wonder..15:18
mmccmandel, crash and wonder what? if it writes to stderr it'll be in the console...15:18
mmccbut I don't mean to argue - writing to a separate file is good, it's just worth seeing if it's enough of an improvement over what's there to be worth bringing in license issues15:19
mandelmmcc, yes, give me a sec, phone15:20
mmccmandel - no prob.15:20
mmccalso, why not just use the ASL library as is? looks pretty nice, actually.15:25
dobeyok, need to get lunch. bbiab15:30
mandelmmcc, yes, is one of my options15:31
mandelmmcc, and thinking about it, if adding the google stuff is adding a dep outisde the ecosystem I might as well not use it15:33
mandeloh, and I'm not on the phone anymore :)15:34
mmccmandel, yeah. looking at the asl manpage, it looks like it'd be pretty quick to set up..15:34
mmccmandel: if you need to log from multiple threads it's a little more work, you need to asl_open a handle on each thread15:34
mmccbut otherwise you can just asl_log(NULL, NULL, ASL_LEVEL_DEBUG, "c-string-msg");15:35
mandelmmcc, which we do, but should not be terrible15:35
mmccand no other setup15:35
mmccOTOH, I might suggest just going with NSLog and the console until it doesn't do something we need... unless we're already there?15:36
mandelmmcc, ok, I think I'm convinced to use asl directly15:36
mandelmmcc, right now we use NSLog, I added the logigng to a file as a bug, but I can leave that bug for later :)15:36
mandelmmcc, alecu, os for me the only blocking issue is to OCMock or not OCMock15:37
mmccmandel, sounds good.15:37
mmccmandel, so the problem is that you want to write tests more like the ones with twisted's patch()?15:37
mandelmmcc, yes, I want to tests individual methods that interact with other objects and patch/mock those objects15:38
mmccbut ObjC testing is kind of not well developed...15:38
mandelmmcc, I  want to assert the correct interaction but not depend on them15:38
mandelmmcc, I've seen this in other places, some platforms are behind the TDD movement etc.. for example, 5 years ago in the .Net world nearly no one did unit tests and now they are in the other extreme15:39
mandelmmcc, as well as with patterns, they did very bad code, now they have as many factories as java :)15:39
mmccyeah. so, there are ways to replace methods in existing classes, or you could wrap a class and delegate all the methods over to the original object except for the one you want to 'patch'.15:40
mmccthe problem is that there aren't good tools for doing that simply, that I know of15:40
mmccmaybe OCMock can do something like that? but it looks like it's intended to mock whole objects - leading to the problems you guys were talking about earlier15:41
mandelmmcc, well, you can use stubs which is 'like' a patch /cc alecu15:42
mandelmmcc, for example [[[event stub] andReturn: [NSArray]] paths]15:42
mandelmmcc, that will patch the paths method and will always return the same array15:43
mandelmmcc, well, you have to create the nsarray properly :P15:44
mmccmandel: so, event is an existing object with a 'paths' method, and this replaces it to always return the argument to andReturn: ?15:44
mmccthat sounds a lot like a patch15:45
mandelmmcc, yes, exactly that15:45
mandelmmcc, then you can also do [event expect] which is the same as a patch but with expectations15:45
mandelmmcc, so if paths is not called, we have an assertion error15:46
mmccmandel: right, looking at ocmock.org now15:46
mandelmmcc, so I think it depends on how we use it, we might abuse expect or use a combination of expect and stub correctly15:46
mmccthere's also swizzling, down at the end - which is also basically patching15:47
mandelmmcc, ha, I did not see that one15:47
ralsinammcc: swizzling? that's a technical term now?15:48
mmccralsina: yes! in objc15:48
ralsinammcc: omg it is15:48
briancurtinsounds like a dance move15:48
ralsinaor the process of manufacturing a slurpee15:49
mmccah, I see. so with stub, we don't have a real object, and so we might need to mock a lot of behavior even if the test interacts with only a bit of it...15:49
mmccbut with partial mocking and swizzling we can do what patching does - have the original object around, but only replace one method15:49
czajkowskiaquarius: can you personalise the U1 sharing url in any way ?15:50
ralsinammcc: that kind of faking you get with stubs is a sort of infectious behaviour, it grows until the complexity doesn't pay of15:50
aquariusczajkowski, not with U1 itself, no. With u1.to you can, though :)15:50
czajkowskiaquarius: hmm no I was thinking if you're sharing a file, if you personalised the URL then no matter what the update was the url wouldn't change?15:51
mmccralsina: right.15:51
mmccbut it looks like we might be able to avoid it and still use ocmock for friendly patching15:51
ralsinammcc: sounds nice15:51
aquariusczajkowski, ah, right. No. The problem is that a personalised URL would be pointing to a file which is no longer there. (Yes, I know this seems a bit stupid, which is why it's a bug that needs fixing. :))15:51
czajkowskiaquarius: no worries was just racking my brain for a work around in case I do it again15:52
ralsinaczajkowski: what you need is a URL immortalizer (AKA: a shortener that you can change where it points to)15:52
ralsinaczajkowski: I wrote one, never put it in production anywhere, sadly15:52
czajkowskiralsina: or I need U1 to note that the file I changed and uploaded is the same file and should keep the same published url. but seeing as I can't I'm asking ye annoying questions that have probably been asked before15:52
ralsinaczajkowski: not annying at all :-)15:53
aquariusczajkowski, ya. The problem is that U1 is correctly identifying that they are *not* the same file, but that's not useful -- what U1 should do is cope with that situation even though what it's doing is technically right :)15:53
czajkowskitechnicall V functionality15:53
czajkowskino biggie learnt my lesson :)15:54
aquariusczajkowski, exactly, which is why it's a bug ;)15:54
czajkowski*technically15:54
mmccmandel, alecu, ralsina : OCMock's "partial mock" is exactly what I described earlier - a 'wrapper' that forwards methods it doesn't know about to the class it wraps. So if you have something you need to patch, you create a partial mock of it, and use 'stub' to replace the one method - everything else goes to the original object. Sounds like just what we need...15:54
czajkowskiaquarius: well next time you can't sleep fix zee bug :)15:54
aquariusczajkowski, heh. if it was that easy we'd have fixed it already. Fixing this one is hard. :)15:54
czajkowskiaquarius: surely that;s a challenge you should accept15:54
czajkowski:)15:54
ralsinammcc: yeah, sounds really nice :-)15:55
mandelmmcc, that is what I though.. and then use expect for those method you want to assert against15:55
aquariusczajkowski, sure; the question is merely whether fixing this is more important than the other ninety things I'm doing. :P15:55
czajkowskiaquarius: I'd buy you beer if you fixed this one though!15:55
aquariusyou mean you won't buy me beer anyway? :)15:56
aquariussrsly, though, it's surprisingly hard. :(15:56
czajkowskiaquarius: my kinda beer is baby guinness don't forget that or jaegar bombs!15:57
mmccmandel, yeah, expect looks useful too - in lieu of blocks, that's the nicest way to patch a method with a replacement that just checks its arguments...15:58
mandelmmcc, yes, I've done that here: https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-dispatcher-tests/+merge/107766 line 61715:59
mmccmandel oh, I didn't see checkWithBlock: - nice16:01
mandelmmcc, yes, I think is a really nice API16:01
mmccmandel: agreed. I think it can be used for good16:01
mmccso now the fun bit - their license isn't obviously a well-known one. Not GPL, looks bsd-ish. Seems compatible. Is my license pattern matcher broken? https://github.com/erikdoe/ocmock/blob/master/Source/License.txt16:03
mandelmmcc, and know is when i swear in spanish agains lawers licenses and their mothers..16:04
mandelmmcc, seems too, but I'm not sure..16:05
alecummcc, mandel: we can have ocmock as a build dependency, since it's not something we would be redistributing, right?16:05
mandelalecu, yes, is just for the tests target, nothing gets shipped16:05
alecumandel, then we should not have a license issue with using ocmock.16:05
alecumandel, btw: what's "^BOOL" in the checkWithBlocks?16:06
mandelalecu, and is not even a build dep, you can build the FSEvents target without it, is a test dep16:06
mandelalecu, is a block, being very rough, a lambda that returns a BOOL16:06
alecumandel, what's with the "^" ?16:06
mandelalecu, block syntax: http://thirdcog.eu/pwcblocks/#objcblocks16:07
alecu"To define a block variable, the ^ operator is used"16:07
mandelalecu, and you can name blocks using the same ugly syntax16:08
* alecu realizes he has done no Objective C code since iOS 216:08
mandelalecu, is not the same the ^BOOL(ConfigMessage *msg) than  BOOL(^checkArg)(ConfigMessage *)16:11
mandelalecu, and one has to be careful with __block and the possible retain of self etc.. is a little messy specially with arc, but does the trick for the tests16:12
mandelalecu, in the other code I use selectors and performSelector which is nicer is the method is implemented by the class16:12
* mandel should stop talking about objc16:12
mmccmandel - no, keep talking until I understand what you just wrote :)16:13
mmccin which other code are you using performSelector?16:13
briancurtinweird...that lazr change seems to fail because ithere are lint warnings for win32 stuff?16:14
briancurtins/warnings/errors16:15
mandelmmcc, me being super lazy, take a look at line 312 and line 425 of the https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-dispatcher-tests/+merge/10776616:15
mandelmmcc, there I define a dict with the selector name and the message type, then I loop looking for the type and execute the selector, which is nicer than writing a huge if statement16:16
mandelmmcc, but is me taking advantage of the lang to write as little as possible16:16
mandelbriancurtin, hm, let me check16:16
mandelbriancurtin, fails due to     41:  [W0611] Unused import oauth16:17
mandelI think the rest is garbage from the setup.py build, but I'm not sure16:18
briancurtinmandel: which is BS because that change has nothing to do with the branch. i wish that stuff was smarter16:18
mandelbriancurtin, yes, and the major PITA is that we do not own the branch so we have to go after the community guy..16:19
mmccmandel: that'd be a pretty easy branch to re-create on our own16:19
ralsinamandel: branch from the branch and use bzr --author16:20
ralsinabriancurtin: you too ^ (and here's what I meant: http://blogs.gnome.org/jamesh/2008/05/12/bzr-commit-author/)16:21
mandelralsina, I had no idea that could be done!16:21
ralsinamandel: bzr has a bazillion options noone remembers. That is one :-)16:22
mmccof course I'd want to thank this guy all over the commit messages :) how did he know I would need this for mac packaging!16:22
mandelmmcc, arch and mac have something in common hehehe16:23
gatox_lunchback16:23
=== gatox_lunch is now known as gatox
mandelor was it gentoo, what ever :P16:23
ralsinammcc: looks like a MIT/X11 thing16:24
mmccralsina: the OCMock license?16:24
ralsinammcc: worse, it's the BSD with attribution license, which is incompatible :-/16:24
ralsinammcc: yes, the OCMock license16:24
ralsinammcc: good news are, we don't need to do derivatives, do we?16:25
mandelalecu, mmcc, so, do we classify OCMock as evil? Do I find a diff way to run the tests?16:25
mandelmmcc, is just a test dep nothing for the project16:25
ralsinadobey: does https://github.com/erikdoe/ocmock/blob/master/Source/License.txt look evil to you too?16:25
mandelralsina, that was for you ^16:25
mmccralsina: no, we don't need to do derivatives16:25
alecumandel, no tool is evil. It's how you use it!16:25
ralsinamandel: if you subclass something from OCMock and ship it with our code, we are shipping a derivative16:25
mmccmandel: I vote for using OCMock.16:26
mandelalecu, dammed... that makes anything I use is evil then hehehe16:26
alecumandel, so, if you find no better way to "patch" in Objective C, go ahead an use OCMock.16:26
mmccralsina: we're not doing that, just a test dep and no subclassing16:26
alecumandel, but let's not use it for "mocker-style" tests.16:26
ralsinammcc: #include'ing or linking?16:26
briancurtinmandel: so how should we go forward with this lazr MP? should i jump in and do the fixes with --author?16:26
mmccralsina: both, in a separate test bundle that we do not need to ship...16:26
mandelbriancurtin, yes please!16:26
ralsinammcc: but we do ship everything, because it's open source.16:27
ralsinammcc: even if we only "ship it" via launchpad16:27
mmccralsina: I get that - so I guess I don't understand why BSD + attr is incompatible16:27
ralsinammcc: "in all documents and publicity16:27
ralsina  pertaining to direct or indirect use of this code or its derivatives."16:27
ralsinammcc:  we are not mentioning ocmock on TV ads if we ever do one ;-)16:28
mmccralsina: ah ok. yeah, weird. I would bet lots of $ that no one really abides by that16:28
mmccnot that that helps us16:28
ralsinammcc: look at the small letters in apple ads. You will be surprised.16:28
mmccralsina: I do believe you... hmmm.16:30
ralsinammcc: let's get dobey's opinion since he knows lots about this, and if we still have doubts, we can always ask legal.16:30
ralsinaChipaca: just in case you have an opinion, does https://github.com/erikdoe/ocmock/blob/master/Source/License.txt look like a GPL-incompatible BSD-like license to you?16:30
* alecu will get some lunch16:31
mmcchmm, chromium uses (used?) ocmock: http://code.google.com/p/chromium/issues/detail?id=2829116:32
mandelbriancurtin, can we get you input for https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/tests-failing/+merge/10779916:33
briancurtinmandel: certainly, i'll take a look after i figure out this lazr thing16:34
dobeyralsina: evil?16:34
ralsinadobey: a publicity-requiring bsd-like license, gpl-incompatible?16:34
dobeyah yes, it is evil16:34
ralsinadobey: ok, next thing is to know if that evil affects us for theintended usage16:35
dobeyralsina: well, actually it's weird16:35
ralsinadobey: it's also a non-standard example of such, yes16:35
dobeyusually the license would say you CANNOT use "x" in advertising/publicity/etc16:35
mandeljesus.. why are this license things so hard!16:36
* ralsina is someday going to create a robot that trawls github for custom licenses, and then tap the authors with a spoon16:36
mmccohloh.net claims ocmock is 'new bsd' but I don't know who set that16:36
dobeyi hope the spoon is filed down first ;)16:36
dobeymmcc: not a lawyer :)16:36
ralsinadobey: it says "credit is given... in all documents and publicity"16:36
ralsinadobey: http://twitchfilm.com/reviews/2008/10/2008-dead-channelsthe-horribly-slow-murderer-with-the-extremely-inefficient.php16:37
dobeyralsina: right; it says that credit must be given.16:37
dobeyhaha16:37
ralsinadobey: watch it in youtube, it's awesome16:38
dobeyaww16:38
dobeyit's not on amazon16:38
mmccno licensing discussion on ocmock forums16:38
dobeybut interestingly, i searched for it on amazon, and the only results were "Max Payne" games16:38
ralsinadobey: http://www.youtube.com/watch?v=9VDvgL58h_Y it's the official channel16:39
dobeyhmm16:41
mmccany reason I shouldn't ping the author and ask about relicensing?16:41
ralsinammcc: none16:41
ralsinammcc: go ahead and ping. Either relicensing or clarification.16:41
ralsinammcc: if he is willing to say using it is not covered by the publicity requirements, I'm ok with that16:41
mmccralsina: aha, ok - I was going to ask what that'd look like :)16:42
gatoxmandel, can you take a look at this please: https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/tests-failing/+merge/107799 so we fix the problems in cp for windows16:43
ralsinadobey: in other news, I proposed this https://code.launchpad.net/~ralsina/ubuntuone-control-panel/decrypt-errors-3-0/+merge/10767116:43
mandelgatox, I was already doing it and ask briancurtin for help ;)16:43
ralsinadobey: only to 3-0 because it doesn't happen in trunk anymore since we switched to endpoints, apparently16:44
dobeyralsina: i saw a branch for trunk as well though?16:44
ralsinadobey: that was a misunderstanding on my part and I rejected it16:45
gatoxmandel, ahhh ok16:45
dobeyralsina: but i saw it proposed again after you rejected?16:45
ralsinadobey: that was because I was sleepy16:45
ralsinadobey: and clicked on the wrong link ;-)16:46
dobeyoh, it was deleted16:46
mandelgatox, is there a tests for _process_name?16:46
gatoxmandel, nop..... also someone told me once that we don't test private methods16:47
dobeyralsina: i think we need to wait for sidnei to review my branch to add the quantal tarmac and split up the trunk and stable landing, and restart the instances after it lands. currently, the trunk stuff (nightlies) breaks the stable-3-0 cp tests16:47
Chipacaralsina: that license appears to be MIT16:47
gatoxmandel, do you think i should add a test for that?16:48
ralsinaChipaca: but it has a publicity requirement16:48
mandelgatox, maybe not for the tests directly, but would be nice to test the method that uses it when we get a ~/ and when we don't16:48
mandelgatox, I think it has some logic that we should ensure that is correct in all possible cases16:49
briancurtinmandel, ralsina: I'm getting "Transport operation not possible: readonly transport" when pushing to that branch with the --author commits16:49
Chipacaralsina: ah, you're right16:49
ralsinabriancurtin: no, push to a branch you own16:49
dobeyChipaca: but modified16:49
dobeyinsanity16:49
mandelbriancurtin, I think you have to push to a diff location because the lp branch is owned by the other person16:49
ralsinabriancurtin: then your branch will have two authors16:49
gatoxmandel, ok..... i'll take a look at that...16:49
mandelgatox, thx!16:49
dobeyit is basically not considered "free software" by the FSF/SFLC16:49
mandelgatox, I wond add any comments and that way is not block by me EOD in a few secs hehe16:50
gatoxmandel, okk16:50
mandelralsina, mmcc we can always look at kiwi as an alternative: https://github.com/allending/Kiwi it provides a similar feature but I think that the lib is over the top and the license might also be an issue: https://github.com/allending/Kiwi/blob/master/License.txt16:54
dobeygatox: hah, yes, it is an issue16:55
ralsinamandel: no, that one is a standar MIT/X license16:55
ralsinadobey: really?16:55
* ralsina rereads16:55
dobeyerr, mandel, sorry16:55
dobeyralsina: yes, because it's BSD with advert clause16:55
ralsinaoh, in the documents, crap16:55
dobeycf. item 3 in that License.txt16:55
* ralsina moves the spoonbot project in the priority queue16:56
dobeydo we really need any of those?16:56
ralsinadobey: well, yes i we want to do testing16:56
dobeycan we not use the testing stuff in xcode as i saw mentioned earlier?16:56
ralsinadobey: these are nicer16:56
mandeldobey, we could move to GHUnit but I don't think it has patching/mocking16:57
mmccbuilt-in xcode testing doesn't do patching16:57
mmccwe can also write our own... :)16:58
* mmcc writing an email to ask OCUnit guy about attribution16:58
mandeldobey, would this be an issue: https://github.com/gabriel/gh-unit/blob/master/LICENSE16:59
mandelbut I don't think it has patching/mocking16:59
ralsinamandel: that one is ok17:00
dobeythat looks like straight MIT17:00
ralsinamandel: that's a "non-attribution BSD/MIT like license"17:01
mandelralsina, dobey, os I wanted to know how the tests are in the iOS files app and got this: http://bazaar.launchpad.net/~ubuntuone-ios-client-team/ubuntuone-ios-files/trunk/files/head:/FilesTests/17:01
ralsinamandel: I thought the iOS team lead said "we don't do tests because we are awesome"?17:02
mandelralsina, I suppose that is the case :(17:02
mandelralsina, or they are hidden :)17:02
briancurtinmandel: i know you're leaving soon, would you mind looking at this MP quickly? https://code.launchpad.net/~brian.curtin/ubuntu-sso-client/drop-lazr-lint-fixes/+merge/107834 it's by György Balló plus two lint fixes17:03
briancurtinalecu ^^ since you reviewed that originally, would you mind taking another quick look?17:03
ralsinalaunchpad doesn't say "Gyorgy ft Brian Curtin". Another lost marketing opportunity.17:04
mandelbriancurtin, sure, let me run the branch to see if we have lin issues in P17:04
mandelbriancurtin, although I did it last time and did not have them..17:04
mmccThe iOS test suite looks about like standard operating procedure for testing with ObjC.17:05
mmcc:(17:05
mandelmmcc, so, no testing, dammed17:05
mmcctook *years* for XCode to include any kind of test framework17:05
mandelmmcc, well, that is what we have to deal with :)17:06
mmccI guess XCode predates unit testing... NeXT projectbuilder is pretty old at this point17:06
ralsinammcc: unit testing was defined in 1987 ;-)17:07
ralsinammcc: but yeah, noone cared until 200717:07
* mmcc wikipedia'd NeXt - nextstep 1 shipped 198917:08
ralsinahttp://aulas.carlosserrao.net/lib/exe/fetch.php?media=0910:1008-1987_ieee_standard_for_software_unit_testing.pdf17:08
ralsinaYes, unit testing is a IEEE standard since december 198617:08
ralsinathat is our feel bad datum of the evening17:09
mandelralsina, so I'm just 3 years older than unit testing..17:09
mmccglacial progress :(17:09
mandelno wonder I'm like this, I had no tests.. :P17:09
mmccmakes distributed VC adoption seem super fast by comparison17:09
ralsinamandel: that's why you crash ;-)17:09
ralsinammcc: yeah17:09
* mmcc thought he saw pics of mandel unit-testing his liver over the weekend17:10
mandelbriancurtin, +1 I got no lint issues on P17:10
mandelmmcc, he, hehehe I took them, it was not me :)17:10
mmccmandel: understood :)17:11
mmccanyway, lunchtime... hopefully OCMock guy replies while I'm eating17:11
mandelmmcc, superb, I'm off to rugby, let me know anything that happens17:12
ralsinaAnd I am going to the bank17:12
mandelmmcc, I want to increase that test coverage and them remove ARC which is going to be interesting17:12
mandelralsina, I can sell you a spanish one if you want ;)17:12
ralsinamandel: ha!17:12
dobeyheh17:12
* ralsina has nice bridge-property in brooklyn17:13
gatoxmandel,  i added a test with ~/.... should i ask you for the re-review or someone else?17:19
dobeyoh i guess i have to deal with all the insanity for SRU now too17:20
gatoxbriancurtin, do you have some time to review this branch please? https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/tests-failing/+merge/10779917:28
briancurtingatox: yes i will17:28
gatoxbriancurtin, thanks!17:28
dobeybugger. new server case only has 2x2.5" hot swap drive bays, and no where to mount a 3.5" internal17:34
gatoxfacundobatista, ping17:47
facundobatistagatox, pong17:48
gatoxfacundobatista, are you still able to reproduce this bug with the latest code in trunk? https://bugs.launchpad.net/ubuntuone-client/+bug/99807917:48
ubot5Ubuntu bug 998079 in Ubuntu One Client "--publish-file doesn't end correctly for non-ascii paths" [High,Confirmed]17:48
gatoxfacundobatista, and if you can..... could you update the trace or give me a paste..... because there was several changes there17:48
facundobatistagatox, you can't?17:49
gatoxfacundobatista, i confuse it with another bug.... i can test this one....... sorry17:50
* gatox testing....17:50
facundobatistagatox, :)17:50
gatoxfacundobatista, yep..... working on that.... sorry for the confusino17:52
facundobatistagatox, no problemo17:52
* gatox needs to restart....... brb17:57
dobeyralsina: do the dates/milestones on https://launchpad.net/dirspec/stable-4-0 look reasonable to you?18:05
ralsinadobey: looking18:05
ralsinadobey: nothing bad jumps at me, so +118:05
ralsinadobey: looks nicely aligned to freezes too18:06
ralsinadobey: we may need to finetune the specific release process since qa will have automated testing, but it should be a change for the best :-)18:06
dobeyyeah, i was trying to keep them aligned to freezes. so some are 1 week apart, and others are 3 weeks apart.18:06
ralsinadobey: I don't mind making two releases when close to a freeze, helps keep things clean18:07
briancurtingatox: +1 on u1cp fixes18:07
dobeyralsina: right, and i made these all be mondays as well18:07
gatoxbriancurtin, great, thanks!18:07
gatoxralsina, are you free for a review?18:07
ralsinagatox: sure18:07
dobeyso we have sufficient time to test/upload before freezes18:07
gatoxralsina, this will fix our tests on windows and the folders not being shown pretty: https://code.launchpad.net/~diegosarmentero/ubuntuone-control-panel/tests-failing18:08
ralsinagatox: yay18:08
dobeyi'll go ahead and set up the same milestones for the other projects then18:08
ralsinadobey: great work, like it a lot.18:08
ralsinagatox: I don't understand lines 40-41 of the diff18:14
gatoxralsina, we always have the display_name, but not always the suggested_path18:14
ralsinagatox: is it so that you get the fancy name instead of the path for the MUSIC_PATH?18:15
ralsinaahhhh ok18:15
gatoxralsina, we prefer the suggested_path, but if it's not there..... use the display_name18:15
ralsinagatox: also: why would self.user_home be None, and how is it useful for it to be '' ?18:16
gatoxralsina, the none check for user_home was in the previous logic, and be '' would avoid replacing anything in that case18:17
ralsinaoh, there's a replace right after that18:17
ralsinaok +1 gatox18:17
gatoxralsina, cool!18:18
ralsinagatox: this is the last red light in jenkins?18:18
gatoxralsina, yes18:18
gatoxat least it should18:18
ralsina\o/18:18
briancurtinralsina: in removing some lazr stuff from sso's setup.py, i realized that the py2exe command for SSO's setup.py is very out of date. is it used for anything by anyone, or was that moved into windows-installer?18:43
ralsinabriancurtin: not used at all18:43
briancurtinalrighty then, removing18:44
dobeybriancurtin: can you make that lazr bug that was assigned to you affects ubuntu-sso-client as well, and commit --fixes= to that sso branch which removes that bit from setup.py?18:44
briancurtindobey: will do18:45
gatoxdoes anyone knows why i cannot run the tests for test_tools.py in u1-client??18:55
gatoxit keeps failing with timeout18:55
gatoxbut if i run the whole suit is ok18:55
dobeygatox: sounds like isolation problems19:00
gatoxdobey, sound like a PITA to try to fix this particular bug :P19:00
dobeygatox: as always19:01
mmccbriancurtin: am I right that the windows-installer setup.py is intended to be run from buildout-env/scripts/devsetup/parts/ubuntuone-windows-installer/scripts/ ?19:26
briancurtinmmcc: what do you want to do?19:26
mmccbriancurtin: understand the intent of its relative paths19:27
mmccbriancurtin: so I can reuse some of it for the mac setup :)19:27
briancurtinmmcc: yeah, the scripts/setup.py is run from that scripts/ directory19:27
briancurtinmmcc: build_installer.py automates the few steps we'd have to run, and then it automates the actual installer build19:28
mmccbriancurtin: I must have an out of date tree - I don't have a build_installer19:29
mmcc(.py)19:29
briancurtinmmcc: i think i pushed it a week or maybe week and a half ago19:29
mmccbriancurtin: ok, no biggie. so I guess if the windows-installer project is going to be a mac/win 'distribution tools' project, I could just slap my setup-mac.py in that same dir?19:30
briancurtinmmcc: it's the script that powers https://jenkins.errormessaging.com/view/Windows/job/ubuntuone-windows-installer/ - giving us a nightly installer (except EC2 is currently down, ugh)19:30
mmccbriancurtin: yeah, I figured it was related19:30
briancurtinmmcc: for the time being, probably19:30
mmccbriancurtin: ok, thanks.19:30
briancurtinmmcc: although at some point here maybe we should make some separation now that the mac things are really picking up steam19:30
briancurtinmmcc: the buildout stuff (under -installer) should go somewhere, and mac really should be ubuntuone-mac-installer or something19:31
briancurtinbut for today, i'd say under -windows-installer is the best option19:31
mmccbriancurtin: maybe. I'm not sure there's going to be much other than the different setup.py19:31
dobeybriancurtin: put the mac stuff under windows-installer19:31
dobeymmcc: ^^19:31
dobeywe're going to rename it soon19:32
ralsina+1 to what dobey said19:32
mmccack19:32
gatoxok..... eod for me! see you tomorrow pepoles!20:05
gatox:P20:05
ralsinabye gatox20:05
gatoxralsina, bye20:05
dobeyugh, so late already20:06
briancurtinyessss. all windows projects are green in jenkins (actually, blue)20:10
ralsinablue's good!20:11
briancurtini just wonder why they chose blue, or if we can configure it. green is better :)20:11
dobeyi'm pretty sure we can change the theme if we want20:14
dobeyi'm also pretty sure that the UX of jenkins is atrocious, and it could use a lot of work20:14
dobeyalso, i am sad that the one pretzel shop that was relatively close to me, and not in a mall, is no more :(20:15
mmccdobey: pretzel shop not in a mall? do tell…20:19
mmccif you're near a Whole Foods, I've found good soft pretzels there20:19
dobeymmcc: http://www.phillysoftpretzelfactory.com/20:20
dobeyi don't think there's a whole foods anywhere down here20:20
briancurtinwe should make jenkins look like that site20:20
mmccthose look really good.20:20
dobeythey are really good20:20
dobeybut there's only 1 in all of VA now it seems20:21
dobeyand i really don't want to drive to williamsburg to get some pretzels20:21
mmccnone in Texas :(20:22
ralsinadobey: it's sad that most other free CI tools are *worse*20:24
mmcc... but there is one a half block away from my old college apartment and ten minutes from my old house. BORN TOO SOON :\20:24
dobeyheh20:25
ralsinaAm I really unlucky of XCode is a crashy piece of dung produced by a dung beetle?20:25
mmccralsina: it's not you20:25
ralsinammcc: also, the mini fails to come back from suspend about 66%  of the time20:26
mmccralsina: I'm unfamiliar with that one. Is it new?20:27
ralsinammcc: it's about a month old20:27
ralsinammcc: I had never suspended it before today though20:27
mmccralsina: https://twitter.com/urbanape/status/20602814192642048220:27
ralsinammcc: ha20:28
mmccralsina: hmm, I'm not sure what to suggest. I'm told 10.7 is not as stable as 10.620:28
ralsina<homer>it's funny because it happens to other people</homer>20:28
ralsinammcc: it's ok, I can live with it, since it's not my main device20:28
mmccralsina: also http://textfromxcode.tumblr.com/20:29
elopioralsina or briancurtin, is bug #938102 fixed on the windows installer available from jenkins?20:29
ubot5Launchpad bug 938102 in ubuntuone-control-panel (Ubuntu Precise) "Qt control panel should accept qt command line options" [Undecided,Fix released] https://launchpad.net/bugs/93810220:29
ralsinaelopio: yes20:30
elopioralsina: so, any idea why the control panel is not available for testability?20:31
ralsinaelopio: none whatsoever20:31
ralsinaelopio: you sure you don't have a u1cp running already?20:31
elopioit was a pain to have it all installed, but the sample qt applications work fine now.20:31
elopioralsina: I've tried killing everything.20:32
elopioralsina: it's also weird that you can't launch the cp from testability visualizer.20:32
ralsinaelopio: I never got the visualizer working :-/20:33
elopioralsina: what's the exe you use to open it? ubuntuone-control-panel-qt from the dists folder?20:33
ralsinaelopio: yes20:33
ralsinaelopio: try running it with -reverse if it looks insane, then it's taking the arguments20:33
ralsinaelopio: could be you need to install the testability driver in a place where our copy of Qt (that we ship with the app) can find it20:34
ralsinaelopio: or we may need to build the installers with the testability driver builtin20:34
elopioralsina: it looks insane.20:34
elopioralsina: that might be it. I installed the qt sdk for windows.20:35
ralsinaelopio: ok, then it's not the code20:35
elopioand it seems that the sample apps use that one.20:35
ralsinaelopio: yeah, we bundle a copy of qt, so testability is not there for it20:35
ralsinaelopio, briancurtin: you two may have to talk a little about this20:35
elopiobriancurtin: :D20:36
briancurtinyeah im not sure what testability is (besides as a word)20:38
mmccbuildout question: would it be difficult to make the bootstrap step generate my setup-mac.py, similar to how the buildout's python exe gets generated? I have a path clash that is breaking the setup calls to bzr, and that's one way out20:39
elopiobriancurtin: it's the qt user testing framework: projects.developer.nokia.com/Testabilitydriver20:39
mmcclooks like the other way will be to hardcode the path to homebrew's installation of bzrlib in the setup script20:40
mmccalso, just to check that I'm not going crazy - can someone with a mac set up try running bzr from the same shell that they've got the dev env setup?20:42
elopiobriancurtin: according to what I've read, testability is included in latest qt. But this might be required: http://projects.developer.nokia.com/Testabilitydriver/wiki/WindowsHowToStart#ModifyingyourQtapplicationtoloadthetestabilityinterface20:43
briancurtinelopio: ah, we recently stopped using the latest qt and went one version back. i'll look into this20:45
elopioand on my qt sdk there's a testability.dll20:45
elopiothat's what we might be missing.20:45
elopiothanks briancurtin.20:46
ralsinabriancurtin: we moved back because of the SSL bug, right?20:48
briancurtinyeah20:48
ralsinabriancurtin: if yes, then we may be able to move forward again20:48
ralsinabriancurtin: after we finally fix it, of course. Or at least for jenkins, so that elopio can run the tests20:49
briancurtinralsina: hm, jenkins may actually still be on the new version. i haven't messed with any of the versions that jenkins currently has, but i'll check in a bit20:50
* mmcc now understands why this worked on windows. bzr's run-bzr.bat sets the path explicitly20:52
ralsinabriancurtin: ack20:57
ralsinabriancurtin: it may not be shipped and if it's a plugin, it may not even work if shipped20:57
mmccmmcc: no, that's not it. but bzr on windows is packaged differently enough to be the reason.20:57
ralsinaEOD for me21:00
ralsinaelopio: will get it fixed, promise!21:01
elopioralsina: :)21:01
ralsinabriancurtin: keep me posted if you figure something out, I will try to do something early tomorrow morning21:01
briancurtinralsina: will do21:01
ralsinabye !21:01
elopioin the meantime, I'll continue playing with it in ubuntu, that's now working like a charm.21:01
elopiobye.21:02
=== m_conley is now known as m_conley_away
* dobey wonders how to ssh into a running vm instance in virtualbox21:23
tetris4hello, am trying to import ubuntu one to Chakra21:56
tetris4I managed to build all the deps and packages using ArchLinux PKGBUILDs21:57
tetris4but I get this: http://paste.chakra-project.org/179421:57
tetris4can someone tell me what did I miss?21:57
dobeygsettings is a command from glib22:17
dobeyah, you're missing the proxy schema though, which comes from gsettings-desktop-schemas22:18
dobeybut i need to go now22:19
tetris4dobey: np, thnx for responding22:20
tetris4gsettings is gnome based?22:20
tetris4i was hoping the new client could work without gnome dependencies22:20
dobeygsettings is part of glib22:23
tetris4yeah, I ran gsettings and I can see i have it22:24
tetris4will try to install desktop-schemas too22:25
tetris4ahh..k00l, now it runs!22:29
tetris4but gives this error: DBusException The name org.freedesktop.secrets was not provided by any .service files22:30
tetris4with this output when ran from cli: http://paste.chakra-project.org/179622:31
tetris4and installing ksecrets made it work! nice22:38
mmcctime for me to go. see you all tomorrow22:41
tetris4gn22:44
tetris4No such method "ReadAlias" in interface 'org.freedesktop.Secret.Service' at object p...22:48
tetris4my latest error, with this cli output: http://paste.chakra-project.org/179722:48
tetris4looks like ksecrets is broken atm..so probably that is the issue23:05

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