/srv/irclogs.ubuntu.com/2008/01/07/#bzr.txt

lifelessspiv: FWIW I think RemoteRepository really wants to be a Repository subclass; but lots of Repository stuff wants to be on other subclasses00:11
spivYeah, I think RemoteRepository wants to be a subclass too.00:11
lifelesspoolie: I've popped up for air; its going really well.00:18
pooliegreat00:18
lifelesspoolie: if you want a call; now is a good time for me.00:20
pooliesure00:21
lifelessand to the crowd in general, review sought on [MERGE] New development format (unchanged) and alias support for format00:21
lifelesspoolie: I'll call in a sec00:21
poolielifeless, did you say something the other day about the feisty bzr repo being out of date01:36
poolie(as in https://answers.launchpad.net/bzr/+question/21602)01:36
core-ixi have a question about bazaar vcs: does it support user rights (access to branches like read/write) and secure communication over the internet (i.e. SSL/TLS) ?01:47
pooliecore-ix, yes, you can do access control either through the 'bzraccess' hook, or by OS permissions on the repo01:47
poolieand you can use either bzr+ssh, sftp, or https for encrypted access01:48
core-ixok, thanks poolie ... i'm choosing new VCS for several projects and i need those features i mentioned before01:49
lifelesspoolie: yes, on my todo01:49
lifelesspoolie: I should get to it today I hope; I figure its not life or death right now01:49
induhiall07:47
induhi all07:47
induin loggerhead, i want the Log, Inventory, RSS,Repository under the branch itself , means, how can I  do it?07:55
indujust similar to http://goffredo-baroncelli.homelinux.net/bazaar-dev07:55
=== bitmonk is now known as bitmonk|sharp
induhow can i improve my loggerhead look similar to http://goffredo-baroncelli.homelinux.net/bazaar-dev08:04
indumwhudson, can you help me in this please08:04
=== bitmonk|sharp is now known as bitmonk
=== bitmonk is now known as bitmonk|sharp
induDo I need to use redirect option of apache for this ?08:48
indumwhudson, are you there08:51
induanyone please tell me where can I get help in loggerhead,08:51
poolieindu, from mwhudson,09:00
poolieor i suggest you use the list or http://answers.launchpad.net/bzr09:00
indupoolie, he is in leave till feb 4th itseems09:01
poolieindu, i'm not sure but i think that page is actually running the webserve plugin09:01
pooliewhich is different to loggerhead09:01
ubotuNew bug: #180969 in bzr "export to a non-existing directory failed" [Undecided,New] https://launchpad.net/bugs/18096909:11
TFKylehmm, for some reason bzr pull lp:someproject doesn't work here (tries to use a local dir /cur/path/lp:someproject/) even though bzr ls lp:someproject does, is there a reason for that? (bzr 1.0 and 1.1rc1)10:07
poolieTFKyle, that is strange, could you please file a bug on http://launchpad.net/bzr ?10:35
siretart'bzr get lp:bzr' takes about 5 minutes. is this 'normal'?11:25
siretartfeels quite slow11:25
vilaabentley: BB down since more than 12 hours now12:35
abentleyvila: Thanks.  Restarted.12:38
ubotuNew bug: #180996 in bzr "bzr checkout fails with 'No buffer space available'" [Undecided,New] https://launchpad.net/bugs/18099612:50
induanyonw here again now, who has idea about loggerehad configurations12:52
=== mrevell is now known as mrevell-lunch
=== mrevell is now known as mrevell-lunch
inducould some one give me the path for webserve, download12:55
induis there a way of receiving a mail when someone uploads some source into my repo12:59
vilaabentley: thanks to you ;-)13:06
abentleynp13:06
vilaabentley: now, that I can access it again, I notice you voted tweak on http://bundlebuggy.aaronbentley.com/request/%3Cm2fxxl1yzv.fsf@free.fr%3E13:09
vilabut I *never* saw the email ???13:10
abentleyYeah, it's a problem because I changed my email, but BB wants to use the wrong one.13:10
abentleyWhich Mailmain no longer recognizes as a subscriber.13:11
vilaabentley: ok ok13:12
abentleySo for now, I can only vote by mail, which I didn't realize then.13:12
denndahttp://paste.pocoo.org/show/19892/ <-- Any thoughts on how to resolve that?13:13
denndaworks again13:20
denndamagic13:20
Pengdennda: Perhaps you had another bzr process running?13:30
denndamaybe13:32
=== mrevell-lunch is now known as mrevell
lifelessindu: perhaps ask on list13:51
lifelessindu: I suspect people are not understanding the question.13:51
lifelessngiht all13:51
=== bigdo1 is now known as bigdog_
=== cprov is now known as cprov-lunch
=== cprov-lunch is now known as cprov
=== mw|travel is now known as mw
mgedminI don't suppose there's a vcscommand vim plugin for bzr?16:02
* mgedmin settles for bzr get lp:bzr-vimdiff ~/.bazaar/plugins/vimdiff16:04
mgedminwhy does 'bzr st' print paths that aren't valid in the current directory, when you're not in the root of a working dir?16:09
PengYeah, it prints paths relative to the root.16:11
PengGod knows who made that choice and why.16:12
PengThere's at least thought of changing it.16:12
mgedminI think I vaguely remember a discussion about this, maybe on the mailing list16:12
mgedmintoday it bit me, and I wanted to ask here before filing a bug report16:12
PengYeah, mailing list.16:26
mgedmindo you perchance have a url/date + subject?16:28
PengNopers.16:28
asaclifeless: is bzr init without any repo format option what i should use for large projects/max speed nowadays (latest 1.1.0.dev.0)?16:36
vilaasac: yes16:43
dleeGot a bzr bind that stalls seemingly forever (until I kill it), but a bzr push to the same repo works fast.  The repo is a bzr:// one where the marchine name maps to a VPN-accessible subnet.  Since bzr push works, I figure it's not a connectivity problem though.  Bzr 1.0.16:49
salgadohey there18:29
salgadois there any easy way to find the latest N revisions which touched a given file?18:29
luksbzr log path/to/file --limit N18:30
salgadothat easy!?18:31
salgadothanks luks. I hadn't notice I could use 'log' on a file/dir18:35
lukswell, log on a dir will probably not do exactly what you expect18:35
luksbut on a file it should work fine18:35
=== salgado is now known as salgado-afk
=== salgado-afk is now known as salgado
=== cprov is now known as cprov-out
dleeRe my earlier issue with bzr bind hanging where bzr push works fine:  bzr tags -d <same_repo> also hangs.  Ideas for what to look for welcome.20:45
viladlee: have a look at $HOME/.bzr.log, then you can also try -Dhpss20:54
dleeDoing...20:59
lifelessmoin21:01
dleeResults: Stall after "ok" result from repository.get_revision_graph; sending SIGINT gives a traceback in the log.21:08
lifelessdlee: file a bug please21:19
dleeWill do21:22
dleeEtiquette questions btw: Is it best to check here before filing a bug, or just to go file and ask later?  Also, I park here to ask and (when I actually know enough) answer questions.  I'm not a Bazaar developer though (if I learn a bit of Python this may change...).  Please let me know if there's a better way before I unwittingly become a pest. :)  (I say all this because, for whatever reason, many questions I've asked since the day I fil21:28
beunodlee, asking for help and before filing a bug is just fine21:28
beunoit's a bzr-in-general channel21:29
datodlee: (your line broke up at "the day I fil")21:29
dleeArg... my client shows it all. :P thanks for the catch21:30
dlee  filed the cvsps-import_under_Cygwin bug have drawn no comment)21:30
lifelessdlee: I'd rather you file a bug than the issue go unknown by folk who are coding; asking here first is good but if its inconclusive please do file a bug21:30
lifelesson IRC people will often not respond if they have no clue21:31
lifelessso if what you're asking is not obvious you may get no commit ;)21:31
dleeLifeless: ok thanks.  I figured silence meant uncertainty, but after a week or so of the same luck, I thought, "I'm too new to find so much new stuff already!" :)21:32
zeasierare there any bug tracking applications that work with bzr?21:35
zeasierheard of the trac module but haven't gotten it to work21:36
PengWell, there's Launchpad.21:36
lifelessand trac21:36
lifelessand cart21:37
lifelessand bugs everywhere21:37
lifelessand I think there's a buzilla module for bzr, so you can write a script to interrogate a bzr repo and use that to modify bugzilla21:37
zeasierlaunchpad is pretty cool21:37
zeasierbut it isn't for closed source projects21:38
zeasiernever heard of cart and bugs everywhere21:40
RinchenHi folks.  I have a quick question.  When I do a bzr whoami, I get my correct email address (verified in bazaar.conf) but when I do a bzr commit  it uses a different gpg key (from another email address in the ring).  Ideas on how I can fix that?21:40
lifelesszeasier: you should talk to 'statik'21:46
zeasierjust found the cart thread in lists.ubuntu.com21:47
zeasierlooks interesting21:47
lifelessRinchen: you can set a gpg signing command21:47
lifelessRinchen: possibly there are other gpg options; have you looked in the manual ?21:47
Rinchenlifeless, I've been scanning through it now21:48
Rinchenso far, no luck21:48
lifelessabentley: still thinking about annotating inventory changes? I'm thinking that this format can generate revision markers for execute bit/sha/name/parent etc quite easily during composition21:52
lifelessabentley: course at the start of a new delta chain it would be all new :(21:52
lifelessRinchen: probably the wrong way, but I'd start with gpg_signing_command = gpg --id FOO (or whatever gpg takes as options)21:54
lifelessRinchen: I think that that will work21:54
ubotuNew bug: #181115 in bzr "bind and tags hang where push does not" [Undecided,New] https://launchpad.net/bugs/18111522:05
Rinchenso lifeless, it seems that it was a gpg thing as you suspected.  Looks like seahorse does not actually include the "default-key" option in gpg.conf when you select it (bug maybe) so I had to manually specify that. By default it seems gpg uses the oldest private key to sign with (per a pipermail archive)22:18
lifelesswoo22:33
lifeless2 tests failing only (but inter foo is entirely absent)22:33
PengOooh, I forgot that 'bzr branch' uses the branch format of the branch being branched from, not the repo.22:38
PengSeems I did have some older branches.22:41
ubotuNew bug: #181123 in bzr-cvsps-import "Tags import as branch tips, not tags" [Undecided,New] https://launchpad.net/bugs/18112322:41
ubotuNew bug: #181124 in bzr "short options for bzr ls" [Wishlist,Confirmed] https://launchpad.net/bugs/18112422:45
abentleylifeless: No, I'm not actively planning to handle criss-cross inventory merging.  It strikes me that we could apply LCA merge, though.23:00
lifelessI'll need to read up on lca merge23:00
mtaylor24605 mtaylor   18   0 1205m 976m 7928 D   19 32.5   9:06.60 bzr23:02
mtaylordamn that's a lot of memory23:03
jelmerwhat is it doing ?23:03
abentleylifeless: One way to look at it is 3-way, extended to handle multiple bases.23:04
abentleyIf it's really painless, then by all means, include annotation.23:04
abentleylifeless: Bugs Everywhere and Cart are unfortunately abandoned now.23:05
mtaylorjelmer: svn-import23:06
mtaylorjelmer: copying revision 3341/685123:06
mtaylor:)23:06
jelmerah23:06
jelmermtaylor: you did see the link to the python-subversion memory leak fix?23:06
mtayloroh, no... is that what that is?23:07
jelmerI think so23:07
mtaylorahhhhh. that would make sense23:07
jelmerhttp://subversion.tigris.org/issues/show_bug.cgi?id=305223:07
jelmeror the matching Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=42875523:08
ubotuDebian bug 428755 in python-subversion "bzr-svn: 'bzr push' consumes memory" [Important,Open]23:08
lifelessabentley: oh, ok :(23:13
lifelessabentley: I think InterRepository._same_model is the reason you can pull subtrees into rich roots23:14
abentleyHrm.23:15
lifelessit only looks at one of the two parameters23:15
abentleyI'm wondering whether our InterRepository approach is too much LBYL.23:15
abentleyIf you look at what we did with diff, for example.23:16
jelmerabentley: LBYL?23:16
lifelesswell it was intended to be simply a multimethod; the model stuff that has crept in adds confusion I think23:16
lifelesslook before you leap23:16
abentleylifeless: But perhaps it would be nicer if it you just called interrepo.fetch() on all registered interrepos until it succeeded or you ran out.23:17
abentleyThat way, we would have enough data to determine whether a fetch from 'subtrees' into 'rich-root' could succeed.23:18
lifelessah, I see23:18
lifelessso nuke is compatible23:18
lifelessand do a loop23:18
abentleyRight.23:19
lifelessI don't think it would make a difference in this case; we need something that knows 'subtrees allowed/not allowed' and raises when it sees them23:19
lifelessso one interrepository can do all rich-root variations that use the same inventory serialisation API23:20
lifelesswhen do you start with Canonical ?23:20
abentleyA fetch from subtrees into rich-root could look for subtrees in the inventories it was fetching.23:20
abentleylifeless: I start next week.  And I'll be in Sydney the week after.  Too bad I'll miss you.23:21
lifelessright, and a fetch from subtrees into subtrees needs to look for subtrees in the inventories as well to fetch dependent data doesn't it ?23:21
abentleyMmm.  Not sure.23:21
lifelessso a InterSubTree parametereised with either "lambda x: raise NotSupported " or "queue a revision id to copy"23:22
abentleyI think that's right.23:22
abentleyThe problem of fetching dependencies was one I had put off.23:22
lifelessanyhow, I only noticed that as I refreshed my head on InterRepository to do this journalled inventory logic - I need to make sure that all the delta elements are fetched correctly injounralled->journalled, and that revisions are reserialised in journalled<->non-journalled23:23
abentleyinjounralled->journalled ?23:24
lifelessin (journalled->journalled)23:24
abentleyright.23:24
lifelessa journalled inventory repository has inventory deltas rather than xml deltas23:24
lifelesscool23:25
abentleyAre you doing unidirectional or bidirectional deltas?23:25
lifelessminimal unidirectional with full entry contents included23:25
abentleyAlso, you were asking about why we're including revision-ids in inventories.23:26
lifelessthat is we write out a new entry and nothing about the old state, and we also write out a line when a delete occurs23:26
abentleyjam could answer that better, but I believe it was a performance win.23:26
lifelessI was having a brain-fart morning;23:26
lifelessI'm pretty sure it was for the working tree basis cache23:26
lifelessso that we didn't have to reserialise the XML23:27
lifelesswhich is a bit bogus when you think about it (you can just prefix the repository xml with a revision id). But it doesn't matter anyhow, because I already had a version: field for the journal entry23:27
abentleySounds plausible.23:27
lifelessso, I don't think this journal contents is necessarily optimal; I only claim its better than the xml delta style23:28
lifelessin fact I may change it to only have the basename of the path23:28
lifelessbecause the case where the exact pathname is interesting is insufficient to do things log like PATH or 'find PATH in history'23:29
lifelessso it doesn't seem like a useful optimisation and it costs quite some duplicate text for the dirname of the path to be included.23:29
abentleylifeless: Or to be really minimal, you could just include the paths of parents once.23:31
abentleySince we have the parent-id already.23:31
lifelessnot quite sure what you mean there; how is that different from just the basename of the path ?23:31
abentleyI assume if you have three children of 'foo/bar', you would include 'foo/bar' three times.  Correct?23:32
lifelesscurrently yes; it was moddelled on the python inv delta object23:32
abentleyFuture: no?23:32
lifelessWell like I say above I'm considerring dropping it back to just the basename23:33
lifelessso foo/bar/baz and foo/bar/quux -> 'baz' and 'quux'23:33
abentleyThe example I gave had just the basename23:33
abentleyI think we're probably in violent agreement.23:33
* lifeless is confused23:33
abentleyNo, my bad.23:34
abentleyI was thinking dirname, not basename.23:34
lifelessah!23:34
abentleyNot enough sleep.23:34
abentleySo if the dirname was considered useful at all, a future format could include it only once.23:34
lifelesse.g. on the dir itself23:35
fullermdSorta mtree-style-ish.23:35
lifelessbut that then prevents grep style matching23:35
abentleyThe dir itself might be unchanged?23:35
abentleyTherfore not included in the delta.23:35
lifelesswell, I need to keep the stuff I'm working on paged in23:35
abentleyOkay, nm.23:36
lifelessso I'm going to not chase this just now23:36
lifelessbut yes - iteration on the basic concept++23:36
abentleyWhat you've got already sounds quite useful.  I look forward to applying it to iter_changes.23:37
lifelesscool23:37
lifelessI don't think it will save 'load the full inventory' but it should drop it from loading 2 to loading 1 and using the delta23:38
lifelessI think you can also do log -v well from it with some care23:38
abentleyYes.  bidi is what will give us the ability to avoid the full inventory.23:39
lifelessabentley: I think we need more than journalling to achieve that23:43
lifelessabentley: but I may be wrong. I'm htinking about operations on children of renamed dirs.23:44
abentleyWell, path reconstitution is not actually needed for iter_changes.23:45
abentleythough it would be for generating an inventory delta.23:45
abentleyBut we can sort it out later.23:46
lifelessyah23:48
lifelessI wonder if its time to write the 'tree at a time copier' again23:49
abentleyLikely.23:50
abentleyIt's as old as the hills.23:50
lifelessI thought we didn't have one23:51
lifelessit got lost in the -> weave transition23:51
abentleyInterDifferingSerializers is a tree-at-a-time fetcher, if that's what you mean.23:54
lifelessoh sweet23:55
lifelesscause I need to fix:23:55
lifelessBzrError: Corrupt repository, final inventory validator mismatch for robertc@robertcollins.net-20051005095108-6065fbd8e7d8617e, '0db02bfb8702b10a0df52ecc6ba89bb5aefd61c6' != '1132d23eb4e5ce1c73470259de6c84789a32adff'23:55
lifeless(this format checks the sha1 on every inventory access)23:55
abentleyAh.  Perhaps something is matching that shouldn't.23:56
lifelessyah23:57
lifeless:)23:57
lifelessat least thats my current theory23:57
lifelesserm no23:59
lifelessthere's a bug in that fetcher :)23:59
lifelessit installs the inventory23:59
lifelessbut it doesn't capture the inventories sha123:59

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