/srv/irclogs.ubuntu.com/2010/10/23/#bzr.txt

=== konr is now known as konr-temp
pynonoirhi there. Should I set an incomplete bzr bug as new once completed ?08:51
pynonoir(on launchpad)08:52
vilapynonoir: no, wait for an answer from someone that will set it to confirmed and set the importance08:53
vilapynonoir: what's the bug number ?08:53
pynonoirhttps://bugs.launchpad.net/bzr/+bug/66510008:53
ubot5Launchpad bug 665100 in Bazaar "bzr+http does not send x-www-form-urlencoded data (but pretends to) (affected: 1, heat: 6)" [Undecided,Incomplete]08:53
vilaha, this one, the mysterious :)08:54
pynonoir:)08:54
pynonoirit's because of urllib08:54
vilaamazing08:55
vilapynonoir: would you like to write a patch for that ?09:01
vilapynonoir: Can you try http://paste.ubuntu.com/518575/ ?09:08
pynonoirvila: trying that patch09:16
pynonoirvila: I probably won't have time before tonight09:28
vilapynonoir: nevermind, I just finish writing it with tests and also handling pycurl, thanks for reporting it, its' .... amazing nobody encountered the issue before09:30
pynonoirtoo fast for me :)09:31
vilapynonoir: what OS are you using and why still bzr-2.1.2 ?09:31
pynonoirthanks09:31
pynonoirdebian testing09:31
vilapynonoir: hehe, np, I'm still drinking my first coffee and was really curious09:31
pynonoirwell, i probably need to uprade09:31
vilahmm, yeah, or run from sources09:32
vilagrr, I wish we have a better answer for that, it's a shame we can't build packages for debian in ppas like we do for Ubuntu...09:33
vilapynonoir: can you mention that (debian testing) in the bug report ?09:33
pynonoirnp, i'm not a bzr power user and 2.1 is probably good enough for me09:34
pynonoirwhich bug report ? 665100 ?09:34
pynonoirwhat for ?09:35
vilapynonoir: so we don't forget to backport it to  2.1 or 2.2 (I've forgotten again the rules that apply here to ensure you get the fix from your usual repo )09:37
vilapynonoir: said otherwise: give us feedback about the bug and tell us how you get the fix whatever the way you use09:38
vilapynonoir: this will help people that encounter the same problem, bugs are often used for that09:39
pynonoiri'll do it but I bet that nobody will notice this one for a long time ;)09:39
vilahehe, you never know, once a bug starts to manifest itself, it has a tendency to spread :)09:40
pynonoirI saw it because there was also a bug in a wsgi framework I'm using09:40
pynonoirthis framamework re-encoded it with urlencode09:41
pynonoirbut it could not be reverted09:41
vilapynonoir: what are you using bzr for here ?09:43
vilapynonoir: https://code.edge.launchpad.net/~vila/bzr/665100-content-type/+merge/39194 is up for review09:43
pynonoirvila, I was starting a forge for bzr projects with fine grained access levels to branches, over http09:45
vilapynonoir: interesting ! You should write to the ML for feedback, we don't have yet a definitive good answer to this kind of setup and several people have already ask for such a feature09:47
vilapynonoir: with different setups, but I'm sure discussing yours could help09:48
pynonoirvila: yes, I just want to have something to show up before talking too much about it09:49
pynonoirand i don't have a lot of time to hack with it09:49
vilapynonoir: no problem, take your time :) And happy hacking !09:50
pynonoir:)09:50
pynonoirty09:50
dnivrahello. I just filed a bug at launchpad https://bugs.edge.launchpad.net/bzr/+bug/665560. I downloaded the source of bzr and found that almost all errors do not give any GUI feedback. I was just wondering if this is an implementation feature?14:50
ubot5Launchpad bug 665560 in Bazaar "bazaar preferences window closes immediately on opening (affected: 1, heat: 6)" [Undecided,New]14:51
dnivrathe problem arises because the details are not set-"bzr whoami". hence the preferences window doesn't open.14:52
NET||abusehey there, i'm on windows at home (due to a laptop return to my old employer) and branching code from my server hits a problem when it reaches the symlink i put in there :(18:36
NET||abusei guess you shouldn't track symlinks18:36
NET||abuseproblem none of the files are getting put out to the working copy.18:36
NET||abusethe .bzr directory is created, just no files.18:37
NET||abusebzr: ERROR: Unable to create symlink 'system' on this platform18:37
NET||abusegoddamn windows18:37
NET||abuseso how do i get my code out of the repo??18:39
NET||abusehow can i pull the code out of the branch and ust ignore symlinks?18:51
NET||abuseinfact, if i have the branch in the local background repo( .bzr/ directory) but no working copy files in the location, how do i get at one particular working copy path ? eg, my projects /assets  path is fine, it's just there's a /framework   symlink in the root dir, but ijust specify the /asets dir can i just ignore any other paths?18:55
NET||abuseok, so i'm on windows, a repo has 1 symlink on the root dir, how do i just get all the dirs of a branch that have no symlinks?20:56
RenatoSilvaThe authenticity of host 'bazaar.launchpad.net (91.189.90.11)' can't be established.21:11
RenatoSilvahow to be 'sure' it's the right host?21:11
RenatoSilvaconnect through https and check if "fingerprint" matches?21:12
jamhere is my fingerprint: 024 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89 bazaar.launchpad.net,82.211.81.254 (RSA)21:14
jamdifferent ip address, though21:14
RenatoSilvahow to actually check the fingerprint? I thought it would be listed somewhere in the website through https (assuming the server is not compromised of course)21:16
jamRenatoSilva: I don't know that the ssh fingerprint is going to be available via ssh21:16
jambut when you connect for the first time, it should tell you what it thinks the fingerprint is21:16
RenatoSilvawhat do you mean21:19
jamRenatoSilva: when I connect it says "the fingerprint of the server is XXXXX are you sure you want to connect"21:26
RenatoSilvaright, and how can I trust it is the real fingerprint, that is, no one is on the middle changing the original one?21:29
jamRenatoSilva: well, you can compare it to the one I just pasted.21:29
NET||abuseok, so i'm on windows, a repo has 1 symlink on the root dir, how do i just get all the dirs of a branch that have no symlinks? or just exclude the symlinks?21:30
jamNET||abuse: afaik, it isn't directly possible. there is a 'bzr-win32symlinks' plugin that you can try21:30
RenatoSilvajam: you could be exactly the cracker trying to fool me21:30
jamRenatoSilva: yep.21:31
jamdepends on how paranoid you want to be about ssh21:31
RenatoSilvajam: I don't think it's paranoid21:31
RenatoSilvajam: it's just about using the feature correctly21:31
jamRenatoSilva: it is a paranoia feature. And you have to decide what your risk vs reward tradeoff is worthwhile21:32
jamif I was going to be sharing my deepest darkest secrets, then I would worry21:32
RenatoSilvajam: otherwise you're fooling yourself with a false sense of security21:32
jamif I'm publishing source code that *is going to be free and in the open anyway* I don't care about pushing it to a site that might publish it...21:32
RenatoSilvajam: bzr server could be a hack stealing my sensitive data21:33
jamRenatoSilva: well there you have to decide how much you trust your client...21:34
jamyour local 'ssh' process could be a hack21:34
RenatoSilvajam: I just think there's a simple solution for that: put the fingerprint somewhere in the website through https21:34
jamRenatoSilva: makes sense, but it isn't anywhere on launchpad that my quick googling found21:35
jamup to you21:35
RenatoSilvaput it? no, some admin21:35
NET||abusei pulled down the win32 symlinks bzr plugin, i put it in /users/me/AppData/bazaar/2.0/plugins/22:18
NET||abuseit's not loading seemingly.22:20
mgzNET||abuse: wow, how long have you been trying to branch your symlink?22:23
NET||abuseahh, on and off all afternoon :)22:23
mgzif it's a public branch, I'll just branch it for you, delete the symlink, and give you a link.22:23
NET||abuseit's a saturday :)22:23
NET||abuseno, not public22:23
NET||abusea site i biult for a friend good while back22:24
mgzotherwise, you pretty much need a unix environment22:24
NET||abusearse.22:24
mgzso, cygwin, or a vm, or a nix box.22:24
NET||abusehave to open up the lil' laptop oh nightmares.22:24
mgzand yes, this sucks.22:24
NET||abusecould export it on the server then download22:24
NET||abusehmm22:24
NET||abusebut then' i'd not be ableto commit the changes to the site inside of bzr so effectively22:25
mgzif you can ssh to the server, make a branch there, delete the symlink, commit and branch that.22:25
NET||abuseSUCKs that my old company wanted my linux laptop back.22:25
NET||abuseeh, that's  aperfectly reasonable approch, so obvious22:25
NET||abusegod i hate the windows tool set, putty.exe    yuch22:26
NET||abuseI WANT MY LINUX ENVIRONMENT BACK22:27
NET||abusehow can i  just expose a target directroy within my branch in the working copy?22:28
NET||abuseok, never mind, did what you suggest.22:30
NET||abusebut i have the bzr branch downlaoded, but none of the files are in the working area, they're all in the db in the .bzr/ directory22:30
NET||abusei do not want to download 800MB of repo again.22:30
NET||abusehow can i get it to output the files now?22:31
NET||abusewhen i do bzr status,, i get a huge list of files, but no idea what the heading they're all in is about?22:33
NET||abusethe cmd.exe buffer is only 999 lines long.22:33
NET||abusecan't extend it.22:33
mgz| more ?22:35
NET||abusewindows, not linux22:35
mgzcmd has more just not less22:36
mgzyou should just be able to do `bzr pull` if you updated the branch on the server22:36
NET||abuseohhh, haha, didn't know windows had that.22:36
NET||abuseyeh, i pull'd but the files are only in the background branch,22:36
NET||abusenot out where i can edit them.22:36
NET||abuseahh, it says all those files are removed?22:36
NET||abusewhich isn't the case22:37
NET||abusethe whole project is apparently "removed"22:37
mgzprobably just an artefact of of failing to create the working tree22:37
NET||abuseexactly what i'm thinking now.... hmm, ok , so how to un "remove" everything?22:37
mgzonce the symlink is gone in the latest revision, `bzr revert` will get your tree back22:37
NET||abusejust tried that22:38
NET||abusebzr: ERROR: No final name for trans_id 'new-10'22:38
mgzthat's... interesting22:38
NET||abusefile-id: None            root trans-id:'new-0'22:38
mgzyou did the pull?22:38
NET||abuseyes22:38
NET||abusei did pull, i tried pull, then tried revert, tried pull again, revert again.22:39
NET||abusenothing.22:39
mgzwhat does `bzr log -l 1` say?22:39
NET||abusegives me the log from the server where i removed the symlink22:40
NET||abuseand the previous log from work22:40
mgzokay.22:40
NET||abusewhere i fixed a php issue22:40
NET||abusealthough in the same message as the last log.22:40
mgznew idea:22:40
NET||abuse...22:41
mgzdo `bzr branch . ..\new_copy_of_branch`22:41
mgzso you create a new local branch, but without redownloading 800MB22:41
NET||abuseye, giving that a gol22:42
NET||abuseahhhhrrrrggg22:42
mgz...same error?22:42
NET||abusesame error unable to create symlink22:42
NET||abusebut i removed that damn sim link and commit ed it on the server22:42
mgzmeph, the local branch has apparently not picked up that rev.22:43
mgzokay, how about this22:43
mgz`bzr branch --no-tree . ..\another_new_branch && bzr pull --remember url:original_branch && bzr reconfigure --tree`22:44
mgzget me?22:44
mgzgra22:45
mgzchange the cwd between step 1 and 2.22:45
NET||abuse...22:45
mgz`bzr branch --no-tree . ..\another_new_branch && cd ..\another_new_branch && bzr pull --remember url:original_branch && bzr reconfigure --tree`22:45
mgz(sorry)22:46
NET||abuse:P22:48
NET||abuseone sec.22:48
NET||abuseI hate windows22:50
NET||abuse2 people in this world need to die22:50
NET||abusejobs and gates22:51
NET||abusegrrrrr22:51
NET||abusearrrggggg22:57
NET||abusenope, on the last step, bzr reconfigure --tree    it throws that damn error agian22:57
mgzwhich one? symlink or trans-id?22:58
NET||abusesymlink23:00
mgz...and log shows that the last rev is the one where you removed the symlink?23:00
NET||abuseyep23:00
NET||abusecan i hire some terrorists to bomb redmond now?23:01
NET||abusenot only that but the putty  TCP_KEEPALIVE doesn't work....23:01
NET||abusedamn ssh session to the server keeps dying.23:01
mgzokay, I'd double check that the top rev on the server really has no symlinks, and if you missed one, commit and pull again before doing the reconfigure.23:02
mgzotherwise... out of ideas.23:02
NET||abusehmmm, wait.23:03
NET||abusethe log is not the same number23:03
NET||abusethe server is on rev 44, the local is only 43,23:05
NET||abusearrrg,, ok,,  tried that 6 times before,,23:05
NET||abusefinaly pull worked23:05
NET||abuseand revert worked now23:05
NET||abusebloody hell.. what a mess23:05
NET||abusemgz, thanks for all that.23:05
mgzcool.23:06

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