/srv/irclogs.ubuntu.com/2009/10/20/#bzr.txt

jelmerlifeless: anyway, thanks for the comments. I'll give it some thought00:00
lifelesskk00:01
igcjelmer: on another topic, what's your timeline for subvertpy 0.7 being released?00:01
jelmerigc: Nothing in particular at the moment; if it would be useful for you I could do a release right now00:02
igcjlemer: I'm not reconsidering where best you new fast-import script lives00:02
igcs/not/now/00:02
igcjelmer: my worry is that 0.6.9 is in karmic00:02
igcjelmer: does subvertpy end up in our PPA?00:03
jelmerigc: there is a separate subverpty PPA but it doesn't have very recent versions at the moment00:05
jelmerigc: that's fixable though00:05
igcjelmer: maybe my wrapper script - fast-export-from-svn - ought to look for your script and use it if found00:06
igcotherwise, fall back to the current one00:06
igcyour script could live in subvertpy00:06
igcand be called something like "subvertpy-fast-export" ...00:07
igcor subversion-fast-export even00:07
igcjelmer: ^^^00:07
jelmerigc: that'd be fine with me00:07
igcjelmer: ok, let's do that00:08
jelmerok00:08
igcjelmer: so the next step is for you to release 0.7.0 with that script included and point me to a PPA00:08
igcI'll them tweak fast-export-from-svn to go looking for it00:09
igcthen00:09
jelmerigc: ok00:09
igcjelmer: cool00:10
* igc out for medical stuff - bbl00:22
=== MarkAtw2 is now known as MarkAtwood
jelmerigc: I've uploaded 0.7.000:44
jelmerlifeless: so, there are two implementations that should be distinct imho: the ignore file implementation and the working tree implementation, the two aren't necessarily coupled01:26
igcthanks jelmer01:26
jelmerlifeless: I'd rather see them in separate source files as we for clarity's sake01:26
lifelessjelmer: we don't really have a private module concept though01:27
jelmerfrom the working tree's pov it shouldn't matter what format ignore file is used01:27
lifelessand it is odd to have a module thats all private01:27
lifelessjelmer: actually it matters a lot01:28
lifelessjelmer: wt4 on all bzr versions that support wt4 should be able to process the ignores01:28
jelmerlifeless: I haven't mentioned privateness anywhere01:28
jelmerlifeless: is that really necessary? That would imply .gitignore support in bzrlib or no support for .gitignore in bzr working trees at all01:30
lifelessjelmer: bzr checkout <project> foo; cd foo; (build); bzr st01:30
lifelessshould be clean01:30
lifelessif the authors have made it clean using ignores01:30
lifelessshouldn't it?01:31
jelmerlifeless: yes01:33
jelmerlifeless: but would it be ok if that required bzr-git if the original branch was imported from git?01:33
jelmerlifeless: I agree it's not ideal but I don't see anything significantly better without storing ignores as tree metadata rather than inside the tree01:34
lifelessjelmer: igc has a 'needed plugins' concept that is worth exploring more01:34
lifelessPersonally, I'd hesitate to add this indirection to existing tree formats01:36
lifelessbut I only say hesitate because clearly all imports can't work today, so its not really a regression01:37
jelmerlifeless: what's the problem with adding this to existing formats compared to adding it to new formats?01:42
lifelessnone of the existing bzr versions - e.g. 2.0.0 - know how to handle it01:44
jelmerlifeless: I do see your point, though it's hard to come up with anything else that allows the use of foreign ignores in the short-o to mid-term01:54
lifelessjelmer: we have 5 months before the next stable release01:56
lifelessjelmer: and as I say, *I* would hesitate, thats not to say it shouldn't be done.01:57
lifelessI would worry that it will confuse folk on 2.0.0 to have someone say 'wow x works' and not have it work for them.01:57
lifelessparticularly with e.g. NFS home dirs01:57
spivmwhudson: so, did you capture any other tarballs?  What was the command you ran?02:01
jfroy|workwhoa02:05
jfroy|workI think I've found a serious bug.02:05
jfroy|workor there's something very weird going on.02:05
jfroy|workI removed a file I am certain is under version control from a checkout, and bzr st is reporting nothing02:05
jfroy|workI change that file from the base, and bzr st reports nothing.02:06
jfroy|workAnd I moved aside .bzrignore02:06
jfroy|workI'm scared :|02:06
spiv.bzrignore won't affect files that are already versioned.02:06
bob2is it shown by 'bzr inventory'?02:07
bjpwill loggerhead work with the new 2.0 formats?02:07
spivbjp: yes, although you probably need a recent version.02:07
bjpi'm pretty sure i have the latest02:07
bjpjust wanted to make sure before converting my repos02:08
jfroy|workyes, bzr inventory shows the file02:08
mwhudsonspiv: just bzr get lp:~ubuntu-core-doc/gnome-user-docs/ubuntu-karmic02:08
mwhudsonspiv: but i access the copy of the branch in the hosted area02:08
lifelessjfroy|work: details02:08
jfroy|workwhat do you need to know?02:09
lifelessjfroy|work: is the file in 'bzr inventory -r -1'02:09
mwhudsonspiv: let me faff for a moment02:09
lifelessor if inventory barfs on that, can you do 'bzr cat -r -1 PATH'02:09
jfroy|worklifeless: yes02:09
lifelessand you have deleted it now02:10
lifelessbut 'bzr st' doesn't reflect that?02:10
jfroy|workone sec, more weirdness02:11
jfroy|worktes02:11
jfroy|work*yes02:11
lifelessis the file in 'bzr inventory'02:12
jfroy|workit is02:12
jfroy|workthis is very odd02:13
lifelessso, if its in bzr inventory its not 'removed' but it could be missing02:13
lifelessits odd for 'bzr st' not to show it02:13
lifelesswhat bzr version?02:13
jfroy|work2.0.102:14
jfroy|workthere's more going on here02:14
jfroy|workI think my system has gone nuts :p02:14
mwhudsonstrange, mkdir in lftp always fails against codehosting02:14
jfroy|workAH!02:15
lifelessyes, codehosting isn't quite sftp anymore02:15
* jfroy|work hides in shame02:15
spivmwhudson: maybe it tries to emulate 'mkdir -p' but gets confused about the topmost directories not actually existing?02:15
lifelesspwd != pwd ?02:15
jfroy|workI was operating on a different directory in the GUI than the shell02:15
mwhudsonspiv: hm, maybe02:16
jfroy|workI apologize.02:17
fullermdGuuuh.  Stupid stat begging for WT...02:19
lifelessjfroy|work: no worries02:23
spivmwhudson: how goes the faff?02:27
spivmwhudson: that branch command worked for me, btw02:27
mwhudsonspiv: progress, i think02:27
mwhudsonspiv: i'm not entirely surprised02:27
* spiv nods02:27
mwhudsonspiv: try bzr get lp:~spiv/+junk/u-k02:29
spivmwhudson: curiously, my fetch retrieved an identical number of revisions, inventories and texts as your tarball02:29
spivheh02:29
spivThat reminds me I should make some noise on the bug for 'should not be able to make random stuff owned (and thus implicitly attributed to) people w/o their permission'02:30
mwhudsonspiv: i can only do that because i'm a bazaar-expert02:31
spivAh, that's good.02:31
mwhudsonspiv: a copy of the branch made with lftp's02:31
mwhudson'mirror' command is at https://devpad.canonical.com/~mwh/mirror.tgz02:31
* spiv encoffees02:31
spivmwhudson: that reproduces, thank you!02:44
mwhudsonspiv: yay02:45
spivHmm, I should probably grab a mirror of the stacked-on branch too, just in case.02:52
mwhudsonyes i guess so02:55
spivif nothing else, being able to reproduce without consuming my adsl bandwidth would be plus :)02:57
mwhudsonheh yes02:58
spivmwhudson: I have some sort-of good news for you03:39
spivmwhudson: it's almost certainly a client-side bug, which means no cherrypick when I do fix it ;)03:39
mwhudsonspiv: yay03:39
igcmwhudson: re bug 441125 ...03:42
ubottuLaunchpad bug 441125 in bzr "bzr: ERROR: exceptions.KeyError: ('makefile.am-20080508221105-rbs9wugi1qq76gcs-2', 'scott@netsplit.com-20090702173125-4nayj8jp8h4f8jnq')" [High,In progress] https://launchpad.net/bugs/44112503:42
igcI used lftp to grab the branch03:42
igcbut it doesn't report being a branch once I grab it03:42
igcshould I use 'mirror' instead?03:43
mwhudsonigc: how did you grab it?03:43
igcmwhudson: or maybe it was just lftp user error on my side?03:43
mwhudsonigc: also if it's stacked, the stacked on branch will be relative03:43
mwhudsonigc: so you'll need to fix that03:43
igchmm03:44
* igc looks03:44
igcmwhudson: I don''t think it's stacked looking through the .bzr directory03:47
igcmwhuson: bzr info -v reports it as being an unshared repository, even though .bzr/branch and all the files seem to be there03:47
mwhudsonigc: what is in .bzr/branch/branch.conf ?03:47
igcah, me wrong ...03:48
igcparent_location = lp-hosted:///%7Escott/upstart/trunk/03:48
igcstacked_on_location = /~scott/upstart/trunk03:48
igcthat's all03:48
* mwhudson gets out his "practical bzr debugging" badge03:48
igcspiv: ping05:38
igcspiv: any chance you could be second reviewer on some simple patches in the queue?05:39
igchttps://code.edge.launchpad.net/~mathepic/bzr/mkdir-recursive/+merge/1338005:39
igchttps://code.edge.launchpad.net/~joke/bzr/bugfix353370/+merge/1340405:39
igchttps://code.edge.launchpad.net/~mathepic/bzr/remove-tree-multi/+merge/1345105:39
igcspiv: all are just a few lines long and pretty straight forward imo05:40
spivigc: ok05:43
igcspiv: also, is https://code.edge.launchpad.net/~jameinel/bzr/2.1-static-tuple-chk-map/+merge/13082 ready to land?05:44
igcfor some reason, I'm not allow to change it to "Approved'05:44
igcspiv: maybe because you claimed the reivew?05:45
spivigc: because the target is not a branch you have rights to05:48
igcspiv: ah - fair enough05:49
spivigc: this is the downside to the way jam found to get LP reviews to do incremental diffs05:49
igcspiv: right05:49
* igc pick up kids - bbiab06:08
igcback06:31
=== oubiwann_ is now known as oubiwann
bialixhello all08:19
bialixhi garyvdm, thanks for such detailed mails.08:33
garyvdmHi bialix - Sure - Sorry I did not do it earlier.08:34
bialixyep08:34
bialixI suppose your i-net and/or free time is problematic. no problem.08:35
garyvdmYes - I hope to get that sorted out soon.08:37
bialixwill be nice08:38
bialixI'm glad you're back on board :-)08:38
otuhi! i am trying out bazaar and i am trying to settle on a workflow for using it with django. anybody have any tips?08:50
igchi bialix, garyvdm09:08
garyvdmHi Igc09:08
* igc dinner09:09
bialixhi igc09:11
=== davidstrauss_ is now known as davidstrauss
garyvdmHi vila10:20
garyvdmvila: I want to make a test that requires user interaction. For this reason, I'm not going to incude it in the test suit.10:21
garyvdmvila: I'm trying to work out the easiest way to do this.10:22
garyvdmCan you give me any pointer.10:23
vilagaryvdm: phone call10:23
garyvdmOk10:23
vilagaryvdm: ping.... if you read logs somewhere...11:18
vilagaryvdm: automated tests assumes no user is there. If a user is required, that's not automated anymore, so I'd like to understand better why you want to write such a test...11:19
bialixvila: perhaps because writing automated tests for PyQt4 is a hard job11:43
bialixgaryvdm: I think custom launcher for non-automated tests should be enough?11:43
vilaGUI automated tests are always hard, but you have to start somewhere...11:43
garyvdmHi vila, bialix.11:44
vilagaryvdm: hi11:44
vilagaryvdm: automated tests assumes no user is there. If a user is required, that's not automated anymore, so I'd like to understand better why you want to write such a test...11:44
bialixhi Gary (again)11:44
garyvdmI was disconnected for a while. It seems I missed some dicussion. I'll take a look in the logs.11:44
bialixgaryvdm: you don't miss anything yet11:45
bialixvila just repeated his question to you11:45
garyvdmOk11:45
garyvdmThis is what I started on: http://pastebin.ubuntu.com/297350/11:45
garyvdmvila, bialix: That should give you a good Idea of what I want to do.11:46
garyvdmMy problem is getting a TestCase to run, that is not apart of the test suite.11:46
bialixhmmm11:47
vilagaryvdm: oh, ok, so while I still think that's not the right way to go :-) What you want is a test loader and a test runner11:48
vilagaryvdm: look into bzrlib.tests.TestUtil.py11:49
garyvdmvila: Thanks - That is what I was looking for.11:49
vilahmm, only the loader is defined here, let me see for the runner11:50
bialixthe runner in bzr;lib/tests/__init__.py11:50
vilagaryvdm: hmm, for the runner it's more controversial, but you can use .. yeah like bialix said11:51
bialixgaryvdm: any reason why you want to use unittest-like interface?11:51
garyvdmTo be able to reuse assertRaises11:52
bialixthen you have to write custom TestRunner11:52
bialixIMO11:52
lifelessI'm about to go crash11:53
lifelessbut if you were to mail the list with a broad "i want to achieve x' I'd be delighted to reply tomorrow11:53
garyvdmlifeless: Ok - I'll do that.11:56
=== mrevell is now known as mrevell-lunch
jmlhi12:19
=== mrevell-lunch is now known as mrevell
garyvdmHi jml12:19
jmlthere's a bug with a branch at https://bugs.edge.launchpad.net/bzr/+bug/84659 that has been approved12:19
ubottuLaunchpad bug 84659 in bzr ""serve --allow-writes" allows more than you might think" [Medium,In progress]12:19
=== weigon_ is now known as weigon
jammorning all14:23
MethsI'm being sent to a 404 (http://doc.bazaar-vcs.org/latest/en/user-reference/bzr_man.html#bug-tracker-settings) from http://doc.bazaar-vcs.org/latest/en/user-guide/bug_trackers.html14:27
MethsCan anyone tell me where the proper bug tracker settings page can be found please?14:27
MethsIs there a bzr documentation project or should I just post a bug in bzr?14:28
bialixhello jam14:39
bialixjam: we discussed with garyvdm qbzr versions re bzr versions, perhaps you saw that thread in qbzr ml. resume: 0.14.4 is for bzr 2.0.1, 0.15 for bzr 2.1.0b114:40
jammorning bialix14:41
jamMeths: bug in bzr is fine14:41
bialix:-D14:41
jambialix: sure14:41
Methsjam: okay.14:41
Takis there a way to cache my svn credentials with bzr-svn?14:42
jamTak: IIRC you can use svn to cache the credentials, and then bzr-svn will use the cached values14:42
jambut it doesn't have a way to cache them itself14:42
jamalternatively, I think you can set up authentication.conf, but I'm not sure how to set that up w/ svn14:43
* Tak try that14:44
Takhah - svn co doesn't ask me, but bzr pull from an existing branch does14:46
jamTak: what versions are you using?14:47
vilamorning jam14:48
Takbzr 2.0.1, svn 1.6.5, bzr-svn 1.0.014:48
Takwow @ bazaar-vcs.org makeover14:49
jmlbtw, I just found a bug with a branch at https://bugs.edge.launchpad.net/bzr/+bug/84659 that has been approved but not merged.14:53
ubottuError: Could not parse data returned by Launchpad: The read operation timed out (https://launchpad.net/bugs/84659/+text)14:53
Takaha - if I set up authentication.conf, I can get: http://paste2.org/p/47665214:55
MethsIs there an ETA for 2.0.1 .exes?15:09
jamMeths: approximately today, it just depends on how many hiccups I run into while trying to build them15:21
Methsjam: cool, thanks.  Do they always cause lots of headaches compared to the other packages?15:23
jamMeths: yeah, generally. It is the only place where we bundle everything in one package15:26
jamso skew means rebuilding the whole thnig15:26
jamthing15:26
jamso you need the right version of bzr-svn, bzr-rewrite, qbzr, tortoisebzr, ...15:26
jamby contrast on Linux, each of those is a separate package, so if there is a problem *that* package gets updated15:27
jamalso, by there are some bad designs in the windows packaging15:27
jamnamely, the code that defines plugin dependencies is *in* bzr's setup.py15:27
jamwhich means that plugins have to match bzr, which is a bit wonky15:27
Takaha, bug 45212115:29
ubottuLaunchpad bug 452121 in bzr-svn "Putting svn password in authentication.conf doesn't work" [Undecided,New] https://launchpad.net/bugs/45212115:29
jamMeths: also, the shared machine we use to make the windows builds is 'remote', and has a bug with DNS so you have to manually add hosts to the 'hosts' file. Which generally is ok, but can be annoying15:31
jambeing hosted in AU doesn't help *my* ping times, though :)15:31
bialixjam: there is desire to factor out plugins dependencies from bzr's setup.py15:32
jambialix: absolutely, but we need people to actually... do it15:32
jamwhich is non trivial15:32
bialixyep15:32
jamand since *I'm* the one that pays the primary burden, I would be the one to fix it15:32
bialixI don't think it's non trivial15:32
jambut I'm also the one working on new features, etc.15:32
bialixit's just need some time15:33
jambialix: you think it would be a trivial change?15:33
bialixI mean I understand the way where we should go to achieve this15:33
bialixbut it require lot of work15:33
bialixI have proof of concept of moving such data to plugin's setup.py15:34
bialixyou said in the past that this is almost impossible15:34
bialixI have proof of concept that it very possible15:34
bialixbut then you did not answer15:34
bialixI suppose you have distracted by other more important things15:35
bialixand vila too15:35
bialixso, it's not "trivial" as 5-minutes fix15:35
jambialix: so I see it as possible, but getting 10 plugins to all switch to the format, and getting bzr's setup.py cleaned up is at least a couple of days to a weeks worth of work15:36
bialixbut it's not "non-trivial" as you need many weeks to experiment first before writing actual code15:36
jamto a week15:36
bialixhere I'm agreed15:36
bialixcouple of days15:36
bialixand push all these improvements back to each component upstream15:37
bialixIIUC there is only 2 components affected: tbzr and qbzr15:38
jambialix: and bzr-svn15:39
jamI think, not positive15:40
* bialix looks15:40
jambut certainly tbzr is the one that has caused the most dependency problems15:40
jambzr-svn has caused the most 'rebuild a new installer' problems15:40
bialixyou as core dev can voluntary working on transferring dependency codes15:41
bialixI'd like to have clear agreement about approach first15:42
bialixat my job we always writing mini specs first before coding15:42
bialixfor bzr-svn the dependency is simple, but indeed present15:43
bialixdef get_svn_py2exe_info(includes, excludes, packages):15:43
bialix    packages.append('subvertpy')15:43
bialixjam: while I'm here. This is my proof of concept to load required data from plugin's setup.py lp:~bialix/+junk/plugins-setups15:45
bialixjam: to really start working on it somebody should extend plugins API definition as in http://doc.bazaar-vcs.org/bzr.dev/developers/plugin-api.html#plugin-metadata-before-installation15:46
bialixfor me this is 2 mandatory dependencies15:46
jam \o/ finally the build completed... now to get people to poke at it :)15:46
bialixcool15:46
jamI probably can't build 2.1.0b1 yet, because bzr-svn at least needs updating15:47
jambut at least 2.0.1 will be done15:47
bialixall hail jam!15:48
jambialix: thanks for the encouragement15:48
* jam does not like doing the installers, but seems to be the only one doing it...15:48
bialixbuilding tbzr is still the corner of entire installer process15:51
bialixbecause of full MSVC 2008 required15:51
jambialix: yeah, supposedly naoki had it working without the full compiler15:51
jamusing specific versions of SDKs, etc15:51
jamI haven't seen his setup, yet15:51
jambut he mentioned not needing it for his work15:52
bialixI'm not sure15:52
jambialix: just to check, we should be using qzbr 0.14.4  and bzr-explorer 0.8.3, right?15:52
jambialix: he mentioned it in the bug about tbzr not compiling with the lite version15:52
jamI don't have it off-hand15:53
jamand IIRC, he didn't give specific steps to reproduce15:53
bialixqbzr 0.14.4 and explorer 0.8.3, correct15:53
jamvila: how is babune looking lately?15:56
vilapfff15:57
jambialix: also at some point we'll want to start bundling svn 1.6.*15:57
vilaleopard is back, I had to fight with tiger to avoid a log file filling my boot disk (which is quite painful as it's the host for the guest I'm using for IRC and mail riht now :-/)15:58
vilaso OSX suffers from a latent bug related to leaking tests but the bug stop manifesting itself on leopard15:58
vilaand tiger failed this morning but without filling my OSX /15:59
vilajam: which more or less confirms that I'm right about the cause of the bug, but gives no idea on where to start to fix it... (I have some ideas but none are trivial so I let them mature a bit)16:00
jamvila: sounds like about as much fun as I've been having with the installers :)16:00
vilajam: so I'm back working on resolve --interactive.... and realizes there are many conflicts than need more love, to the point I may want to define a new format :-/16:01
vilajam: yeah ! Lots of fun ! :-D16:01
vilawell many is too strong, but at least 3 or 4 :-/16:01
jamvila: yeah for conflicts we sort of have the 'minimal set' right now. We could use clearer definitions for 'directory already exists' versus 'parent directory deleted' etc.16:01
jamWhich I had looked at a while back16:02
jamwhen we were debugging what was going on w/ mysql16:02
vilathere is also the fact that sometimes we create several conflicts and I'm not sure we really need that...16:02
vilaSo my basic concern is about how to change conflicts definition with regard to compatibility,16:03
vilacan we consider that upgrading while having conflicts in a tree is rare enough that we can say:16:03
jamvila: do it in 2.1.0* and don't overly concern yourself :)16:03
vilaOh, no luck, I can't read your conflicts anymore, please redo your merge16:03
jamvila: I would say, if it is a problem, refuse to upgrade if there are conflicts16:04
jamso let them sort it out how they want16:04
jamrevert, resolve, whatever16:04
vilahmm, no the code has to be changed, so the data and the code should stay in sync :-/16:05
jamso when working on old format working trees, I think you need to interpret the conflicts file the same as old clients16:07
jamthere are people that share workingtrees across NFS16:07
jam(which I don't recommend in any fashion, but it happens)16:07
vilajam: right, so I need to address the backward compatibility issue at least :-/.16:08
vilajam: and since I don't want to do that right now, I think I will restrict implementing --interactive for some conflicts only instead16:09
vilathat way I will move forward instead of backward at each step :-/16:09
jamvila: usually a preferred direction :)16:11
vila:)16:11
jamvila: so I'd like to check the current memory status on 64-bit python. Would it be okay if I bring down a copy of the launchpad code base onto 'saw' ?16:16
jamI think it is ~100-200MB of data16:17
vilahmm, what size ?16:17
vilaok, be aware you're on an SSD, so don't burn it too fast :)16:17
vilajam: if you need HDD instead I can create some dir somewhere you can symlink from your home16:18
vilabut up to 1GB, go for the SSD16:18
jamvila: I certainly don't need to use the SSD, but if it means you don't have to do more work, I'm happy to use it :)16:19
vilajam: still 33GB free there, as long as the tmp files for selftest are not on it, SSD ftw !16:19
jamvila: I'm shocked, I'm only getting 16kB/s downloading launchpad's code from lp16:22
jamI wonder what is going on...16:22
jammaybe codehosting is overloaded?16:22
jamgoing via http, I'm peaking at around 2MB/s16:23
jamthough it is pretty choppy16:23
vilajam: don't know what you tried, I get 2MB/s right now16:23
vilaoh, you too16:24
jamvila: first attempt was 'bzr branch lp:launchpad' which would go via bzr+ssh16:24
jamAnd I'm wondering if that wasn't slow because of the bzr:// server side16:24
jamfor example, if codehosting is thrashing into swap16:24
vilajam: my observations so far are that the rate is highly variable (and different from what a perfmeter will report)16:25
vilabut the difference is due to our processing so not worth fixing IMHO16:26
jamvila: well we could do better on the filtering16:26
jamsuch as using "a = a + b*cur"16:26
jam(first order filter)16:26
jamrather than just "a = cur / time"16:26
vilajam: well we can't satisfy everybody, I think the actual figures are quite representative, if people want more detailed bandwith usage, that's outside bzr (still IMHO :)16:27
vilaright now you're using between 0 and 1MB/s, what did bzr report ?16:28
jamvila: I think we tend to under-report16:28
jambecause a long download followed by a quick short one16:29
jamwill get overrwritten16:29
vilajam: nope, I've seen both under and over reports16:29
vilathat's why I didn't report myself :-D16:29
jamvila: right now it reports ~.5M16:29
jamso sure16:29
jammy point is that it is unstable because we mix big reads with short reads16:29
jamand don't average across them16:30
vilafrom the perfmeter that's quite correct, you had peaks at 2MB/s16:30
vilajam: well, I'd prefer we fix the code so that we always max the bandwith :)16:30
vilayou're flag now16:30
vilafor the last 30 secs16:30
vilas/flag/flat/16:30
jamyeah, it is on the 'missing keys' portion16:31
jamso almost done16:31
vilapeak at 216:31
vilaflat16:31
* vila cries16:34
vilawhat on earth is an 'overwrite' conflict !16:34
fullermdThe thing that conceals an underwrite conflict.16:34
* vila send some anti-bits on fullermd disks just so he too can have his share of fun :)]16:35
fullermdAnti-bits take up negative space, so it's like getting larger disks for free!16:35
vilafullermd: you wish !16:36
fullermdIt seems logical.16:36
vilano, anti-bits erase real bits and disapear, the net result can be smaller sectors for example16:36
vilaso you have your regular 512 bytes sectors and then some at 511 or 510 see16:37
vilaActually, I *encountered* such behavior in real life... at leasts it looked like that, we found part of files that had shrinked16:38
fullermdMan, how prejudiced can you be?  anti-bits are just as 'real' as regular bits.  Don't be such a baryogenetic racist.16:38
vilashrinked in the *middle* of fixed size records...16:38
vila..in the end it was an hardware bug, but boy did we wonder...16:39
fullermdThat's why I run ZFS   :p16:39
fullermdjam: BTW, can you weigh in on the DWIM "looks like a revno but isn't" fallthru thingy?  It's kinda mixed...16:40
jamjelmer: btw, subvertpy 0.7.0 breaks the build...16:46
jamsubvertpy\repos.c:24:21: apr_md5.h16:46
jamNo such file or directory16:46
jamperhaps this is a svn 1.6ism?16:46
fullermdThat's part of APR, actually.16:47
jelmerjam: I've just merged a fix for that16:48
jelmerjam: will update bzr-windows-installer16:49
jamfullermd: sure it is apr, but my assumption was that subvertpy was using something from a newer apr which is bundled with a newer svn16:49
jamjelmer: so a subvertpy 0.7.1 ?16:49
fullermdOh.  I didn't know svn bundled APR.16:50
jelmerjam: there was an incorrect include path in setup.py that for some reason wasn't a problem before now16:50
jamfullermd: so... the revspec dwim is basically someone doing "bzr branch -r 1.2.3" and there isn't a revno 1.2.3 but there is a *tag* 1.2.316:50
jamfullermd: well, it depends on it, and exposes the pools etc as part of svn's pai16:50
jamapi16:50
jamjelmer: let me know when you've pushed the updates16:51
jamalso is 0.7.0 reasonable to include in 2.0.x series?16:51
jam(aka, bugfix only?)16:51
fullermdOr any of the other laters specs tried, but tag is overwhelmingly the most likely to have a hit, yah.16:51
jelmerjam: no, 0.7.0 is not bug fix only - it contains new bindings as well16:52
jelmerjam: (enough to make subvertpy-fast-export work)16:52
jelmerjam: shouldn't have an influence on the stability of the existing bindings that bzr-svn depends on though16:52
jamjelmer: so I would probably rather do 0.7.0 in the 2.1.0b1 release, and stick with 0.6.9 in the 2.0.x series16:54
jamI'll probably split of a separate bzr-windows-installer branch for the 2.0.* series16:55
jamsince we also have stuff like qbzr 0.15 vs 0.14 series, etc.16:55
jamjelmer: at least IMO, if it is different enough to break the build, it is different enough to not include in 'stable' :)16:55
jelmerjam: sounds ok to me :-)16:56
jelmerjam: can you create a 2.1 branch for the intsallers?16:56
jelmer*installers16:56
jamyeah16:56
jamwell, I was thinking to just use the standard trunk for the 2.1 series16:56
jamand branch off 2.0 stable series16:56
jelmerthe only reason I added 0.7.0 was because I had probmised to keep bzr-windows-installers up to date on new releases :-)16:56
jamsure16:57
jamplease do so16:57
jami'll branch of a 2.0.x now16:57
jamideally this wouldn't be separate branches (because that is a pain to administer)16:58
jambut instead it would be "make 2.0" vs "make 2.1"16:58
jamhowever, separate branches is easier *today*16:58
jamjelmer: and yes, thank you for keeping bzr-windows-installer up to date16:59
jamstill working through the issues for a 2.0.* stable series versus 2.1.0* dev series16:59
jamjelmer: do you have an updated bzr-svn release for the 2.1 series ?17:07
=== deryck is now known as deryck[lunch]
jamigc: when you get a chance, did bzr-explorer 0.9.0 actually get a release? or should I just bundle 0.8.3 w/ 2.1.0b117:13
jamabentley: I don't see a tag for 2.1.0b1 in the bzrtools trunk17:15
jamam I just missing it17:15
jam?17:15
abentleyjam: I see it, but perhaps it's not in the mirrored copy of the branch...17:17
jamabentley: can you tell me the revno?17:18
abentleyjam: No, it's in the mirrored copy too.17:18
abentleyjam: revno 73217:19
jamabentley: 'bzr pull lp:bzrtools' gives me: 730 Aaron Bentley     2009-09-26 {release-2.0.1}17:19
jam    revision-id:aaron@aaronbentley.com-20090926174001-f1kpi0tqgizyx5g517:19
jam    Release 2.0.117:19
jamshould I be pulling: lp:~abentley/bzrtools/trunk instead ?17:19
jamnote that dev focus is ~abentley/bzrtools/bzrtools.dev17:19
abentleyjam: yeah, for now.17:20
jam:'( so much pain17:20
jamnot just you, but about 5 plugins need to be hand crafted for the release seires17:20
jamseries17:20
jamand running "make" is ~ 30 min as buildout checks all the dependencies, etc...17:21
jamI'm glad I caught it before uploading at least...17:22
abentleyjam: I've pushed to bzrtools.dev.17:26
abentleyjam: I'll be deleting trunk.17:27
jamk17:27
=== beuno is now known as beuno-lunch
vdsanyone have some hints on how to solve this: bzr: ERROR: Connection error: curl connection error (Problem with the SSL CA cert (path? access rights?)) ?18:26
vdsok solved ca-certificate wasn't installed...18:27
ToyKeeperHmm, that was odd.19:41
ToyKeeperbzr-rebase pulled instead of rebasing, and wiped out all the changes I wanted to rebase.19:41
ToyKeeperI'm glad I was working on a copy.19:41
jelmerjam: 1.0.1 will be compatible with 2.119:58
=== beuno-lunch is now known as beuno
jamjelmer: thanks for the heads up. Let me know when subvertpy 0.7.1 and bzr-svn 1.0.1 are out20:41
jelmerjam: *nod*20:48
jelmerjam: subvertpy 0.7.1 is out, bzr-svn 1.0.1 on the way20:55
igcjam: there's no explorer 0.90 release yet - I'm targeting 2.1.0b2 for that21:18
jamigc: yeah, I noticed21:19
jamI just saw you mention some work that went into the 0.9 series21:19
jamand thought that meant you were releasing it21:19
=== menesis1 is now known as menesis
lifelessmoin21:31
thumperlifeless: morning21:37
thumperif I have a branch with no tree, what is the easiest way of getting the size of the repo?21:37
thumpercan I get that through bzrlib?21:37
thumperor just do a du of the .bzr dir?21:37
lifelesswhat are you trying to estimate21:37
lifelesssize on disk of a checkout?21:38
thumperthe size on disk21:38
lifelesssize of tree?21:38
thumperbranch size21:38
thumperit is one of the metrics that we want to store21:38
thumperfor us21:38
thumpersize in the hosting facility21:38
lifelessok21:38
lifelesssize in the hosting facility - du -sh .21:38
thumperkk21:38
lifelesswill include backup.bzr if it exists21:38
lifelessand thats good, IMO21:39
thumperhmm...21:39
thumperI hadn't thought of that bit21:39
thumperlifeless: is there a python way to do that without shelling out?21:39
lifelessand naturally for stacked branches this should be a very small number21:39
thumperexactly21:39
lifelessthumper: yes, there is. recursive walk statting everything. can do it via the transport interface even21:40
lifelessshould be fast even on huge branches because we don't create many files21:40
lifelessif we ignore 'dir size', which I think is safe to do:21:41
lifelesssum(map(lambda p:b.bzrdir.root_transport.stat(p).st_size, b.bzrdir.root_transport.iter_files_recursive())21:43
* thumper tries the mystic map21:49
thumperlifeless: what is the unit for st_size?21:51
fullermdstat(2) gives it in bytes; I presume python passes the same through.21:52
lifelessyes21:53
lifelessthis will give 'content size' not 'allocated size'21:54
lifelesswe have that too if you need it, but you need st_nblocks * blocksize, or something like that21:54
fullermdYah.  But in this case, the lions share will be in a few giant .packs, so the different is probably ignorable.21:57
* igc food22:18
lifelessfullermd: it generally only matters for us on the small incremental packs; there are 5 files per push, so the overhead can be non trivial on 64KB allocation units fs's23:09
fullermdOh, perhaps.  I was just thinking that it could be in the noise.  I mean, if we have 20 packs, and waste a full 64k (say having N*64k+1 bytes in each), that's still only 6 megs, when we may have 500 or so in the packs.23:11
lifelessright23:11
fullermdDepends on what you're doing with the numbers, I guess.23:11
lifelessbut consider a stacked branch23:11
lifelessmay only be a few hundred k data in total23:11
spivAnd maybe LP still has lots of knit format branches ;)23:12
fullermdYeah, I heard about 'em every time I multi-pull in my ~/.bazaar/plugins/   :p23:13
=== davidstrauss_ is now known as davidstrauss
mwhudsonthere are ~700 knit branches on lp it seems23:19
mwhudsonthat have had updates in about, uh, 18 months23:19
=== davidstrauss_ is now known as davidstrauss
PsyberSwhat does this error mean and how do i fix it:23:42
PsyberS$ bzr unshelve23:42
PsyberSUnshelving changes with id "2".23:42
PsyberSbzr: ERROR: The file id "weather-20091020223948-b5odfh732rtw2uvz-1" is not present in the tree <DirStateRevisionTree of chris@szikszoy.com-20091020003650-ytlugguaozazh0u6 in DirState(u'/home/rdyer/branches/docky/.bzr/checkout/dirstate')>.23:42
PsyberSi shelved a bunch of changes, did a 'bzr pull' (there was nothing new to pull) and then got that when i unshelved23:43
jelmerPsyberS: did the pull remove a file that you had shelved changes in perhaps?23:46
PsyberSthe pull didnt do anything, i was on the latest revision (apparently)23:47
PsyberSrdyer@narmada:~/branches/docky/Docky.StandardPlugins$ bzr pull23:47
PsyberSUsing saved parent location: bzr+ssh://bazaar.launchpad.net/~docky-core/docky/trunk/23:47
PsyberSNo revisions to pull.23:47
PsyberSto think i was just bragging to some people about how nice bzr was =o23:51
PsyberSoh well, cest la vie23:52

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