/srv/irclogs.ubuntu.com/2012/08/21/#ubuntuone.txt

mmccback, looking into fsevents code again…05:10
mmcctwo separate bugs in this code05:15
mmccemail sent, time to go.07:27
=== teknico_ is now known as teknico
JamesTaitGood morning all! :)08:33
mandelmorning all!09:51
mandelok, I'm of to have lunch10:47
* mandel lunch10:47
gatoxgood morning11:13
alecuhello all❗12:21
gatoxalecu, hi12:32
ralsinamorning!12:50
* ralsina reads backlog, decides to explain mandel the true meaning of timeshifting12:51
ralsinamandel: the idea is that you finish late because you START LATE12:52
gatoxralsina, hi12:57
ralsinahi gatox12:59
ralsinagatox: how do you feel this nice feature-freezing morning? ;-)12:59
gatoxralsina, jeje fine.... i'm adding the behaviour behind the ui now13:00
mandelralsina, meh, details13:01
mandelgatox, question, where is the source code of the fsevents you sued, specially the one with your changes?13:02
gatoxmandel, https://code.launchpad.net/~diegosarmentero/+junk/python-macfsevents13:02
ralsinagatox: no rush on that13:03
ralsinagatox: since mmcc and mandel are sprinting, could you be extra alert for reviews, specially those for mac they propose?13:07
gatoxralsina, ok!13:08
ralsinagatox: also, stop whining about designer, which is pretty, nice, and the best thing since non-sliced bread! ;-)13:08
mandelalecu, ping13:08
gatoxralsina, jejejeje13:09
ralsinamandel: did you see the RT mail? They will be killing monorail and setting up a beefier box in "a week"13:09
mandelralsina, no I did not see it.. nevertheless it would be nice to finish setting it up so that we have jenkins and send them all the instructions to follow13:10
alecumandel: pong13:11
mandelralsina, sidnei filled a second RT so that monorail can connect to canoncical stack so that the slave can connect13:11
ralsinamandel: yes, but I would like clarity on whether it's going to work and be useful this week, or if you should just drop that and move onto other stuff until the new box is up13:11
mandelralsina, I don't think it will be useful :(13:11
ralsinamandel: therefore it's not urgent anymore13:11
ralsinamandel: pick your battles, etc.13:11
ralsinamandel: a jenkins that takes 12 hours to run a job is the opposite of useful ;-)13:12
mandelalecu, what are we doing with fsevents, we already have gatox patches on top of it, I think we can push mmcc changes upstream but we shoud not ignore events, that is, send a create and a modify and wrap the modify in our code with an open & close_write13:12
mandelralsina, ack13:13
mandelalecu, gatox, why did you not push the changes you maid upstream?13:13
gatoxmandel, i have to propose my changes to the official repo of macfsevents..... but i've been busy with th menu and share links features13:14
alecumandel: I did not understand your proposed solution ("send a create and a modify and wrap the modify in our code with an open & close_write")13:14
gatoxmandel, i can do it today if necessary13:14
alecugatox, mandel: wait13:15
alecugatox: mmcc sent an email yesterday, with some issues he found on macfsevents13:15
alecugatox: so we should propose both things upstream13:15
alecugatox: I'll fwd you the mail13:15
mandelalecu, what I say, is, quoting the email: 'and fsevents.py ignores the second one.' and then his fix proposes and improved way to ignore the event by switching to !=. My idea is to send both events to upper layers13:17
mandelalecu, we get a create and a modify and is the second event, the modify which we wrap with an open and close_write just like we already have in our code13:17
mandelalecu, by the way, it is because we get two events that the root daemon works13:17
alecumandel: you've only sent that mail to me!13:19
alecumandel: would you mind re-sending it, and cc gatox.13:19
mandelalecu, puto evolution! sure13:19
mandelalecu, should have been sent to all13:23
mandelalecu, so, we need to send this to upstream, the way I see it fixed is by not ignoring events and if an event has two flags, generate two events13:23
mandelthe lower level lib should not be trying to be smart13:23
alecumandel: +1. The less brains we have, the lower the chance we'll meet zombies.13:24
mandelalecu, yes, I have tried to be smart before hehe13:25
mandelgatox, how manyu bugs did you have to fix? can you send me the info and I'll try to make it to the trunk, smae with the mmcc changes and I suppose we should add tests etc..13:26
gatoxmandel, ok, i'll send you an email13:27
mandelgatox, thx, lets try to get this fixed :)13:27
joshuahooverdobey: as far as you know, is the u1db package ready to go? bug #103539213:48
ubot5Launchpad bug 1035392 in Ubuntu "[needs-packaging] u1db" [Wishlist,In progress] https://launchpad.net/bugs/103539213:48
dobeyjoshuahoover: it's done. i guess the lp auto-bug-fixer thing didn't set it to fix released13:52
mandelalecu, ralsina, I think that we should agree to use the same cvs when we fork something mainly to keep the history and know when we did the fork..14:12
alecumandel: right14:12
mmccmorning folks, making coffee, catching up, brb14:15
thisfredmmmm, coffee!14:19
mmccmandel, you are right that we need to send both events - but we do still need to check the mtime against the snapshot because we only get per-directory events.14:28
mmccwe can't get rid of the != check, because it's in a loop comparing all files in the snapshot to all files we've just seen - trying to figure out which file or files the event is about14:29
mandelmmcc, oh, true..14:31
mandelI forgot it was per directory, lame14:31
mmccmandel: right :\14:31
mmccthere is a way to get per-file events from the code, but it's possible that we'd have to take snapshots anyway, since it might coalesce events (and I'm not sure it sends the file paths when it does, just dir paths)14:32
mandelmmcc, I'll work to get gatox changes in and will look at your code to add tests and try to send this upstream14:34
mmccmandel: sounds good - do you mean get his changes into my version? I branched from his version, so that's done already14:36
mandelmmcc, no, try to put this upstream plus your changes14:36
mmccmandel: aha, ok. sounds good14:36
mandelmmcc, also add tests to our u1client code so that we do know everything works14:36
mandeltedious but should be fast to do14:37
mmccI like that :)14:37
mmccnot the tedious part, but the knowing everything works part :)14:37
mmccmandel so I'll go back to ctypes and smjobbless now… let me know if I need to explain any of my changes.14:40
mandelmmcc, great, let me know if you need any help14:42
mandelmmcc, also it looks like we are behind the current trunk of mfsevents (if you branched from gatox code) so we might have so extra bug fixes for free14:43
mmccmandel, interesting. looking…14:43
mandelmmcc, for example, they do have a small diff in the snapshot method, now during the walk the do 'obj in files + dirs' while the fork just goes over files14:45
mandelmmcc, also, they use lstat and not stat14:46
mmccthe first one looks like a nice simplification, but shouldn't change behavior ,right?14:46
mmccthe lstat change is interesting - what do we do on other platforms with links?14:47
mandelmmcc, we ignore them and we do not follow them14:48
mmccignore them? so if I put something with a symlink into a synced folder, that symlink won't get synced?14:48
mandelmmcc, no, the main reason is that we just let you sync under ~ and your link can be outside ~14:49
mandelmmcc, it is a requested feature14:49
mmcchmm.14:50
mandelgatox, can you please explain me what is going on here: http://bazaar.launchpad.net/~diegosarmentero/+junk/python-macfsevents/view/head:/fsevents.py#L19714:52
mandel??14:52
gatoxmandel, do you want to have a quick mumble about this lib behaviour?14:53
mandelgatox, even better :)14:54
gatoxmandel, after standup?14:54
mandelsure, is very close14:54
gatoxack14:54
mmccoh hey, standup. thanks for the reminder gatox :)14:54
gatoxmmcc, i always remember..... because i eat after the standup.... and i'm already really hungry jeje14:55
mmcc:)14:55
gatoxme15:00
briancurtinme15:00
ralsiname15:01
dobeyme15:01
mmccme15:01
gatoxalecu, mandel thisfred ?15:01
mandelme15:01
dobeyralsina ?15:02
gatoxdobey, ralsina is the third one15:02
dobeyoh15:02
dobeyi guess we typed at same time and i didn't see it :)15:02
ralsinaalecuuuuuu15:02
* ralsina is lagged15:03
gatoxzzzz15:03
alecume15:04
thisfredme15:04
gatoxDONE:15:04
gatoxPropose a couple of branche for control panel about New shares in the sync menu and the ui for Share Links tab.15:04
gatoxTODO:15:04
gatoxFinish with Share Links tabs: publish and share functionality.15:04
gatoxBLOCKED:15:04
gatoxNo15:04
gatoxbriancurtin, go15:04
briancurtinDONE: lots of branches for dev-tools porting15:04
briancurtinTODO: one or two remaining dev-tools branches, then push on running sso on py3 and see what happens next15:04
briancurtinNEXT: ralsina15:04
briancurtin@ping15:05
mandelbriancurtin, pong!15:06
ralsinaok, everyone that said me, then alecu then thisfred. Go gatox15:06
mandelbriancurtin, ralsina is the weakest link :)15:06
mandelralsina, is your turn.. major lag there15:06
alecudobey: go!15:06
dobeyDONE: releases15:06
dobeyTODO: finish releases, icon generating magic15:06
dobeyBLCK: None.15:06
dobeymmcc: go15:06
mmccDONE: ctypes code for SMJobBless, bug hunt in fsevents.py15:06
mmccTODO: more SMJobBless & code signing15:06
mmccBLCK: no15:07
mmccNEXT: mandel15:07
mandelDONE: Look at fsevents issues. Done some tests to reproduce cases in which is borken. It is with small files (as mmcc mentioned, flags are merged) and in large and slow files such as moving a large file from a samba share. Drag & Drop and Copy also lack a in_modify event. Looked at the code of macfsevents upstream they have fixed a number of bugs that we have not.15:07
mandelTODO: Chat with gatox about his fsevents and try to understand them. Merge chages with trunk and add the ones proposed by mmcc to trigger both events (CREATE & IN_MODIFY).15:07
mandelBLOCKED: No15:07
mandelCOMMENT: I'm working 'til late and I'll be taking a 2 - 2:30 (depends on traffic) break for rugby training.15:07
mandelNEXT: alecu15:07
alecuDONE: api doc for dash webcalls; got indicator-sync branch working, looks nice; reviews for brian's py3k branches; researched webclient implementation in vala15:07
alecuTODO: more on the dash15:07
alecuBLOCKED: no15:07
alecuNEXT: thisfred15:07
alecuthisfred or ralsina: go!15:08
dobeyfight to the ping!15:10
dobeytwo pings enter, one pong leaves!15:10
gatoxmandel, i'll be back in 5 min and we can have the mumble if you want15:10
mandelgatox, ok, ping me when you are back15:11
ralsinaDONE: dash talk with alecu & beuno, 1-1 with mandel, reviews, scheduled testing for releases, canonicaladmin, mgmt call, misc. TODO; help around, reviews, etc. talk with dobey about u1ms BLOCKED: no NEXT:  dobey15:11
thisfredDONE: documentation5 TODO: documentation6(-?) BLOCKED: no NEXT: no15:11
ralsinaForgot: NOTE: I am terribly lagged, so I will go run some errands & lunch, will be back in about 90'15:11
mmccmandel - what was the issue you saw with moving large files?15:12
mandelmmcc, you wont get the in_modify at all yet with the root daemon you get the in_modify once it has been copied over15:12
mmccmandel, I think that'll be the same issue with mtime > snapshot.mtime.15:13
mmccI mean, I think the != fix will fix that too15:13
thisfredquestion: instead of doing "me" at 11 or up to 5 minutes later, and then waiting for everyone to post their statuses, why don't we skip the "me' and just post the second part at 11. Worst thing that can happen is that some reports may get interleaved, which I don't care as much about as the fact that what could take about 20 seconds takes 10 minutes of interruption15:13
mandelmmcc, yes, I have the same impression too15:14
thisfredralsina, ^^15:14
mandelmmcc, I have a manual 'script' to go through once everything has been merged with the current work at upstream15:14
mmccmandel: we can test that with my script that'll show the raw events from copying over - I was running two separate instances, one raw and one with the snapshots, and comparing the two - that's how I noticed the raw had more events…15:15
mmccmandel: ok, I'll let you work then :)15:15
mandelmmcc, I'm using the one you sent me + the daemon just because I have it installed hehe15:16
gatoxmandel, back15:17
mmccmandel: I just meant two separate instances of the test event listening script in the branch I posted, not the rest of u1 client…15:18
gatoxmandel, already on mumble15:18
mandelgatox, ok, launching the thing15:19
mandelmmcc, ah, ok15:19
ralsinathisfred: OR we could all be here at 11 and do it in 2 minutes15:21
thisfredralsina, I know, but that has happened never15:21
ralsinathisfred: I'll take another approach. At standup time, the time for "me" is exactly 2minutes. Then post statuses in order. Those who didn't say "me" give their statuses at the end whenever they are ready.15:22
thisfredok, let's see if that works. I do realize I'm at least as much to blame as anyone for it dragging on15:23
ralsinathisfred: since *I* have to read all the statuses, and your proposed solution simply mean I have to check everything then hunt those who didn't post15:23
thisfredit's just that even when I remember to say me, I'm then either waiting staring at my IRC client for 5 minutes or I get distracted and miss it when I'm pinged15:24
ralsinaso, alecu, dobey, mmcc, mandel, briancurtin, gatox, thisfred: tomorrow, I want the "me"s between standup and standup+2 minutes. If you are not here, don't bother me-ing, just post the status at the end15:24
mmccralsina: ack15:24
ralsinaand I will notice those who are late and post bad things about them on twitter15:24
thisfredthat's fine, I quit twitter :D15:24
ralsinathisfred: and +115:24
ralsinathisfred: sorry, google+15:24
ralsinathisfred: and goodreads15:25
thisfredhehe15:25
ralsinathisfred: and facebook15:25
ralsinathisfred: and posters in telephone posts15:25
mmccnot twitter! I don't want @The_Real_Shaq knowing I'm late15:25
ralsinaNow that I read what I wrte, are posters called that way because they are put on posts? Or because they were put on post offices? Weeeeeeird.15:26
mmccralsina: http://www.etymonline.com/index.php?allowed_in_frame=0&search=poster&searchmode=none says fasten to a post15:27
mmccnow that's a site that could soak up an afternoon.15:27
ralsinammcc: gives a whole new meaning to "poster boy"!15:27
thisfredFrom Old English pillar, door-post and Old French, from Latin postis (“a post, a door-post”)15:27
ralsinahaving clarified that, I will now go to the bank15:28
briancurtinspeaking of post offices, i need to run and get stamps to mail two letters as if its 1990. be back shortly15:29
mmccbriancurtin: be sure to rewind your answering machine's tape before you leave so there's space15:29
briancurtinhaha15:30
dobeyok, need to get lunch here as well. bbiab15:36
mandelgatox, how are the fsevents tests ran, the ones in the macfsevents I mean15:49
gatoxmandel, mmm i don't remember... i thought it says in one of the files..... i'll check15:50
mandelgatox, ok, no worries I can find out15:51
mandelpython setup.py test :P15:51
* briancurtin back16:03
=== teknico_ is now known as teknico
mmccgatox, do you remember why you changed the latency parameter to 0 from 0.01 in fsevents?16:14
gatoxmmcc, yes..... so we can receive more events.... and is not perfect, but we started to get more16:15
mmccgatox: so it was sending fewer events than changes?16:16
gatoxmmcc, yes16:17
mmccgatox: how were you testing it?16:18
gatoxmmcc, i had some scripts (i think that there are in the wiki you created), that generates a lot of folder and files inside16:19
mmccgatox: oh yeah, I remember seeing those - thanks!16:19
* gatox lunch16:26
=== gatox is now known as gatox_lunch
mandelmmcc, I;'m adding a keyword param so that we pass our on latency and then be able to push it upstream16:49
briancurtinralsina: 1-1?16:50
mmccmandel, ok. I'm about to send an email with some thoughts on alecu's question about a loaded system.16:53
ralsinabriancurtin: sure, in 5'16:54
briancurtinralsina: i'll be in mumble16:54
mandelralsina, mmcc I'm off to rugby and I'll be back in a few hours, ok?17:06
ralsinamandel: ok, have fun, break nothing17:07
mandelralsina, break them ;)17:07
mmccmandel: ack. dislocate nothing17:07
dobeybreak someone else's leg17:07
ralsinamandel: avoid rabid racoons17:07
ralsinamandel: walk in the shade17:07
mandellol17:08
* ralsina is all about protecting devs17:08
=== gatox_lunch is now known as gatox
ralsinabriancurtin: which branches from dev-tools need reviews?17:18
briancurtinralsina: i'll put together a paste of them, 1'17:18
ralsinabriancurtin: I see 7 from you, all of them?17:18
briancurtinralsina: there are 7 necessary for the porting (all prefixed with py3-) and a general one i just added a min ago17:19
ralsinabriancurtin: ack, will do those 7 then17:20
ralsinabriancurtin, alecu: confirmed success with the proxy working 100% on windows on 3.0.2b :-D17:35
briancurtinyessssss17:35
ralsina<fist pump>17:35
ralsinabriancurtin, alecu: there is even a chance that PAC scripts may work since they are supported in latest Qt17:36
ralsinaat least in some cases17:36
ralsinabriancurtin: reviewing py3-int. You are not letting me run the test MAXINT*2 times, you fascist!17:42
ralsinabriancurtin: but more seriosuly, those one-line, obvious branches can merge with one review :-)17:42
briancurtinralsina: i guess i got used to covering higher quantity changes from SSO in isolation by type17:43
briancurtinbut yeah i probably should have just merged them in the end17:44
ralsinabriancurtin: no, the small branches are ok, it's just that those can merge with one review17:44
ralsinabriancurtin: it's a bonus for doing small branches :-)17:44
briancurtinahh17:45
briancurtinralsina: how do you tell LP to do one review for say three small branches?17:47
ralsinabriancurtin: LP doesn't require more than one review17:48
ralsinabriancurtin: so, if you feel the branch is trivial, you just approve it ater you got one17:48
ralsinabriancurtin: personal judgement, we are all consenting adults, etc17:48
briancurtinralsina: oh oops i was mixing review with merge proposal, i thought you meant there was some secret way to do one MP for multiple branches. i got it now17:49
ralsinabriancurtin: ah, ok17:49
dobeythisfred, mmcc: https://code.launchpad.net/~dobey/ubuntu-sso-client/update-4-0/+merge/120626 please18:03
ralsinadobey: mmcc is sprinting, I'll get it18:06
dobeyoh18:06
thisfreddobey, +118:09
ralsinadobey: +1 from me too18:14
alecuralsina: it seems you still can use bigger than int loops in tests:18:29
alecu>>> int(sys.maxint*2)18:29
alecu18446744073709551614L18:29
alecuralsina: anyway... those 3.0.2b news are wonderful!!!18:29
alecubriancurtin: you've seen the comment I added to this branch, right? https://code.launchpad.net/~brian.curtin/ubuntuone-dev-tools/py3-io/+merge/12047818:30
briancurtinalecu: i didn't see that yet, but i'll get it fixed up18:33
ralsinaalecu: cool, I will let my test runner working until the heat death o the solar system ;-)18:33
alecuralsina: we need a way to have jenkins survive thru the next implosion+bigbang cycle18:37
ralsinaalecu: latest cosmological measurements show universe will expand indefinitely, so problem solved18:38
aleculet's find a way to keep jenkins atoms close together enough then!18:39
* briancurtin lunch18:39
ralsinaalecu: I propose rubber bands.18:41
dobeyle sigh18:45
dobeyi'll have to duck out early today in ~40 minutes, as I have to go somewhere ~30 miles away to pick up a freight shipment and it will take some time to get down there and back, but i'll try to get some more work done later tonight, or work longer tomorrow to compensate18:54
ralsinadobey: ok, np19:05
ralsinadobey: where are we on releases?19:05
ralsinadobey: also, "a freight shipment"? What are you buying? Collectable fridges?19:05
dobeyhaving to discuss one of the bits with security19:06
dobeyralsina: an engine19:06
ralsinadobey: ack & ack19:06
ralsinadobey: and awesome.. I never knew someone that had bought an engine :-)19:06
ralsinabriancurtin: I am finishing with your devtools branches, but ne has a needsfixing19:08
ralsina*one has19:08
ralsinadobey: the stable-4 branch for sso failed to merge19:09
ralsinadobey: with a metric ton of lint!19:09
dobeyi know19:09
ralsinadobey: ok19:09
dobeyralsina: already fixed it, and already merged :)19:09
ralsinadobey: awesome :-)19:10
dobeyand i'm talking with security now19:10
briancurtinralsina: thanks, i'll take a look19:12
dobeyalright, gotta run. may be back later tonight. cheers all!19:26
ralsinabriancurtin: I am looking at your keys-usage branch an I am not sure it does the same thing after the change19:36
ralsinabriancurtin: or rather, I am sure it doesn't do the same thing, but maybe it's still ok :-)19:36
ralsinabriancurtin: specifically, it now executes the succeed in the case where self.wrapper.protocols.keys is empty and befre it didn't19:37
briancurtinralsina: if keys is empty it wouldn't iterate over anything and would fall to the else19:37
ralsinayes19:37
ralsinabriancurtin: let me think a bit more ;-)19:38
ralsinabriancurtin: yes, it didn't do that before19:38
ralsinabefore, if keys was empty, it would not fall to the else19:38
briancurtinif keys was empty "if connected" would be false, so it would fall to the else19:39
ralsinabriancurtin: ok, then, I got it backwards. If keys is not empty, now it will fall to the else and before it wouldn't19:40
ralsinasince the else is executed whenever there is no break19:40
briancurtinralsina: ah, yeah19:41
ralsinabriancurtin: again, not sure if that's actually bad because I don't have enough context19:42
briancurtinralsina: i'll look into it19:42
briancurtingood catch19:42
ralsinabriancurtin: thanks19:42
ralsinabriancurtin: I looked extra hard because I never remember what for/else does :-)19:42
briancurtinit seems like that should be the operation of for/finally (if it existed)19:43
ralsinabriancurtin: exactly19:44
ralsinaelse should be "do this if you didn't actually iterate because that thing was empty"19:44
mmccok, with my ctypes-wrapped code not crashing but not giving useful errors either, time for lunch…19:48
alecuralsina: oh, I totally missed that else.19:49
alecubriancurtin: I think you should add some test cases for the changes in that particular branch.19:50
briancurtinalecu: i'm thinking about if changing that one is actually worth it19:51
alecubriancurtin: perhaps it's not worth it, if we are changing the behaviour for wrong! :-)19:52
briancurtinyeah it's actually fine as-is, or it wouldnt get any cleaner if i was to mess with it19:53
ralsinathen I have no more branches to review :-)19:56
=== lifeless_ is now known as lifeless
gatoxeod here! see you tomorrow people!20:10
briancurtinalecu: is https://code.launchpad.net/~brian.curtin/ubuntuone-dev-tools/py3-io/+merge/120478 more what you were looking for?20:15
alecubriancurtin: right!20:28
alecubriancurtin: +120:32
* alecu loves test suites that run fast20:32
mandelralsina, alecu, mmcc FYI  I'm back :)20:52
* mandel ran too much and throw up 20:53
briancurtinthat's how you know it works20:53
mandelbriancurtin, do you see anything obviously wrong here: paste.ubuntu.com/115975521:10
briancurtinmandel: looking21:10
mandelbriancurtin, thx21:11
mmccmandel, double * latency = 0.01 is initializing a pointer with a double21:11
mmccdoesn't that give compile warnings?21:12
mandelmmcc, he, stupid me, but I just fixed it and I still get schedule gets at most 1 argument (4 given)21:13
briancurtinmandel: you only supplied one kwarg in the kwlist - you need to add thread, stream, callback, paths as well. the "|s" just makes latency optional but you still need the first four in the kwlist21:13
briancurtinmandel: your kwlist should be {"thread", "stream", "callback", "paths", "latency", NULL} (or whatever names you want to use)21:13
mandelbriancurtin, awesome, it makes perfect sense.. stupid me21:14
mandelbriancurtin, and that fixed it!21:15
briancurtincool21:15
mandelmmcc, the macfsevents tests are really ugly, the use time.sleep everywhere..21:20
mmccmandel, yep21:22
mandelmmcc, I'm not going to patch all their tests.. I'll do something around it to add tests to the new latency parameter21:26
mmccmandel, what do you mean by "something around it"?21:26
mandelmmcc, let me do a pastebin21:27
mandelmmcc, this: http://paste.ubuntu.com/1159785/21:30
mmccmandel: ok, I get what you meant, thanks. I don't totally follow the second snippet but I don't think I need to yet21:32
mandelmmcc, I'll send you the code for a review before it goes upstream, but we will need to change the latency in or code to 0 since the default is the one they used, 0.0121:33
mmccmandel: ok.21:33
alecubriancurtin: in py3-unicode-literals, I think that txwebserver.py is missing the "from __future__ import unicode_literals" line.21:33
mmccmandel: FWIW, I don't think we'll need latency=0 with the new code - since it checks for multiple event flags in one event now21:34
mandelmmcc, well, since we have it we can easily test the diff rather than having to compile it all the time :)21:34
mmccmandel: yep, good stuff21:35
ralsinabriancurtin, mmcc, mandel: I will do reviews late tonight, feel free to mention them here, I'll see them21:35
briancurtinalecu: argh, i thought i put that back in. had it before, reverted something, lost it...now it's back in21:36
mandelralsina, ok, I'll probably will send a github url via email with the upstream changes we would like to have and will add some tests to our client21:37
mandelralsina, yes you still own me the review where I removed the SBJson code form the project :)21:37
ralsinamandel: will do it!21:37
alecubriancurtin: approved now21:39
alecuhey, all, can I get one more review on this? https://code.launchpad.net/~alecu/ubuntu-sso-client/fix-ssl-unicode/+merge/12001321:41
briancurtinalecu: will look in 1'21:41
briancurtinalecu: approved21:50
mmccalecu, mandel - anyone with a mac around for a quick test? I want to share a folder containing a .app with you and have you try to run the .app.22:29
chaselivingstonmmcc: I've got a mac, if that helps22:29
mmccchaselivingston: sure, why not :) you need a u1 client, so give me a second to upload the one I just built that works better with uploads22:30
chaselivingstonhaha ok22:31
mandelmmcc, I'm here :)22:34
mandelmmcc, share it and will be tested22:34
mmccok mandel, I've shared it.22:35
mmccit's just a copy of TextEdit. just see if it runs when you double-click it… (I expect it not to, but I'm not sure what errors to expect)22:35
mandelmmcc, ok22:35
mmccchaselivingston: I guess never mind - since my upload of the new build… isn't uploading :|22:36
chaselivingstonmmcc: no worries, would love to try it out when I can though!22:37
* mmcc goes off to double-check paths and versions22:37
mmccthanks chaselivingston, sooooon!22:37
mandelmmcc, can you zip the app, else it is a dir and the web interface does not work very well to download it22:44
mmccmandel: right, that's why you need the client… accept the share in the client. it's important that I don't zip the app - that'll preserve the internal symlinks22:45
mandelok22:45
mmccif it's a pain, it's not critical right now. just thought it'd be a quick test22:45
mandelmmcc, is not a pain, but I have a problem the UI has a major bug where the check box to accept the share does not scroll with the rest, do we have sdtool in the bundle?22:46
mmccmandel: we don't have sdtool in the bundle but it runs fine from source with the right pythonpath.22:48
mmccmandel: but that's already too much work. let's shelve this until later22:49
mandelmmcc, as you please, I can do that in my morning :)22:49
mandelmmcc, or even take a look at the bug, it must be simple to fix22:49
mmccmandel which bug?22:49
mmccoh the UI bug22:50
mmccsure22:50
mandelmmcc, yes, the UI bug22:50
mmccright now I'm concerned that copying a big .zip into my u1 folder did not seem to generate the right events to trigger an upload…22:50
mmccit looks like the same bug I had before, with a create and no matching modify, but I'm using the new code…?!22:51
mandelmmcc, anyway, I just managed to merger your work with gatox and upstream, there are some failing bugs but is not dramatic, most of the work went on changing the code so that if other users dont change the code the behaviour is the same (mainly for gatox work)22:51
mandelmmcc, is that with the changes you added?22:51
mandeldammed..22:51
mmccmandel: yes, unless I'm doing the packaging wrong. I'm running the test script now to see what's up22:52
mandelmmcc, how is the blessing work going, the deadline is a hard one so we should deliver something that works..22:52
mmcchm, I checked and the .pyc inside the site-packages.zip in the packaged app has my new debug strings in it. ugh.22:53
mmccmandel, I have a ctypes version of the SMJobBless sample almost working now. todo is to code sign the sample, make sure that works then move that code into u1-cp and codesign u1-cp and the fsevents daemon.22:54
mmccthe problem is that it doesn't give useful errors when the code signing is wrong, so it's going to be annoying to make sure it works - because code signing python .apps is not documented22:55
mandelmmcc, fuuu we are always fighting against the world..22:55
mmccthat's one reason why I stayed up last night working on the fsevents.py stuff, I wanted to have that working in case the code signing was difficutly22:56
mmccer, difficult22:56
mandelmmcc, is been two years and we always have had problems like this outside ubuntu, well, we will just get wisher22:56
mandelmmcc, ok, I'll work hard on the fsevents then as a back up of the back up he22:56
mmccok mandel. I'm going to do a quick test to see what's up with copying in a 35MB .zip - why my changes didn't catch that - and then go back to code signing22:57
mandelmmcc, ok, let me know what you find, I'm running the fsevents tests with all the changes and seeing funny things lie PyCObject_AsVoidPtr called with null pointer.. I'll see what is going on22:58
mmccmandel: ok. good luck :)22:59
mandelmmcc, very appropriate thing to say at 1 am hehehe22:59
mandelmmcc, we are also getting deletes with no delete or rename flag.. bummer23:00
mmccmandel, that's the "HUH" string I put in?23:01
mandelmmcc, yep23:01
mmccthere's a chance that's not actually an error. I put that in because I expected there to be either a remove(aka delete) or rename flag, but there might be another reason… should probably be some more info printed in that case to figure it out23:02
mandelmmcc, I'll put my money is some stupid attr changed23:02
mmccmandel, don't put too much money - I think that message only happens if there's a file in the snapshot that isn't in the observed set. attr changes shouldn't do that23:03
mandelmmcc, hm.. I really prefer the daemon way of doing things, at least I fully understand how it works23:04
mmccwe should probably copy that raw_events dict in my debug script into the main script to let us print the flags as text there…23:05
mandelmmcc, I would say even add logging to the lib, there is no single way to see what is going on23:05
mmccmandel: couldn't hurt. it'd certainly be nice23:06
mandelmmcc, how can it be that I'm getting 3 events when a file is created, create, modify and None? that looks funny23:06
mmccmandel: sounds funny too. is there something you can paste?23:07
mmccremember there's always garbage events from .DS_Store…23:07
mandelmmcc, found the issue, I did something stupid in the merge23:08
mmccmandel: ah, that's good23:08
mandelmmcc, at least one more green test..23:08
mandelmmcc, im a few sec away, I need to get a drink, this weather is crazy is 87 F at 1 in the morning..23:12
mmccmandel: that's awful.23:15
* mandel back23:15
mandelmmcc, is just crazy.. and I was running at 96 which explains why I nearly collapsed23:16
mmccyeah, got to be careful about that…23:17
mmccmandel: on my .zip experiment I am missing a modify event. I also got an instance of 'create detected but event not marked as create', which was surprising. it looks like there are some cases where a file being copied by the finder is reported as a rename instead of a create/modify...23:33
mmcc(in which case, we might need to check the flags for rename if we detect a create from the snapshot, and issue an upstream modify then too)23:33
mandelmmcc, should we do a create, modify and rename? or just create and rename?23:34
mmccmandel: not sure… first I need to reproduce this :\23:35
mandelmmcc, this fsevents lib is starting to be a little disappointing23:37
mmccmandel, agreed.23:41
=== eu is now known as Guest91297
mmccmandel, my "HUH delete detected with no delete or rename flag" message is brain damaged - it's printed when the removed flag is not set *and* the renamed flag is set. it should test if they're both not set, which should not happen23:47
mmccI plead early AM hacking23:47
mandelmmcc, ok, so is not a huge problem, I'll fix that in my version23:49
mmccalso, I've reproduced my .zip dragging issue. another thinko on my part, if you *move* a file in the finder into the watched dir, you get a single rename event. just rename, no create or modify.23:50
mmccif you *copy* a file into the watched folder you get create+modify - either two events or one coalesced event23:50
mmccthis all makes perfect sense :)23:50
mandelmmcc, believe it or not it does, because the same happens on windows but you get amoved_to with out a moved_from or a mmoved_from without a moved_to :(23:51
mandelmmcc, I'll jot this down so when you get a rename event and is not in the snap we get a create + modify23:52
mmccmandel: I'm testing a fix now, it's going to be short. are you using bzr for this or just re-doing the changes in a git repo for upstream?23:52
mandelmmcc, I'm using git because we where outdated, but use bzr and i'll use patch to get them, is not a problem23:53
mmccmandel: ok will do23:54
mandelmmcc, also, if we can push all this to upstream better, I don't want to maintain yet another lib23:54
mmccmandel: agreed.23:54
mmccalthough I don't think it's all that actively used. we might be the de facto maintainers even if upstream is taking our patches23:55
mandelmmcc, it was updated 2 months ago.. or so it says one file in github..23:55
mandelmmcc, but yest, I fear the worst.. tests have not been changed for about 3 years23:56
mmccmandel: yeah, I looked at the github commits, there's one guy who committed a couple minor changes, including one that copies the > instead of != bug from mtime into a check for atime23:56
mmccconsidering how noticeable these bugs should've been, that leads me to believe that people are only using this for hobby projects or something23:57
mandelmmcc, yes, it does smell a lot23:58
mandelmmcc, I think I did fix that != is that with the IN_ATTRIB event?23:58

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