[00:02] If I want to hook into every single call to the bzr script, is there a simple way to do that? For instance, let's say I want to log every command that is run. [00:13] urgh. is anyone else finding dput ftp uploads hang? [00:13] (and they use bzrlib code, btw) [00:25] rockstar: I don't have any real clue... have you looked at http://doc.bazaar.canonical.com/development/en/user-reference/hooks-help.html ? [00:36] peitschie_, indeed I had, but I was hoping for something a bit more general. It doesn't look like I'll find one. [00:37] rockstar: ahh... doesn't sound like fun. sorry i can't be more help :)... still quite new myself [03:43] rockstar: you can probably do that [03:44] rockstar: the get_command hook point of bzrlib.commands.Command.hooks would suffice I think [03:45] rockstar: well, to some extent. Other plugins could potentially interfere, but I think that's unavoidable to a degree [03:45] rockstar: also a bit awkward as you would need to decorate the given command to be one that logs the arguments or whatever you want to do. === beaumonta is now known as abeaumont_ [10:00] hello. I am using bzr on ubuntu 10.10. I have uploaded my public key to launchpad and created a branch. i try uploading to the branch but get the error "Permission denied(public key)". what is wrong? [10:01] i'm pretty sure i uploaded the key right(all contents of ~/.ssh/id_rsa.pub) [10:02] dnivra: have you checked to ensure you have the right username defined for bzr launchpad-login [10:03] peitschie_, yes it is. i am logged into launchpad through the web interface using the same account. [10:03] is there a way to check if the login was successful? [10:03] logging in using "bzr launchpad-login "? [10:04] dnivra: the first time you branch sometime seems to be the only way it checks [10:05] peitschie_, sorry didn't get you. i have created and uploaded branches before. two branches exist in launchpad. [10:05] dnivra: ahh... so it just suddenly stopped working for you? [10:06] peitschie_, i guess so. i am puzzled-all i generally do is register a branch through the web and then push to it. [10:06] dnivra: how long has this error been happening for? have you retried a few times? [10:07] peitschie_, yes. four or five times already. doing again now too. [10:08] dnivra: other easy question just to check :)... is this the same computer you created the pub/priv key pair on? [10:08] dnivra: occasionally launchpad will go a little funny for a while... but usually it clears up after a few minutes [10:08] peitschie_, i created a new key just now after the old ones didn't work and uploaded the new key. that didn't work so created another one. [10:09] peitschie_, i do have to create an ssh rsa key pair right? [10:09] dnivra: yes... for each computer you access launchpad from you need an rsa key pair (or you need to ensure your private key is on all these computers) [10:10] peitschie_, imported my public key yet again. let me see if iti works. [10:10] dnivra: are you on windows or linux atm (i'm guessing linux... but again, worth checking :) ) [10:10] * peitschie_ crosses fingers [10:10] peitschie_, ubuntu [10:10] * dnivra doesn't have windows [10:11] dnivra: consider yourself lucky then lol... ssh+windows=not fun [10:12] oh! I'm not so used to windows-all i have done is play a few games, sync iPod and watch a few movies/videos. i have not been so lucky with ubuntu either-this whole authentication thing is not working for me. [10:12] dnivra: the best way to debug this is: 'ssh -v bazaar.launchpad.net' [10:13] vila, now i try pushing to the branch from another terminal? [10:13] dnivra: this should show you which keys are proposed/accepted/refused [10:13] vila, yeah see that now. [10:13] dnivra: forget push for the time being, this is to debug the ssh connection without bzr being involved at all [10:14] vila, yeah ok done. reading the debug output. [10:17] two questions-why does it offer my private key "id_rsa" and two why does it say wrong user name when i logged in using a different username? http://ubuntu.pastebin.com/1cvaVciA [10:18] dnivra: that's the default behaviour of ssh [10:18] if your lp login is different than your local one, try 'ssh -v @bazaar.launchpad.net' [10:19] vila, offerring id_rsa as public key is default behaviour? [10:21] vila, http://ubuntu.pastebin.com/RX5M5Qnw is what happens when i try ssh -v @bazaar.launchpad.net [10:21] dnivra: yup, that's the key the server is supposed to know about [10:22] ha ! So your key is protected by a password but somehow ssh can't find a way to ask you about this password [10:22] vila, when it says "offerring public key: id_rsa", it does mean that id_rsa is my public key right? [10:22] vila, you mean passphrase? [10:23] you should have a 'id_rsa.pub' (the public key) along your 'id_rsa' (the private) [10:23] yeah passphrase [10:23] dnivra: do you have an ssh agent setup and running ? [10:24] 'ssh-add -l' will tell you about which keys are known and usable [10:25] 'ssh-add ' will add a new key asking for its passphrase if needed [10:25] vila, ssh agent is running. is there some specific setting up to be done? and I get an output using ssh-add -l. but that isn't what i need to upload right? [10:26] oh.... wait a minute, you re-recreated your keys using id_rsa without re-starting the agent right ? [10:26] vila, yeah. anything wrong there? [10:26] I went into this weird scenario and it took me a while to realize that the agent was still using the *wrong* key [10:27] i.e. the old one [10:28] since I used the same user@host inside the key I didn't realize what was happening, this sounds a lot like what you're experiencing right now [10:28] try 'ssh-add -D' to purge the agent and try again [10:29] check with 'ssh-add -l' [10:29] when i run 'ssh-add -D' and then run 'ssh-add -l', there should be no output right? [10:30] dnivra: for the record, ssh keys should be looked at like real physical keys, you define a key for each door your want to open and you duplicate this key if you need to use it from various computers [10:30] dnivra: yes, no output [10:30] vila, well i do get output. [10:31] hmm, may be it reload the default keys, try 'ssh -v ' again [10:31] otherwise you'll have to be more rude: logout/login [10:32] what should be the output of "ssh -v"? [10:32] you can also try 'ssh-add -L' and check [10:32] ssh -v @bazaar.launchpad.net' I meant... [10:33] vila, oh ok. and I get the public key as output-the one i uploaded in launchpad-of 'ssh-add -L' [10:34] vila, i tried ssh -v and still get the same error. [10:34] let me try logging out and logging in again. [10:41] villa got it. it asked me for the passphrase this time [10:41] there you go [10:41] so it was the fact that the old keys were being used eh? thanks a lot vila! [10:42] dnivra: next time, give your key a different name like: dnivra@launchpad or something, that will make it easier to debug [10:42] also read the various man pages about ssh, once you understand the key metaphor they make more sense (ssh_config, ssh-add, ssh-key, ssh) [10:43] vila, giving a different name should be done during key generation right? [10:43] vila, oh yes will read the man pages. [10:43] yeah naming at ket generation time is the best way to avoid errors [10:44] s/ket/key/ [10:45] vila, will keep that in mind. thanks a lot! === frakturfreak_ is now known as frakturfreak === oubiwann is now known as oubiwann-away === oubiwann-away is now known as oubiwann [17:09] My plugin isn't working, someone wanna help? A hook isn't working it seems. === oubiwann is now known as oubiwann-away === oubiwann-away is now known as oubiwann [18:48] I guess I did something wrong? http://pastebin.com/jeWbEMuc [18:53] looks like a dpush bug [18:55] glyph said some words to me last week , I think "bzr" and "dpush" and "svn" and "branches" were amongst them, but I don't really remember [18:56] Am I supposed to be able to dpush a bzr branch to an svn branch? [18:57] yes [18:57] I think [20:10] Is it possible to have two completely differend branches for one project in launchpad? [20:13] now I getting this: http://ubuntu.pastebin.com/CzFNppBg [20:32] sirex: it is if they ahve the same format [20:32] sirex: the trunk is a very old format, it would benefit by being upgraded. [20:34] lifeless, after thirt push, there was no error and finnaly new separete branch was create...