/srv/irclogs.ubuntu.com/2012/07/16/#ubuntuone.txt

gatoxgood morning!11:16
mandelgatox, morning!11:17
gatoxmandel, hi11:17
mandelgatox, I asked a question about the mp, can you let me know so I can approve :)11:17
gatoxchecking..11:18
gatoxmandel, are you seeing not implemented error when running the tests or just reading the code?11:20
mandelgatox, reading the code :)11:21
mandelgatox, there are rais not imple exceptions, why?11:21
gatoxmandel, i did that, because i consider that they are some important tests, that the implementation is platform specific, so if you are going to extend from that class, i wanted to force to rewrite those tests and don't forget11:22
mandelgatox, so, is that test case ignored? or why I don't see any errors?11:25
gatoxmandel, the darwin or windows implementation, depending of where are you running the tests, is rewriting those tests.......11:25
gatoxthe not implemented is in common11:26
mandelgatox, and those methods, cannot be implemented in common 'cause is all about ignored paths which is in common, right?11:27
gatoxmandel, i didn't implement them in commonn because they have some "conceptual" difference in them, if you take a look in test_windows, they manage how to add the ignored path and generate fake events in one way, and for darwin in another way11:32
gatoxyou can take a look at test_darwin........ with the difference is really obvious11:33
mandelgatox, I'm looking at test_ignore_path looks so similar is a little concerning (at least in that tests)11:35
mandelgatox, the diffs are minimum yet there is a lot of lines that are the same11:36
gatoxmmmmm maybe i can do a method to generate the fake event, and reimplement that on windows and darwin11:37
mandelgatox, seems more logical, but how are you in terms of time?11:37
mandelgatox, moved to the indicator already, if that is a problem I can take over it, no problem :)11:38
gatoxmandel, the last i heard was that i can stay with fsevents a couple of day more if we need to close some stuff.... not indicator tasks assigned already (as far as i know)11:39
gatoxso i can do that11:39
mandelgatox, ok then :)11:39
mandelgatox, that way I can focus on other changes11:39
gatoxok11:40
mandelgatox, how is this failing for you atm: https://code.launchpad.net/~mandel/ubuntuone-client/unify-processors/+merge/11490611:40
mandelgatox, besides the path is ignored stuff11:41
gatoxmandel, give me a couple of minutes and i'll check11:42
mandelgatox, thx!11:42
mandelgatox, for https://code.launchpad.net/~mandel/ubuntuone-client/unify-processors/+merge/114906 I have fixed the failing test and I have nor problem with running the tests in darwin11:54
gatoxmandel, checking now11:57
mandelgatox, should be revno 129411:58
gatoxmandel, when i try to run the tests for tests/platform/filesystem_notifications it says: no module named darwin...... which i pressume is from the daemon12:01
mandelgatox, ? can I see the full stack please12:02
gatox_macmandel, http://paste.ubuntu.com/1094762/12:02
mandelgatox_mac, please add to the path the python code form lp:ubuntuone-fesevents-daemon12:04
mandels/form/from12:04
mandelgatox, with that there everything works fine :)12:04
gatoxmandel, no.... i added ubuntuone-fsevents-daemon to the path, and it fails in the same way12:09
mandelgatox, how did you add it to the path?12:09
gatoxahh i need to add the path to the python folder?12:09
gatoxnot the project?12:10
gatoxok, adding to the python folder it works12:10
gatoxtests ok in darwin..... let me check in windows and linux, and i'll approve12:11
mandelgatox, of course, because the top dir is no a python package :)12:11
mandelgatox, I did it a number of times at the beginning too hehe12:11
gatoxmandel, yes, i didn't even check that when i add it, then i saw the folder and i realize that :P12:12
mandelgatox, I'm off to by food and cook it (store is next home) let me know if everything is ok12:13
mandelralsina, 1-1 after my lunch?12:13
gatoxok12:13
mandelralsina, I'll assume that is a yes :)12:15
* mandel small errands (buy food) + lunch12:17
ralsinamandel: yes12:23
ralsinaand good morning12:29
gatoxralsina, hi12:30
ralsinahi gatox, how's that fever doing?12:31
ralsinagatox: obscure reference http://www.youtube.com/watch?v=Xg5HSoX4H1812:31
gatoxralsina, naaa.... i'm fixed! jeje12:31
gatoxralsina, i rest ALL the weekend12:32
dobeyralsina: hey12:32
ralsinahi dobey12:33
dobeyalright. just mailed our list. see you all tomorrow (or later today if I manage to get everything finished up early)12:43
=== zyga is now known as zyga-food
* mandel back13:30
mandelralsina, 1-1?13:30
ralsinamandel: yes but on IRC, I have people sleeping13:31
mandelralsina, sure, no problem :)13:31
mandelbug 101745013:34
ubot5Launchpad bug 1017450 in Ubuntu One Client "Problems with special folders on Windows." [Undecided,Incomplete] https://launchpad.net/bugs/101745013:34
=== zyga-food is now known as zyga-food]
=== zyga-food] is now known as zyga-food
alecuvery late but good morning to everybody!13:54
ralsinagood morning alecu!13:55
gatoxalecu, hi!13:55
alecugatox: I've been doing some research on how to approach the sync menu, please ping me when you have some time to mumble.13:55
gatoxalecu, whenever you want.... i'm just refactoring some minor code13:56
alecugatox: I've got the techleads meeting in 30', let's do it after your lunch.13:56
gatoxalecu, ack13:56
=== zyga-food is now known as zyga
mandelalecu, hola, can you give me a review for: https://code.launchpad.net/~mandel/ubuntuone-client/fsevents-daemon/+merge/11483614:01
mandelalecu, please... :)14:01
alecumandel: it's over 1000 lines! why would I?14:02
alecumandel:  :-)14:02
mandelalecu, 'cause you like me?14:04
mandelalecu, and because is very easy and the length is due to a mv that just took a part of the file14:04
mandelalecu, and shows as a rm of the code an addito14:05
mandeladdition14:05
alecumandel: ack14:05
mandelalecu, what was it that convinced you, the 'because you like me' or the code issue? :P14:06
alecumandel: the "like" issue.14:06
gatoxalecu, hey! mandell has special treatment here?! jejee14:06
alecugatox: don't be jealous!14:06
gatoxjejeje14:06
mandelalecu, I knew it! hehehe14:08
mandelelopio, ping14:08
mandelalecu, facundobatista, gatox, when adding a new config for the ubuntuone-syncdaemon I need to provide a new conf file for darwin, although it sounds like something that should be in platform I think that putting it under syndaemon/config is better, what do you think??14:25
mandelralsina, cc ^14:25
ralsinamandel: what's darwin-specific about that config?14:26
mandelralsina, in cofigglue you can add a new config file to add extra parameters to the command line, in this case is related to the use of the fsevents-daemon as the default monitor in darwin14:27
mandelralsina, so that that extra parameter is not shown on linux or win becuase it makes no sense14:27
ralsinamandel: why not an option that does nothing on windows/linux?14:27
mandelralsina, 'cause is ugly? the amount of work is similar and this way we do not clutter the command line14:28
mandelralsina, but I don't want to add it to platform because it does not make sense14:29
ralsinamandel: you can put it in the same place the other config files are, and give it a darwinish name14:29
mandelralsina, yes, that is the idea, but I also have to change the way the files are loaded under syncdaemom/config14:29
ralsinamandel: hmmmmm ok, don't know14:30
mandelgatox, please can I have a simple review: https://code.launchpad.net/~mandel/ubuntuone-client/unify-filemonitors/+merge/11515414:30
alecumandel: you are talking about a "config option", not a config file, right?14:30
mandelralsina, meh, I'll propose the code and people can later complain :)14:30
alecumandel: a new config option, not a new config file, right?14:30
gatoxmandel, yes, in a couple of minutes, i'm finishing with the refactor for tests-darwin14:30
ralsinaif the option has a default, you don't need a new file14:30
alecumandel: that's what I call BDD!14:31
mandelalecu, ideally a diff config seems cleaner..14:31
mandelalecu, BDD?14:31
alecumandel: bitchin' based development!14:31
alecumandel: sorry, "...driven..."14:31
mandelalecu, you mean, propose, people complain, adapt to complains?14:32
alecumandel: right!14:32
mandelalecu, hehe could be14:33
mandelalecu, I like the idea of adding an if sys.platform == 'darwin': blah because is easy, I fear that it does not follow the design we have had so far in all the other packages/modules14:33
mandelalecu, I kind of like to be consistent.. but in this case seems to not be necessary14:34
alecumandel: perhaps we can make this an option for every platform, like "--file-notification-backend=..." but the options for linux and windows are only one for now.14:42
alecumandel: perhaps a bit shorter, even :-)14:42
mandelalecu, yes, that shoulds like a much better approach14:43
mandelalecu, specially if we ever have more backends14:43
mandelalecu, with the default being in the code per platform14:44
alecumandel: and perhaps we can make the "..." be an id in a dict of module names that we end up importing.14:45
alecumandel: and then, only that dict should be in the platform module...14:45
mandelalecu, yes in the __init__ of the monitors package which is in platform, is simple and nice because we can easily update it if we wanted :)14:46
mandelalecu, yet, the id has to be passed to the platform code to decide if it is the correct implementation to use, if the daemon is not running lets use the user base one an ignore the command (maybe log it for extra info)14:48
mmcchiya14:49
mmccgatox, can I bug you about this - you pointed out a lint error I've since fixed here: https://code.launchpad.net/~mikemc/ubuntuone-client/use-dirspec-get-cmdline/+merge/11472014:50
gatoxmmcc, ack14:50
mmccand I wanted to ask when the ubuntu-sso-ssl-certificate-qt dialog is used. AFAICT it shouldn't launch correctly on windows with the code in trunk14:51
mmccbackground in my notes here: https://code.launchpad.net/~mikemc/ubuntu-sso-client/use-dirspec-get-program-path/+merge/11469014:51
mmcc^^ ralsina, alecu, mandel, anyone else ?14:52
mmccalso, thanks gatox :)14:52
ralsinaSorry am on a call14:54
mmccnp, take your time :)14:54
mandelmmcc, as soon as I'm done with some code I'll take a look :)14:56
* mandel is not great at leaving code in the middle14:56
mmccmandel, thanks, no problem. it's not necessarily blocking, just wanted to ask while everyone was around :)14:58
gatoxme15:01
briancurtinoops, typing15:01
gatoxalecu, ralsina mandel dobey mmcc thisfred standup'15:02
briancurtinme15:02
thisfredme15:02
ralsinaotp, so no notes yet15:02
alecuotp215:03
ralsinaso you guys go ahead15:03
ralsinadobey is not around today15:03
gatoxok, mandel last15:03
gatoxDONE:15:03
gatoxReviews, improve tests in darwin-tests-refactoring, starts reading the docs for sync menu and desing draft.15:03
gatoxTODO:15:03
gatoxFix remaining fsevents issues. mumble with alecu about sync-menu. Keep looking into sync-menu stuff.15:03
gatoxBLOCKED:15:03
gatoxNo15:03
gatoxbriancurtin, go15:03
mmccme15:03
briancurtinDONE: a few reviews, looking into how to do some of the unicode branches better based on review comments15:03
briancurtinTODO: finish up unicode branches15:03
briancurtinNEXT: thisfred15:03
thisfredDONE: fix integration tests TODO: u1db documentation update BLOCKED: no NEXT: mmcc15:03
mmccoops, still typing15:03
mandelme15:04
mmccDONE: windows path problems, hopefully15:04
mmccTODO: land branches, fix setup-mac15:04
mmccBLCK: none15:04
mmccNOTE: off thursday, friday and next monday to move15:04
mmccmandel15:04
mandelDONE: proposed severla branches to clena fs events a little and merge the daemon code. Made changes to the option parse to add a new option to the ubuntuone-syndaemon bin.15:05
mandelTODO: finish the extra arg parsing.15:05
mandelBLOCKEd: no15:05
mandelCOMMENTS: reviews are welcome :)15:05
gatoxah..... todo for me also: more reviews15:06
mmccbrb15:17
mmccb15:21
gatoxmandel, you can re-review this branch now with the changes you ask for: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-tests-refactoring/+merge/113289 and i'll reviews your branches and mmcc 's after lunch15:26
mandelgatox, ok, awesome :)15:27
mandelmmcc, do you think you could do a review for https://code.launchpad.net/~mandel/ubuntuone-client/unify-filemonitors/+merge/115154 ?15:45
mmccsure mandel, I'll look at it soon15:46
mandelmmcc, thx!15:46
gatoxok, lunch for me15:52
=== gatox is now known as gatox_lunch
mmccso mandel, where does ubuntuone.darwin.fsevents come from again? is that the daemon in your separate project?16:15
mmccoh wait, I think you said it in the irc backlog...16:16
ralsinaonwards and lunchwards16:16
mandelmmcc, yes :)16:18
mandelmmcc, is the python code from the daemon16:18
mmccmandel, ack. I just re-read your conversation with gatox16:18
=== salgado is now known as salgado-lunch
mmccmandel, sorry - needsfixing - test_darwin still imports common from the old place...16:26
mandelmmcc, sure, no problem let me check :)16:29
mandelmmcc, he, side effects of using pipes, switching from one to other leaves the .pyc behind..16:31
mmccmandel: ah, good to know. need pipe-cleaners16:40
mandelmmcc, yes, is a PITA cause things work even though it should 'not' be there16:43
mandelmmcc, fixing now16:43
mandelmmcc, I just pushed the new version with the fix16:51
mmccok mandel, looking now16:51
mmccmandel, which tests should I be running for this? they're going further but don't all pass16:53
mandelmmcc, just the ones under filesystem_monitor16:54
mmccmandel: ack16:54
mandelmmcc, I need to do some black magic in the future to let you run all u1-client tests..16:54
mandelmmcc, as with windows, getting the tests to run is harder than getting the software to run because they are integrations tests O_o16:54
mandelbut I'll get there :)16:54
=== gatox_lunch is now known as gatox
mandelgatox, some extra comments :)17:12
mandeland with that EOD for me17:12
gatoxmandel, wait17:12
mandelwaiting...17:13
gatoxmandel, i don't understand your comments, this is made in this way for previous requests17:13
gatoxs/is/was17:13
mandelgatox, what do you mean? the idea was to reuse as much as possible, that is great, yet setting a modules variable from a diff module for it to work is wrong17:14
mandelgatox, same happened with the filesytem_notifications/common.py remember?17:14
mmccmandel, sorry right as you're leaving - did you mean just the tests under filesystem_notifications? those passed then just hung (in cleanup?) for > 10 minutes for me :(17:14
mandelgatox, if it is a PITA we can land it like that and later change it17:15
gatoxmandel, can you show me an example of this being done in another way..... as far as i remember this was discuss it, and this was the solution that we decided17:15
mandelmmcc, yes, tests hang there due to a thread not being cleaned but that is fixed in the branch that gatox is trying to land, so that is 'correct' :)17:15
mandelgatox, possibly the same way we did under ubuntuone/platform/filesystem_notifications/common.py where you import the platform bits that you do not know how are implemented17:16
mandelgatox, but not to worry, we can always use alecu to vote and decide :)17:17
mandelthat is the good thing of having to reviewers, no hay empates :)17:17
mmccmandel, ah, ok. next time would you mind saying a little more in the notes for a merge about this kind of stuff? ie, how to run tests, what to test, what should / shouldn't be broken? it'll make it easier to review things after you leave for the day.17:17
gatoxi'll take a look, i'm not sure what are you talking about exactly17:17
mandelmmcc, yes, I should sorry I though you already knew all this little issues17:17
mandelgatox, not to worry, ask alecu for his point of view and if he is ok with the current implementation I have no problem in leaving it like it is17:18
mmccmandel, no prob really. It just makes it smoother, esp. if you're not around to bug :)17:19
=== salgado-lunch is now known as salgado
mmccbesides mandel, I had to learn how to build the windows exe on Friday, so that completely flooded my mental cache :)17:19
mandelmmcc, I know, I should have done it, sorry again won't happen again if I remember :)17:19
mandelmmcc, lol yes, if something can be said about this code is that it makes you learn a lot of stuff17:20
mandelok, EOD, gatos let me know what alecu says and I'll approve as fast as lighting :)17:20
gatoxmandel, ahhh i think i understand... you mean doing: if sys.platform, etc, etc..... i'll change it..... but i'm pretty sure that this was alreadu discuss it17:21
mandelgatox, got a bad memory or I was becoming japanese :P17:21
mandelgatox, again, don't do work if it was agreed, ask alecu first don't waste brain cycles :)17:21
mandelall, see you tom!17:22
mandelhave a great evening!17:22
joshuahooverralsina: vista user is getting this error which prevents him from completing setup: RemoteError 'remote_register_to_signals() takes exactly 2 arguments (3 given)' - i know i've seen it before but can't remember more than that, any ideas?17:24
gatoxalecu, are you around?17:24
briancurtinjoshuahoover: i haven't seen that particular error but we know of one similar to it (the 2 arguments, 3 given part)17:25
joshuahooverbriancurtin: yeah, maybe i'm thinking of a different error, i know i've seen the 2 args, 3 given thing in logs before17:26
mmccbtw ralsina, if you're reviewing https://code.launchpad.net/~mandel/ubuntuone-client/unify-filemonitors/+merge/115154 today, look at my approve comment for a summary of the caveats to run the tests on darwin.17:26
alecuhola gatox, I was afk.17:29
gatoxalecu, can you take a look at mandel 's comment: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-tests-refactoring/+merge/113289 ?17:29
alecugatox: sure17:30
gatoxalecu, can you please tell me if we should fix that inn common using if sys.platform: blah blah blah....... or as it is now, where if you are running test_windows.py, that module will ensure that the proper values are set in common in order to run the tests17:31
alecugatox: I don't understand why this is needed in common.py: ..."filesystem_notifications = None"17:40
gatoxalecu, that can be actually in test_darwin.py and extend those tests to add the patch17:41
alecugatox: I'm asking about alll the global assignments starting in line 54 of the diff17:42
gatoxalecu, as we are unifying the tests, there are some stuff or functions (to do things one way or another) depending on the platform..... the thing is.... should we do those assignments using if sys.platform..... etc, etc..... of leaving those assignment like that, and because of test_darwin and test_windows are extending common.py, just leave the responsability to set those values to the specific tests as it is now17:45
alecugatox: and also the stuff about common_tests starting in line 83917:45
gatoxsame answer17:45
alecugatox: Use sys.platform? no. Global assignment? does not look right either.17:46
alecugatox: there must be some better way.17:46
alecugatox: I'm guessing the "template method" pattern, but I might be missing something.17:47
gatoxalecu, i don't understand which is the problem right now.... we are not suppose to run common.py by its own, so when we run test_windows.py for example, that modules sets the proper values.... but maybe i'm not seeing things clearly17:48
gatoxthat sounds ok for me17:49
alecugatox: the issue is that all those global assignments are aweful.17:49
alecugatox: I remember nessita found a better way to do them, but I'm not sure if it was on the test classes17:50
gatoxalecu, ok..... i'll try to think another way to implement this.....17:57
gatoxbut..... i'm not really convinced17:59
gatoxalecu, lost his connection17:59
gatox(that message was for everyone ^)18:00
joshuahooverralsina: know anything about bug #1025070 that leo found on q?18:13
ubot5Launchpad bug 1025070 in ubuntuone-installer "Ubuntu one installer shows the package names and doesn't install " [Undecided,Confirmed] https://launchpad.net/bugs/102507018:14
ralsinajoshuahoover: not yet, have not seen it :-/18:14
joshuahooverralsina: well now you have ;)18:14
ralsinajoshuahoover: and I installed it early this morning, too18:14
joshuahooverinteresting18:14
ralsinajoshuahoover: we are getting rid of installer anyway18:14
ralsinajoshuahoover: soonish18:14
joshuahooverah, ok18:15
ralsinajoshuahoover: I'll assign to dobey anyway18:16
joshuahooverralsina: thanks18:16
mmccso it looks like jenkins has an out-of-date dirspec - how can I help fix this?18:29
ralsinammcc: ping sidnei18:30
ralsinammcc: since dobey is out18:31
mmccralsina: ok.18:31
mmcclunch now, finally18:35
gatoxalecu, please ping me when you are back19:49
gatox(if you receive this message jeje)19:50
mandelralsina, mmcc jenkins fixed19:50
ralsinamandel: woohoo19:51
mandelralsina, well, fix, it runs the tests.. which mmcc had problems with19:51
ralsinamandel: baby steps!19:52
mandelralsina, I think the config issue is easy but I'm not looking at it just now :)19:52
ralsinamandel: it's late for you anyway. Go have a beer.19:52
mandelralsina, will do :)19:52
gatoxok...... eod for me... i'll review my suggestions tomorrow with alecu20:26
gatoxbye!20:26
alecugatox! too late :P20:36
ralsinaalecu: <maxwell smart> missed him by this much! </maxwell smart>20:45
=== yofel_ is now known as yofel
=== alecu is now known as alecu86
=== alecu86 is now known as alecu
ralsinaEOD for me. See you all tomorrow!21:10
briancurtinmmcc: did you ever get dirspec tests running on windows?21:11
mmccbriancurtin: no, but it sounded like others were able to do it last week21:11
mmccbriancurtin: why do you ask?21:14
briancurtinmmcc: making it work via buildout is, for some reason, challenging21:15
mmccbriancurtin: for automated testing? or just getting the current trunk using buildout?21:16
briancurtinmmcc: getting trunk's run-tests.bat to work in a buildout env. not specifically for jenkins, just for me being able to run it21:22
briancurtinmmcc: maybe i'll check tomorrow with whoever did get it working in their env and see what the deal is21:22
mmccbriancurtin: ah, ok. yeah, I had a real hard time too… dobey told me who did it, let me see if I have it in the scrollback21:23
=== salgado is now known as salgado-afk
mmccbriancurtin: according to this: https://code.launchpad.net/~dobey/dirspec/python3/+merge/114713 -- gatox is the last person to run the windows tests.21:29
briancurtinah, i think they have the non-buildout way setup21:29
mmccok, dinner...22:52

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