[02:54] does bzrlib.commands.Option let me have a command line option (e.g., --verbose) that results in a bool that's set according to whether --verbose is present on the command line or not? [10:02] bzr dh-make --v3 appears to fail creating the debian/source/format file. is there a way i can 'resume' it after it bails, or do i hav to do the rest manually? [10:04] http://paste.debian.net/123072/ is the output [10:04] (yes, i should tidy up the tarball a bit... but not today) [10:04] hey Kamping_Kaiser [10:05] jelmer: hi :) [10:08] on that same subject, i can pastebin bzr st or log if that helps too [10:09] Kamping_Kaiser, bzr st might be useful too [10:09] it seems like it failed to create debian/source/format [10:12] jelmer: http://paste.debian.net/123073/ [10:15] http://paste.debian.net/123074/ plugins -v if it helps too [10:18] Kamping_Kaiser, thanks [10:21] np [11:24] wonder if i should put in a bug :/ [11:48] I have setup bzr on my linux laptop with the explorer and created "feature branches" [11:48] i have installed the explorer on my windows desktop, so the question is how I can connect to the repo [11:49] D: [12:01] InFerNo_: how do you normally connect to your linux laptop from your windows desktop? [12:01] if the laptop runs an ssh server, you can branch over ssh [12:01] IP [12:02] well [12:02] as a fallback, you can always push the branch to somewhere on the net (eg lp:~yourusername/+junk/projectname), then pull from there [12:02] how i usually connect is not really a good question, I think I can say I never really connect to the laptop, unless via samba and synergy :p [12:04] if the laptop can see the windows desktop's filesystem over samba, you should be able to just branch from the laptop to make a copy on the desktop [12:06] so just copy the files over? [12:06] I think I'm missing something [12:07] you can do that, but using `bzr branch /src/... /dest/...` is better [12:07] k, i'll look into that in an hour, i've got to mow my lawn :> [12:08] in this weather? [12:08] it's "ok" here [12:08] yeah it's windy that's all [12:09] so i'm going to do it quickly before it does rain [12:09] :) [12:10] meanwhile I found this: http://doc.bazaar.canonical.com/bzr-0.11/server.htm [12:11] will read that through when I return [12:11] I guess that's what I require? [12:11] checkin/out remotely [12:11] bbl [12:22] If i ask for a source at launchpad with bzr branch, it asks me passphrase to my private key . Is that normal? [12:22] Even for bzr log it asks me my private key [12:27] brainwave92> If i ask for a source at launchpad with bzr branch, it asks me passphrase to my private key . Is that normal? [12:27] Even for bzr log it asks me my private key [12:29] pfrt started raining before i could get the lawnmower out [12:29] D: [12:30] InFerNo_, can you answer my question? [12:31] I joined this channel 30 minutes before you to ask how I can remotely pull files [12:31] so no. [12:35] i didnt get you...all i'm saying is, is launchpad supposed to ask my password when i use bzr branch? [12:35] cause the tutorials dont mention that step [12:54] how do I upload my source to launchpad, I've created the project there [12:55] from Windows that is [12:55] not Linux [12:57] dude no ones listening here....i dunno why [12:57] hi InFerNo_, brainwave92 [12:58] I've got time and they have lives? [12:58] ll [12:58] because of lunch! [12:58] lol [12:58] don't sweat [12:58] InFerNo_, see http://doc.bazaar.canonical.com/latest/en/tutorials/using_bazaar_with_launchpad.html [12:58] brainwave92: if you have given bzr your lp login, it uses ssh to connect, hence asking for the key [12:58] * jelmer waves to mgz [12:58] generally people run an ssh agent to avoid retyping the password all the time [12:58] mgz, so should i have it that way....? [12:59] i prefer typing the password....i feel secure [12:59] I keep seeing this jelmer "login to launchpad like this:" [12:59] then there's a command to enter [12:59] windows 7 is what I'm using [12:59] brainwave92: session locking is a better way of feeling secure [12:59] mgz, i am new to all this...can you explain a bit? [12:59] also, Bazaar Explorer [12:59] ^hey jelmer :) [13:00] InFerNo_: you don't strictly need to run a bzr server if you have one of a large number of other ways of communicating over lan between the two machines [13:00] which is why I was asking you about that earlier [13:00] InFerNo_: Have you tried running that command (I don't have much experience with bzr explorer)? [13:00] jelmer is a samba guru so may have opinions [13:01] in the command prompt? [13:01] will check [13:01] mgz, I'm trying to setup a way to work with some people all around the world (literally) [13:01] brainwave92: even if you retype your password all the time, someone walking up to your machine can still access your home dir, which is also likely to contain things you care about [13:02] mgz, home directory has my private keys stored in plaintext? [13:02] brainwave92: so you may as well run an ssh agent, but get in the habit of always locking your session if you wander away [13:03] no, but it has various application caches and things like your browser passwords in plain text, and other private wotsits generally [13:03] mgz, so session locking is basically locking the comp? with screen lock? [13:04] InFerNo_: one of the easier ways of doing that is to host the branch on launchpad (or some other internet-accessible machine) [13:04] ^yeah [13:04] lol? [13:04] hence my other questions ;) [13:04] I'm getting there [13:04] InFerNo_: am I failing to keep up here? :) [13:04] yes [13:05] :D [13:05] I have already registered with launchpad and created the project, I was just trying to get the files up there with Bazaar Explorer [13:05] i'm trying the commands [13:07] play around and yell again if you get stuck then [13:07] C:\Windows>bzr launchpad-login infy.inferno. bzr wordt niet herkend als een interne of externe opdracht, programma of batchbestand. [13:07] no go jelmer [13:08] InFerNo_: ah, you're Dutch :) [13:08] InFerNo_: I'm not really familiar enough with the windows installation to know where it installs [13:09] usually C:\Program Files\Bazaar [13:09] in bzr explorer, under Bazaar/All Commands... you can type in a command and run in there [13:10] there doesn't seem to be an easier way from browsing around the config stuff confusingly... [13:10] dOxxx, the windows way...whole software more or less at one place. Just search na! [13:10] got it [13:11] Although, I would have expected bzr to have been added to the PATH [13:11] yes [13:11] it asked and i allowed it [13:12] so, why (if my reading of dutch is accurate) is it saying it can't find bzr when you run it at the cmmandline? [13:12] was the command prompt you used already open before you installed bzr? [13:13] dOxxx, i doubt if its bzr in windows is it? [13:13] it might be some other name [13:13] the commandline tool in the windows install is bzr [13:13] I run Windows 7 [13:14] thats a good guess, dOxxx must be an expert in confusing windows situations [13:14] anyway, InFerNo_, have you got something pushed to launchpad yet? [13:14] command prompt windows don't see environment variable changes made by other apps after the prompt was opened [13:15] so if you install something that changes the environment, you have to close and re-open all your command prompt windows if you want them to see that change [13:15] it's pretty much the same as in Linux [13:15] no mgz :p [13:16] where are you stuck InFerNo_? [13:16] I have a project locally [13:16] I want it on launchpad so we can work on it together [13:16] i've created the project there [13:16] that's where i'm stuck [13:16] to get the files on launchpad [13:16] okay, so inside the bzr explorer branch view [13:16] and bzr isn't working from the command line apparantly [13:17] yes [13:17] one of the buttons at the top is "push", it's a green arrown pointing upwards [13:17] yes i pushed it [13:17] it asks for the locaion [13:17] location* [13:18] okay, so that you can find from the launchpad webpage for your project [13:18] been looking around [13:18] what's your project name? [13:18] it's generally something like lp:projectname [13:18] dday [13:19] so push to lp:dday [13:20] error [13:20] sec [13:20] synergy isn't moving the clipboard [13:22] bzr: ERROR: Invalid url supplied to transport: "bzr+ssh://bazaar.launchpad.net/+branch/dday": no supported schemes [13:22] hm, I've not actually started a project from scratch with launchpad, you may just need to do something on the website. currently has a pointer to a help page. [13:22] ah, ugh [13:22] hmm [13:22] what version of bzr do you have installed? [13:23] 2.3.3 [13:23] that might be an ssh setup thing. [13:23] in windows? [13:24] you don't have a key registered with launchpad currently [13:24] i see [13:24] there's a help page for this... [13:24] horrible error message though. [13:25] https://help.launchpad.net/Code/QuickStart [13:25] refer to that as you go [13:25] where's the ssh guide... [13:26] https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair [13:27] you can copy the key from your linux laptop (I'm betting you already have one there) to your windows machine if you like. [13:32] invalid public key [13:32] jezus christ lol [13:32] I'll never get the main developer persuaded D: [13:33] the help page links a question that may help you there. [13:34] ssh setup is a one time cost that pretty much every developer needs to do, telnetting across the public net is just a bad idea [13:45] bzr: ERROR: Connection error: Unable to authenticate to SSH host as infy-inferno@bazaar.launchpad.net supported auth types: ['publickey'] [13:46] okay, that's progress [13:46] :) [13:46] and i've gotten the command prompt to work if i do it straigt from the program files folder [13:49] so (this is the windows box right?), you probably either want to run pageant and load the key, or put the passphrase you used for the private key in a conf file (not generally sensible, but doesn't hurt for testing) [13:50] ok [13:50] bzr explorer Settings/Credentials opens the right file for you, and add password=... [13:51] ...is that right? I'm having doubts. [13:52] Connected (version 2.0, client Twisted) [13:52] bzr: ERROR: [Error 5] Toegang geweigerd: 'c:\\users\\win7\\appdata\\local\\temp\\tmplxzxnt.pag' [13:52] really the launchpad help should cover this, I'm used to my own way of doing all this [13:52] Toegang geweigerd = access denied [13:52] i wasn't here if the launchpad help would've been clear [13:53] the launchpad help mostly assumes you use ssh all the time anyway I think [13:54] it's not much good having a page on generating keys if it doesn't also tell you how to use them, or at least point you at the putty help [13:54] I guess step 6 is sort of it... [13:54] idd [13:54] but somehow you've got a file in temp that bazaar thinks it needs to access [13:55] alright, it's pretty clear this is going nowhere, i've spent all afternoon [13:55] any alternatives [13:55] for easy collab? [13:55] :p [13:56] basically you and whoever else just need a common place to put things. [13:56] and check if the file got changed [13:56] somewhere you can ftp to and both have the password would be fine [13:57] that's a hassle for things like this [13:57] dday is a quake 2 mod [14:00] if you right click on the pageant icon in your taskbar and to view keys, do you see the key you gave launchpad? [14:02] I'm sure there must hae just been a slip up when you were following that ssh guide. [14:02] once you get over that hump, the rest is easy. [14:03] also, revert that config change I mentioned earlier if you did it. [14:06] yes i added it to pageant mgz [14:06] i'll revert it :) [14:06] rebooting [14:06] okay. [14:10] no go [14:10] the files in the temp folder are created by pageant [14:10] hence the .pag extension [14:12] pagent off, ssh error, pageant on, can't read .pag file [14:14] can you do from the command line `plink infy-inferno@bazaar.launchpad.net` and tell me what it prints? [14:14] plink can be found in the PuTTY dir whereever you installed it [14:15] so, eg, `cd "Program Files\PuTTY"` then run that command [14:19] just a second, I was starting to give up on Windows so I'm trying it in linux and I've gotten further [14:19] 1 sec [14:19] it is easier on nix. [14:19] bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/%2Bbranch/dday/". [14:20] thaty's good. [14:20] what command did you run to get that? [14:20] i did that in bazaar explorer :> [14:20] with push? [14:20] no [14:20] with "Branch" [14:21] good point [14:21] so, open your local branch, then push to lp:dday [14:22] 1 more thing [14:22] to start a new repository [14:22] what do I pick best [14:23] you mean from explorer's "workspace model" options? [14:23] Colocated branches, Feature branches, plain branch or shared repository [14:23] I'm guess features..? [14:23] I think feature branches are least confusing [14:24] the idea there, is when you want to work on a new idea, you create a new branch inside your shared repository, commit as you go, and only when you're done merge it into the trunk branch and push it up to launchpad [14:26] alright no errors [14:26] i think it's pushed [14:26] :D [14:27] yeah that's exactly what's needen mgz [14:27] if i'm working on a jetpack, and he's working on a weapon we don't want to overwrite each other's changes [14:27] right. [14:29] and you can also be working on two things yourself locally, and not have either depend on finishing the other one first [14:34] 1 more quick question [14:34] how do I give the current "version" a revision number? [14:36] you can generally just use the number bazaar counts up for you, but to do a release or something you can tag a numbered revision with a name [14:37] well, the current version number is at 5052 [14:37] 5.052 [14:39] well, how you name your versions yourself is mostly a matter of taste, but you can add a tag every time you bump that number [14:39] I wouldn't go overboard though, the revision numbers are often all you'll need, and they (mostly) just count up from 1 [14:40] heh weird, on launchpad it says "this branch is empty" [14:41] did you add files and commit in your local branch before pushing? [14:41] bzr explorer gives you a pretty good overview of the state of your branch [14:42] yes they're there [14:42] all the status' say unrevisioned [14:43] that's why i asked [14:44] got it [14:44] something weird [14:45] there's a dialog where are the files are selected [14:45] deselected them all, pressed ok then reselected them all and pressed ok again, now it works [14:45] site still says no files are up lol [14:46] when you initialized the branch in your working direcoty, did you "Add" the files and then "Commit" them? [14:47] once you have done that, then Push to lp again [14:47] yes [14:48] "Working tree is up to date at revision 1." [14:48] code.launchpad.net/dday says the tree is empty [14:48] I see the files [14:48] http://bazaar.launchpad.net/~infy-inferno/dday/trunk/files [14:48] no i just did it again while i replied here :) [14:49] the lp website may take a minute or two to update after you push stuff [14:49] good to know [14:49] alright [14:49] thanks for all the help so far, I'm going to start fresh on the windows part, so I'll stick around [14:56] works like a charm on XP [14:56] heh [14:56] trying again on 7 [15:01] no go on 7 [15:01] :/ [15:03] what's the problem on 7? [15:04] bzr: ERROR: [Error 5] Toegang geweigerd: 'c:\\users\\win7\\appdata\\local\\temp\\tmplxzxnt.pag' [15:04] sounds like pageant may be running as a different user to bzr or something to me. [15:04] both started like normal [15:04] try that plink command I suggested earlier [15:04] clicking the icon :') [15:07] http://pastebin.com/VGsE58Sm mgz [15:07] was that with pageant running and the key added? [15:08] yes [15:08] so putty's tools themselves aren't seeing the pageant and its loaded keys [15:09] apparantly [15:10] may I suggst shutting down pageant and checking in task manager that there is no other pageant process? [15:10] no other pageant process is running [15:10] showing all users [15:10] then restart pageant, add they key and try the plink test again [15:12] C:\Users\win7\Downloads>plink infy-inferno@bazaar.launchpad.net [15:12] Using username "infy-inferno". [15:12] No shells on this server. [15:13] aha [15:13] ok, try bzr now [15:15] bzr: ERROR: [Error 5] Toegang geweigerd: 'c:\\users\\win7\\appdata\\local\\temp\\tmpjadhy0.pag' [15:16] ... [15:16] mystery [15:16] :sadpanda: [15:16] but at least doing BZR_SSH=/path/to/plink should now work [15:17] InFerNo_: you're using bzr explorer, right? [15:17] yes [15:17] ok, set a system env variable called BZR_SSH to the path to the plink executable [15:17] and then restart bzr explorer [15:18] created [15:19] try to branch again? [15:19] bzr: ERROR: Unrecognised value for BZR_SSH environment variable: BZR_SSH=C:\Users\win7\Downloads\plink.exe [15:20] hmmm [15:21] bleh. try setting it to just "plink" without the quotes [15:21] and make sure plink is in the system PATH [15:22] that... shouldn't matter [15:22] is the path right? C:\Users\win7\Downloads\plink.exe doesn't seem likely [15:23] you can test by typing %BZR_SSH% in a new command prompt, should give you the plink help [15:24] not recognized [15:24] the path is correct because I copied it [15:25] I'd double check. [15:25] just did [15:25] same [15:25] I'd expect it to be in "Programs" not "Downloads" [15:25] can it be installed? [15:25] well, putty is just a zip [15:25] not an installer [15:25] idd [15:25] so you can put it wherever [15:26] and i've put it in downloads [15:26] ...I remember having an installer. [15:26] you might need to set a magic bit if you downloaded the exe straight and are trying to run it [15:26] i found an installer and am running it [15:28] variable BZR_SSH [15:29] value BZR_SSH=C:\Program Files (x86)\PuTTY\plink.exe [15:29] that's what it is now [15:29] that should be fine. [15:30] C:\Users\win7\Downloads>%BZR_SSH% [15:30] %BZR_SSH% wordt niet herkend als een interne [15:30] of externe opdracht, programma of batchbestand. [15:30] aka not recognized [15:30] don't put BZR_SSH= at the beginning of the value [15:30] ah, whoops. [15:30] changd [15:30] also, "%BZR_SSH%" to test. [15:30] still can't do %BZR_SSH% [15:30] but bzr doesn't need it quoted. [15:31] uknown command [15:31] remember to reopen your command prompt after you've changed the env variable [15:32] it's tripping over the space [15:33] got it [15:33] works [15:33] you need those quotes. [15:33] only for the test. [15:33] now try bzr. [15:35] there's light at the end of the tunnel [15:36] it works [15:36] \o/ [15:37] yay! [15:38] heavy stuff [15:38] work instantly on XP [15:38] worked* [15:39] yeah, I think windows 7 security model was causing you the problems there [15:39] it sort of quarenteens binaries downloaded from the net [15:40] yeah probably [15:40] my colleague said win7 was going to give us headaches [15:40] I work at an IT department :/ [19:33] * jelmer waves === yofel_ is now known as yofel [20:55] hi [20:56] hi [20:56] hi [20:57] I currently did resetup my local bzr repo where I develop a project hosted on sourceforge. today I wanted to commit to the trunk branch and now I get some strange error messages. http://pastebin.com/iBi0tmBh [20:57] what is the problem there? [20:58] I was able to commit locally but not able to push the new revisions to the server. [20:58] normally I was asked for a password but now I get this error message. [21:00] well the bzr:// protocol doesn't have built in authentication [21:00] so probably you were using bzr+ssh before [21:07] lifeless, thank you for opening my eyes :) your hint was the key... [21:09] de nada [21:25] * saedelaere zzz [21:36] lifeless: hey! [21:36] hiya [21:36] I've finally got around to switching from sftp to bzr+ssh [21:36] lifeless: so ... one of the features I requested for a while is now in the tree and it's biting me in the ass :) [21:36] Previously my server was a celeron333, that was sufficiently slow to fork/exec/compile python that it was quicker to run the sftp server in the sshd itself. [21:38] lifeless: oh - wait - I may have discovered a sequence around it ... [21:38] LeoNerd: yeah, if your server is low latency high bw sftp can be quite nice [21:39] When I'm at home, the two are fairly similar. But I'm out on the wrong end of a GPRS connection enough times to justify bzr+ssh now [21:40] lifeless: ah - nope. it's still biting me. [21:40] mtaylor: some more detail may help :P [21:40] lifeless: so - if I set bzr whoami and then do a branch from launchpad [21:40] lifeless: it "helpfully" sets launchpad-login for me (which normally I want) [21:41] except, in this case, it's happening on a jenkins slave, so I don't actually have a key ... HRM - *facepalm* - what if I set a whoami that doesn't match a launchpad user ... [21:41] as far as I know those are unrelated [21:41] bzr branch lp:burrow /home/jenkins/workspace/burrow-tarball [21:41] Setting ssh/sftp usernames for launchpad.net. [21:43] lifeless: nope. it's even simpler - I was injecting too many lines in to a file [21:43] all my fault [21:43] win [22:50] Hi [22:50] Could you help me with bazaar commit problems? [22:53] When I try commit changes from my notebook I receive this error: [22:53] bzr: ERROR: Cannot lock LockDir(ftp://username@host/remote/path/to/repo/.bzr/branch/lock): File exists: '/remote/path/to/repo/.bzr/branch/lock/vez6vu0c2n.tmp': 550 /remote/path/to/repo/.bzr/branch/lock/vez6vu0c2n.tmp: Permission denied [22:54] Any ideas? [22:54] In this localization file: vez6vu0c2n.tmp doesn't exist. [22:54] I use TortoiseBazaar from Windows.