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

andreas_Hey everyone.00:19
andreas_ew, opless.00:19
* alecu hates faulty PyQt versions on windows.00:37
alecuand eod, btw.00:37
andreas_why use windows? :)00:53
=== jamesh__ is now known as jamesh
JamesTaitMornin' all! :)08:48
=== zyga is now known as zyga-afk
gatoxgood morning10:11
=== daker__ is now known as daker_
=== daker__ is now known as daker_
=== zyga-afk is now known as zyga
ralsinagood morning!12:23
gatoxralsina, hi here too! :P12:24
ralsinahello at work, gatox! :-)12:25
alecuhello all!12:54
* alecu has just finished packing the bag for PyCamp. Half of it is board games :P12:55
gatoxalecu, hi!!12:55
gatoxalecu, i pack mine too.... i don't know how i put everything in there... but i did :P12:55
alecuralsina: so, what did the doctor say? feeling any better?13:00
ralsinaalecu: "have some ibuprofen, drink liquids and be a man about it"13:00
ralsinaalecu: that's doctorspeak for "who knows what you have, what am I, a psychic?"13:01
ralsinabut yes, a bit better13:01
alecuralsina: so, that means you'll be the vector for the pycampflú! yay!13:02
ralsinait's a dirty job, but someone has to do it13:02
ralsinacall me patient013:02
alecuwe've never had one of those in the pycamp! we are getting near uds, awesome!13:02
ralsinathis pycamp is one deci-UDS :-)13:03
alecuralsina: I'll call you patient0()13:03
ralsinaalecu: I have __call__ implemented13:03
alecu"a deci-UDS". That's quite an accomplishment, yes!13:04
ralsinaalecu: you in veronica already?13:04
alecuralsina: not yet! I'm eagerly waiting for 6.20 pm, when I've got to board facundobatista's car.13:05
ralsinaI am getting xip, gatox and diva tonight at home and we leave at 6AM tomorrow13:06
gatox\o/13:06
* gatox is so excited! his first pycamp!13:06
alecuralsina: awesome! so you start your small pre-pycamp tonite too!13:07
alecugatox: they say the first time it always hurts...13:07
ralsinait's an idea13:07
gatoxalecu, ouch....13:07
alecu(since mandel it's out, I get to do the bad jokes)13:07
gatoxjoke!13:07
alecuralsina: btw, I've got good/bad news about the authenticated proxy bug you found on askubuntu... bug 102109813:08
ubot5Launchpad bug 1021098 in Ubuntu One Windows Installer "Installer 3.0.2 can't use an authenticated proxy" [High,Triaged] https://launchpad.net/bugs/102109813:08
ralsinaalecu: yes, Qt 4.9???13:08
gatoxDo you know what Darth Vader is looking for in the freezer?13:08
ralsinagatox: I know!13:08
alecuralsina: pyqt 4.9. Which, afaik, means qt 4.8, right?13:08
gatoxralsina, don't spoil the joke for alecu13:08
ralsinaalecu: right13:08
ralsinagatox: "joke" he said! jajajaja13:08
gatoxjejeje13:09
alecugatox: "helado oscuro"13:09
gatoxohhhh.....13:09
ralsina"Porqué Darth Vader siempre pide helado de chocolate?" (misma idea)13:09
alecugatox: it's an old one! two or three days old already!13:09
ralsinagatox: also, you said it on twitter13:09
gatoxyes.... i was expecting that you don't read what i twit13:10
gatoxjeeejej13:10
alecugatox: sorry to dissapoint you :-)13:10
gatoxalecu, maybe, just MAYBE, i'll be able to bring this (but ninja-style): http://www.reclamstation.com/enews_images/pulseras/EMBOSSED_WRISTBANDS_ST.JPG as a gift for everyone at pycamp13:13
ralsinagatox: nice (although I can't use them, can't stand having things on my wrists)13:18
ralsinaand that includes buttoned sleeves13:18
gatoxralsina, not my case: http://yfrog.com/nunzdptj - http://yfrog.com/ntvttulj13:20
gatoxjeje13:20
ralsinaclearly13:20
alecugatox: I don't like to wear bracelets nor watches either...13:22
gatoxwatches me neither.... but i love to wear silicon bracelets :P13:22
dobeyhmm13:28
dobeycmake == suffering14:12
dobeyralsina: doing "cmake .. && make" in a subdir fails in u1db now :-/14:12
ralsinadobey: looking14:13
dobeycan't run python setup.py, and can't find u1db/u1db.h14:13
ralsinadobey: the setup.py error is when trying to set the version14:14
ralsinadobey: change it to execute_process(COMMAND python ${CMAKE_SOURCE_DIR}/setup.py --version14:15
ralsinaI will do a branch to fix this quickly14:15
ralsinathe include error is probably something similar14:16
dobeyapparently debhelper cmake stuff uses subdir14:16
dobeyyeah, i think there's an -Iinclude that needs to be -I${CMAKE_SOURCE_DIR}/include14:17
ralsinadobey: oh, well. That used to work before, it will work again. It's mostly forgetting to account for variables in paths14:17
ralsinaright14:17
dobeyhmm14:19
ralsinathe target failing is install-python because the extension is not built.But we don't need to build it to install.14:24
ralsinaso it needs a bit of thought14:25
dobeywell we do need to build it to run tests14:27
ralsinadobey: well make check works14:28
dobeyhrmm, it didn't here14:28
ralsinadobey: after I fixed a couple of include paths14:28
ralsinadobey: let me push14:28
dobeyah14:28
dobeyi need to run an errand. brb14:29
ralsinadobey: lp:~ralsina/u1db/cmake4 works for make check, still need to fix python-install14:29
dobeyok, i'll check it as soon as i return14:30
dobeyi'll be back before the call14:30
ralsinacool14:30
ryegatox: https://bugs.launchpad.net/ubuntuone-client/+bug/1021037 - is it ok if i drop the logs from that bug report, was the reason found?14:38
ubot5Error: ubuntu bug 1021037 not found14:38
gatoxrye, i couldn't work on that yet, i'm working in a darwin issue14:39
gatoxrye, i'll probably do that on tuesday (i'm not here tomorrow or monday)14:40
gatoxrye, but if you want to delete the logs go ahead... i already have them14:41
ryegatox: ok, thanks, removed14:46
=== zyga is now known as zyga-afk
=== zyga-afk is now known as zyga
mmcchi folks. so what's the right way to import winreg now? I saw something a while back about winreg vs. _winreg ...14:51
mmcclooks like in sso we do import winreg and fall back to _winreg as winreg. is that the right way? (why?)14:53
dobeyoi15:00
ralsinammcc: versions changed15:00
ralsinateam, team call!15:00
dobeymmcc: python3 renamed the module15:00
gatoxalready there15:00
dobeymmcc: so the try/except is needed15:00
dobeyralsina: where at this time?15:00
ralsinadobey: let's go trditional and mumble15:01
dobeyok15:01
ralsinafunny, mumble didn't like my password15:01
ralsinaAnd now it does15:01
mmccbe right there15:02
ralsinathisfred: team call!15:03
=== salgado is now known as salgado-lunch
alecugatox: shall we mumble about what you mentioned just now?15:28
gatoxalecu, ok15:28
dobeymmcc: re: constants for those app things, i suppose they'll have to be in each individual app code, or in the project future formerly known as ubuntuone-windows-installer15:28
mmcchmmm15:29
mmccwell, if we put the path-finding code into dirspec, then only dirspec will need the constants I'm thinking of.15:31
dobeydirspec shouldn't have any references to things that depend on dirspec15:32
dobeywhat are the constants exactly?15:32
mmccstrings for packaged sub-app names, like SSO_LOGIN_SUBAPP_NAME = "Ubuntu SSO Helper.app"15:33
dobeyyeah i think that would belong in ubuntu-ssoc-client15:34
dobeyerr, s/ssoc/sso/15:34
mmccyeah, I'm not sure there's really all that much to move to dirspec here15:34
ralsinammcc: we should put the app-finding code in dirspec and pass these constants on call15:35
dobeywell, if we have N places that actually have logic to find and execute things, we should consolidate that into a single point of failure15:35
dobeybut that code shouldn't have anything specific about which apps to launch15:35
ralsinadobey: point of SUCCESS ;-)15:35
mmccso, dirspec.get_packaged_cmdline(sso_login_exe, SSO_LOGIN_SUBAPP_NAME)15:36
dobeyralsina: well, in the event of failure, we can easily determine where and why it is failing, vs. flailing about in N different places :)15:36
ralsinammcc: right, and the second argument is ignored if non-darwin15:36
dobeymmcc: something like that i guess. depends on what the output really needs to be15:36
dobeysince i don't really have any idea what exactly the expected output is for all the cases; at the moment15:37
mmccin the places I've seen, the output should just be a path to the exe15:37
dobeyi also have no idea how the 'find and run an app' logic works on osx, since a .app can literally be anywhere on the filesystem and be usable15:38
mmccdopey, there are ways to find and run an app without knowing its location, but since these are sub-apps in our package, we can just use a known path to them15:39
mmccARGH sorry dobey how do I turn this off15:39
* mmcc trades spelling errors for calling dobey dopey15:40
dobeyheh15:40
dobeyare you using an osx client that forces spell correction?15:40
mmccit's just on by default, and 10.6+ has ios style autocorrect15:41
mmccI can turn it off, but I have to turn off all spell checking instead of just autocorrect15:42
dobeyawesome15:42
dobeycan you not add words to the dictionary?15:42
dobeysurely that is needed for en_US-TX15:42
* gatox lunch!15:43
=== gatox is now known as gatox_lunch
=== ralsina is now known as Grumpy
=== Grumpy is now known as Grumpy_
mmcchuh, y'all is not flagged15:43
dobeyheh15:43
Grumpy_y'all is a perfectly cromulent word15:44
Grumpy_or maybe two15:44
mmccI told OSX to define cromulent  and it showed me the wikipedia page for "Lisa the Iconoclast"15:44
dobeyhahah15:45
Grumpy_mmcc: OSX is right15:45
Grumpy_now you can embiggen it's dictionary with it15:45
mmcc:D15:45
=== Grumpy_ is now known as ralsina
mmccsimpsons reference degrumpifies ralsina!15:46
ralsinajust that if I am the only one switching to dwarf name it's not fun ;-)15:46
ralsinaPronunciation IPA: /ˈkrɒmjʊlənt/15:46
* mmcc gets it now15:47
ralsinaenglish dictionaries are funny. In spanish words are pronounced as they are written.15:47
mmccbrb15:48
dobeyralsina: haha. good joke.15:51
dobeyralsina: how do you define dependencies in cmake? install-python needs to depend on the library being built :)15:52
ralsinadobey: add u1db in the DEPENDS line15:52
ralsinadobey: line 8515:53
ralsinadobey: ugh, looks like I broke make clean15:54
rye~.15:55
ralsinadobey: because now the version has a \n in it! :-/15:55
dobeyle sigh15:56
ryeralsina: spanish? v b j z c ?15:56
ralsinarye: yep15:56
ralsinathey all sound different15:56
ryell15:57
ralsinathat one is a digraph15:57
ralsinaif you ever have a ll it always sounds like a ll :-)15:57
ralsinathe one that's a lie is gu that may sound different depending on what's after it15:57
ralsinadobey: I'll do cmake5 fixing the version problem and the dependency in a bit15:58
ralsinadobey: https://code.launchpad.net/~ralsina/u1db/cmake5/+merge/11360616:01
mmccwindows question - why do we use the registry at all to find exes? we only use it for two of the several exe's, and they're all in the same location anyway - the reg keys both point to ${installer}\dist\exename , and ubuntu_sso.utils.get_bin_dir just uses dirname(sys.executable) for the rest16:07
* ralsina points his finger at alecu for mmcc's question. Or maybe mandel, but he's not around.16:08
alecummcc: historical reasons likely.16:10
ryeralsina: will the socket interface used on mac for IPC? will then it be used on windows too?16:10
ralsinarye: sorry, don't understand16:11
alecummcc: we had the installer create a registry key with the path to the various .exes16:11
alecurye: we are using sockets on windows, but named pipes (I think!) on darwin16:11
mmccalecu, right - but only two of them16:11
ralsinaalecu: unix domain sockets?16:11
ryeon windows that's TCP sockets with pb16:12
alecummcc: we had two at that moment in time :-)16:12
mmccalecu , rye: unix domain sockets on darwin, yes. tcp on windows16:12
alecummcc: I mean, we had to start two16:12
ralsinarye: yes, and that will stay that way16:12
mmccboth with twisted pb16:12
ryehm16:12
ryewrong statement. should be "ah"16:12
alecuoh, right. We use UDSs on darwin. And we hold UDSs for ubuntu.16:12
alecuThings are not getting clearer at all....16:13
* ralsina slaps alecu with the clarification fish16:13
* alecu shudders16:14
ryeralsina: i just want to interface with it without bringing the whole python runtime...16:17
* rye does not know what runtime to bring though16:17
ralsinarye: PB is going to hurt you there16:18
ryezeroMQ FTW, even though i have no idea why it is FTW but it ia statement i can say in any circumstance and it will non-zero impact16:20
ralsinahahaha16:21
ryethere are missing words in the sentence16:21
ralsinaLunch time, it seems16:22
dobeyok, i need to get lunch and have an appointment after. be back in a while (~1.7h)16:22
mmcchm, auto generated ubuntu_sso.constants is only useful on linux16:24
mmccwhen packaged in darwin, it contains paths to my temp staging directory16:24
mmccbtw, still not sure what happened with tarmac on this merge: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/fix-1018614-darwin-raise/+merge/112493 -- maybe when dobey gets back?16:45
=== gatox_lunch is now known as gatox
=== salgado-lunch is now known as salgado
ralsinammcc: looking...17:15
ralsinammcc: that error about unicode encoding in string declaration is about having  the magical encoding comment in strings passed to eval17:17
ralsinammcc: could be a problem with new pylint or something, don't know17:18
ralsinammcc: OTOH, the X initialization errors could mean tarmac is broken17:19
mmccyeah, I'm wondering if everything's a 'warning', what made the overall thing a 'failure'17:20
mmccok, lunch time here.17:28
joshuahooverralsina: any ideas on how to help a 11.10 user who is showing this in the syncdaemon log: ubuntuone.SyncDaemon.StorageClient - INFO - Connection lost, reason:  [Failure instance: Traceback (failure with no frames): <class  'OpenSSL.SSL.Error'>: [('SSL routines',  'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]17:29
* czajkowski hugs joshuahoover 17:29
joshuahooverralsina: i can try to recommend the symlink trick, wasn't sure if we knew of anything else17:30
ralsinanot for 11.1017:32
dobeymmcc: ./ubuntuone/controlpanel/gui/qt/gui.py:130:24: W291 trailing whitespace18:14
=== zyga is now known as zyga-afk
facundobatistaralsina, dobey, alecu, do you know a good Python GTK *3* reference?18:46
ralsinafacundobatista: I suspect with GI being the binding of choice there isn't one18:46
dobeythere isn't a good GI binding reference, no18:47
facundobatistaralsina, dobey, ok, thanks18:52
mmccdobey, thanks - I've fixed that already, wasn't sure if the other stuff needs to be fixed somehow too18:55
viesturshello18:55
viestursi am new to ubuntu-one and i have a question about the api18:56
dobeymmcc: that's the only issue i see. the stuff after that is normal stderr randomness for those tests i think18:56
viestursi want to upload a file in ubuntu-one and pupice it atonce, and then get back the link where it is publiced18:57
mmccdobey, ah ok. so can I change the status or do pep8 fixes require re-review?18:58
viesturshow do i do that in python18:58
viesturs?18:58
viestursi understand the upload part, but how to puplice it and get the link back at once18:58
dobeymmcc: just change it back to approved if you've fixed that19:00
beunoaquarius, viesturs's question is for you, I reckon19:00
gatoxpeople..... eod for me..... see you on tuesdday19:01
dobeyviesturs: the file has to be on the server and uploaded, before it can be published, i think19:01
aquariusviesturs, heya! are you on Ubuntu?19:01
* gatox is about to kill someone!19:01
dobeybye gatox19:01
dobeygatox: zombies?19:01
viestursyes on ubuntu19:01
aquariusviesturs, you'll need to wait until the file is uploaded before publishing it; is that OK?19:01
gatoxdobey, no..... people from an airline19:01
viestursthere is a tutorial how to upload it is not so complicated, but i don't get how to publish19:01
viestursofcourse19:02
aquariusviesturs, if so, then the way to do this is to use SyncDaemonTool to publish a file and get back its public URL. I'll throw together an example for you :)19:02
viestursis there a way i can get the upload progress?19:02
viestursthankyou19:02
viestursi use python19:03
aquariusviesturs, you can get notified when the file is uploaded. You can't be told (very easily) that it is 62% uploaded, though -- that's doable, if you want to do a reasonable amount of work, but do you want "it is 60% uploaded", or just to be told when it's finished uploading?19:03
viestursaquarius, the idea is to display the upload progress on launcher icon like the ubuntu one app19:04
viestursis it complicated?19:05
aquariusviesturs, ok, give me a few minutes to put an example together :)19:05
viestursaquarius, thank you :)19:05
dobeyralsina: well, u1db packages are 99.99% there19:09
ralsinadobey: awesome19:13
ralsinadobey: anything that needs fixing?19:13
viestursaquarius, one more question: when i upload the file to ubuntu one, can i upload it in a spasific folder, or create that folder if it isn't here?19:13
aquariusyoucan19:15
viesturscan you include it in example?19:15
aquariusif you create a folder inside an existing synced folder, it'll be synced19:15
viestursou19:15
aquariusif you want to create a whole new synced folder, you can do that too19:15
viesturslogic :D19:15
viestursno only inside19:16
dobeyralsina: yes, but i'm not sure what exactly. it's giving a weird error19:16
dobeyralsina: http://pastebin.ubuntu.com/1076960/19:17
ralsinadobey: looking19:18
ralsinadobey: add setuptools as a dependency, maybe19:20
ralsinaso it doesn't go to distutils19:20
aquariusviesturs, http://paste.ubuntu.com/1076964/ is a simple example. It's based on http://kryogenix.org/days/2012/04/18/publishing-a-folder-with-ubuntu-one. You will find "pydoc ubuntuone.platform.tools.SyncDaemonTool" useful19:20
aquariusviesturs, and that will soon be on one.ubuntu.com/developer as well, but it isn't yet.19:20
dobeyah, of course19:21
viestursthank you aquarius19:23
viestursyou are wery helpful :)19:23
aquariusthis is a good example of the sort of thing that I want the developer site documentation to include :)19:24
viestursyes it definetly should :)19:25
ralsinaaquarius: I fully intend to bring to the next full team sprint a bottle of nicotine, a smoke machine and a red light. Just warning you.19:26
* aquarius laughs19:27
* ralsina knows that an open bottle of nicotine would kill every person in a closed room in minutes19:27
aquariusyou want the flavourings too, otherwise it'd be horrid19:27
ralsinaand a bottle of marraschino cherries19:27
ralsinaand a blender19:27
aquariusan open bottle of nicotine would kill every person in the *country*. the stuff's really lunaticly toxic when neat :)19:27
viestursaquarius, i got an error19:39
viesturswhen i executed your example19:39
viesturspython exapmle.py19:39
viestursline 26, in create_a_file_upload_and_publish19:41
viesturs    os.rename(temp_file_name, u1_file_name)19:41
viestursexceptions.OSError: [Errno 18] Invalid cross-device link19:41
viestursmaybet i am doing something wrong?19:41
viestursand when i do ./exapmle.py i get19:42
viesturs./example.py: line 6: syntax error near unexpected token `from'19:42
viesturs./example.py: line 6: `    from dbus.mainloop.glib import DBusGMainLoop'19:42
aquariusviesturs, ah, the thing creates  a temp file and then moves it into ~/Ubuntu One19:45
aquariusyou don't have to do it that way19:45
aquariusbut I don't know where you're getting the file to upload *from* :)19:45
aquariusalso, put "#!/usr/bin/env python" (without quotes) as the first line :)19:46
dobeyeww19:47
dobey#!/usr/bin/python19:47
aquariusor what dobey said19:47
aquariusI've never quite followed why the env idea is bad :)19:47
dobeyit breaks virtualenv, and installing with specific python versions19:47
ralsinadobey: OTOH, the alternative breaks buildout, but sure, virtualenv is more important19:48
dobeywell, it exposes bugs in buildout which we have to work around :)19:48
viesturssorry but I don't get that file creation19:48
ralsinaviesturs: rename doesn't work if you are renaming from one disk or partition to another19:48
viestursou19:50
viestursi have my root in one partition and /home in another, is that the case?19:50
viestursif so, than what can i doo to fix this?19:51
aquariusviesturs, you don't have to do the rename at all19:54
aquariusviesturs, I just did that as an example of a file19:54
aquariusviesturs, you want to upload a file to U1, and then publish it once it's uploaded, yes?19:54
viestursyes19:54
viestursand then get the ling19:54
viesturslink19:54
aquariusso just save that file from your program straight into ~/Ubuntu One or something19:54
dobeyralsina: any idea about this: failed to import Cython: /usr/lib/python2.7/dist-packages/Cython/Compiler/Code.so: undefined symbol: Py_InitModule419:55
ralsinadobey: nope19:55
ralsinadobey: let me google a bit19:56
viestursi figured as much, but how do i get the link then?19:56
ralsinadobey: references I see to that error talk about using binary modules with the wrong python version, maybe a bad cython package?19:57
viestursi guess i don't understand that code very well, aquarius19:57
viestursi am still new to python19:57
aquariusviesturs, OK. the first bit, where it creates a tempfile and then os.rename()s the tempfile into your Ubuntu One folder, is not code that you need to use19:58
ralsinadobey: and/or it's not loadingthe python runtime library19:58
aquariusthe part *after* that is where you start to pay attention.19:58
dobeyralsina: weird19:58
ralsinadobey: yes19:58
aquariusviesturs, the bit at the beginning of the function was just an example -- you'd replace that with your code that creates or saves the file19:58
dobeyi'll try it on precise, in case quantal is broken20:00
viestursOK20:00
dobeynope, fails on precise too :(20:04
dobeyoh, duh20:05
dobeyneed cython-dbg too i bet20:05
ralsinadobey: I am not sure I have attempted the dbg target lately20:05
dobeyyup, cython-dbg fixed that20:08
ralsinacool20:12
dobey"When complete: a moment ago (estimated)"20:31
dobey♥ launchpad20:31
dobeyok, gotta run. will work a bit later after i get back20:46
mmccman, what good is an IRC client with no working backlog search?20:52
mmccralsina, you still around? I see dobey just left, and alecu already emailed his adios, so my timing is impeccable20:54
alecummcc: I'm still around, thou20:54
mmccRFC: a multiproject exe-finder for dirspec: http://paste.ubuntu.com/1077115/20:54
mmccalecu ok cool, if you have a minute, take a look at that. only 58 lines of text about our exe finding issues20:55
mmccI wanted to get some design feedback before reimplementing this stuff a third or fourth time20:55
alecummcc: up to line 50, it sounds reasonable.21:00
alecummcc: I'm not sure about passing in DARWIN_APP_NAMES['ubuntu-sso-login']21:00
alecummcc: where would that dict live? I mean, DARWIN_APP_NAMES21:00
alecummcc: I'm trying to thing what would be the proper module for that dict.21:01
mmccalecu, I agree it's a bit messy. let's hash it out. I wasn't clear but I was thinking that dict would be per project21:01
alecummcc: and to work around dependency issues, too.21:01
mmcce.g., SSO client has its own APP_NAMES, since no one else needs to know that mapping21:01
mmccand the dict(ubuntuone-syncdaemon = "name for sd") lives in ubuntuone-client somewhere21:02
mmccso neither SSO nor dirspec needs to know that mapping21:02
mmccit's nice and modular but it makes calling it a little verbose21:02
mmccdoes that make sense?21:03
alecummcc: not sure I understood, I think I don't have it so clear in my head.21:04
alecummcc: what if we just pass in the module name to get_cmdline? and then in each module we define say __u1_executable__ and __darwin_app_name__21:05
alecusorry, not the module name, but just pass the module21:05
mmccwell, some modules have multiple executables - sso has ~four21:05
alecuoh, right.21:06
mmccs/module/project/21:06
mmccbut that idea would work for the app name dict21:06
mmccpass in the module, and get_cmdline can get the app name dict from the module itself21:06
alecummcc: so, let me know if you need any more brainstorming... I'll be around for 20 more minutes.21:13
alecummcc: I think it's great we get to clean up those parts of the code. Thanks for working on it! :-)21:13
mmccalecu, glad to do it. just wish I'd started off this way instead of doing a smaller fix first21:18
mmccalecu so, if this sounds reasonable: - a function get_cmdline in dirspec that does the right thing given an exe name and a module, I'll just run with that21:18
alecummcc: we need to do some cleanup, yes. But we can't clean up *eeeeverything* :-)21:18
alecummcc: it sound perfect.21:19
mmccalecu one quirk this will have, is when we call get_cmdline for syncdaemon, we will probably want to give ubuntuone.platform as the module, since that seems like a more reasonable place to put the darwin app name dictionary, as opposed to somewhere in ubuntuone.syncdaemon. what do you think?21:20
=== salgado is now known as salgado-afk
alecummcc: putting it in platform means that each platform would get its own dict21:24
alecummcc: we should be putting in platform only stuff that makes sense for a given platform, right?21:24
mmccalecu, hmm. so this dict only makes sense on darwin… I envisioned it being defined in platform/constants.py, but only for darwin...21:26
=== zyga_ is now known as zyga
mmccsame for wherever it ends up in ubuntu_sso, only define it for darwin.21:29
mmccI just looked at everywhere we use os_helper.set_application_name, to see if there was already a name mapping I could use for this, but it's only used to set ubuntuone-syncdaemon's name to 'ubuntuone-syncdaemon'21:30
dobeymmcc: can you e-mail that rfc if you haven't?21:33
mmccdobey, sure. I'll email an updated version in a sec21:34
dobeythanks21:35
mmccdobey: sent21:38
dobeymmcc: cool. i'll read over it and try to reply sometime. but need to head off for the evening now. later :)21:40
mmccok, thanks - have a good one.21:40
mmccalright, heading out. see some of you tomorrow.22:27

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