/srv/irclogs.ubuntu.com/2011/09/22/#bzr.txt

spivIt's not special, but IIRC it was the proposed convention00:07
jelmerNoldorin: lp:bzr-git and lp:dulwich00:19
Noldorinjelmer, hmm?00:19
jelmerNoldorin: rmbranch support00:20
Noldorinjelmer, oh, update both of them eh?00:20
jelmeryep00:21
Noldorinokay :-)00:21
Noldorinjelmer, weird. now i get accessed denied every time i pull00:29
Noldorintry to pull dulwich00:29
Noldorinbzr: ERROR: [Error 5] Access is denied: 'c:\\users\\alex\\appdata\\local\\temp\\tmp5trcyz.pag'00:29
jelmerNoldorin: no idea..00:33
Noldorinhttps://bugs.launchpad.net/bzr/+bug/82080500:33
Noldorinknown bug00:33
ubot5Ubuntu bug 820805 in Bazaar "access denied on Pageant .pag file" [Undecided,Incomplete]00:33
Noldorinjelmer, how's work on the other bugs going?00:34
NoldorinERROR: Repository not found.00:44
Noldorinbzr: ERROR: The remote server unexpectedly closed the connection.00:44
Noldorinjelmer, now i get that error when dpsushing ^00:44
jelmerNoldorin: typo in your repository URL?00:50
Noldorinsorry it was00:51
Noldorinforgot to change : to / this time00:51
Noldorinjelmer, thanks, that works now :-)00:51
Noldorinjelmer, how close are we to fixing the bug with directory processing order?00:52
jelmerNoldorin: Sorry, I've got lots of bugs in progress and this is just one of them (and a harder one at that)00:53
jelmerNoldorin: I'll update the bug report00:53
Noldorinno prob00:53
Noldorinjelmer, i was just under the impression you had already re-written that function yesterday?00:53
Noldorinor at least you know00:53
jelmerNoldorin: well, I looked at that a bit but that's a nontrivial amount of work.00:55
Noldorinjelmer, ok sure. well if you update the bug report, maybe i can try..?00:56
Noldorinhrrm, rmbranch still gives:  Unable to write to standard output: The pipe is being closed.00:56
jelmerNoldorin: not sure I follow, update it how?00:57
Noldorinjelmer, add a comment explaining how it need to be fixed? :-P00:58
jelmerNoldorin: it's not as easy to describe as that, I'm going to make some pretty rigorous changes to it. You're welcome to have a stab at it though.00:58
Noldorinjelmer, ahh fair enough01:00
Noldorinjelmer, well, i have time so, so if you update the bug report then i can try... no promises though ;-)01:00
Noldorinjelmer, maybe this 'Unable to write to standard output' issue is simpler though?01:00
jelmerNoldorin: basically, I'm hoping to gather the changed blobs first and then update the affected trees.01:02
jelmerNoldorin: WHen are you getting that last error?01:02
Noldorinjelmer, during rmbranch i said...01:03
jelmerNoldorin: no idea about that, it sounds like an issue with ssh01:03
Noldorinjelmer, yeah01:04
Noldorinjelmer, only happens during rmbranch though01:04
Noldorinjelmer, well i get this: NotBranchError: Not a branch: "git+ssh://git@github.com/alexreg/ircdotnet.git,branch=foo1".01:27
Noldorinin .bzr.log01:27
jelmerNoldorin: that's correct, there is no such branch01:28
Noldorinjelmer, oh lol, i already removed it01:28
Noldorinjelmer, so actually, rmbranch behaves correctly in all cases now.... it just gives an error *even* when it succeeds01:30
Noldorinthat being Unable to write to standard output: The pipe is being closed.01:30
Noldorinjelmer, .bzr.log contains this: http://pastebin.com/uzeF34tE01:30
jelmerNoldorin: that's windows specific I'm afraid01:31
Noldorinyeah01:31
Noldorinmakes sense01:31
Noldorinjelmer, do you know the exact cause though...any way around it?01:31
Noldorinjelmer, it may me windows-specific, but it's still a ""bug""01:31
pooliegood morning01:38
Noldorinjelmer, i am probably done for today, but if you could fill in the info on the LP bug about directory renames, would be cool :-)01:48
Noldorinjelmer, the Windows SSH issue....no idea! should be trivial though01:48
Noldoring'night02:00
Kamping_Kaiseris it possible to have bzr ignore a particular sub directory so i can version it independently?02:12
poolieyes02:12
Kamping_Kaiserin my case /etc/ is maintained by bzr, and i'd like /etc/cfengine/ to be a seperate repo02:13
pooliejust ignore it, and don't add it02:13
pooliethat's fine02:13
Kamping_Kaiserfab, thanks poolie02:13
Guest2952I currently have a shelved change, which I cannot access (bzr unshelve crashes). If I manually fiddle the change out of .bzr/checkout/shelf/shelf-1, do I have to keep anything in mind to avoid corrupting the repository? How do I then get rid of the broken shelf? Just delete .bzr/checkout/shelf/shelf-1?06:07
pooliei think that's enough06:08
poolieit won't damage the repositoyr06:08
poolieplease file a bug about the crash, if you haven't already06:08
vilahi all !06:08
pooliehi there vila06:08
Guest2952Thanks poolie. Here is the bug report, for reference: https://bugs.launchpad.net/bzr/+bug/85059406:11
ubot5Ubuntu bug 850594 in Bazaar "unshelving new file fails if its directory has been committed since shelving" [Undecided,New]06:11
poolieoh, ok, i think i saw that before06:11
pooliethanks06:11
Guest2952on a related note, what is the recommended workflow to get new files in new directories committed separately from their directories?06:14
vilaGuest2952: you can't do that, bzr tracks trees, a file is always part of a tree06:16
Guest2952so my "bug" isn't really a bug? Just a misunderstanding on my part of how bzr works?06:22
pooliewell, it should never crash06:22
poolieyou should never get a traceback whatever you do ,that's always a bug06:22
* vila nods06:23
poolievila, i think he's asking for the opposite06:23
pooliehe/she06:23
pooliewhich is to commit the addition of the directory but not the addition of the files within it?06:23
vilaooooh06:23
pooliegiven that shelving apparently doesn't handle this06:23
Guest2952yes, what poolie said06:23
vila'bzr version' ?06:23
pooliei would recommend doing 'bzr rm --keep dir/newfile'06:24
vila2.4.0, sry06:24
pooliewhich will unversion it06:24
pooliethen commit the directory addition06:24
Guest2952Bazaar (bzr) 2.4.106:24
Guest2952  Python interpreter: /usr/bin/python 2.6.506:24
Guest2952  Python standard library: /usr/lib/python2.606:24
Guest2952  Platform: Linux-2.6.32-33-generic-i686-with-Ubuntu-10.04-lucid06:24
poolieor use 'bzr add --no-recurse' in the first place06:24
vilaGuest2952: you're not the first asking for committing new dirs first in one commit and new file later, I don't completely understand the use case, can you elaborate ?06:25
pooliewe ought to add a 'commit --no-recurse' too06:25
vilaGuest2952: some background: we try to make directory tracking as transparent as possible so dirs are added when needed (i.e. if you add a file and its directory is not yet tracked, it's added automatically)06:27
vilapoolie: so we can commit a dir without its content ?06:27
vilapoolie: so, I did some prodding of the package importer and found some interesting stuff:06:29
vilaTrying to reproduce some failures with 2.4.1 failed (so deploying 2.4 on jubany is more important than ever)06:29
Guest2952For example, my project starts out small, and I only use a single test file for my testing. At some point it grows to the point, where I want to use a more elaborate testing framework, which requires a complex directory setup mapping my test files 1:1 to the tested modules. So I want to commit "setting up the dir structure to support the testing framework" as a separate commit to the actual "implement test foo" commit.06:30
vilarequeuing with --full fixed several DivergedBranches failures too (but not all, a bit ruining the web page regarding the history of the last failures, no big deal but if you track it you may be surprised)06:30
vilaGuest2952: right, I just did the same yesterday evening and I committed the new file and its associated test file which triggered committing the dir containing them, but I see your point06:32
Guest2952having the directory setup commit separate from the file implementation commit means I can later reject the "implement foo test" without breaking "implement bar test" and "implement quux test"06:34
vilaGuest2952: waiting for the 'commit --no-recurse' poolie just mentioned, the only workaround I can think of is to commit an *empty* dir (after all, that's what bzr will create if you ask for this revisions to be checked out from scratch)06:34
vilaGuest2952: ha ! I see even better with that !06:35
Guest2952that's what I thought, so I shelved the file, and committed the empty dir, but now bzr won't let me unshelve the file again06:36
vilapoolie: so, toying with requeue --full, lead to think that we should make sure import_package can always be retried from scratch (I think we're pretty close to that already but if it's guaranteed, it will simplify the way we think about it)06:37
vilaGuest2952: hmm, can you add that on the bug report ? It's probably a key fact to reproduce the issue06:38
Guest2952which part?06:39
Guest2952the steps I list in the report reproduce it06:39
* vila re-reads06:39
vilaoh yeah, perfect (sorry, I jumped to the backtrace at first read)06:40
pooliejelmer, hi?06:46
vilapoolie: I also noticed some packages are retried more than others (lxc, lillypond among others), I suspect some cruft in JOB_TABLE or something, not sure yet06:49
vilait's more obvious when using analyze_log from a tail -F process_log as most imports are processed in lexical order and those aliens pop up in-between06:50
Guest2952ok, I'm happy to change/add/clarify/test anything that might help resolve it. For now, I'll just manually extract the shelf, and be more deliberate about my directories in future. Until bzr (at some point possibly) supports my use case, it would be nice, from a user perspective, if bzr would refuse to let me shelve things that I won't later be able to unshelve. It's a big break of trust when your change-manager gobbles up your change :)06:51
vilalxc just popped up again06:51
vilaand apt-daemon and linux-firmware,06:51
vilanot an issue in itself, this breaks nothing, but the cumulated effect on the time to try all imports is increased for no good reason06:52
pooliehuh, ok06:52
pooliethat's interesting06:52
pooliei don't know off hand what order it uses06:52
vilaI thought it was all controlled by mass_import (JOB_TABLE, then packages) but I discovered that categorize_failures trigger some imports06:53
vilai.e. each time the web page is refreshed, we requeue some packages, that may be it, I need to check06:54
vilaand lxc again06:59
vilaand landscape-client, the pattern is a bit hard to grasp (the timing vary depending on which imports are in flight but that's roughly every 5 minutes)07:01
vilahmm, the crontab also runs add_import_jobs but I think this one is for tracking lp)07:02
vilaIt's nice to see people from all over the world trying to hack my desktop, but guys, fail2ban makes your brute-force attempts a bit futile, please find another target ;)07:04
bignosevila: sadly, the computers actually attacking are likely not doing so with the knowledge of their owners07:12
bignosebut rather are under the control of a small number of individuals, who control them en masse to attack indiscriminately07:13
vilabignose: Oh, I'm sure about that :)07:13
vilasimilar attacks coming from russia, china, brazil, france and so on, clearly indicates puppets07:15
jammorning all07:46
pooliehi jam, bignose08:04
Riddellmorning08:09
pooliehi riddell,08:36
pooliejam, would you mind doing a quick rereview of https://code.launchpad.net/~xaav/loggerhead/export-tarball/+merge/66408 ?10:19
jampoolie: certainly. It will be a little bit, getting lunch now, then I have to read in the conversation again. But it will be done by your tomorrow10:21
pooliethanks very much10:21
pooliewallyworld offered to land it but he wants some reassurance10:21
AfCWhat's the git equivalent of `bzr revert`?11:11
AfC[I know, I know, don't ask; having just established this project is at all viable I'm going to bzr import it now]11:11
vilaAfC: 'git  help stash' ?11:16
vilaAfC: no guarantee11:16
AfCvila: found it; `git checkout .` or `git checkout filename` apparently.11:18
vilaAfC: or git reset ?11:18
AfCTurns out `git revert` ≃ `bzr uncommit`11:18
AfC!11:18
vilaouch11:19
=== yofel_ is now known as yofel
=== Quintasan_ is now known as Quintasan
Riddelljelmer: when you were asking about translating plugins did you have any one in mind?13:11
jelmerRiddell: not specifically. the most interesting plugins for this are the ones that have some public-facing bits, e.g. because they add a command or raise some custom exceptions13:25
jelmerRiddell: bzr-rewrite, bzr-svn or bzrtools might be a good candidate if you're looking for an example13:26
jelmerNoldorin: hi13:45
Noldorinhi jelmer13:45
jelmerNoldorin: I've added some comments to the dpush rename bug13:45
Noldorinyes i saw just before i went to bed :-)13:45
jelmerNoldorin: not sure about the windows rmbranch issue13:45
Noldorinjelmer, the error has appeared before in other contexts. some difference with the way plink and openssh work?13:46
Noldorinjelmer, where is rmbranch in the code? maybe i can take a look13:50
jelmerNoldorin: dulwich/client.py in the dulwich code13:51
Noldorinta13:52
Noldorinjelmer, specifically within that file? sorry, i see no mention of removing branches14:03
jelmerNoldorin: removing branches is done by updating the refs of the remote repository and excluding the ref you want to remove14:06
jelmerNoldorin: this gets called by destroy_branch() in remote.py in bzr-git14:06
Noldorinah ok14:18
Noldorinmakes sense!14:18
Noldorinjelmer, i presume it's using TraditionalGitClient here?14:52
Wiz_KeeDhello everyone15:17
Wiz_KeeDhow's everybody feeling?15:17
Wiz_KeeDcan anyone give me a hand with configuring bzr?15:17
jelmerWiz_KeeD: hi15:20
Wiz_KeeDhello jelmer15:20
LeoNerdconfiguring?15:21
Wiz_KeeDhttps://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair#Registering_the_key_with_Launchpad15:22
Wiz_KeeDtrying to follow this guide so i can download and install aeroolib15:22
Wiz_KeeDto build aeroo reports in openerp, i can see the ssh key in the file (don't know if i generated it well_15:22
jelmerWiz_KeeD: you should be able to download branches from launchpad without setting up ssh15:23
Wiz_KeeDyeah i did that buuut...15:23
jelmerwiz_keed: just through http15:23
Wiz_KeeDi don't know how to install aeroolib15:23
Wiz_KeeDand if i do15:23
Wiz_KeeDImportError: No module named setuptools15:24
Wiz_KeeDthat when executing python setup.py install15:24
=== verterok` is now known as verterok
Riddellwhy does this small change to bzr-rewrite prevent me from running the bzr rebase command?  http://bazaar.launchpad.net/~jr/bzr-rewrite/broken-import/revision/239?start_revid=23915:33
vilaRiddell: <whistles> a plugin is imported specially under the bzrlib.plugins namespace, I have *no* idea what import __init__ will do there15:35
vilaRiddell: there may be some info in .bzr.log, otherwise, try adding a pdb.set_trace() before this import15:36
vilawell, 'import pdb; pdb.set_trace()' that is15:37
Riddellah, using from bzrlib.import.rewrite  works15:37
* vila nods (fixing the tyop on the fly ;)15:38
timrcThe context of file system storage, is there a way to "stack" a branch on top of an existing branch? It seems to me like a "stacked" branch in bzr cannot share a file system location with its parent?16:08
timrcIn the context^16:08
timrcI guess I'm expecting something akin to quilt16:08
Noldorinjelmer, hey16:29
Noldorinjelmer, the .pag issue btw is a problem with Pageant... when you run it in admin mode16:30
Noldorinnothing wrong with bzr of course16:30
jelmerNoldorin: hi16:33
jelmerNoldorin: ah, interesting. any chance you can add a comment to the bug about that?16:34
Noldorinjelmer, the old bug submitted by someone else?16:35
jelmerNoldorin: yeah16:36
Noldorinhttps://bugs.launchpad.net/bzr/+bug/82080516:36
Noldorini think16:36
ubot5Ubuntu bug 820805 in Bazaar "access denied on Pageant .pag file" [Undecided,Confirmed]16:36
Noldorinjelmer, sure will do16:36
Noldorindone16:38
Noldorinjelmer, btw should i be concerned with HttpGitBranch or TraditionalGitBranch in dulwich?16:38
=== beuno is now known as beuno-lunch
jelmerNoldorin: ? I don't think there is anything by those names16:41
Noldorinjelmer, sorry, s/Branch/Client16:42
jelmerNoldorin: TraditionalGitClient for SSH (you'll see SSHGitClient derives from that)16:43
Noldorinah ok16:43
Noldorindidn't notice that, makes sense now!16:43
Noldorinjelmer, this "Unable to write to standard output" bug is interesting, since i don't get the message until *after* bzr has terminated it seems16:46
Noldorinjelmer, that is, i get the command prompt again first16:46
Noldorinit's asynchronous i'm guessing...16:47
Noldorinjelmer, the send_pack function in dulwich never returns16:51
jelmerNoldorin: it's not asynchronous16:52
Noldorinjelmer, well Plink is doing something strange anyway16:53
Noldorinjelmer, and the send_pack function definitely throws an error16:53
Noldorinspecifically, i get:16:54
Noldorinbzr: ERROR: exceptions.UnboundLocalError: local variable 'new_refs' referenced before assignment16:54
Noldorinerr, my bad sorry16:56
Noldorinjelmer, basically the dulwich client needs to handle the remote SSH host hanging up unexpectedly...in a more graceful way17:01
jelmerNoldorin: the server shouldn't be hanging up unexpectedly17:03
jelmerNoldorin: it should confirm the refs have been changed17:04
Noldorinjelmer, shouldn't, but is17:04
Noldorinhmm17:04
Noldorinjelmer, when you try to delete a branch that does not exist it does17:04
Noldorinjelmer, by the way, i read your comments. it looks complicated to fix the rename-related bug :-P i might leave it to you17:10
Noldorinjelmer, withouy being too pushy...any idea when you might be able to submit that fix? :-)17:24
=== beuno-lunch is now known as beuno
jelmerNoldorin: again, please see the bug report17:44
Noldorinjelmer, with regards to? :P don't think it contains any answer to any questions i'e asked18:13
jelmerNoldorin: the bug report will automatically be updated as soon as there is a branch that addresses the bug18:27
jelmerNoldorin: which questions?18:28
Noldorinjelmer, i know... i was just specifically asking for estimates...because i'm a very impatient guy :-P18:28
jelmerNoldorin: I have no idea, I work on this in my spare time and that's pretty unpredictable. I could be days or weeks.18:28
Noldorinjelmer, ohh i see. sorry, i thought bzr-git was part of your job18:28
Noldorinjelmer, only core bzr i guess18:28
jelmerNoldorin: well, it's not as black and white as that, but this bug isn't particularly high priority18:31
Noldorinjelmer, well, just for me it is ;-)18:31
Noldorinvery high priority for me18:31
Noldorinbut in general, fair enough...18:31
Noldorinjelmer, okay, as long as these two items are on your task list, i'll just leave them with you18:45
Noldorinjelmer, thanks so far...feel free to contact me over the next week, though i'll try not to pester you :-)18:46
Noldorinta18:46
jelmerNoldorin: thanks, I'll update the bug reports when I have more18:46
Noldorinjelmer, cheers.18:46
Noldorinjelmer, if you like i can submit a quick report on the 'Unexpecte pipe close' issue too18:47
Noldorinand then leave you to tackle those 2 issues in your own time18:47
jelmerNoldorin: Sure, I do want to help out getting this bug fixed18:47
Noldorinjelmer, https://bugs.launchpad.net/bzr-git/+bug/856769 -- there you go20:17
ubot5Ubuntu bug 856769 in Bazaar Git Plugin "rmbranch on non-existent branch fails with SSH error" [Undecided,New]20:17
Noldorinjelmer, two fun bugs to work on :-) good luck, and i look forward to testing the fixes!20:17
=== yofel_ is now known as yofel
pooliehi all23:58
jelmerhi poolie23:59

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