/srv/irclogs.ubuntu.com/2011/02/11/#ubuntuone.txt

lalejandHi, is there a way to flush the my contacts on U1 servers (and on my computer) ?02:31
karnimorning09:39
JamesTaitHappy Friday, everyone!09:45
=== ralsina_EOD is now known as ralsina
ralsinagood morning!10:12
karniralsina: morning10:24
ralsinagood morning karni!10:24
karniverterok: has the server bug about fileSize=0 been fixed perhaps? (I don't have a bug number, we talked about it some time ago)10:24
karniverterok: fileSize in the getDelta items, that is.10:25
verterokkarni: I'm not at home ATM, but I think it's fixed10:26
karniverterok: ACK!10:26
karniyou guys are up early..10:26
verterokkarni: naaa, I'm running some errands10:27
verterok:)10:27
karni:)10:28
=== karni_ is now known as karni
=== teknico is now known as teknico_away
=== ralsina is now known as ralsina_afk
=== yofel_ is now known as yofel
=== teknico_away is now known as teknico
=== ralsina_afk is now known as ralsina
duanedesignmorning all12:09
karnihi duanedesign12:12
duanedesignhey karni !12:19
jderoseaquarius: you want to skype about ratings and reviews?  i'll be up for next few hours you're free12:27
aquariusjderose, heya. I got the email. Sure, I'm around12:33
jderoseaquarius: cool... just ring me on skype when your ready12:34
ralsinaWhat happens if I publish ~/Ubuntu One/Shared With Me/somefile ? I can publish it (get no error) but I can't copy the public URL either.  And it's nowhere in the web UI (because it was not uploaded, I think)13:04
ralsinanotice that somefile is not a share, but something I created.13:04
aquariusyou're not on skype, comrade jderose :)13:18
jderoseaquarius: hmm, actually i am... but i don't see you as online either13:18
aquariusjderose, says you're offline. Ringing you says you're offline :)13:19
jderoseaquarius: hmmm, does ufw cause problems with skype13:19
aquariusjderose, nfi. Can you see anyone else online?13:20
jderoseno13:20
aquariusI can see loads of people. So I thik the problem is at your end :P13:20
jderoseokay... i have a kernel update anyway, perhaps a reboot in case skype is confused... brb13:20
ralsinamandel dobey thisfred standup in 10'13:51
ralsinanessita is running errands, so she probably won't make it in time13:52
ralsinaBut I have her notes13:52
thisfredkk13:52
alecuthisfred, it seems that the libunity error was fixed... but some other parts are broken :P13:55
karnialecu: is your REST api work published somewhere (lp perhaps) ?13:56
karnio wait.. was it vds?13:56
ralsinakarni: vds13:56
karnialecu: sry ;)13:56
thisfredalecu: ah. There seems to be a new X and linux kernel, so *maybe* nvidia drivers will work again, but probably not13:56
alecukarni, no problem13:56
vdskarni, hello13:56
karnivds: is your REST api work published somewhere (lp perhaps) ?13:56
karnihi :)13:57
alecuthisfred, are you using the binary drivers or the open source ones?13:57
vdskarni, that's a question for aquarius :)13:57
karnivds: aha ;)13:57
karniaquarius: /me wants to see the REST progress :)13:57
aquariuskarni, we're very close to havin the basic API available :)13:59
karniaquarius: I see13:59
mandelme14:00
aquariuskarni, it's not yet working, but it nearly is14:00
=== gord_ is now known as gord
karniaquarius: I'm RESTless about handling that SSL connection ;) heheh14:00
aquariusand I'll be happy to show it to you once we've got the last couple of bits tidied up :P14:00
karniaquarius: very cool.14:00
ralsiname14:01
thisfredme14:01
ralsiname_as_nessita14:02
alecume14:02
ralsinamandel?14:02
ralsinaalecu, sorry I forgot you on the standup ping!14:03
mandelDONE: Fixed errors with os_helper branch. Create a XP testing vm while launchpad was done. Refactored IDbusInterface logic so it can be reused on Windows.14:03
mandelTODO: Refactor test to test code in IDbusInterface without Dbus. Include namedpipe sever for IPC. Create named pipe client for IPC. Chase people to get reviews for file system notifications code.14:03
mandelBLOCKED: no14:03
mandelralsina: please14:03
ralsinaDONE: reviews, canonicaladmin, worked on bug #712674 (yay, I coded!)14:03
ralsinaTODO: reviews, management stuff, sprint planning, triage another 8 tons of bugs14:03
ralsinaBLOCKED: no14:03
ralsinathisfred!14:03
ubot4Launchpad bug 712674 in ubuntuone-client (Ubuntu Natty) (and 5 other projects) "Nautilus offers publishing files within shares while it's not allowed on the server (affects: 1) (heat: 6)" [High,Triaged] https://launchpad.net/bugs/71267414:03
thisfredDONE: u1couch API thinking, libunity trying and failing14:04
thisfredTODO: u1couch API. Bug #702183, Bug #702116, make UDF notifications aggregate14:04
thisfredBLOCKED: Unity does not work on my laptop14:04
thisfredHATED: nvidia drivers14:04
ubot4Launchpad bug 702183 in ubuntuone-client (Ubuntu) (and 1 other project) "Syncdaemon needs to open the control panel in the background and change the launcher icon to urgent when the user exceeds their quota (affects: 1) (heat: 120)" [Medium,Triaged] https://launchpad.net/bugs/70218314:04
ubot4Launchpad bug 702116 in ubuntuone-client (Ubuntu) (and 1 other project) "Syncdaemon needs to show and update a progressbar in the Ubuntu One launcher for pending operations (affects: 1) (heat: 120)" [Medium,Triaged] https://launchpad.net/bugs/70211614:04
dobeyme14:04
thisfredralsinessita14:04
=== ralsina is now known as ralsina_as_nessi
ralsina_as_nessiDONE: worked on bug #715713, but #715804, bug #716678, bug #716499, bug14:04
ralsina_as_nessi#715776 and bug #716431. Reviews. Weekly call. 'What to do with shares'14:04
ralsina_as_nessicall.14:04
ralsina_as_nessiTODO: control panel bug triage, Daniel Fore from design team has14:04
ralsina_as_nessireported decens of UI bugs (yey!). Maybe work on some of them. Talk with14:04
ralsina_as_nessiaquarius to see what I would work on next week (re APIs).14:04
ubot4Launchpad bug 715713 in ubuntuone-control-panel (Ubuntu) (and 2 other projects) "Place the usage bar label on top of the bar instead of beside it (affects: 1) (heat: 6)" [Low,Triaged] https://launchpad.net/bugs/71571314:04
ralsina_as_nessiBLOCKED:14:04
ubot4Launchpad bug 716678 in ubuntuone-control-panel (Ubuntu) (and 1 other project) "Set name to widgets to style properly (affects: 1) (heat: 6)" [High,Triaged] https://launchpad.net/bugs/71667814:04
ubot4Launchpad bug 716499 in ubuntuone-control-panel (Ubuntu) (and 1 other project) "clicking a folder should open it (affects: 1) (heat: 6)" [Medium,Triaged] https://launchpad.net/bugs/71649914:04
ralsina_as_nessiNOTES: Monday I'm not coming. I need reviews for:14:04
ubot4Launchpad bug 716431 in ubuntuone-control-panel (Ubuntu) (and 1 other project) "Shares to me path looks aweful (affects: 1) (heat: 6)" [Medium,Triaged] https://launchpad.net/bugs/71643114:04
ralsina_as_nessihttps://code.launchpad.net/~evfool/ubuntuone-control-panel/fix715710/+merge/4929014:04
ralsina_as_nessihttps://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/add-widget-names/+merge/4930514:05
ralsina_as_nessihttps://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/open-folder/+merge/4928714:05
ralsina_as_nessialecu!14:05
=== ralsina_as_nessi is now known as ralsina
alecuDONE: weekly meeting. went thru android/eclipse sdk hoops, got DroidCouch running on the emulator and on my phone14:05
alecuTODO: find out how our public couch instance authenticates users. Make DroidCouch use that. Talk with aquarius re: DroidCouch and desktopcouch14:05
alecuBLOCKED: no14:05
ralsinadamn, that didn't work :-)14:05
ralsinaok, comments?14:05
ralsina1: the sprint is approved!14:05
dobeyλ DONE: finished pth migration in nightlies, bug 669204, helped ralsina with bug 71267414:05
dobeyλ TODO: shotwell plug-in research, finish bug 673012, evaluate SRUs for maverick14:05
ubot4Launchpad bug 669204 in couchdb-glib "Add Vala bindings to Couchdb-GLib (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/66920414:05
ralsinaoops, sorry dobey14:05
ubot4Launchpad bug 712674 in ubuntuone-client (Ubuntu Natty) (and 5 other projects) "Nautilus offers publishing files within shares while it's not allowed on the server (affects: 1) (heat: 6)" [High,Triaged] https://launchpad.net/bugs/71267414:05
thisfredI'll do the reviews14:05
dobeyλ BLCK: None.14:05
ubot4Launchpad bug 673012 in desktopcouch (Ubuntu) (and 1 other project) "Async monitoring of _changes (affects: 1) (heat: 43)" [Undecided,Confirmed] https://launchpad.net/bugs/67301214:05
mandelI need a couple of reviews for windows done from linux, so please take a look14:05
mandelthisfred: ^ please..14:06
mandel:D14:06
ralsinaAnyone that wants to laugh at my C, please review https://code.launchpad.net/~ralsina/ubuntuone-client/fix_712674/+merge/4933214:06
thisfredmandel: will do14:06
mandelthisfred: thx! just look at the code and run on linux14:06
ralsinaAnd I repeat: THE SPRINT IS APPROVED ;-)14:06
thisfredralsina: so we should book flights?14:07
alecuralsina, where?14:07
ralsinathisfred alecu: the place is not approved14:07
thisfredah14:07
alecu:-)14:07
ralsinaTechnically, it should be in western europe14:07
mandelSpain!14:07
ralsinaBecause 5 attendants are from there14:07
thisfredoh, the netherlands would be good :)14:07
ralsinaBut it may still be Buenos Aires.14:08
dobeythisfred: it is supposed to be where they live, not any random place14:08
ralsinathe problem is that 3 of them are from London, and London is apparently crazy expensive.14:08
* mandel seraches for a vide of fready mercury screamming barcelona14:08
dobey5? chipaca, vds, mandel. who else?14:09
ralsinadobey: 2 UX people14:09
mandelwe have 2UG people?14:09
dobeywell, 1 GBP is like 1.8x USD14:09
ralsinamandel: for the sprint, yes14:09
ralsinaAt least that'sthe plan14:09
mandeluh, cool14:09
jderoseaquarius: just sent you a happy friday email :)14:10
alecuralsina, I just realized that having 2 new UX people would be no help after the ui freeze.14:10
* karni short lunch break14:10
ralsinaalecu: good point!14:10
thisfredI'm still secretly hoping for BA in which case I will take a week of vacation there after the sprint with my wige14:10
thisfredwife14:10
thisfredeven14:10
ralsinathisfred: I will even make arrangements for your vacations if it's here ;-)14:11
ralsinathisfred: I can fix you up with a week in a typical farm picking peppers. It pays about U$S 9 a day, too! ;-)14:11
alecuralsina, March 24th "UserInterfaceFreeze"14:12
ralsinaalecu: right, so probably no UX people. I wonder why Chipaca told me that then.14:12
ralsinaSo, if no UX people, it's Argentina14:12
thisfredhaha, that might not go over too well.14:13
Chipacaralsina: me? sidetrack you? nevah14:13
ralsinathisfred: all the peppers you can eat!14:13
ralsinaChipaca: hey, I am just confused :-)14:13
nessitahello everyone14:15
nessitadid you eom already?14:15
thisfredHolanessita!14:15
ralsinahello again nessita!14:15
ralsinaalmost eom14:15
ralsinanessita: sprint is approved14:16
nessitayey!14:16
nessitawhere is it?14:16
ralsinaand you have a golden chance to laugh at me by reviewing https://code.launchpad.net/~ralsina/ubuntuone-client/fix_712674/+merge/4933214:16
Chipacanessita: belgrade14:16
thisfredbeirut?14:16
ralsinanessita: the BAD side of belgrade14:16
ralsinathisfred: beirut is actually a lovely place when there's no war going on.14:16
thisfredI hear Egypt's nice this time of year :)14:17
Chipacaralsina: wah, *two* needfixings14:17
Chipacaralsina: enough to drive you to qt, i tell you14:17
thisfredralsina: Yeah I totally want to go there14:17
ralsinaChipaca: I never claimed to be good at this programming thing14:17
nessitaralsina: reviewing it14:17
thisfredDammit Jim, I'm a doctor not a C programmer14:17
Chipacaralsina: that is true. Neither did I; I said you were prolific.14:17
nessitaChipaca: you already home? wow, public transport suck :(14:17
ralsinaChipaca: these are my slowest 10 lines ever14:18
ralsinaThen again C is not a real language, it can't even add one string to another wthout an argument ;-)14:18
Chipacanessita: I drove my anger out. Now I'm tranquil as a bidimensionalized dog.14:18
nessitaChipaca: breathe in, breathe out14:18
ralsinadobey: I see you don't appreciate my love of suymmetry14:19
nessitaralsina: so, shall be book tickets to Serbia then?14:19
nessitashall we*14:19
Chipacanessita: animal bidimensionalization is great therapy14:19
alecuChipaca, nessita: let me guess... you had a mobile company morning.14:19
ralsinanessita: AFAIK the place is not official yet.14:19
nessitaChipaca: I shall do the same, I'm still trying to choke someonw14:20
ralsinaChipaca: were you suggested to install the phones into a bodily cavity?14:20
dobeybelgrade's not too bad, just don't speak albanian14:20
* ralsina speaks albanian like a native! Like a native argentinian!14:20
dobeyso lets not do belgrade14:21
nessitaralsina: you have 2 needs fixing already, you sure you want a potential third?14:21
ralsinaok, eom for the standup.14:21
thisfredmandel: what branch did you need review for?14:21
ralsinanessita: hahaha14:21
ralsinanessita: I already fixed rye's so I am down to one now!14:21
nessitaheheh14:21
nessitadid you all see my hunger of reviews?14:22
ryebelgrade?14:22
dobeyno14:22
mandelthisfred: this is one: https://code.launchpad.net/~mandel/ubuntuone-client/windows_reuse_pyinotify/+merge/4906214:22
thisfredthx14:22
dobeyis called a joke ppls14:23
mandelthisfred: and if you have time, this too: https://code.launchpad.net/~mandel/ubuntuone-client/implement_notifier/+merge/4906414:23
thisfredsure\14:24
mandelthisfred: I'm sorry for the merge size, is kind of hard to keep them small yet meaningful14:24
mandelspecially due to the tests…14:24
thisfredSometimes it's just not possible14:25
thisfredI'll take a fat branch with lots of tests over no tests14:25
nessitacan I have a trivial review for https://code.launchpad.net/~evfool/ubuntuone-control-panel/fix715710/+merge/49290 ?14:26
ralsinadobey: re-review please?14:28
ralsinarye: re-review of https://code.launchpad.net/~ralsina/ubuntuone-client/fix_712674/+merge/49332 please?14:28
ralsinamandel: got the invite for the monday call?14:30
mandelralsina: let me check14:31
mandelralsina: yes14:32
ralsinaok14:32
Chipacaok, so not belgrade. Huahine?14:35
dobeyPristinĕ14:36
dobeyerr, wrong accent, but eh14:36
ralsinaI am kinda against going to spain because of bad experiences on the airport by friends. Basically, they would rather go through groping on USA than the mistreatment they got at Barajas again.14:42
dobeyi had no problems in barcelona14:43
ralsinadobey: you are not from Argentina14:44
dobeybut we should do orlando or buenos aires anyway. we don't have 5 people in spain14:45
ralsinadobey: g_build_filename doesn't add a trailing "/" unless I put it in the last element, right?15:00
dobeyralsina: right, that's why i put the "" there before the NULL15:00
ralsinadobey: sadly, gi.repository.GLib has only build_filanemv so I can't  test it quickly15:00
ralsinadobey: that is ignored, according to the doc15:00
dobeyralsina: the "" is? or the NULL is?15:01
ralsinadobey: both?15:01
ralsinadobey: "The number of trailing copies of the separator on the result is the same as the number of trailing copies of the separator on the last non-empty element."15:01
ralsinaThat is for g_build_path and g_build_filename is supposed to "act like g_build_path with the right separator"15:02
dobeywell you can replace the "" in my example with G_PATH_SEPARATOR probably15:03
dobeyor whatever the correct macro name is15:03
ralsinaOr just add a trailing /. This code is unix only anyway15:03
dobeyno, use the macro15:03
ralsinaok15:04
dobeyjust becuase *we* aren't building it on windows, doesn't mean it can't be :)15:04
ralsinadobey: this is a nautilus plugins. I can count the number of windows nautilus users with no hads :-)15:04
dobeyyes, well, you are a kde person15:07
dobeyso i can see how you are biased15:07
CardinalFangThese distro updates are a pain.15:09
aquariusjderose, ping15:10
jderoseaquarius: pong15:10
aquariusjderose, want some code to log into a website with Ubuntu One?15:10
jderoseaquarius: that would be awesome to experiment with, yes please!15:10
aquariusjderose, http://paste.ubuntu.com/565904/15:11
aquariusjderose, implemented as very, very, very stupid Python CGIs.15:11
jderoseshows how APIs work, that's all i need. thanks!15:11
jderoseaquarius: so do i need any kind of application key or whatever to try this, or will that basically work as is?15:12
ryeerm, ralsina should the latest version have "Share..." in ~/.local/share/ubuntuone/syncdaemon ?15:21
ralsinarye: no15:21
ralsinait does?15:21
ralsinaOh, wait, this is not about Share, it's about Publish15:21
ralsinaIf there is a problem showing "Share" in the wrong place it's another bug :-)15:22
ryeerm15:22
dobeywoah15:22
ryeralsina, ok, re: publish: it works fine15:22
ralsinadobey, I think I addressed all your comments in the new revision. Sorry to waste so much of your time, I am a newbie at gnomeish development ;-)15:23
dobeyhrmm15:27
dobeywhat happened to the internets today15:27
dobeypeople are trying to depose the connectivity it seems15:27
ralsinadobey: one more commit because I should have used g_free instead of free for g_build_path result.15:27
dobeyralsina: you should always use g_free () in glib apps, because g_free (NULL); doesn't segfault like free (NULL); does15:28
ralsinag_build_filename*15:28
dobeyor at least, it shouldn't15:28
ralsinadobey: but I have to use free for the result of realpath15:29
ralsina"It's important to match g_malloc() with g_free() , plain malloc() with free()" according to the g_free docs :-)15:29
dobeyralsina: you should use g_free ()15:29
dobey*shrug*15:29
dobeyglib really should have a g_path_resolve () function, but alas15:30
ralsinaAt least it says that "Otherwise bad things can happen, since these allocators may use different memory pools"15:30
dobeymaybe since the glib switch to using GSlice for everything15:31
dobeyyou definitely shouldn't use free () on g_malloced things15:31
ralsinadobey: right, that's why I fixed that15:31
=== bac` is now known as bac
dobeyrye: can you re-review ralsina's branch please?15:55
ralsinadobey: what, no needs fixing anymore? Have I SUCCEEDED????15:56
nessitaralsina: can I have your eyes on https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/add-widget-names/+merge/49305?15:58
ralsinanessita: shipping eyes to said address15:58
nessitayey!15:58
ralsinanessita: is a code review good enough for this one? I am in the midle of a 260MB update and the internet feels sick.16:00
nessitaralsina: yes16:01
ralsinanessita: ok16:01
nessitathose a 'trivial' fixes16:01
ralsinanessita: +116:02
nessitaralsina: thanks!16:02
=== beuno is now known as beuno-lunch
CardinalFangWow, nice job, Egypt.16:32
=== alecu is now known as alecu-lunch
dobeyCardinalFang: did they annuonce a partnering with Microsoft too?16:34
CardinalFangdobey, They haven't picked what's next, just decided to abandon the old platform.16:47
dobeylunch time :)16:53
ralsinaWhat is this dialog supposed to do? Honest question! http://ubuntuone.com/p/clw/17:03
karnifacundobatista: hi! sorry to jump at you already. could you tell me why here (Download ActionQueueCommand method) http://paste.ubuntu.com/565957/ we iterate over both Download *and* Upload ?17:14
karnifacundobatista: I assume it's probably some marginal case.17:14
facundobatistakarni, yes, it's marginal, but there's no point in be uploading a file if you're downloading it17:15
facundobatistaand viceversa17:15
karnifacundobatista: so it's kind of precaution, right?17:15
facundobatistayeap17:15
karnifacundobatista: thanks17:16
rye_ralsina, 671 revid:tarmac-20100902185055-41zos28bp0g2dr3z - Fix dbus interface get_metadata methods to use the realpath.17:17
ralsinarye_: that would have fixed that bug, yes17:17
rye_ralsina, so i am reassigning this to verterok and marking as fix released17:17
=== alecu-lunch is now known as alecu
ralsinarye_: cool17:17
rye_bzr-explorer is a nice thing17:18
gordhi all, just wondering if i were to shut ubuntu one down, copy over a directory of files someone has shared to me to another drive and sym link it back over, would ubuntu one accept that or freak out and start re-downloading everything?17:18
rye_yay!17:20
rye_gord, based on my previous tests it would download the files again17:20
gordoh that's not fun :(17:21
=== beuno-lunch is now known as beuno
rye_gord, what ubuntuone client version are you running so that i could test it with 100% confidence?17:29
gordrye_, Installed: 1.5.3-0ubuntu317:29
rye_gord, ok, and OS ?17:29
karnifacundobatista: sorry to bother. how does def _start(self): of Download command relate to def start(self): of it's super type (ActionQueueCommand). I suppose former is private, latter public. but do they have anything in common?17:29
gordrye_, natty, fairly up-to date17:30
rye_gord, okay, let me see...17:30
karnidouble underscore is private.. so this one is not. that's even more confusing.17:31
facundobatistakarni, ActionQueueCommand does not have a start anymore17:35
karnifacundobatista: I just saw it's _start (not start), my bad. was it removed in some newer revision.. ?17:36
karnifacundobatista: I'm looking at unleash-the-queues-6 (which may be already old..)17:37
facundobatistakarni, mmm... in unleash-the-queues-6 there's no "start" in AQC17:40
facundobatistakarni, I'm not following you17:40
karnifacundobatista: ... o_O I'm confused, let me check..17:40
karnifacundobatista: rev 830, action_queue.py line 1160 - am I missing something?17:41
karnifacundobatista: and I mean _start, like I mentioned ↑17:42
karnifacundobatista: does the Download command override the AQC _start method?17:42
facundobatistakarni, ahhhhhhhhhhh, so you want to know the relation of Download._start with ACQ._start, ok, *now* I get you17:43
karnifacundobatista: I'm sorry, yes..17:43
facundobatistakarni, the _start method is for commands that want to do something *once* in their lifecycle, before they're actually run17:43
facundobatistakarni, ACQ just provides a default that does not do anything, so you don't need to define it in every method17:43
karnimakes sense, like acquiring the semaphore17:44
facundobatistakarni, :)17:44
karnifacundobatista: thank you :')17:51
karniIf __means a private method, what do you guys use the _for ? I'm sorry to ask lame Python questions.17:51
karniJava is seriously syntactically impaired.17:51
ralsinakarni: _ is for "please don't use this" :-)17:52
karniralsina: seriously.. ?17:52
ralsinakarni: __ is for "you can't use this" :-)17:52
karniralsina: ack :)17:53
beunokarni, right, so a non-enforced private method17:53
karniI should be reading Python manuals instead of sleeping ;<17:53
ralsinakarni: one of the python slogans is "we are all consenting adults here"17:53
karniralsina: hahahah :)17:53
beunokarni, I think sleeping is probably more valuable in the long term17:53
ralsinaIn fact, you can easily use the __foo methods if you really want to.17:53
karnibeuno: I'm getting much sleep (especially now that classes have finished). but I feel impaired without knowing those nitty gritty details/tips about Python syntax17:54
karniif only day could have 36 hours17:54
beunokarni, this is how you learn17:54
beunoasking!17:54
karniI feel I ask way to many questions here :F17:55
beunokarni, no such thing as too many question17:55
karniOne thing I know. In few monts time, Python will be my languange of choice.17:55
beunothat's the one true path17:56
rye_facundobatista, so, when i tried putting the same files online with syncdaemon shut down and copy the same files to the same syncdaemon dirs upon startup syncdaemon marked local files as u1conflicts and started downloading them from the server, why?17:58
rye_the same files have the same hashes and they are basically the same17:58
rye_gord, basically that's the answer for now re move of the files ^17:58
rye_ralsina, ______method means it will immediately abort the execution?17:59
ralsinarye_: and kill the calling object, yes17:59
=== rye_ is now known as ____rye
gordrye_, okay then, thats a shame, a friend of mine with a large share is starting to eat up a sizeable amount of storage on my home partition (small fast ssd) - thanks for testing for me :)17:59
____ryegord, that's not how it should be, i will stalk facundobatista with this18:00
facundobatista____rye, #71138918:01
alecunessita, ping18:06
nessitaalecu: pong18:06
alecunessita, got a minute? I'm trying to think the dbus interface for enabling/disabling notifications, to make it extensible to support per type enabling/disabling18:06
alecunessita, but only support "all" right now.18:07
alecunessita, I was thinking of using a dict18:07
alecudict of string:bool18:07
nessitaalecu: hum.Why not a dedicated method for each?18:07
alecunessita, enable_notifications: {"all": True}18:07
alecunessita, or {"file_sync": False, "out_of_space_errors": True}18:08
nessitaalecu: I think the bets way is to have a call per setting18:08
nessitaenable_file_sync_notifications18:09
nessitaenable_out_of_space_notifications18:09
nessitaetc18:09
alecunessita, all that *plus* enable_all_notifications ?18:09
ralsinanessita: with a dict, enable_all_notifications is simpler18:09
nessitanopes, without the _all_18:09
ralsinaoh, without the all18:10
nessitaralsina: is less pythonic, from my POV18:10
ralsinanessita: a list of methods? :-)18:10
nessitaonce I read about that, I would like to find the link18:10
alecunessita, it's easier to add notification groups by adding to that dict.18:10
alecunessita, we are talking dbus, not python :-)18:10
nessitaralsina, alecu, having set_flag(boolean) is less recommended that set_fla()g + unset_flag()18:11
nessitawith proper typing, of course18:11
nessita:-)18:11
ralsinaI'd say it depends on how many methods we are talking about, and how often a new one could appear18:11
nessitaalecu: since dbus has such a strict API (can't be changed), I think dedicated methods is easier to maintain18:12
nessitaralsina, alecu: I understand your point. I will not strongly fight for dedicated methods :-)18:12
nessitaif you both think is best to have a dict, let's. But this is inconsistent with what we talked about file sync status notifications18:12
ralsinanessita: think of how much longer the doc you will write for dedicated methods will be ;-)18:12
ralsinaj/k18:13
nessitaralsina: good point (to my favor). Adding an isolated entry for a new method is easier that extending an existent entry18:13
nessitamainly becasue the new entry is very likely not to be updated ;-)18:13
ralsinanessita: hahaha18:13
nessitaold entry, I meant :-)18:13
ralsinanessita: can I ask a question about something you did in a branch that's already landed?18:14
alecunessita, "what we talked about file sync status notifications": can you point me at that?18:14
alecuhmmm....18:14
nessitaI think we're abusing dicts in dbus to have flexible APIs (maybe we have no other choice)18:14
nessitaalecu: when I implemented FileSyncStatusSyncing, FileSyncStatusDisconnected, etc18:14
nessitaalecu: you wanted a single dict with the status18:15
nessitaralsina: shoot18:15
alecunessita, right.18:15
ralsinaIn https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/improve-share-name/+merge/4927018:15
ralsinaWhy not use os.path.realpath instead of looking up two directory names via dbus and replacing?18:15
ralsinaOh, forget it, you are going the other way around, of course :-)18:16
nessitaralsina: exactly18:16
* ralsina often understands when he asks things18:16
alecunessita, ok: I'll be only adding "enable_all_notifications" right now (and disable_), and get_all_notifications_shown. We will add more methods later.18:16
nessitaI have no idea (in the control panel) where Shared With Me is linked to18:16
nessitaalecu: ok, like I said, I'm not feeling particularly strong about this :-)18:17
nessitaalecu: I still find discomfort when defining APIs in dbus...18:17
alecu:-)18:18
ralsinanessita: well, it's linked to os.path.realpath(whatever/Shared With Me)18:18
nessitaalecu: another point (that I thought but didn't mentioned), is that already existent syncdaemon dbus API has dedicated methods for each setting18:18
nessitaralsina: right, but at first I don't know what 'whatever' is18:19
nessitait can be anything18:19
ralsinait's shares_dir_link?18:19
ralsinaBut anyway, it was just idle curiosity :-)18:19
nessita:-)18:19
nessitaralsina: do some work if you're IDLE!!! :-D18:19
ralsinaI am procrastinating because I don't want to patch nautilus on stable-1.418:19
alecunessita, right. But this will be a group of settings, so I thought it made sense to group them. I'm thinking of the empathy screenshot that ry-ee posted18:19
nessitaalecu: right18:20
nessitaralsina: do patch! we need you. Be a good boy/boss18:20
ralsina1.4 is maverick or lucid?18:20
alecuanyway: I'll go with the simplest route for now, and that's the one "all" method18:20
ralsinaBecause it sure as hell doesn't build on natty18:20
alecunessita, and also I see that all sd settings are like you said (enable_share_autosubscribe + disable_share_autosubscribe + share_autosubscribe_enabled)18:21
alecunessita, so I'll try to follow the same pattern.18:21
nessitaralsina: maverick18:21
ralsinaalecu: generate them from a dict ;-)18:22
nessitaalecu: sounds like a plan. Thanks for asking opinions on this!18:22
alecunessita, well... not all.18:22
nessitaalecu: not all?18:22
alecunessita, for instance: enable_share_autosubscribe has separarated enable and disable, but set_autoconnect_enabled has a boolean arg18:23
alecuso :P18:23
alecu3 flags are done one way, 2 the other.18:24
alecuI'll go the first route anyway.18:25
nessitaalecu: ack18:25
thisfredalecu: nessita very simple branch that adds the icons https://code.launchpad.net/~thisfred/ubuntuone-client/lp-717311/+merge/4944318:29
nessitathisfred: YEYEY18:29
nessitaok, I need to switch back to classic desktop, unity desktop is making me (more) crazy18:30
dobeyheck, i switched back to metacity :(18:33
thisfredheck, I'm on xmonads :)18:34
thisfredwell, not on my naty machine. That one just doesn't work at all18:34
alecuthisfred, I'm testing your branch by running "PYTHONPATH=. ./bin/ubuntuone-syncdaemon", but I still can't see the icon on notifications.18:35
dobeywell, you're weird18:35
thisfredso? :)18:35
thisfredalecu: hmmm. I tested by commenting out the .patch() lines in the test_aggregator tests, and that worked...18:35
thisfredonly the notification patch line that is18:36
alecuok, I'll try that.18:36
alecuthisfred, that's not working for me either :-( I get the notifications, but no icons.18:38
thisfredalecu: bah. I only tested on maverick. I hope they haven't changed the API18:39
thisfredtesting on natty18:39
alecuthisfred, I was missing the ubuntuone-client-gnome package. Let's see now.18:39
thisfredah18:39
thisfredthat would have the icon I guess18:39
alecuthisfred, that did it :-)18:40
thisfredyay!18:40
alecuthisfred, somehow the u1 messaging menu entry has disappeared.18:41
alecuthisfred, this happened since today, I believe.18:41
thisfredhmmm18:41
thisfredthat's weird. Maybe someone removed the link to the .desktop file again?18:42
dobeyalecu: did you uninstall something?18:43
thisfreddobey: I also don't have it18:44
alecudobey, I did a bit of dbusmenu uninstalling yesterday to try to fix the gir issue18:45
dobeythisfred: i thought we just declared that you're weird :)18:45
alecudobey, but that was solved today18:45
nessitaok, I'm back18:45
thisfreddobey: doesn't mean I don't deserve love and attention :)18:45
dobeydoh, this whole internets having issues thing is annoying18:46
alecudobey, will ubuntuone-client-gnome be installed by default on Unity desktops?18:47
dobeyalecu: it is installed by default on ubuntu, yes18:48
dobeywhy?18:48
dobeymandel: lint issues18:48
thisfredalecu: for me ls /usr/share/indicators/messages/applications/ does not show ubuntuone-control-panel-gtk anymore18:50
nessitathisfred: for me neither :-(18:50
* thisfred looks at the make file18:51
nessitadobey: did we loose the .desktop file in the messaging on nightlies?18:51
alecudobey, cool. I was worried it would not be installed by default, and only ubuntuone-client18:51
nessitathisfred: the ICON is there! yey! /me approved18:52
dobeynessita: i didn't remove it. did we never add it?18:52
nessitadobey: I think we did...18:53
dobeymaybe not in nightlies?18:53
thisfreddobey: not sure, I think so, since it worked for a while18:53
nessitadobey: maybe. Could you please confirm and/or fix, when you have a slot?18:53
dobeythisfred: for a while narwhal package was newer than nightlies because i didn't realize i needed to bump the version18:53
dobeynessita: can you make an ubuntuone-control-panel release/upload for narwhal?18:53
nessitadobey: yes, as soon as I land a branch I'm coding18:54
nessitadobey: which is needed for design people18:54
dobeyok18:54
alecuthisfred, two approvals :-)18:55
thisfredawesome18:55
ralsinamy first full crash in a week :-(18:57
alecuralsina, how so?18:57
alecuralsina, testing windows?18:57
ralsinawell, the screen went black, everything stopped and the HD ligth became a laserbeam :-)18:58
ralsinaalecu: nope, never had a windows crash on this notebook18:58
alecu:-)18:58
alecua new gir1.2-unity-3.0 .... let's try it!18:58
mandeldobey: i've seen them.. i keep using make test instead of make check… im stupid19:02
dobeyheh, ok19:03
dobeymandel, thisfred, alecu: any branches that are must-have for a u1client release?19:05
thisfreddobey: the icons are a nice to have19:05
mandeldobey: from my side, they are all windows related, so not really ;)19:05
alecuthisfred, we should subscribe to: https://bugs.launchpad.net/libunity/+bug/70924019:06
ubot4Launchpad bug 709240 in unity (and 1 other project) "libunity support gobject-introspected languages (affects: 3) (heat: 18)" [Medium,Triaged]19:06
thisfredalecu, thx done!19:06
dobeymandel: yeah. the question for your branches is do they break linux :)19:13
mandeldobey: they should not, but in those parts where we do not have unit tests is hard to say….19:13
mandeldobey: but you know what they same about braking eggs to make omelets :P19:14
dobeyheh19:17
thisfredor monkeys to make rugby19:20
dobeyit's the infinite rugby you have to watch out for19:23
thisfredIs that the one where the monkeys have typewriters?19:28
dobeyyes19:28
mandelhehe19:40
mandelhe, some of the tests have very interesting names: 'test_deep_and_wide'19:46
mandelI think i've heard about a movie with that name19:46
ralsinamandel: one about alien abductions? ;-)19:47
mandelralsina: it was certainly alien hehe19:48
dobeymandel's movie collection is NSFW19:48
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-client/fix-distcheck/+merge/4945519:52
dobeycan i get 2 quick reviews on that?19:52
thisfreddobey:  you have 119:57
mandeldobey: on it19:58
mandeldobey: +119:59
duanedesignwow, someone has been busy with bugs today :)20:00
mandelduanedesign: i though ralsina was going throw them…20:01
duanedesignnice20:01
dobeygreat20:01
ralsinamandel: not this week, I got snookered into hacking C and other similarly unpleasant things. By you, in some case ;-)20:01
mandelralsina: i really though you liked the test_deep_and_wide, will not happen again...20:03
mandelhehe I've got a problem20:03
ralsinamandel: yes you do :-)20:03
mandelralsina: but it was a good one :)20:05
ralsinaoh, yes, I am all for testing jokes ;-)20:06
dobeytest_joke_is_funny20:09
mandeldobey: I fixed the lint issues, do you have any problem with the release if i approve the branches, should I wait?20:10
dobeymandel: lets wait until after i do the release20:11
mandeldobey: sure, I'll approve them on monday then :)20:11
nessitadobey: will the branch from thisfred get in?20:33
nessitathe one that adds the icon name to the notifs20:34
dobeyit's already in20:34
nessitaawesome20:35
nessitadobey: do I need to do some special magic with the newly added .pth file when building the new u1cp package?20:37
dobeyoh20:37
dobeynessita: you need to change the .install files a bit20:37
nessitadefine: a bit20:37
dobeyhttp://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-control-panel/packaging-dailies/revision/820:38
dobeylike that20:38
nessitaack20:39
* alecu hates default values in ubuntuone/syncdaemon/config.py21:18
ralsinaEOD for me. Have a nice weekend!21:27
karnifacundobatista: what's AQ_DOWNLOAD_COMMIT :) ? what does Nanny do, foo.partial -> foo ?21:35
karnifacundobatista: wait... it had something to do "when the systems ready", but I can't recall the details :<21:37
facundobatistakarni, it's about not finishing the download when you have a file open, otherwise file editors may go crazy if you touch them the file underneath21:50
karnifacundobatista: aha! gracias21:51
facundobatistakarni, so the download ending message is captured by the DownloadNanny, who holds it if the file is open and releases it when it's closed21:51
facundobatistakarni, de nada! :)21:51
karnifacundobatista: perfect :) thanks!21:51
dobeyok, my day is done22:05
dobeylater all!22:05
alecubye all!22:38
karninight guys23:55

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