/srv/irclogs.ubuntu.com/2009/04/09/#bzr.txt

spivMez: if you install a pre_change_branch_tip hook, and only allow write access via a smart server, then you can enforce it.00:04
=== mwhudson_ is now known as mwhudson
pooliejam, hi00:08
igcmorning00:09
pooliehello igc00:09
pooliedoes anyone have ideas for Ubuntu Open Week?00:10
poolieapparently emmajane is going to talk00:10
igchi poolie, jam, jelmer, lifeless, spiv00:10
pooliehttps://lists.ubuntu.com/archives/ubuntu-devel/2009-April/028061.html00:11
SamBis there some secretly better version of bzr-bisect that I'm somehow missing out on?00:15
jelmerSamB: what's wrong with bzr-bisect?00:22
SamBit seems to have a tendancy to introduce changes into the working directory that conflict with eachother ...00:23
SamB... and bzr proper seems unaware what revision bzr-bisect is looking at ?00:25
jelmerSamB: please file a bug01:03
SamBjelmer: where/how?01:03
jelmerSamB: launchpad.net/bzr-bisect I guess01:04
SamBjelmer: er, uh, can't!01:05
SamBsee https://answers.launchpad.net/bzr-bisect/+question/6689301:06
jelmerSamB: ah, I guess Jeff doesn't use launchpad01:17
SamBwell, I don't think that HTTP URL is going to accept any bug reports, somehow ...01:18
jelmerSamB: you should still be able to report bugs in Launchpad though even though the project isn't officially using it01:19
SamBjelmer: perhaps!01:19
SamBbut I can't see a way past all these yellow boxes01:20
SKArfaceGCare all of the permissions with bzr handled via fs perms?  are there any plugins that can handle blocking/accepting various types of access?02:12
spivSKArfaceGC: There's contrib/bzr_access in the source releases, I'm not sure how good it is.02:14
SKArfaceGChrm.  I'm ultimately looking for something that does for bzr what sheila does for CVS.02:15
SKArfaceGCI'll check that out.02:15
SKArfaceGCIt's also possible I'm just thinking about the problem incorrectly.  only been messing with bzr for a week or so.02:18
Odd_BlokeSKArfaceGC: What does sheila do for CVS?02:27
SKArfaceGCOdd_Bloke: it allows certian users to grant karma to other users so that they may commit.  it also facilitates locking the repository so no one can commit.  i.e. while running builds etc.03:34
* igc lunch & medical stuff - back in a few hours03:38
=== abentley1 is now known as abentley
ToksyuryelDoesn't sound like what sheila does would apply to bzr, since the whole point of distributed vcs is to remove the situation that makes something like sheila necissary04:29
ToksyuryelThen again it's possible to use bzr exactly like cvs (if you're insane) so maybe it exists?04:30
lifelessSKArfaceGC: bzr has atomic commits, so we can lock ourselves04:31
lifelessSKArfaceGC: and untrusted users just commit to their own repository, so you don't need to have portions of a repository writable by different people - you just create a new repository04:32
lifelessjml: this should be a no-brainer to review : https://code.edge.launchpad.net/~lifeless/subunit/done/+merge/534604:33
jmlDone.04:34
lifelessthanks04:35
poolielifeless: i would like, possibly in vain, to drive to 0 New bugs05:38
poolieit would help if when you file bugs by mail you also mark them confirmed05:38
lifelesspoolie: ride, surely.05:38
poolieand set a priority05:38
lifelessI often do05:38
lifelessI also often don't.05:39
poolieyes :)05:42
lifelesspoolie: You've mentioned this before. I guess I don't make it a must-do simply because we're usually wrong anyway06:12
poolieabout the priority?06:12
pooliei agree06:12
pooliei think basically i just want one bit which says "this has been considered by a developer"06:13
pooliepossibly i should write a script which looks for untriaged bugs filed by one of us and marks them confirmed:whenever06:13
Peng_What if the bug really isn't confirmed?06:16
fullermdIf it isn't confirmed, maybe it's infirm?06:16
lifelessPeng_: if $coredev files a bug its fair to assume its confirmed06:20
lifelesspoolie: actually I have a suggestion06:20
lifelesspoolie: a search for bugs with no activity by a core dev06:20
lifeless[open bugs]06:20
Peng_lifeless: $coredev can make a mistake.06:22
lifelessPeng_: yes, but I don't think martin is interested in confirmation06:22
Peng_Although that will be rare, so it'll take less effort to fix mistakes than to confirm every bug filed by #coredev.06:22
Peng_s/#/$/06:22
lifelessPeng_: I think he is interested in identifying bugs that a core dev has not looked at and considered.06:23
pooliethat's correct06:31
pooliesometimes one developer will want to disagree with another one's bugs, but that's a different problem06:33
poolieor, not really "problem", "case"06:34
vilahi all07:04
lifelesshi vila07:08
vilalifeless: great, you're still there, your patch raised questions I wanted to clarify instead of blindly landing07:09
vilalifeless: you did get my mail right ?07:10
lifelessyes07:10
lifelessI replied07:10
vilaok, so I didn't have the right subunit07:11
vilabut you're saying startTests is optional, is that true for done too then ?07:12
lifelessthey are not well defined yet07:13
vila'startTests' doesn't convey that, it surely shouldn't be used for suite.setUp for example as I was tented to do, nor done() for suite.tearDown()07:13
vilas/tented/tempted/07:13
lifelessits on result, you can't use it for those no matter how tempted you are07:13
vilaI realized that07:14
lifelessalso if you want to do a suite.setUp, you're thinking about the problem wrong07:14
vilaI don;t want a suite.setUp(), but we use atexit anyway and that's wrong too07:15
vilaand I don't like re-installing a hojj in the test suite either :-)07:16
vilas/hojj/hook/07:16
lifelesswhere do we use atexit?07:16
lifelessoh, make_test_root07:17
vilatest/__init__.py to delete TEST_ROOT07:17
lifelessit should be deleted after every test07:17
lifelessits buggy07:17
lifelessor use testresources07:17
vilawazzat ?07:18
lifelesslp:testresources07:18
jameshspeaking of testresources, there are some proposed changes that need reviewing ...07:18
lifelessjamesh: yes07:19
lifelessI'm hoping to get to it in easter07:19
lifelessits not exactly work..07:19
jameshcool.07:19
jameshmaybe if bzr used testresources it could count as work? :)07:19
lifelessvila: I want to leave these fuzzy for now07:21
lifelessvila: good definitions are being hammered out on the tip list; when we have them bzr can just inherit them07:21
vilalifeless: haa, just what I wanted to confirm, why don't you tell that first :-)07:22
vilalifeless: and I missed that hint about subunit yesterday obviously :-/07:22
vilaI see it now... it looks like most of the messages I miss on IRC occur just after I send one, my parser should be buggy07:23
vilalifeless: so, now that *I* have sync, I've remove the getattr for done,07:27
lifelessok07:27
vilaso if we you don't want more strict testing of the supported TestResult (but which ones), I can land07:28
lifelessconformance testing of test results isn't something I feel we need for this change to be landable07:28
ronnylifeless: are there any plans to support some kind of automated setup + aggregation in subunit, im in search of automated ways to run the testsuite for anyvc against different versions of hg/bzr07:29
lifelessronny: subunit can aggregate already; setup is something orthogonal - subunit won't get in the way but it isn't really in a position to help either07:31
ronnyso i'll have to find a way to encode the currently tested versions in the context07:31
ronnylifeless: did the integration into other testing tools get any better?07:35
ronnyat least its still not easy_install-able07:36
lifelessronny: I would accept patches for easy-install; downloading random code off the internet isn't something I buy into though07:36
lifelessI'm in the [rather large] easy_install OMG07:36
lifelessgroup07:36
ronnylifeless: its pretty convient07:37
lifelessronny: what sort of integration do you mean though?07:38
ronnylifeless: stuff like nose07:38
lifelesswell, you were working on that07:38
ronnyi wrote a initial plugin some time ago, but it didnt seem to get any further attention07:38
lifelessweren't you?07:38
lifelessbzr uses subunit now, for parallel testing07:39
ronnylifeless: i think all it needs to be easy-installable is a src tarball on pypi (at least for the python parts)07:41
lifelessok, well I'm happy to put it on pypi07:41
ronnylifeless: oh, and is there finally any way to report additional metadata about a test07:42
lifelesstag: foo07:43
ronnystuff like stdout/err + profiling + coverage comes to mind07:43
lifelesswell07:43
lifelessthis is what you were asking about before07:43
ronnyhmm07:43
lifelessI'm happy to discuss ways to embed this in the stream07:44
lifelessunittest has no standard for it today, so its a little awkward to talk about it07:44
Mezspiv: I dont want to enforce it, I want to have it run the test suite after a commit. So that 1) commits dont take forever and 2) we can still commit and just fix after07:47
spivMez: running a buildbot is the usual way to do that.  You can have it trigger on commit emails and the like.07:48
spiv(or by a post_change_branch_tip hook that pokes it directly...)07:49
ronnylifeless: until it is standardized one could do something xdata: stdin [ ... ]07:53
vilalifeless: one more thing: leaking threads report (data collection really) is broken for both fork and subprocess (by design), just something to keep in mind07:55
lifelessronny: well it should be in  the result comment area07:57
lifelessronny: IMO07:57
lifelessronny: the problem isn't defining stream handling for data, its defining how to present it to the TestResult in python07:57
lifelessTestCase->TestResult is a [deliberately] narrow interface07:58
ronnylifeless: well, then one would have to mangle it somehow and not mess up other parsers08:01
lifelessronny: I don't see why08:01
lifelesssubunit expects arbitrary data there08:01
ronnyhmm, so something like a trace is not actually expected?08:06
lifelessit does the best it can08:08
lifelessbut you don't get traces from tap, or the C unit tester 'check' or cppunit or a bunch of other places08:08
ronnyit would be nice to have more metadata about what is in there08:09
lifelessI agree; there is a tension between simple and structured08:10
ronnyideally there would also be a way to hook into it via rpc and introspect the objects/data08:11
BasicOSXpoolie:  You should also merge (not pull) the release branch into lp:~bzr/bzr/current, so that branch contains the current released code at any time.08:11
BasicOSXThat is the releasing documentation (bug 358199) the wording is confusing to me. I'll make changes and RFC it.08:11
ubottuLaunchpad bug 358199 in bzr "eol filter silently ignores unknown settings" [Undecided,New] https://launchpad.net/bugs/35819908:11
BasicOSXoops sorry Bug 35752108:11
ubottuLaunchpad bug 357521 in bzr "lp:~bzr/bzr/current is out of date" [High,Fix released] https://launchpad.net/bugs/35752108:11
lifelessits meant to be sufficiently transparent that 'import pdb;pdb.set_trace()' will just work08:11
lifelessronny: ^08:11
ronnylifeless: but how will that work with parallel tests and or wireing it into a ide08:12
BasicOSXI also thought lp:~bzr/bzr/current meant bzr.dev08:12
ronnyspecifying new hooks?08:12
lifelessas a streaming protocol, you don't really want it to keep things around - in fact you can't be sure it will do that at all08:14
lifelessIMO running in debug mode is a setup issue - subunit can pass the output from debugging mode over the wire, including any IDE or other control data08:14
ronnyok, so subunit is purely reporting08:14
lifeless(by 'it' I mean the remote test code; it could be C, or just a saved file)08:15
lifelesssubunit is a wire version of the TestCase->TestResult API08:15
lifelesswhere users of subunit want things that belong in that API, but the API doesn't support them yet, I've tried to add them in tasteful ways that don't distort the base design08:15
lifelessvila: so are you landing that branch now?08:17
lifelessvila: oh I see, its now playing :)08:17
vila:-)08:17
ronnylifeless: i'll try to build something around it while im away, the next few days i might be disconnected08:23
Peng_jelmer: Why make bzr-svn's default stacked format 1.9-rich-root instead of 1.6.1-rich-root? The latter would be better for compatibility.08:26
lifelessronny: ok cheers08:26
lifelessronny: I'd start just by getting your tests to run in a subprocess.08:26
lifelesse.g. use IsolatedTestSuite08:26
lifelessor if you want more control08:27
lifeless(such as execing a new thing) ExecTestCase08:27
lifelessor more control still08:27
lifelessuse the ProtocolTestClient and TestProtocolServer08:27
ronnylifeless: i'll try - i need to figure a simple way to set up virtualenvs for the tests and install the currently required versions08:27
lifelesshttp://lists.idyll.org/pipermail/testing-in-python/2009-April/001458.html08:28
lifelessthat describes using the result and proxy testcase directly08:29
lifelessor you could look at bzr.dev's selftest --parallel=subprocess08:29
lifelesslater all08:32
Peng_jelmer: Also: You left some pdb bits in test_repository.py in 0.5 and 0.6.08:33
yogsotothHi all08:41
yogsotothI make a bzr pull ftp://name@orange.fr:pass@perso-ftp.orange.fr/root08:42
yogsotothand it works on OS X08:42
yogsotothbut not on Windows XP with Cygwin08:42
Peng_yogsototh: What version of bzr on OS X and XP? Pastebin the traceback you got.08:43
Peng_(Not that I'll be able to help, but other people will probably need that information.)08:44
yogsotothon Cygwin I installed a bzr version 1.3.1 (details http://www.mibbit.com/pb/TEixVg )08:45
yogsotothThe traceback is http://www.mibbit.com/pb/swVLXd , which means It cannot retrieve my username (certainly because of the @ in the user name wich can confuse with the @ just before the servername.)08:46
Peng_yogsototh: What version of bzr on OS X?08:47
yogsotothsorry my bzr version is 1.13.1 on Cygwin and I believe it is older on OS X but I don't remember exactly wich, may be 1.11, but I'm not certain.08:48
Peng_yogsototh: There have been recent fixes related to usernames with @ in them. Maybe the version you're running on XP is too old but the version you're running on OS X is new enough.08:48
Peng_Oh. Haha, never mind, I guess. :D08:48
yogsototh1.13 is the last stable version08:49
BasicOSX1.13.108:49
yogsotothThen I'll try with the 1.14rc108:49
Peng_yogsototh: Unless you're running 1.14rc1 on OS X, I'm probably wrong.08:50
Peng_Wait a minute, from the error you pasted, it sounds like the error is coming from the server, not the client.08:50
yogsotothI clearly not running the 1.14rc1 on OS X08:50
yogsotothYes08:50
yogsotothThe error come from the server08:50
yogsotothBut the weird thing about that is that it works on OS X08:51
yogsotothOK, you're certainly right.08:53
yogsotothI don't understand why, but I cannot connect my ftp server from windows, even with filezilla.08:54
yogsotothSorry then, it is then not a bazaar issue.08:54
stewart bzr branch lp:~eday/drizzle/eday-dev09:02
stewartbzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('NoSuchRevision',)09:02
stewartfrom latest bzr09:02
Peng_stewart: As a workaround, you could branch over http or sftp.09:03
lifelessspiv: is the fix done?09:26
bob2hm, something on my system is weird and made bzr's progress bar print one line per update09:28
lifelesslol09:29
lifelesssome terminals do a line feed when you hit the bottom right square09:29
lifelessother terminals can emulate this on demand09:29
lifelesswe write a lot of ' ' to blank out a line09:30
natureshadowhi there!09:53
natureshadowI just want to checkout a branch from a project's bzr repository on launchpad and generated an ssh key which I also uploaded to Launchpad09:54
natureshadowBut I renamed it to ~/.ssh/launchpad because I don't want so many files called id_dsa around ;)09:54
natureshadowHow do I make bzr use this key file?09:54
poolieBasicOSX: ok09:55
pooliebob2: try running the command 'reset'09:55
Kinnisonnatureshadow: You can add "IdentityFile ~/.ssh/launchpad" to an appropriate Host section of your .ssh/config09:56
Kinnisonnatureshadow: I've never tried before, but from reading 'man ssh_config' that seems the appropriate thing to do09:56
natureshadowKinnison: oh, of course .... stupid me, didn't think of ssh config ;)09:57
natureshadowWhat is the hostname, then?09:57
KinnisonNow that, I couldn't say09:57
natureshadowbazaar.launchpad.net ?09:57
Kinnisonbut *.launchpad.net wouldn't be a bad guess09:57
* Kinnison hugs wildcarded hosts09:57
natureshadowKinnison: ok :)09:57
Kinnisongood luck anyway09:58
Kinnisonthis is all untested guesswork advice09:58
poolienatureshadow: i think it tries id_* or something09:59
natureshadowI actually wonder what I need this for anyway, I thought I only need it for committing changes10:01
lifelessor just do 'ssh-add ~/ssh/launchpad10:04
Kinnisonpoolie: according to the manpage, it only does id_rsa and id_dsa10:05
Kinnisonlifeless: that also works, but only for one session10:06
natureshadowNow bazaar advices me to file a bug report because of an itnernal error10:07
natureshadowUnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 32: ordinal not in range(128)10:07
lifelessgarh10:23
lifelessloggerhead search support broken10:23
Peng_It is? How?10:25
Peng_(Not that I'll fix it, but I'm curious.)10:25
lifelesssearch.py is imported before load_plugins() is called10:27
lifelessAarons change to plugin path defaults means that that breaks loading search when search isn't globally installd10:27
Peng_Aughhhh! Loggerhead filled up my /tmp directory!10:27
Peng_Stupid ext3 32k link limit. But aughhh! Loggerhead, WTF?!10:27
Peng_Oh god, shell autocomplete is slooow.10:28
=== `6og is now known as Kamping_Kaiser
Peng_And I spammed the heck out of auth.log by trying to "sudo mv" them all at once. :D10:29
KinnisonPeng_: tmpreaper might be your friend10:30
Peng_Kinnison: Also Loggerhead not creating thousands of directories.10:32
Peng_Looks like I noticed after only 2 hours. Great. :)10:32
Peng_Glad my Loggerhead site is so unpopular. :D10:37
lifelessPeng_: I have put a fix up for bug 33425010:44
ubottuLaunchpad bug 334250 in loggerhead "Search does not seem to work" [High,Confirmed] https://launchpad.net/bugs/33425010:44
lifelessPeng_: if you wanted to poke at it that would be good10:45
Peng_lifeless: Currently busy on "Loggerhead filled my /tmp", but I'd be happy to look at it, though there's an extremely small chance of me knowing how to help.10:46
lifelessPeng_: 'works for me'10:47
lifelessPeng_: would be a good start :)10:48
Peng_lifeless: OK. Yeah, WFM.10:53
lifelessthat tmp thing looks fugly10:54
Peng_What looks fugly?10:54
Peng_The bug, or using /tmp at all or what?10:54
lifeless30K tmp dirs :)10:55
lifelessat the very least it could create a subdir off of tmp to put it's dirty linen in.10:55
Peng_lifeless: Well, it's only *supposed* to create one per load.10:57
Peng_Although it doesn't clean it up on shutdown.10:57
Peng_Err, by "load" I mean "starting Loggerhead", not "page load".10:57
poolienight all11:36
Peng_poolie: Good night.11:39
MezI keep having issues that I cant check in, it just sorta hangs at Transfer: Stage 0/411:47
lifelessthat means you are using a checkout from a network branch, sos it has to push11:48
lifelesswhat bzr version11:48
lifelessand what branch did you checkout11:48
Mez1.1311:50
awilkinsHow's Ashton-under-Lyne today?11:50
Mezyeah, we have a checkout of a network branch, and we're checking out over bzr+ssh.11:50
Mez(It's our own repository)11:50
Mezbut it's just hanging, doing nothing. (sometimes comes back with "too many concurrent connections)11:51
Mezbut this seems to be something that's happening a lot of late.11:51
lifelessMez: in which case, the time it takes to commit will be roughly the same as 'bzr push' after doing a commit in a local branch rather than a checkout11:51
lifelesshmm11:51
lifelessrun with -Dhpss11:51
lifelesssee what it is hanging on11:51
lifelessalso check the server .bzr.log for errors11:51
Mezwell, I'm running a reconcile on the server at the moment.11:52
Mez1.760  opening SVN RA connection to 'chroot-3076886316:/home/bzr/fusion'11:54
Mezwtf?11:54
Mezhttp://rafb.net/p/sYsx3J74.html11:56
Peng_Mez: bzr is trying to figure out what type of branch it is, so it asks bzr-svn, along with checking the built-in formats.11:56
awilkinsWould anyone be against `bzr revert` accepting globs?11:56
Peng_awilkins: Well, since I'm not a Windows user with a crappy shell, I would be.11:58
Peng_awilkins: It would mean I'd have to double-escape paths so they wouldn't be interpreted as globs, right?11:59
awilkinsPeng_: That's just mocking the afflicted though :-) - if it's good enough for SVN.......11:59
awilkinsI hadn't considered that ; but I don't see it either - what would you have to escape to stop it looking like a glob (my internal definition of "glob" may also be wrong here)?12:00
Mezlifeless: this is the .bzr.log so far up until it's hanging12:01
Mezhttp://rafb.net/p/Fxi2Dc91.html12:01
Peng_awilkins: Well, if  want to version a file called "foo*.txt" for some strange reason, I'd have to escape the filename for my shell, and then I'd have to escape it again for bzr.12:02
awilkinsMy example would be ; when I export a load of VBA form modules so I can version them, VBA inserts time-specific data into form resources, making them change every time, despite having no substantive changes in them. This I want to revert en-masse ;   svn allows   `svn revert *.frx` , bzr doesn't. As you pointed out, Windows isn't as accomplished in the shell dept and doesn't have xargs, for example12:02
awilkinsPeng_: Are you even allowed to name files like that on Linux VFS?12:03
lifelessawilkins: we process *.foo ourselves on windows12:03
lifelessawilkins: its completely fine to file a bug saying 'revert does not do this correctly on windows'12:03
lifelessawilkins: because we special case windows ;)12:03
awilkinsDoes it work using bash?12:04
Peng_awilkins: Bash does glob expansion itself.12:04
awilkinsThat was my next question :-)12:04
awilkinsI'm using Powershell, which is good12:04
lifelessawilkins: 'bzr add' for instance definitely does shell expansion itself; its probably a small matter of code to fix revert12:05
lifeless[on windows]12:05
awilkinsThe neatest construct I've found that works well so far is `ls *.frx | foreach { bzr revert $_ }12:05
lifelessMez: thats odd12:05
lifelessMez: is the process on the server busy?12:05
awilkinsBut that invokes a separate process for each file so less than ideal12:05
awilkinsbzr revert (ls *.frx) #  that works much better12:06
Mezlifeless: not particularly12:07
Mezhttp://rafb.net/p/G5WRq285.html12:07
lifelessMez: thats a lot of active processes12:08
lifelessare they all from the same user?12:08
Mezyes12:09
Mezthey're all root12:09
lifeless*blink*12:09
Mezthough I think some of them are previous failed attempts?12:09
lifelessare you connecting as root?12:10
lifelessor perhaps you're running an anonymous server at the same time ?12:10
Mez(we're logging in through SSH as root, as it seems to be the only way to get round the damned issues with permissions)12:10
lifelessoh12:10
lifelesscould you strace them all12:10
lifelessget a few seconds activity12:10
MezProcess 14831 attached - interrupt to quit12:11
Mezread(0,12:11
Mezis the latest one, and it's hung there12:11
Mezthey're all the same12:12
lifelessok, they are waiting for a request from the bzr client12:12
lifelessdo you have ssh connection sharing on ?12:12
lifeless(Master* stuff in your ~/.ssh/config)12:12
Meznot that I know of12:12
lifelesswell12:13
lifelesskill them all12:13
lifelessthen, your branch is probably locked12:13
lifelessso 'bzr break-lock' the url of your branch12:13
lifelesson the server12:13
Mezafk12:13
awilkinsGragh, BB needs to support searching12:19
Mezbak12:19
Mezlifeless: ok, all killed... what next (sorry, lunchtime)13:00
lifelessMez: break-lock as above13:02
Peng_Well, only if it's necessary.13:02
Peng_Or do we already know that it is?13:02
lifelessPeng_: one known cause of toomanyconcurrent13:02
lifelessPeng_: fixed I think, but - worth checking13:03
Peng_Oh, really? Interesting.13:03
SamBhmm, why does bzr have to keep deciding that directory adds cause conflicts :-(13:03
SamBjust because I personally have a directory in a given place already ?13:03
lifelessSamB: two possible reasons; if you ahve an unversioned local dir, bzr can't make the dir that a commit you're pulling added13:04
SamBwhy can't it just use the same one ?13:04
lifelessSamB: and secondly bzr versions directories so if A and B both add a dir called 'foo', seperately, bzr doesn't know that it should be the same dir13:04
lifelesswell say you had a dir called tests13:04
lifelesswith some thousands of test logs13:04
lifelessand someone adds a dir called tests to the project, with real files13:05
lifelesswhen you pull, would you want those intermingled?13:05
SamBwhat makes it particularly lame is that I think bzr tried to delete the directory in the first place ... but decided not to since there were files in (which I did not care about)13:05
lifelessSamB: right, this is a particular bug, its in discussion on the list, and its really annoying when it happens13:06
lifelessSamB: we will be fixing it!13:06
SamBoh good13:06
lifelessthe issue is those files that weren't versioned13:07
lifelessbzr doesn't know 'ignored, passwords' from 'ignored, editor backups'13:08
lifelessso we err on the side of preserving user data.13:08
SamBI'm not saying it should have deleted the directory13:08
SamB;-)13:08
lifelesswell13:08
lifelessthere are a number of ways to fix bzr here13:08
SamBbut it would be nice if it remembered that it had tried13:08
lifelessI'm just explaining the background13:09
Mezdamned netsplits :D13:13
Mezdid everyone survive ok ?13:15
SamBlifeless: I don't suppose you can turn on bug-tracking for bzr-bisect?13:16
lifelessSamB: if the author is maintaining it outside launchpad, he won't see bugs put into it...13:17
lifelessSamB: also its late, and I don't trust my judgement at this hour :)13:18
lifelessMez: yes; have you break-lock'd the branch?13:18
Mezyup13:18
james_wSamB: I thought it was on13:18
lifelessMez: ok, try your commit now13:19
Mezseems to have frozen again13:21
lifelesscheck strace on the server13:23
lifelessif its in read(0, ) again13:23
lifelessthen a) file a bug13:23
lifelessb) hit ctrl-\ on the client, then 'bt' to get a backtrace.13:24
lifelessand put that in the bug report too13:31
lifelessdo a bzr check on the server on the branch13:32
lifelessgnight all13:32
Peng_lifeless: Good night. :)13:33
OllieRhey I have renamed the directory which contains a bzr branch. It seems to think that it is still at its old location. See http://stikked.com/view/9464077813:43
Peng_OllieR: ls -l .bzr13:45
jelmervila: hi13:45
jelmervila: how do you think the fallback credentials stores should work?13:45
OllieRPeng_: yeah there is a .bzr dir in there13:46
vilaby being queried when they are registered iff no user and/or password is found13:46
OllieRPeng_: see output here http://stikked.com/view/9545104113:47
jelmervila: but where should the fallbacks hide?13:47
jelmervila: AuthenticationConfig.get_credentials()?13:47
vilajelmer: but before the user is prompted13:47
jelmervila: right13:48
vilayes, get_credentials sounds right and should respect the constraints above naturally13:48
Peng_OllieR: You're either using a checkout or a shared repository. If the former, fix the path in .bzr/branch/branch.conf. If the latter, make sure the branch can still find the shared repo.13:49
vilajelmer: did I lose track of your get_username submission or should you still send one ?13:50
Peng_OllieR: Probably; I dunno. :P13:50
OllieRso ls .bzr/branch/ output format  location13:51
OllieRlocation shows the old dir13:51
OllieRi will try changing this13:52
jelmervila: I still need to send it13:52
jelmervila: I need to fix the tests still13:53
vilaok13:53
bialixigc: around?13:58
Peng_bialix: ffwiw, he said "back in a few hours" 10 hours ago.13:59
Peng_fwiw*13:59
bialixanybody using fast-import plugin? I saw in ML several days ago fast-import trunk is broken for pack-0.92 format13:59
Peng_Sorry, not me.13:59
bialixhmm14:00
* bialix won't try to pull latest trunk then, and use known stable rev.14:03
=== ja1 is now known as jam
Peng_beuno: Pingy ping? :D14:19
=== thunderstruck is now known as gnomefreak
=== thunderstruck is now known as gnomefreak
Mezok, power fail :(14:46
SamBhow come the Bzr wiki doesn't have a place where you can click on the node title to see backlinks?15:55
KinnisonWhat is the recommended way for a new project wanting a robot-controlled mainline and web-based review to set up using bzr these days?15:59
KinnisonAt one point it was bundlebuggy+pqm16:00
Kinnisonthen there was talk of launchpad doing it16:00
Kinnisonand I've been out-of-the-loop for too long16:00
Peng_Kinnison: You can replace Bundle Buggy with Launchpad if you want to, but you're stuck with PQM.16:03
KinnisonI read about someone writing something which used launchpad's branch review stuff to trigger merges16:03
KinnisonI think it's 'tarmac'16:03
Peng_Ah. Good point.16:05
KinnisonI used to run a PQM16:07
KinnisonSo I might stick with that and sort out a bundlebuggy16:08
KinnisonBut I do quite like launchpad's review stuff16:08
Kinnisonurgh16:08
* Kinnison shall have to think about this, thanks peng16:08
emmajanehey all -- I'm adding myself to the OpenWeek schedule for an intro-to-bzr session.16:09
SamBhmm ... how do I switch a working tree to a specific revision?16:19
Peng_SamB: You can't really. Best you can do is "bzr revert -r 123".16:19
jamvila: good morning16:19
vilajam: hi !16:24
jamvila having a good day?16:27
vilajam: not one of the best :-/16:28
SamBhmm ... ran into bug 348456 ...16:47
ubottuLaunchpad bug 348456 in bzr "reconfigure always use default formats" [Undecided,New] https://launchpad.net/bugs/34845616:47
SamBand there's something wrong with the URL formatting in http://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html16:48
kfogelabentley: in Nested Trees, does "push" nest automatically?  If you run push in the containing tree, and you supply a dest argument, I guess the containing tree pushes to that location, but where would subtrees push to -- same place (hmrmrm) or to a remembered location?  Or not push?17:36
kfogel(abentley: realized it makes more sense to ask you bzr questions here!)17:36
abentleykfogel: I believe push doesn't currently nest, but it should.  It would push branches for subtrees to the same relative path the subtree is at.  Branch already does nest.17:45
kfogelabentley: thanks.  So just curious: if you go inside a subtree and do 'bzr push some-other-location --remember', will that memory be pushed up too?17:48
kfogelE.g, later you do 'bzr push' from the containing tree, with or without dest and with or without --remember, subtree still goes to old remembered location?17:48
abentleykfogel: --remember will only have a local effect.17:48
kfogel*nod*17:49
abentleykfogel: So perhaps when you push to a location, that branch should be consulted to determine where to push subtree branches to.17:50
abentleySo, with branch "a" and branch "a/b", pushing to "c".17:50
kfogelabentley: that's one possibility, yeah.  I can see how figuring out the expected behavior might get complicated here :-).17:50
abentleyPush a to c.17:50
kfogelabentley: support for single-file subtrees?  That is, do subtrees have to be directories?17:51
abentleylook up d's location for b.17:51
abentleysorry, look up c's location for b17:51
abentleyWhich is 'd'.17:51
abentleyPush to 'd'.17:51
kfogel(I like that solution best, I think.)17:51
abentleykfogel: Subtrees have to be directories.17:52
kfogelThe whole push question has nothing to do with the Subversion comparison, of course -- Subversion doesn't support that stuff anyway.17:52
abentleyMaybe not, but I appreciate the questions.  These answers have a bearing on what I'm working on right now.17:52
kfogelno plans to change the "subtrees must be directories" thing, right?17:54
kfogelAnd, any plans to change the "must be specific revision-id" rule?17:54
abentleykfogel: It doesn't really make sense to me.17:54
abentleykfogel: If it were a file, what would the reference point to?  You can't have a working tree without at least a root directory.17:55
kfogelabentley: in terms of user-visible behavior, we could describe what it means.  How it would be implemented, I have no idea.17:55
abentleykfogel: the must be specific revision-id thing isn't a firm stance-- I'm curious why using head might be a good idea.17:56
kfogelabentley: you could horn the metadata into the containing tree's metadata, i.e., "we've also got this file here from out of town...".  Not saying this is clean or desirable, just describing how svn does it.17:56
abentleykfogel: Ah, so svn externals may be files?17:56
kfogelabentley: some projects under development want (even need) to track the dev versions of dependencies.17:56
kfogelabentley: yes.  svn's single-file support is currently weak, but that's only because of technical reasons; there are plans to make it stronger.17:57
abentleykfogel: Sure.17:57
abentleyBut I think you would address that by updating to the latest dev version, and committing.17:58
abentleyYou can still pull new dev versions at any time.17:58
kfogelabentley: it's interesting -- it sort of approaches the same result, over time, yeah.17:59
abentleykfogel: I think it makes a lot of sense that when you check out a tree that has subtrees, you get a reproducible result.17:59
kfogelabentley: I agree that can be a useful property.18:00
abentleyI thought maybe svn didn't do that because users were managing that metadata.18:00
kfogelI think that's a good analysis.18:00
abentleyAnd updating it all the time would be a pain.18:01
kfogelthe way bzr does it is more appropriate for bzr.18:01
abentleykfogel: Yeah, reading the SVN docs, I realize that nested trees are not going to be a superset of externals, at least not initially.18:02
kfogelabentley: so you can read this at the newly-updated http://bazaar-vcs.org/NestedTreesDesign page, but: svn has a "--ignore-externals" flag that can apply to any operation that would normally pay attention to externals.18:03
abentleykfogel: If we decide we want to allow the head to be specified, we can use one of our reserved revision-ids.18:03
kfogelabentley: interesting!  Yeah.  But I kind of think you're right: there's no need to support it, and in fact it would be rather un-bzr-like.18:03
kfogelSubversion just does it that way because updating the specific revision-id would not be easy, given that it doesn't come for free with the other UI around updating.18:04
abentleySimilarly, once we support partial checkouts, we might be able to support references to single files.18:04
kfogelah, cool18:05
abentleykfogel: At the same time as supporting references to parts of the tree.18:05
abentleykfogel: For now, we can suggest using symlinks like launchpad does.18:06
kfogelpartial trees will be nice, I think.18:06
abentleykfogel: You're not the one who'll have to update merge :-(18:07
kfogelabentley: that's right :-)18:07
kfogelabentley: why, I'm so enjoying the freedom to have opinions without worrying about how I'd implement them.  "Waiter, I'll take one more of these, please!  No, actually, make that two."18:07
=== nevans1 is now known as nevans
abentleykfogel: lol18:08
abentleykfogel: Thanks for looking at that.18:11
abentleykfogel: Is there anything I should clarify in the design doc?18:12
kfogelabentley: who is the intended audience for the design doc?18:13
kfogeldevs or users?18:13
abentleykfogel: devs18:14
kfogelcool (that was my guess).  I think just clarify the plans around push, since the answer there is not obvious.18:15
abentleyCool, will do.18:18
SKArfaceGCkfogel: thanks for your comment on my learning bzr stuff I posted last week.18:25
kfogelSKArfaceGC: hey, glad you're writing it18:26
SKArfaceGCkfogel: I think I'm going post about messing around with repositories and push/pull next.  I'll work on auth/permissions in the next one.18:26
kfogelok, I'll wait :-)18:27
SKArfaceGChow did you find it?18:28
kfogelgoogle alert18:28
kfogelbzr18:28
SKArfaceGCaaah18:28
SKArfaceGCafter using cvs for 10+ years bzr is like a breath of fresh air.  Still working through stuff, but I think it may ultimately solve several problems for us.18:30
mrooneyAnyone know where svn stores its cached auth data in windows, I need to clear it.18:38
mrooneyI bet jelmer would know :)18:40
Peng_I bet #svn would know! :P18:40
Peng_(Kidding kidding.)18:40
mrooneyPeng_: I asked there too but there are plenty of smart svn people here :)18:40
jelmer_kfogel: I noticed you added some comments about svn:externals to the NestedTrees wiki page18:56
jelmer_kfogel: I've been trying to decide how to deal with unversioned svn:externals in bzr-svn as there doesn't seem to be a good bzr substitute for those18:56
abentleyjelmer: Did you see my comments under "Comments on differences"?19:09
* jelmer_ looks19:13
jelmer_abentley: most of the svn:externals uses I have seen so far don't use an explicit revision19:14
jelmer_abentley: I'm not sure if this is because it's hard to update the revision (you have to edit a revision property to do so) or because people prefer pointing at HEAD19:15
jelmer_s/revision property/file property/19:15
abentleyjelmer_: I think it's probably the first.19:15
abentleyjelmer_: it may be that we add head support anyway, just to make bzr-svn work.19:16
* LarstiQ certainly uses revision pinning in svn:externals19:19
LarstiQhello, btw19:19
abentleyLarstiQ: hey.19:23
jelmer_hi LarstiQ19:48
jelmer_vila: Is it correct that webdav support may end up in bzr core?20:00
LarstiQhi abentle, jelmer_20:01
jelmer_LarstiQ: have you looked at bug 336749 recently?20:17
ubottuLaunchpad bug 336749 in bzr-svn "reconcile raises a KeyError on a fresh branch" [Undecided,Invalid] https://launchpad.net/bugs/33674920:17
=== abentley1 is now known as abentley
LarstiQjelmer_: no. I realize you'd like to tackle it before 1.020:23
LarstiQjelmer_: please tell me I'm not the only hope of progress?20:24
=== jelmer_ is now known as jelmer
=== lifeless_ is now known as lifeless
=== BasicPRO is now known as BasicOSX

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