/srv/irclogs.ubuntu.com/2009/07/29/#bzr.txt

=== verterok_ is now known as verterok
thumpercan I set remote locations in locations.conf?00:14
thumperlike Launchpad?00:15
lifelessyes00:21
=== kiko is now known as kiko-zzz
mwhudsonhm01:05
mwhudsondoes anyone have a nice rsync recipe for copying all the .bzr directories and contents out of a directory tree, but not the working trees?01:05
lifelessnot offhand01:06
lifeless-i **/.bzr or something, I guess01:06
mwhudsonah, i'd missed the top down application of rules01:13
lifeless\o/ :!./bzr --no-plugins selftest intertree.test_compare.*test_specific -x '\(C\)'01:45
lifelesspassing01:45
lifelesspoolie: spiv: review requested please01:50
lifelessmy dirstate infrstructure change will be blocking a later review in about 2 hours. Maybe less01:50
SamBwhat is the preferred way to assert that something is either an iterable or None?02:04
poolieSamB in a test?02:08
poolieSamB i guess i'd first ask, is that really what you want to test?02:09
pooliedon't you know which one it should be?02:09
pooliebut, if you did want that then i guess i'd do02:09
poolieif result != None:02:10
pooliel = list(result)02:10
SamBpoolie: not in a test02:10
SamBin a method02:10
pooliethen either assert something about l or just add a comment that the cast will fail02:10
lifelesspoolie: 'result is not None'02:11
SamBactually, now I'm not sure what type this argument is supposed to be02:11
poolieoh noes02:11
poolieSamB: in general we don't make assertions about arguments02:11
poolieunless either the api changed or it's error prone02:11
poolieand in the second case it's better to change it02:11
SamBpoolie: change it to what?02:11
poolieso just go ahead and use it in the way it should be used02:12
poolieif thing is not none:02:12
poolie  return ', '.join(thing)02:12
SamBI just want to make sure that all the callers are passing things with a compatible interface ...02:12
pooliefor instance, by change the api, i mean that apis that take either a string or list of strings are  a really bad idea, because strings look so much like lists02:12
lifelessSamB: we don't do that in bzr, as a stylistic choice.02:13
SamBigc: what is the file_iter argument to CommitCommand.__init__ *supposed* to be?02:13
SamBpoolie: well, some of the tests here are passing callables that return iterables, and some of them are passing iterators02:14
SamBright now I'm not sure which tests are right, but wouldn't it be best to check in the constructor that the arguments are remotely like we want them to be?02:14
poolieigc is away this week02:15
SamBoh :-(02:15
pooliesick02:15
poolieSamB: this might just be the python generator pattern here?02:16
poolieyou can often treat those things as the same02:16
poolie(kind of vague description)02:16
spivi.e., iterators are iterables.02:16
SamBwell, the most key difference is that some of the tests pass *callables* returning iterables, but some just pass iterables02:17
lifelessSamB: whats CommitCommand?02:17
SamBit's in bp.fastimport.commands02:17
lifelessoh02:18
lifelessso, no idea.02:18
lifelesswhat we generally do is;02:18
lifeless - ensure the docstring is clear02:18
SamByeah02:18
lifeless - let the caller do what they want02:18
SamBand I guess02:19
SamB - make sure the tests are consistant with the docstring02:19
* SamB wishes fast-import had a --dry-run mode where it did *everything* except actually create the branches ...02:21
poolieSamb, nice idea02:23
pooliespiv, there is a 1.17 branch, https://launchpad.net/bzr/1.1702:23
poolieafaics you should be able to target bugs to it02:23
lifelessspiv: ping02:23
poolienote that the control is hugely mislabelled as 'target to release'02:23
poolieand there's a bug for that02:23
lifelessSamB: we don't generally need the last one :) if the tests are inconsistent with the docstring, so is the code, or the tests are failing.02:24
pooliewell, quibble02:25
pooliethey don't always have precisely the same information content02:25
spivpoolie: Ah ok.  I don't fully understand the difference between setting a milestone on a bugtask and targetting to a release.02:26
lifelessspiv: hi you promisedish me a review yesterday.02:26
poolielaunchpad has succeeded then :)02:26
lifelessspiv: targetting is a new bugtask02:27
pooliewith its cunning strategy of labelling one as the other02:27
lifelessspiv: there is a link 'nominate for ...'02:27
SamBlifeless: yeah ... maybe02:27
SamBdepends how often those attributes get used, possibly ...02:27
spivEspecially when targetting to a release then offers me a list of series, not releases, to choose from...02:27
poolieBug #132733 in Launchpad Bugs: “Confusing use of the term "Target to release" on bug pages.” <https://bugs.edge.launchpad.net/malone/+bug/132733>02:27
ubottuLaunchpad bug 132733 in malone "Confusing use of the term "Target to release" on bug pages." [Medium,Triaged]02:27
ubottuLaunchpad bug 132733 in malone "Confusing use of the term "Target to release" on bug pages." [Medium,Triaged] https://launchpad.net/bugs/13273302:27
pooliethat was odd02:28
SamBlifeless: anyway, I figured out that using "bzr fast-import" definately results in callables being passed ...02:28
spivpoolie: possibly because you gave the bug # and the url?02:28
pooliei guess so, though it's odd the first one didn't include the url02:28
poolieoh maybe that's for the one that did have the url02:29
SamBmust be!02:29
lifelessspiv: ping [review] - I'll keep pinging till I get ack or nack02:33
psynapticso I have 2 files which I have modified which I don't want to have anything to do with what I'm doing02:33
psynaptic(uncommitted changes)02:33
RenatoSilvalifeless: quick suggestion about setup versioning. Instead of bzr-setup-1.17-1.exe, bzr-1.17-setup-1.exe02:33
psynapticin git I would just not stage those files02:33
psynaptichow do I get around this in bzr02:33
bob2psynaptic: bzr commit takes a list of files to commit02:33
bob2psynaptic: or ytou can shelve the changes02:33
lifelessRenatoSilva: good idea! please put in a bug02:33
lifelesspsynaptic: bzr commit -x foo -x bar, I think02:34
psynapticbob2: I already committed what I wanted02:34
psynapticby cding to the dir and bzr commit . -m "message"02:34
bob2psynaptic: so what do you want to have happen?02:34
psynapticbut now it won't let me push or pull02:35
bob2shelve them02:35
lifelesspsynaptic: push --no-strict02:35
lifelesspsynaptic: the --no-strict thing is recent, and we don't like it. we're going to make it warn rather than error02:35
bob2what's the rationale for strict push?02:35
psynapticI see.. my version of bzr seems old02:36
psynapticno such option02:36
lifelesspsynaptic: ok, what actually error are you getting then?02:36
lifelesspsynaptic: we're really trying to guess at the moment02:36
psynapticok..02:36
SamBbob2: it's clearly not a good enough rationale ;-)02:37
psynapticbzr push bzr+ssh://user@example.com/home/cnpopen/public_html/dev02:37
psynapticThis transport does not update the working tree of: bzr+ssh://cnpopen@openlyconnected.com/home/cnpopen/public_html/dev/. See 'bzr help working-trees' for more information.02:37
psynapticbzr: ERROR: These branches have diverged.  Try using "merge" and then "push".02:37
psynapticso I tried $ bzr pull02:37
psynapticbzr: ERROR: These branches have diverged. Use the merge command to reconcile them.02:37
psynapticso I tried $ bzr merge02:37
psynapticbzr: ERROR: Working tree "/private/var/www/subdomains/cnp/" has uncommitted changes.02:37
lifelesspsynaptic: someone else (or you from another macine) has pushed to that branch02:38
lifelesspsynaptic: do this:02:38
lifelessbzr shelve --all02:38
lifelessbzr merge bzr+ssh://user@example.com/home/cnpopen/public_html/dev02:38
lifelessbzr commit02:38
lifelessbzr push02:38
lifelessbzr unshelve02:38
lifelessif this is a shared branch between multiple developers, you may wish to work with a checkout, which won't let you commit if someone else has pushed stuff up02:38
psynapticbzr: ERROR: Working tree "/private/var/www/subdomains/cnp/" has uncommitted changes.02:39
psynapticMacbook-Pro: /var/www/subdomains/cnp> bzr diff02:39
psynaptic=== modified file 'sites/default/default.settings.php' (properties changed: +x to -x)02:39
lifelesspsynaptic: the shelve didn't remove the change? Interesting (and a bug)02:40
psynapticwell02:40
psynapticit removed 2 other files02:40
psynapticwith content changes02:40
psynapticbut not the property change02:40
psynapticMacbook-Pro: /var/www/subdomains/cnp> bzr diff02:41
psynaptic=== modified file 'sites/default/default.settings.php' (properties changed: +x to -x)02:41
psynapticMacbook-Pro: /var/www/subdomains/cnp> bzr shelve --all02:41
psynapticNo changes to shelve.02:41
psynapticI'll change it to +x02:41
psynapticsave the hassle :)02:41
lifelessI'll file a bug on shelve now for you02:41
psynapticthanks a lot02:41
lifelessare you on MacOSX/linux/win32?02:42
psynapticmac os x02:42
lifelesssent in02:42
lifelesssorry about that; its disconcerting to suggest a recipe that fails02:43
* lifeless pings spiv again02:43
lifelessspiv: hai02:43
SamBwhere should constructor arguments be documented -- in the class' docstring, or __init__'s?02:43
lifelessI prefer __init__02:43
lifelesssome folk use the class02:43
SamBany good examples?02:43
psynapticlifeless: no, thanks a lot for your help02:44
lifelessI like to put instance and class attributes in the class docstring, and constructor params in the __init__02:44
lifelessSamB: not offhand02:44
psynapticso this bzr commit after the merge02:44
psynapticseems to only contain the merge changes02:44
psynapticshould I add a merge commit message02:45
psynapticthen bzr add my stuff and commit/push again02:45
lifelessyes, something like 'Sync with dev'02:46
psynapticthanks02:46
spivlifeless: hi02:47
spivlifeless: I'll look at it in about 15 minutes.02:47
lifelessspiv: thanks!02:47
spivlifeless: thanks for the nags :)02:47
psynapticlifeless++02:47
lifelessspiv: I've finished all the python changes in the patch on top of it02:47
lifelessspiv: so I'm porting to pyrex, updating docs, and submitting02:48
psynaptichmm, very odd02:54
psynapticnow I can't see my changes02:54
psynapticI asked another dev to pull and it just says nothing to pull02:54
psynapticthere files are there in my working copy!02:55
psynaptic*the02:55
psynapticbzr diff only shows the files that were unstashed02:55
psynaptic*unshelved02:55
RenatoSilvalifeless: bug 40609902:56
ubottuLaunchpad bug 406099 in bzr "Better file name for bzr windows installer" [Undecided,New] https://launchpad.net/bugs/40609902:56
psynapticwhat am I doing wrong! lol02:59
bob2bzr missing remotebranch03:00
psynapticI think I did something stupid earlier03:01
psynapticbzr push origin03:01
psynapticbzr branch origin03:01
psynapticrandomly did those 203:01
psynaptic:/03:01
psynapticI don't even know the branch I'm supposed to be working on03:02
psynapticin git you can view your available branches using $ git branch03:02
lifelessRenatoSilva: thanks03:02
psynapticin bzr the command seems to do something differnent03:03
lifelesspsynaptic: it makes a new branch03:03
lifelesspsynaptic: 'bzr branches' will list branches03:03
lifelessor you can just look on your filesystem03:03
psynapticMacbook-Pro: /var/www/subdomains/cnp> bzr branches03:03
psynapticorigin03:03
psynapticnot sure I was supposed to have origin03:03
lifelessspiv: you may, if you're clever find bugs in the thing I've asked you to review; I won't land it independently as I'm fixing them now :)03:04
psynapticbut does that mean I had zero branches?03:04
spivlifeless: hah03:04
lifelessspiv: its worth getting your feedback on the conceptual change and how its presented, regardless03:04
bob2psynaptic: branches are directories03:05
psynapticoh ok03:05
lifelesspsynaptic: it means you had no other branches under your current branch03:05
lifelesspsynaptic: you can give a url to push - bzr push <URL>03:05
psynapticso I can just delete /origin in the filesystem,?03:06
lifelesspsynaptic: ./origin, yes03:06
psynapticthanks03:06
psynapticI'm a bit confused because bzr diff is not showing anything but the changes I don't want to push03:06
* RenatoSilva gtg03:07
psynapticI added the dir with the files I wanted to commit and committed them03:07
psynapticbut this was before this merge03:07
psynapticmaybe I have committed changes03:08
psynapticthat I haven't pushed03:08
psynapticright ok03:09
psynapticbzr log shows the history03:09
bob2bzr missing remotebranch03:09
bob2^ changesets that aren't in both03:09
psynapticwhat is remotebranch though?03:09
psynapticMacbook-Pro: /var/www/subdomains/cnp> bzr missing remotebranch03:09
psynapticbzr: ERROR: Not a branch: "/private/var/www/subdomains/cnp/remotebranch/".03:09
psynapticI don't know what remotebranch is03:10
bob2whatever branch you think is missing things03:10
psynapticI don't know ANY branches03:11
psynapticmaybe HEAD?03:11
psynapticmaster03:11
bob2this isn't git03:11
psynapticsomething like that?03:11
lifelesspsynaptic: bzr missing bzr+ssh://cnpopen@openlyconnected.com/home/cnpopen/public_html/dev/03:11
psynapticahh03:11
lifelesspsynaptic: thats where you pushed to before03:11
lifelessits therefor a branch03:11
psynapticriiight03:12
psynapticYou have 2 extra revision(s):03:12
lifelessbzr push bzr+ssh://cnpopen@openlyconnected.com/home/cnpopen/public_html/dev/03:12
lifelessif you want to save that as the default this branch pushes to do03:12
lifelessbzr push bzr+ssh://cnpopen@openlyconnected.com/home/cnpopen/public_html/dev/ --remember03:12
psynapticThis transport does not update the working tree of: bzr+ssh://cnpopen@openlyconnected.com/home/cnpopen/public_html/dev/. See 'bzr help working-trees' for more information.03:13
psynapticPushed up to revision 53.03:13
psynapticthanks for the tip03:13
psynapticbzr update then?03:16
psynapticwhy am I at a different revision to the repo?03:16
psynaptica fellow developer says he is at rev 56 and I am at 5303:16
psynapticMacbook-Pro: /var/www/subdomains/cnp> bzr update03:17
psynapticTree is up to date at revision 53.03:17
lifelesspsynaptic: 'update' is only useful if you are using a checkout03:18
psynapticright03:18
lifelessyou are using a separate branch, so update just checks locally and has nothing much to do03:18
psynapticso do you think this method I'm using is inefficient?03:19
lifelessas for your fellow, they have some different stuff in their branch03:19
psynapticI was given instruction on how to use their bzr repo03:20
lifelessbzr missing will tell them whether they have additional things, or are missing what you pushed03:20
lifelessbranches and checkouts work very similarly03:20
psynapticwhy can't we push to the same branch?03:20
lifelessyou can, but you'll end up changing commit  orders a lot03:21
psynapticright03:21
lifelesscheckouts automate that for you03:21
* psynaptic pasted http://pastie.textmate.org/private/makewfs23qan1jwpxwuu0a03:22
psynapticthis is what we were told to do03:22
psynapticthere are 5 devs03:22
pooliespiv, i filed bug 40611303:22
ubottuLaunchpad bug 406113 in bzr "need checks or tests that compiled extensions are loaded properly" [High,Confirmed] https://launchpad.net/bugs/40611303:22
psynapticall working in their own environment03:22
pooliedid you catch jam at all?03:23
lifelesspsynaptic: for that situation I'd be inclined to use two branches03:23
psynaptichow would that work?03:24
lifelessone sec03:24
lifelesshttp://paste.ubuntu.com/235578/03:26
psynapticlifeless: ahh I see03:27
psynapticthanks for taking the time to do that for us03:28
psynapticlooks like a good idea03:28
psynapticI have added it to our project wiki so hopefully we can start using it03:30
psynapticso what does "This transport does not update the working tree of: bzr+ssh://cnpopen@openlyconnected.com/home/cnpopen/public_html/dev/. See 'bzr help working-trees' for more information." actually mean?03:31
psynapticis it important?03:31
bob2working tree = checked out files03:31
psynapticare my changes actually in the central repo?03:32
psynapticyeah, I get that bit03:32
bob2push will update the branch data, but it won't update the checked out files03:32
psynapticok, so in this case it will update the central server but not my own working copy03:32
bob2"push will update the branch data, but it won't update the checked out files" [on the remote server]03:33
bob2push has nothing to do with updating your local working copy03:33
psynapticthat's what I thought was the working copy03:34
psynapticbut you have a working copy on the server too, yes03:34
psynapticright03:34
psynapticI'm still no closer to understanding03:35
lifelessspiv: actually, the bug is in a local change anyway; that branch should be independently golden03:35
psynapticit's probably just too late for me today03:35
psynaptic3.35am03:35
psynapticnot a great time to be trying to work out somewhat abstract ideas03:35
bob2so, your "branch" is really three things: a working copy (the checked out files), the repository (all the revision data) and the branch (a pointer to a series revisions in the repository).  they're each in a separate dir in .bzr03:36
psynapticok03:36
poolielifeless/spiv: quick yeah/nay sought on bug 406113 - specifically, whining about missing extensions unless BZR_PURE_PYTHON=103:36
ubottuLaunchpad bug 406113 in bzr "need checks or tests that compiled extensions are loaded properly" [High,Confirmed] https://launchpad.net/bugs/40611303:36
bob2push updates the remote branch and repository, but not the working copy.  "update" updates the working copy03:36
psynapticright03:37
lifelesspoolie: I don't think we should whine03:37
psynapticso how do I see that my changes where pushed into the remote repo?03:37
poolieor erorr03:37
psynapticso I can happily go to bed03:37
bob2bzr missing urltoremotebranch03:37
lifelesspoolie: I think we should make bzr --version, or similar, make it clear if there are any missing extensions, and get build scripts to grep the output03:37
pooliethat would be another option03:38
poolienot very obvious though03:38
psynapticBranches are up to date.03:38
bob2excellent!03:38
pooliecould also go in backtraces, though lack of them is unlikely to cause tracebacks03:38
bob2ah, also, "bzr log urltoremotebranch"03:38
lifelesspoolie: for debs etc it doesn't matter how obvious it is, as we should be checking it and failing the build anyway03:38
poolielifeless: but, anyhow - why not?03:38
lifelesspoolie: its only for people that grab a tarball or branch bzr themselves that the obviousness matters03:39
poolieor for cases where there's a hole in the previous process03:39
lifelessand we already make setup.py die if the extensions don't build03:39
lifelesspoolie: which is why I'm suggesting we patch the previous process usin the same logic as whining would03:39
psynapticthanks bob203:39
lifelessas for why not, well I don't like programs that whine at me03:40
lifelessit gives a bad impression03:40
lifelessand I don't think our users will like it either03:40
poolieyou think most people who don't have extensions loading have made an informed decision not to have them?03:41
psynapticif I do bzr commit and I have added files, modified and unknown.. will only added get committed?03:41
poolieor at least would agree with it if asked?03:41
lifelesspoolie: most people with the power to fix it, yes.03:41
psynapticor should I back out and shelve03:41
lifelesspsynaptic: added and modified will be committed03:41
psynapticthanks03:42
lifelesspsynaptic: if you run 'bzr commit',it will list the things being committed in the editor window03:42
psynapticI did that :)03:42
pooliehm, i don't think so03:42
psynapticbut it doesn't make a distinction in that output03:42
pooliewhy would they want that?03:42
psynapticI know now tho03:42
psynapticthanks03:42
lifelesspsynaptic: everything it lists will be committed ;)03:43
lifelesspsynaptic: except for unknowns03:43
lifelesspoolie: e-thread-lost03:43
pooliei think running without compiled extensions should be very opt-in03:44
pooliemore so than at present03:44
psynapticthanks lifeless and bob2, I can get some sleep now!03:47
lifelesspoolie: so, I'd like to discuss this, but not now.03:47
thumperlifeless: how to I tell pqm-submit that I don't have a local copy of a branch?03:48
psynapticc u :D03:48
lifelessthumper: I don't know; pqm-submit --help may.03:48
pooliei'll try it, if it works propose a merge, and we can handle it there03:48
thumperdamn03:48
thumperI don't think I can03:48
lifelesspoolie: What I think is that the people *doing builds* should do the QA03:48
thumperwhich kinda sucks03:48
lifelesspoolie: not everyone executing bzr03:48
thumperI'm trying to submit jml's branch for him03:48
pooliethumper: either branch it yourself03:48
poolieor make up a submit message by hand03:49
poolieuse --dry-run to see a template03:49
thumperhuh, good point03:49
lifelessthumper: bzr pqm-submit LOCATION03:49
lifelessthumper: did you try LOCATIOn?03:49
thumperyes03:49
pooliealso please do merges inside launchpad, thanks :)03:49
thumperpoolie: :)03:49
lifelesspoolie: do you mean landing target stuff? lp can03:49
thumperit is on my mega plan03:49
lifelessjust need a queue hooked in for pqm03:50
thumperlifeless: we don't have queues in LP yet03:50
thumperlifeless: well, not exposed anyway03:50
lifelessthumper: how does tarmac work then? :P03:50
thumperlifeless: it just grabs all approved ones03:50
JoaoJoaohello03:50
lifelessthumper: thats a queue, effectively.03:50
thumperlifeless: it isn't an ordered queue03:50
thumpergrr!03:51
lifelessthough personally, I would really want a button to say 'ok land this now', separate from approval to dosol03:51
JoaoJoaoIs there any way to shelve changes to binary files?03:51
lifelessJoaoJoao: bzr shelve --all, should do so03:51
lifelesspoolie: anyhow, I'm worried that bzr whinging will not prevent bad debs, and will annoy a very large number of users very quickly03:52
poolie... because there's a large number of user who're using the slow python implementations and like it that way?03:53
JoaoJoaolifeless: does it also work with bzrtool's shelve? (shelve1 on windows)03:54
lifelessJoaoJoao: no03:54
JoaoJoao:(03:54
lifelesspoolie: no, because *when a bad deb is made* a lot of users get flipped from C to python in one hit.03:54
JoaoJoaono go to me then03:55
lifelessJoaoJoao: sorry :(03:55
lifelessJoaoJoao: you could commit the file, uncommit and revert it03:55
lifelessand then use merge -r revid:xxxx, to restore it later03:55
poolieyeah, if we add this we'd presumably want to check it in the deb build process03:55
lifelesspoolie: and thats my point, if we check it in the deb, I don't think we need to be obvious at runtime for users.03:56
lifelesswe already check in setup.py03:56
JoaoJoaolifeless: that would work, but too much of a hassle to me... thanks for the tip anyway03:56
lifelessits just that the setup.py check doesn't check that the things built are used afterwards03:56
lifeless(there is a bug about builds on karmic, they put the .so's in bzrlib/bzrlib/*.so03:57
lifelesswhich setup.py should arguably catch as well03:57
thumperjust for a laugh: bzr branch lp:hg-git :-)04:16
* SamB hopes the LP devs remembered to use bignum for bug numbers rather than fixnum ;-)04:16
meaton2veggiesHey all, I'm after a bzr pkg (v1.17.1) for Ubuntu Jaunty powerpc (arch)? Can't use Karmic as want to install Launchpad04:21
mwhudsonmeaton2veggies: it's probably easy enough to build from source using the source package bits in the ppa?04:22
meaton2veggiesmwhudson: ok great, is there any doco for building bzr from src04:24
mwhudsonmeaton2veggies: it's just 'debuild' isn't it?04:24
lifelessdebget <<.....dsc>>04:27
lifelessthen dpkg-buildpackage04:27
lifelessor debuild04:27
meaton2veggieslifeless: thanks04:27
lifelessspiv: I'm landing that branch w/o the fixes- they are in my next patch anyhoo, ok ?05:01
lifelessI'm down to three failures on the pyx code05:02
spivlifeless: sure05:10
lifeless2 failures05:12
lifeless\o/05:30
lifelessguess what05:30
poolieway to go robot05:38
lifelessI'm integrating/improving the docs now05:40
lifelessthen its up for review, and qa to see if it improves commit :)05:40
meaton2veggieslifeless: installed deps for building, however error on install of packages trying to do 'make DEST=blah install'05:55
meaton2veggieslifeless: should this be changed to something in debian/rules?05:55
lifelessmeaton2veggies: hmm?05:59
meaton2veggiespython setup.py?06:00
lifelessmeaton2veggies: dpkg-buildpackage06:00
lifelessthis will build a debfor you06:00
lifelessthen you can install the ppc deb06:00
lifelessisn't that what you wanted?06:00
meaton2veggiesyes06:01
meaton2veggiesbut its failing on install part, compiles fine06:01
lifelesspastebin?06:01
lifelessspiv: now, if you want dirstate patches to review06:02
lifeless112K of bundle on its way to lp now06:02
meaton2veggieshttp://pastebin.com/d3905e25a06:03
lifelessmeaton2veggies: thats odd; are you using the source package from launchpad?06:04
meaton2veggieslifeless: yes from launchpad06:04
meaton2veggiestheres no install target in the Makefile i think, that correct?06:05
lifelessthats correct06:05
lifelessso the debian/rules file you have is broken or something06:05
meaton2veggiesyeah06:05
lifelesswhich is confusing, as to have a binary buld it has to have been correct when we uploaded it06:05
lifelesswhat url did you use to get the source from?06:06
meaton2veggiesthe debian/rules were created locally06:06
lifelessmeaton2veggies: don't do that06:06
meaton2veggiesthe source didnt come with debian/06:06
lifelessuse debget and get the whole source package from the ppa06:06
meaton2veggiesi did do that im sure06:06
lifelessif you did that you would have gotten a debian dir06:06
meaton2veggiesok06:06
meaton2veggiesusing this package https://launchpad.net/~bzr/+archive/ppa]06:07
meaton2veggiesusing this package https://launchpad.net/~bzr/+archive/ppa06:07
lifelessyes06:07
meaton2veggieslifeless: u use debget with the *.dsc file?06:12
lifelessthats my recollection06:12
meaton2veggiesi'm not getting anything for some reason06:13
lifelessyes, ddsc06:15
lifelessI'll test06:15
lifelessoh06:19
lifelessdebget is apparently toast06:19
lifelessan easier way06:20
meaton2veggiesok06:20
lifelessadd the https://launchpad.net/~bzr/+archive/ppa to your sources.list, as per the web page06:20
lifelessapt-get source bzr06:20
lifelessthen do06:20
meaton2veggiesyeah im not gettin source for 1.17 though for some wierd reason06:20
meaton2veggiesits giving me 1.13 from ubuntu repos06:21
lifelesshave you added the ppa?06:21
meaton2veggieswait correction06:21
lifelessdone apt-get update?06:21
meaton2veggiesits fine06:21
meaton2veggiesYAY!06:22
lifeless:)06:23
meaton2veggieslifeless: cool, bzr (powerpc) deb created and installed thanks for assistance06:35
lifelessmy pleasure06:35
lifelessEODing07:12
lifelesspoolie: ping07:27
chrispitzeri'm having problems with bzr upload.  when I try to upload a repo, i get bzr: ERROR: Invalid url supplied to transport: "README.txt"07:34
chrispitzerwhat's up - is this a permissions issue or something...?07:34
lifelesswhat url are you giving bzr upload to push to?07:34
chrispitzerbzr upload bzr+ssh://my.server.com/srv/foo07:35
poolielifeless: pong07:36
chrispitzerit should be using the user 'chris' just like when i ssh in.07:36
pooliethis sounds familiar07:36
poolieis there a backtrace in .bzr.log?07:36
chrispitzerwhen i ssh in I can make files in that folder easily07:36
lifelesspoolie: I'm done with the most recent arc, modulo review feedback and excludes (which we can defer a little, I think)07:37
chrispitzerthere is no .bzr.log07:37
poolie~/.bzr.log07:37
poolienice one07:37
lifelesspoolie: Unless you have specific requests, I'm just going to be popping 2.0 things off the milestone07:38
lifelesspoolie: as I start before you, you have until I wake up to leave something here giving a specific request ;P07:39
* lifeless is gone but can be rung07:39
pooliesounds good to me :)07:40
poolielifeless: bombs away re 6m cycle rfc07:41
chrispitzerhttp://dpaste.com/72786/07:41
pooliechrispitzer: so it looks like a bug or an incompatibility between bzr and the upload plugin07:43
pooliei assume you do actually want the tree contents uploaded?07:43
pooliei mean, that you want a full checkout on the server07:45
chrispitzeryea07:47
chrispitzerit works great for a bunch of sites I use it on... bzr upload that is.07:47
chrispitzerit just doesn't want to work this time.07:47
chrispitzer*shrug* time to get on with my life I guess. :P07:48
chrispitzerthanks anyway - later07:57
mdke_hi all. Is there an easy way to merge a git branch into a bzr one? I tried using a simple "bzr merge" command but no luck08:20
pooliemdke_: what happened?08:21
poolieyou probably need to specify the revision range08:21
poolieand obviously you need the bzr-git plugin08:22
lifelessif the bzr branch wasn't made from git, you can't trivially merge08:22
mdke_poolie: it said that it wasn't a branch08:23
mdke_lifeless: ah, damn08:23
mdke_lifeless: I'm working on an Ubuntu branch which was imported from the upstream svn project (gnome), but now that gnome has moved to git, I need to figure out some way of merging in the changes08:24
mdke_short of using the "cp" command...08:24
mdke_lifeless: I suppose the solution is to use Launchpad's import service to import the upstream project into bzr and then merge from that08:24
mdke_poolie: is the bzr-git plugin available in Ubuntu, do you know?08:26
mdke_I couldn't see it08:27
mdke_brb08:32
lifelessmdke_:  you need to essentially recreate your history on top of the git import08:40
lifelesswe should make a tool to do this for you08:40
lifelessbut you can approximate it with bzr fast-export and then fast-import on top of a bzr-git import08:40
lifelesslp does bzr-git imports08:41
mdke_lifeless: ok, so I'll wait for the Launchpad import to take place, and then try those two commands. So I'm basically going to have to scrap the Ubuntu branch and make another one, right?08:43
AfCIs bzr-git built into bzr-1.17?08:43
AfC(my distro hasn't posted a new package yet, so I can't see for myself)08:43
lifelessAfC: no08:44
lifelessmdke_: sadly yes08:44
mdke_lifeless: that's ok, we'll blame gnome for switching08:44
lifelessmdke_: you'll need to provide -r parameters to the export :P08:45
mdke_ok08:45
lifelessoh AfC hi08:45
lifelessI want to make a little progress bar08:45
AfClifeless: hello Robert08:45
lifelesssitting on the right hand side of my screen, at the bottom08:45
lifelessis there a precanned gtk thing for this?08:45
mdke_thanks for the help lifeless, gtg now08:45
lifelessI knowof the ProgressBar widget, I mean the rest08:45
AfClifeless: I'm sure you want to make "a little progress". The rest of us are also hoping you'll make "a little progress".08:45
lifelessfeh08:46
AfClifeless: by "at the bottom" do you mean "on the panel" or "always on top (ie, small docked [sic] window)" or...08:46
lifelessits the output from test runs08:47
* AfC presumes that if lifeless meant on the panel, he would have said "applet" in there somewhere.08:47
lifelessso I want something reasonably unobtrusive08:47
AfCyeah08:47
lifelessI guess having a window that shows on the task list, with the content on the task list being a progress bar would be lovely.08:47
AfClifeless: that's gonna be hard08:47
fullermdWhat do you want more than a little window with geometry -0-0 or some such?08:48
lifelessAfC: yeah, I'm not shooting for that today. Just completing a TUIT I've had for a while for subunit.08:48
AfClifeless: [as an aside, it's a shame that applets are such an insanely convoluted API, since applets are what most of us want in these cases]08:48
lifelessI can pipe subunit through subunit2pyunit --progress, to get bzr progress bars08:48
lifelessbut thats nowhere near as bling08:49
AfClifeless: well, there's the "shell bindings", ie `zenity`08:49
AfCso if you're already thinking in terms of pipes that might do the trick08:49
AfClet me russle up an example for oyu08:49
lifelesszenity progress bars?08:49
* lifeless looks around in alarm08:49
AfCzenity anything, really08:50
lifelesswheee08:50
lifelesshttp://library.gnome.org/users/zenity/stable/zenity-progress-options.html.en08:50
lifelessits scary08:50
MT-What does an error like this mean? No handlers could be found for logger "bzr"08:51
lifelessMT-: commonly it means that your ~/.bzr.log is readonly08:51
MT-Is 770 ok, or does other need read permissions?08:52
AfClifeless: so, try08:53
AfC$ zenity --progress --title "bzr test" --auto-close --percentage 80 --text "Current module: format stabiltiy"08:53
lifelessAfC: yeah, thing is I need a subunit converter on it anway; that makes me inclined to just do the whole thing in python08:53
AfCas I recall, you feed stdout 0-100 and #blah08:53
lifelesscleaner for the user than typing08:53
AfClifeless: in that cast, yes, just use pygtk08:54
lifeless<setup stream>  | subunit2zenity | zenity ...08:54
lifelessAfC: yah08:54
lifelessI'm going to crib from http://www.andrew.cmu.edu/user/skey/research_prev/checker/working%20now/gui/pygtk2tutorial/pygtk2tutorial/sec-ProgressBars.html I think08:54
MT-lifeless: I added o+rx to everything...08:54
AfClifeless: dunno. I'm not a Python guy :)08:54
lifelessMT-: your ~/.bzr.log needs to be _writable_:)08:54
MT-lifeless: that is08:55
lifelessMT-: try stracing bzr08:55
MT-um..08:55
lifelessMT-: or file a bug08:55
lifelessI'm actually not really here right now08:55
AfClifeless: [but you might want to ask if there's anything newer. The screenshot there looks OOOOOOLD]08:55
MT-I screwed up somewhere..08:55
AfCalways a give away08:55
MT-I doubt it's a bug08:55
MT-lifeless: does that file need to exist on the setver?08:55
lifelessMT-: the path to it does08:55
lifelessbzr will create the file in the directory if it doesn't exist, and needs to be able to do so to do log rotation08:56
AfClifeless: a slightly better idea might be notification area icon + a docked window with the progress bar in it08:56
AfC(ie, click icon, see progress bar)08:56
lifelessAfC: how hard is it to do rendered icons?08:57
AfClifeless: you mean ... what do you mean?08:57
MT-lifeless: so, the .bzr.log you're referring to - is that my system or the server?08:57
AfClifeless: you mean how hard is it to design icons08:57
AfClifeless: or,08:57
AfClifeless: how hard it is to change icons through a series to visually represent progress?08:57
lifelessAfC: I mean, to create the icon on the fly using code to create the pixmap/svg/whateverthebackendneeds08:58
MT-has to be server...08:58
AfClifeless: (gnome-power-manager's battery indicator being a good example of that, although last I saw Ubuntu they heavily fuck with the theme & icon set there, so as usual all bets off for people who don't use upstream)08:58
lifelessall of the code I've seen so far wants icons paths on disk, I think.08:58
AfClifeless: ah08:58
AfClifeless: not too hard, actually.08:58
AfClifeless: Cairo is good at that sort of thing08:58
lifelessso, I don't want to make 100 icons all 1% further complete08:58
AfCyeah08:59
lifelessor, better08:59
AfCdisk? Hm.08:59
* AfC looks08:59
lifelessa complete mix of fractions for pass/not run/error/fail08:59
lifelessactually, -> gnome-hackers I think09:00
AfCwe've got StatusBar's setFromPixbuf(), so worst case you can draw the image to a Pixbuf and then feed that to that method09:00
AfC[there is an IPC barrier in the way, so it's not like you're going to be able to talk to an XlibSurface / GdkPixmap directly]09:01
MT-lifeless: any packages not installed that could cause that?09:01
lifelessAfC: yeah, I don't care about htat :P09:02
lifelessMT-: if the error only shows when you do something with your server, then its probably permissions on the server.09:03
MT-lifeless: if I set 777 on them, it still shows up :S09:03
lifelessMT-: then its something else.09:04
MT-When I create the repo, everything is michael:bzr09:04
lifelessMT-: Like I said, I'm not really here right now. Your best bet is to file a bug, so that we can gather some data and help you solve the problem.09:04
lifelessWe'll likely also find why bzr is giving an opaque output to you and fix that so its easier for other people.09:04
MT-hm - bzr:bzr did the same09:05
MT-lifeless: any reason 770 wouldn't be good enough?09:07
lifelessplease file a bug09:07
lifelessI'm having dinner and stuff like that09:07
lifelessI can't help you at the moment, for all that I can feel your pain.09:07
MT-well... I verified it's not permissions09:09
MT-it's something with the system09:09
MT-I'll file a bug later on it09:09
MT-If I can't figure it out09:09
MT-anybody else have any other ideas?09:10
MT-Sleep time - If anybody does know though, please hilight - I installed bzr on the server using aptitude install bzr and let it install its deps. Then I setup permissions and did bzr push bzr+ssh://x.x.60.226/bazaar/branches/test. It seems to work, but I get the error No handlers could be found for logger "bzr"09:15
lifelessMT-: as I said, _please_ file a bug09:17
lifelessits the best way to help us help you09:17
MT-lifeless: ok, I'll do that tomorrow - it's too late to make sense when I detail it09:20
MT-lifeless: thanks09:20
sabdfl1hi folks11:23
=== sabdfl1 is now known as sabdfl
Kinnisonhihi mark.11:24
Kinnisoncomo esta?11:24
sabdflKinnison! long time no speak11:24
sabdflwell thank you, and you?11:24
sabdflis there work afoot to make explicit commit (bzr commit a b c) follow the new codepath for bzr 2.0?11:25
Kinnisonsabdfl: getting on, getting on.11:25
Kinnisonsabdfl: gearing up for the final production run on http://www.entropykey.co.uk/11:25
Kinnisonsabdfl: Lots of interest here at debconf for it.11:25
sabdfli hear debconf has been fun11:25
KinnisonIt has been good. Lots of "interesting" announcements, especially the release team's announcement about trying to sync up debian releases with Ubuntu LTS releases11:26
fullermdsabdfl: I think lifeless posted a patch for it earlier.11:28
sabdflthanks fullermd11:28
sabdflKinnison: how was that received?11:28
Kinnisonsabdfl: mixed. At the conf itself, reasonably well. On -project and -release, marginally more whinging.11:28
Kinnisonsabdfl: I'm not yet convinced we won't see an attempted GR to reverse the decision11:29
sabdflanything can happen in Debian11:30
KinnisonAye.11:31
KinnisonSo, congrats on the Launchpad/AGPL release11:31
sabdflthanks much11:33
LarstiQsabdfl: I admit to not knowing what you mean by that codepath, but coupled with fullermd's remark http://www.advogato.org/person/robertc/diary.html?start=104 seems to fit11:41
jelmerLarstiQ, dude!12:10
=== chad_ is now known as CardinalFang
LarstiQjelmer: I see you're not plaintexting over untrusted networks anymore ;)12:11
=== chad_ is now known as CardinalFang
jelmerLarstiQ, I'm not sure how I can be signed in, I don't recall sending my password..12:21
fullermdDon't worry, I sent it for you   8-}12:24
fullets_Is this an appropriate channel for bzr-svn questions?12:26
jelmerfullets_, yeah12:26
jelmerfullermd, (-:12:26
fullets_I pushed a commit to a Subversion repo using bzr, and it was the first commit to that repo via bzr. The bzr:base-revision property of the commit was set to the commit preceding its immediate ancestor though12:27
fullets_So my commit via bzr is revision 15993, it thinks its ancestor is 15991, and new bzr branches of that repo omit completely 1599212:28
fullets_Is there an easy way to fix this?12:28
jelmerfullets_, what sort of operation happened in svn ?12:28
fullets_From subversion's point of view it's all just a bunch of commits12:29
jelmerfullets_: does "svn log <branch-url>" include that particular commit?12:29
fullets_Yes12:29
jelmerNot on the repository URL but on the branch URL?12:30
fullets_Oh, one sec12:30
fullets_Sorry, what do you mean by branch URL?12:30
jelmerThe URL to the branch in the Subversion repository12:31
jelmere.g. if the repository is at svn://svn.gnome.org/svn/gnome-specimen then perhaps the branch is located at svn://svn.gnome.org/svn/gnome-specimen/trunk12:32
fullets_Ah, then yes, it shows up via svn log http://stuff/trunk12:32
jelmerhmm, odd12:38
jelmerbzr-svn should be warning when the order of the commits in svn doesn't match the bzr metadata12:39
jelmerdo you get any warnings during a clone?12:39
fullets_No. There have been warning during pulls into an existing bzr branch about tags moving round, which I shut up with --overwrite, but the problem is still present in a fresh clone in a fresh repo12:40
jelmerfullets_, So, the easiest way to cope with this problem would be to simply remove that property12:40
jelmerI would be interested to know though how you ended up with that property12:41
fullets_A-ha, but it's a versioned property on the branch root - is there a better way to do that than svnadmin dump -> hack hack hack -> svnadmin load into a fresh svn repository?12:41
fullets_Oh, wait, no12:41
jelmerit would be a revision property12:42
fullets_I deleted *all* the non-versioned revision properties, including bzr;base-revision, from subversion12:42
jelmerbzr-svn doesn't set base revision information in file properties12:42
jelmerfullets_, did you also remove the bzr-svn cache?12:42
fullets_A-ha!12:42
fullets_I was thinking of the bzr:see-revprops property12:43
fullets_That lives under ~/.bazaar somewhere, no?12:43
LarstiQfullets_: ~/.cache/bzr/svn or ~/.bazaar/svn-cache (legacy)12:44
fullets_Thank you12:45
=== kiko-zzz is now known as kiko
LarstiQSamB: you asked about Ubuntu packaging branches, right? https://code.edge.launchpad.net/ubuntu13:09
=== mrevell is now known as mrevell-lunch
=== sabdfl1 is now known as sabdfl
aquariuswhen trying to check out a branch, I get this error: bzr: ERROR: KnitPackRepository('file:///home/aquarius/canonical/ubunet/.bzr/repository/') is not compatible with RemoteRepository(bzr+ssh://bazaar.launchpad.net/~ken-vandine/ubuntu/karmic/desktopcouch/karmic/.bzr/) different rich-root support14:01
aquariuswhat do I have to do to upgrade my local repository?14:01
=== mrevell-lunch is now known as mrevell
=== JamalFanaian|afk is now known as JamalFanaian
LarstiQaquarius: upgrading your local repository is one option, or you could branch --standalone to tell it to not use your repository14:21
LarstiQaquarius: bzr info will tell you what formats are for each branch14:22
ChocoboHi all.  I am setting up my first vcs and I am considering bzr.   The only problem I am having so far is how to handle users...  I will be following mostly the centralized layout and when users push I want them to be able to use a unique username/password.   sftp seems like it will not fit the bill for this application.14:25
LarstiQChocobo: why not?14:25
LarstiQwith sftp or bzr+ssh://, the straightforward setup is to have everyone use their own username/password14:26
ChocoboHrmmm...  would each user just be part of a group for the bzr repo?   I am trying to figure out permissions, where to out the repo, etc.14:27
LarstiQChocobo: yes14:29
LarstiQChocobo: and I highly recommend making use of posix acls14:29
ChocoboDo you know of any documentation that describes setting up bzr this way?14:30
LarstiQChocobo: I'd check the user guide14:33
Chocoboohhh I see, so I would do something like "setfacl -m user:USERNAME:rwx bzr-repo"14:35
aquariusLarstiQ, if I upgrade my local repository will it upgrade all the branches that are in it?14:36
LarstiQaquarius: all branches will have their revision storage upgraded (by definition).14:39
LarstiQaquarius: can you tell me what format `bzr info` thinks the desktopcouch branch is?14:40
aquariusLarstiQ, cool; I'll do that, then. How do I upgrade my repository?14:40
aquariusbzr info bzr+ssh://bazaar.launchpad.net/~ken-vandine/ubuntu/karmic/desktopcouch/karmic/ -> Standalone branch (format: unnamed)14:40
LarstiQChocobo: I'd go for group:bzr:rwx and default:group:bzr:rwx14:41
LarstiQChocobo: but yes, that's basically it, since standard Unix permissions are a bit fidgetty in this regard, but posix acls solve it properly14:41
LarstiQoh feh14:41
ChocoboOk, thanks.  I have never used acl so I will have to look into it some more.  Basically I need to make sure that files added have the appropriate permissions.14:42
LarstiQaquarius: do note that since in this case there is rich-root discrepancy, if you have branches that need to interact with other non rich-root branches this will then shift the problem14:42
LarstiQChocobo: yes14:43
LarstiQaquarius: do you only have desktopcouch branches in that repository?14:43
aquariusLarstiQ, no, I have loads of branches of loads of things14:43
LarstiQaquarius: then I would not recommend upgrading all of that to a rich root format just yet, the pain with the distinction will soon be something of the past with 2a14:46
LarstiQaquarius: so, my recommendation is to either branch it standalone, or use a seperate repository for it14:46
aquariusLarstiQ, ok, cheers14:47
SamBLarstiQ: I don't think I would be able to find anything on that page ;-P15:01
SamBLarstiQ: also, what is this "password" thing of which you speak?15:03
LarstiQSamB: where?15:04
LarstiQSamB: to Chocobo? ssh15:04
Chocobohrmm?15:05
SamBLarstiQ: do you want me to be quiet, or are you talking about secure shell?15:06
LarstiQSamB: I still am not sure what you were referring to, but we discussed secure shell accces to a centralized server, yes15:07
SamBLarstiQ: I'm being facetious, actually ;-)15:11
SamBpretending I forgot that SSH supports password-based authentication15:11
LarstiQSamB: ah, I didn't catch on to that :p15:11
Mezwhat does15:19
Mezbzr: ERROR: Server sent an unexpected error: ('error', 'No repository present: "chroot-139854732:///home/sites/"')15:19
Mezmean?15:19
Mez(I'm trying to branch from another server in our local network)15:19
Mezbzr branch bzr+ssh://root@webutils/home/sites/15:19
jelmerMez: The error should be formatted better, but it usually means the server on the remote site was unable to find a repository related to the branch it has opened.15:20
jelmerif you log in as root@webutils and run "bzr log /home/sites", does that work?15:20
Mezhow would that happen? I can branch locally15:20
Mezbzr: ERROR: No repository present: "file:///home/sites/"15:21
Mezroot@webutils:/home/sites# bzr log | head -n 215:21
Mez------------------------------------------------------------15:21
Mezrevno: 51315:21
Mezworks though15:21
LarstiQMez: `bzr info` says the repository is where?15:21
Mez         shared repository: /home/webteam/bzr15:22
ChocoboWOW!  ACL's are awesome.15:23
Mezah, ok, I see.15:23
* LarstiQ blinks15:23
LarstiQChocobo: they are! :)15:23
Mez /home/sites is a symlink15:23
Chocobothat default: thing is crazy cool.  :)15:23
* LarstiQ nods at Chocobo 15:23
LarstiQMez: aha.15:24
MezThats better, 10000kB/s rather than 1815:24
=== lamont` is now known as lamont
awilkinsCan ConfigObj return lists of values?15:28
* awilkins RTFS15:30
bialixhi guys, anybody has copy of monotone's document about daggy fixes? their wiki is down during last several weeks and I can't find the way how to get it from google cahce16:18
awilkinsbialix: I think the gist of it is "find the revision that introduced the bug and branch from there to fix it", but you probably knew that16:36
awilkinsbialix: Frustratingly, many of the wiki pages are in the google cache but I couldn't coax this one out16:36
bialixI knew the gist, I'm interesting in document to show to other people16:37
bialixme too16:37
=== thekorn_ is now known as thekorn
=== reggie is now known as reggie_bzr_newbi
reggie_bzr_newbiwhat does it mean when bzr 1.17 complains that a folder is not versioned but has versioned children?16:44
bialixin one branch child file was changed, but in other branch folder+child were deleted16:47
reggie_bzr_newbibialix, that doesn't seem to be the case here.  I can't seem to find much in google about this.  is there a command to show me what bzr thinks is the status of my folders?16:48
bialixbzr status16:48
bialixbzr ls -v16:48
luksbialix: maybe an older version, but http://web.archive.org/web/20071115025521/http://venge.net/mtn-wiki/DaggyFixes16:51
bialixluks: many thanks, it's enough16:52
ronnyhow do i get a tree for a specific revision?16:54
bialixsee revisiontree16:55
ronnyhmm16:58
ronnyits not exactly self explaining :(16:59
luksrepository.get_revision_tree(revision_id) or something like that17:04
luksit's simple enough17:04
bialixfound mirror for mtn site: http://mtn-wiki.1erlei.de/wiki/DaggyFixes/17:04
kfogelloggerhead 1.10 works fine with Bazaar 1.17, right?17:13
kfogel(the 1.10 release is from so long ago, it seems like a good idea to ask)17:13
LarstiQkfogel: its require_any_api includes 1.1717:14
LarstiQkfogel: so it should, yes17:18
LarstiQoh wait17:19
* LarstiQ slaps self17:19
kfogel?17:19
LarstiQkfogel: ahem, that was the loggerhead copy for my bzr.dev17:19
kfogelLarstiQ: I'm not sure I understand.  Do you have local mods?17:19
LarstiQno, but it is very likely not 1.1017:20
* LarstiQ downloads and checks 1.1017:20
LarstiQkfogel: which has required_bzrlib = (1, 6)17:21
kfogelLarstiQ: does that translate to "1.6"?17:21
LarstiQkfogel: so 1.10 might complain with 1.1717:21
kfogelmeaning anything higher than 1.6 will work?17:21
LarstiQkfogel: I think so17:22
LarstiQbeuno: time for a new loggerhead release?17:22
Takis the progress indicator with "Fetching revisions: Inserting stream" the revision-fetching progress, or the overall (branch) operation progress?17:22
Chocobohrm: No handlers could be found for logger "bzr"18:04
reggie_bzr_newbiI need a bzr expert.  I have two repos that have the exact same directory structure but bzr apparently thinks that one of them has folders that are non-versioned18:18
=== mrevell is now known as mrevell-dinner
ronnyLarstiQ: any idea where jelmer is?18:38
CardinalFangreggie_bzr_newbi, hey hey.18:42
beunoLarstiQ, ooooh yes18:50
beunoI dream about it18:50
jfroybah18:56
jfroyJust converted a large repository (used for bzr-svn) to 2a18:56
jfroyRepacking it now, bzr is taking upward of 1 GB of memory18:57
jfroySeems to be an endemic problem with bzr -- several operates take incredible amounts of memory...18:57
jfroy*operations18:57
maxbIs there a convenient command to find the common ancestor revision between two branches?19:12
Takbzr merge --show-base?19:13
CardinalFangmaxb, The revision specifier can do that.  See "ancestor" under   $ bzr help revisionspec19:14
CardinalFangreggie_bzr_newbi, Still have a problem?19:16
reggie_bzr_newbiCardinalFang, yes.  this is really maddening19:17
CardinalFangreggie_bzr_newbi, Ignoring the directory bit for a moment -- what is it you're trying to do?19:18
reggie_bzr_newbiCardinalFang, I have two branches in a repo that I can't merge between.  do folders have to have the same id between branches?19:18
reggie_bzr_newbiCardinalFang, we have a small svn repo that we are converting to bzr.  we just did a fresh bzr svn-import that finished without error19:18
reggie_bzr_newbibranches and tags all look ok19:18
reggie_bzr_newbiwe did  a series of null merges so that bzr thinks that everything is merged up19:20
reggie_bzr_newbiessentially cd verY; bzr merge ../verX; for each topleveldir bzr revert X; bzr revert .; bzr commit19:20
reggie_bzr_newbiat that point, doing a bzr merge ..\verX in verY shows 'nothing to do'19:21
reggie_bzr_newbinow we make a small change in verX and try to merge to verY.  it gives conflicts complaining about a directory not being versioned.  pretty sure I've found the problem but not surehow to fix19:23
reggie_bzr_newbidoing a bzr ls --show-ids in the root of verX shows that one of my folders (the one that is causing the problem) has an id that is different than what it has under verY19:23
CardinalFangreggie_bzr_newbi, That final  "bzr revert ." should revert all file contents and leave all metadata.  That's special.  "bzr revert $subdir" will undo changes, file contents and metadata, for files beneath that directory.19:23
CardinalFangIs that what you intended?19:24
reggie_bzr_newbiwell, I had 3 files in the root that existed in verX but not verY19:24
reggie_bzr_newbiso after the merge I had file.base and file.other19:24
reggie_bzr_newbiI couldn't revert by filename, it just gave me an error19:24
reggie_bzr_newbibzr revert . removed them19:25
reggie_bzr_newbiit was correct for them not to exist in verY, but I didn't bzr to understand that19:25
reggie_bzr_newbibut I wanted bzr to understand that19:25
CardinalFangreggie_bzr_newbi, I'm not sure what "bzr revert $dir" will do for a merge.  I'm trying to decide if it makes sense.19:25
CardinalFangWe take it to a private discussion.19:28
LarstiQronny: jelmer is at Debconf19:32
* jelmer waves19:33
ronnyoh, sup19:33
ronnyjelmer: what are the future plasn for dulwich, stay protocols + data formats, or more19:34
jelmerronny, Basically fix bugs, improve performance19:34
ronnyi see19:34
jelmerronny, If git ends up implementing a new format (which seems unlikely at this point) dulwich will implement it as well19:35
ronnyjelmer: i'd like to be able to do in-memory-merges at some point for all vcs's19:36
ronnyso i want to see if they have things to offload the tricky bits19:36
jelmerronny: Ah19:36
jelmerronny: I'm not particularly interested in maintaining an implementation of merge in Dulwich, to me it is mainly about the formats and the protocols19:37
ronnybasic retarded commit building works19:37
ronnyjelmer: a rename finder might suffice to make my life easy thon19:38
ronny(i kind of dont want to do that one)19:38
jelmerronny: I don't have any plans to do one, but there might just be somebody else who is interested in contributing one19:40
ronnyjelmer: dont you need one for bzr-git anyway?19:43
jelmerronny: A rename finder?19:43
ronnyjelmer: yes19:43
jelmerronny: Eventually we'll need a rename finder for bzr-git, but there already is one in bzr that we might be able to use there.19:43
jelmerronny, And it doesn't look like it will happen in the short term since tracking renames means changing the bzr-git mapping format and that will cause all revision ids to change.19:44
ronnyi see19:44
jelmerronny: I'm open to the idea of having one in Dulwich, it's just not really something I particularly care about myself.19:44
ronnyi'll take a look at implementing one later on19:45
ronnyhmm, i despiese the launchpad bugtracker, so many clicks, so long loading times19:46
kfogelronny: it does have a hugely redeeming feature, though: you can interact with it entirely by email.  That's a huge win.19:47
kfogelronny: not saying that long load times are a good thing, of course.19:48
ronnykfogel: given todays email clients neither is nice19:48
kfogelronny: are you saying that today's email clients are worse than yesterday's, in certain ways?  (Couldn't quite tell.)19:49
ronnykfogel: no19:54
ronnykfogel: they are shit since ages19:54
kfogelronny: :-)19:54
ronnythis might be the fault of the email protocols19:55
ronnyi dont expect anyone that touched a imap implementation to be able to do reasonable userinterfaces19:55
* Tak blink19:56
=== reggie_bzr_newbi is now known as reggie
abentleysalgado is reporting that he can reproducibly create a branch that is unpullable using "bzr branch" and "bzr push": "A request was made for key: ('sha1:f4bb3cbd77a7fa6ed7b4a9df79d4e3b69c0cc1c6',), but that content is not available"20:10
LarstiQronny: I'm rather happy with mutt actually20:31
ronnyLarstiQ: never managed to warm myself up to that one20:31
LarstiQronny: somehow it seems to mesh well with my vi mindset20:32
ronnyLarstiQ: not with mine tho20:32
ronnyLarstiQ: whats the usual amount of mail you manage, i got hundreds if megabytes of dozens of mailinglists20:33
LarstiQronny: I switched my non-work mail around november of 2006, the Maildir since then is 730M20:38
ronnyLarstiQ: i see, sounds like a fit quantiy20:40
LarstiQbut I've removed a lot of mailinglists from that I'm no longer subscribed to20:41
LarstiQlike debian-devel, really can't keep up anymore20:41
LarstiQ(and low on disk space, so..)20:41
ronnyi keep buying larger harddisks20:41
* LarstiQ wants to move to a new server but has some inertia there20:42
LarstiQronny: work mail since the same period, 11051 entries, but that also has seen a bunch of deletions20:42
ronnythose are quite good amounts20:42
ronnyhmm20:43
LarstiQgood as in not yet too much that clients croak?20:43
ronnyops20:43
ronnyi just noticed i that anyvc doesnt deal with ignored files20:44
ronny(in bzr)20:44
=== [1]reggie is now known as reggie
Savvas_Pwant to ask something regarding "removed" files21:00
Savvas_Plets say i remove some files from one branch and i "keep" them, when I push the changes to another branch , when the branch is updated the files are removed, how can I keep them on the other branches as well?21:02
LarstiQronny: that should be easy to fix?21:03
ronnyLarstiQ: well, as soon as i have tests, and a generic working ignore command21:04
ronnyLarstiQ: so its more work, but a easy fix21:04
ronnyi"ll give vellum some love now21:04
LarstiQSavvas_P: you can't (got mentioned in https://bugs.launchpad.net/bugs/402196 but I don't think a specific feature request got filed)21:05
ubottuLaunchpad bug 402196 in bzr "remove --keep deletes files from disk in remote branches" [Wishlist,Triaged]21:05
LarstiQronny: right.21:05
LarstiQronny: vellum?21:05
ronnyLarstiQ: a task based build tool21:06
* LarstiQ looks it up21:06
LarstiQronny: like (n)ant?21:06
LarstiQ(or, not that I think of them that way, scons or waf)21:07
Savvas_PLarstiQ: OK thanks21:08
ronnyLarstiQ: its not an inference machine21:08
ronnyLarstiQ: its supposed to automate things around a python style project21:08
abentleylifeless: Salgado is reliably producing corrupt branches when he pushes to launchpad.  He was unable to reproduce it locally, even pushing stacked over the smart server.21:10
abentleylifeless: He is using 1.18dev.21:10
LarstiQronny: Zed Shaw is involved with pida?21:12
ronnyLarstiQ: nope, i just kind of started working on vellum and he stopped for now21:12
LarstiQk21:16
lifelessabentley: hi21:19
lifelesssalgado: have you filed a bug?21:20
abentleylifeless: Hi.21:20
lifelessabentley: whats the nature of the corruption? ACF on pull/scan ?21:20
abentleylifeless: https://pastebin.canonical.com/20552/21:21
salgadolifeless, not yet21:21
abentleylifeless: On my stale version of bzr.dev, it gave an ACF, but when I updated, I got the same error.21:21
lifelessabentley: this is ACF still, jam added a method to raise21:22
lifelessI'm not sure ValueError was the best exception to raise, but anyhow21:23
lifelessit does the job21:23
abentleyThe ACF is on branch.21:23
lifelessthis is missing a CHK page21:23
abentleylifeless: I thought so.  It wasn't created using a bundle, though.21:24
abentleylifeless: Or at least, salgado can reproduce it with push.21:24
lifelesssalgado: when did this start happening?21:25
salgadolifeless, I first noticed it yesterday21:25
lifelesssalgado: does it happen to all branches, or just this specific one?21:25
salgadolifeless, any branches on this project21:25
salgadolifeless, other than (my own) trunk21:26
lifelessare you working from a shared repo?21:26
salgadoyes21:26
lifelessso, this suggests several bugs to me21:27
lifelessthe smart server isn't asking for enough follow up data21:27
lifelessor the smart server is trying to read data it doesn't need21:27
lifelessthe former would be on push,the latter on pull21:28
lifelesssalgado: could you please file a bug21:28
lifelessso we can start recordin the data we gather21:28
salgadowill do21:29
salgadoabentley, got the same error when branching from a branch pushed with bzr-1.1721:29
lifelessone possibility is that you have managed to trip the trie size expansion in your branch21:30
* salgado tries branching with bzr-1.1721:30
lifelessbut that doesn't seem likely if *all* your branches that you push are bong21:31
salgadoright21:31
salgadolifeless, when I branch from within my shared repo I don't get the error.  (not sure you've seen that in the discussion)21:33
salgadoactually, when I'm within the shared repo and branch from lp.net, I don't get the error21:34
lifelessis the bug filed?21:34
salgadofiling now21:35
salgadolifeless, https://bugs.edge.launchpad.net/bzr/+bug/40659721:36
ubottuLaunchpad bug 406597 in bzr "ACF when trying to branch from any of my canonical-identity-provider branches" [Undecided,New]21:36
lifelessis this a new project?21:39
lifelesscd /tmp/21:41
=== JamalFanaian is now known as JamalFanaian|afk
lifelesssalgado: ok, so I've got a handle on it.21:57
lifelessdata that is referenced isn't being copied21:58
lifelessif you just 'bzr push /tmp/new', does that work?21:58
salgadolifeless, yes, it works and I can later branch from there21:59
salgadosame thing when using bzr+ssh21:59
lifelesshow about this22:03
lifelessbzr branch lp:<trunk> /tmp/trunk22:03
lifelessbzr push --stacked-on /tmp/trunk /tmp/mine22:04
salgadothe initial branch is going to take a while, but we'll see22:06
=== cprov is now known as cprov-afk
=== salgado is now known as salgado-afk
salgado-afklifeless, the push succeeded and I'm now branching (bzr branch mine/ mine2), which is working fine -- it'd have failed already if the problem existed22:30
lifelesssalgado-afk: ok22:35
lifelesssalgado-afk: now, please try with bzr 1.1722:36
lifelessit should be fast as the trunk is reusable22:36
salgado-afklifeless, redoing just the push with 1.17?22:39
jamlifeless: so in your iter-changes-partial-parents patch, what part of that is "already present in a branch that will be merged" ?22:40
jamah, the set_tags_bytes stuff?22:40
salgado-afklifeless, worked as well22:41
lifelessjam: the change to the signature of _process_entry, which has now landed so hopefully isn't visible in the diff22:42
jamlifeless, salgado-afk: This is the missing chk page issue?22:42
lifelessjam: yes22:42
lifelesssalgado-afk: redo the push --stacked-on, yes22:42
lifelesssalgado-afk: using bzr 1.17 for the push and then branching from it and so on22:42
jamlifeless: unfortunately: +            result, changed = self._process_entry(entry, self.root_dir_info)22:42
jamis, indeed, present in the diff22:42
jamI'll create my own, I guess22:43
lifelesssalgado-afk: lp is running bzr 1.17, so if its a 1.17 bug we'll need to use 1.17 to trigger it22:43
salgado-afklifeless, right; I did the push with 1.17 and was later able to branch from the pushed branch22:44
lifelesssalgado-afk: branching from it using 1.17 ?22:45
lifelessand [obviously] branching into /tmp as well, because we want the failure case22:46
salgado-afklifeless, both 1.17 and 1.18, but I'm not waiting until it finishes because the error happens early on22:46
lifelesssalgado-afk: erm, the backtrace shows that it happens during tree building, which is nearly the very end of it22:48
salgado-afklifeless, it takes exactly 20s for the error to happen when I branch lp:~salgado/canonical-identity-provider/test422:49
=== psynaptic is now known as psynaptic|afk
salgado-afk(just timed it)22:50
lifelesssalgado-afk: outside your shared repo?22:52
salgado-afkyes22:52
lifelessthats nuts22:53
lifelessjam: so, were you ok with the test progress patch?22:56
jamlifeless: truth be told, I think it makes figuring out the test suite one step harder to understand22:56
jamAnd I don't quite understand when you know to use SEEK_SET vs SEEK_CUR22:57
lifelessso, the concept is being built in subunit22:57
lifelessI'll be taking it to testing-in-python once its a tad more mature22:57
jamAt least, when I saw it originally22:57
jamI would have thought you would be doing SEEK_CUR, but you have SEEK_SET22:57
lifelessgenerator tests (that we don't have) would use SEEK_CUR22:58
jamah, I see now, you are still calling countTestCases22:58
jamyou just do it in a decorator22:58
lifelessright, I move from using it as part of the contract, to it being used by the public contract22:58
jamI guess I'm just really confused by the layering22:59
jamAs in, I barely have an idea what is going on22:59
jamlevel of confused22:59
lifelesswow ok22:59
lifelessuhm22:59
jamyou're wrapping this with that22:59
jamat a random time22:59
jamand expecting it to have all the values22:59
jamor not22:59
lifelessso, we have some main steps22:59
lifelesswe make a suite, something honouring run(result)22:59
lifelesswe pass that into TextTestRunner.run(suite)23:00
lifelesswhich creates a result and does some UI stuff23:00
jamk, following so far23:00
lifelesscurrently, TTR.run calls countTestCases23:00
lifelesswhich removes any opportunity for lazy evaluation23:01
lifeless(and subunit doesn't support countTestCases at all)23:01
lifelessso, layering wise, test cases should be responsible for knowing if they are lazy or know how many tests they have23:02
lifelessthis patch doesn't go all the way to achieve that. But it does change TTR so that it no longer assumes the test case its running does know23:03
jamlifeless: but unittest.TestSuite *does* support countTestCases, right?23:04
lifelessyes23:04
lifelessits a design bug that that method exists at all23:05
jamWhy wouldn't a TestSuite know how many tests it has aggregated?23:05
jamGiven that you have a separate TestCase instance for each test23:05
jamAFAIK23:05
lifelessthe method returns it transitively23:05
lifelesscountTestCases isn't len(self._tests)23:05
lifelessits sum(test.countTestCases for test in self)23:06
lifelessits a Composite pattern23:06
lifelessthe problem though, is that if one of the tests *doesn't* know23:06
jamwell, self._tests can contain a TestSuite as well, right?23:06
lifeless(say its a generator test)23:06
lifelessthen you have to actually run that test to find out how many tests it has23:06
jamgiven that we don't have generator tests...23:06
jamnor does unittest support it, afaik23:07
lifelessyes, but I'm not doing this for bzr I'm doing it so that I can reuse TTR outside bzr23:07
lifelessunittest supports it fine23:07
lifelessexcept for countTestCases23:07
lifelessone example of a generator test is LazyLoadingTestSuite, which I posted to TIP a couple months back23:08
jamso some of the confusion is just Unittest issues23:11
jamlike having a Runner.run(suite) which calls suite.run(result) etc23:11
lifelessright23:12
jamand then you are decorating run()23:12
jamto do all sorts of random stuff23:12
jamlike call *back* into Runner.progress()23:12
lifelessstartTesetRun and stopTestRun go some way to allowing the deletion of Runner23:12
jamor is that result.progress()23:12
jami guess it is result23:12
lifelessTest.run calls into result.progress23:12
lifelessthe decorators run that is23:12
jamright,which is actually the suite, but TestSuite conforms to the TestCase api?23:13
lifelessyes23:13
lifelesssuites are tests are suites23:13
jamwell, *a* suite23:13
jamwell, to clarify, *a* suite is *a* test, as well as being a collection of tests.23:14
lifelessexternally its just *a* test; the fact it is composed of many children is hidden from the public API that TestRunner is allowed to use23:14
jamso...23:15
jamI think your patch adds complexity23:15
jamif it is necessary, then so be it23:15
lifelessso without it, TTR calls test.countTestCases, and subunit (because its just reading from a socket) can't answer that sensibly23:15
jambut it certainly isn't something that I'd go "oh yeah, that is what I want"23:16
jamlifeless: sure, but it could return 0, which is what we are doing now anyway23:16
jamsince you just aren't setting num_tests23:16
jamwhich means it stays 023:16
lifelessnope, it gets set23:16
jamor you could return a sentinel "-1"23:16
lifelessthis is what happens with the patch:23:17
lifelessTTR.run(test)23:17
lifelessresult = result_class(num_tests=0)23:17
lifelesstest.run(result)23:17
lifelessnow, for bzr's normal runs, the next step is23:17
lvhHi!23:17
lifeless(inside test), result.progress(self.countTestCases, SEEK_SET)23:18
lifelesswhich sets result.num_tests23:18
lifelessfor subunit2pyunit --progress, the same thing happens, except rather than calling self.countTestCases, the subunit stream has a progress: item in it23:19
jamso given that you are trying to show progress, it is a little bit icky to have the "num tests" keep getting bigger, as that means whatever progress indicator you have is invalid anyway.23:21
lifelessjam: yes, and this is one of the main difficulties with doing progress of things with unknown length23:22
jamand if the stream has "progress:" why couldn't it return that as part of countTestCases... because it hasn't read it yet at the time of "result=XXX" ?23:22
lifelessright23:22
lifelessalso because cat stream1 stream2 | subunit2pynit --progress23:22
jamlifeless: though that again doesn't have any valid meaning for progress info...23:25
jamnot to mention... does it have any meaning anyway?23:25
jamcatting a saved stream doesn't seem like it is actually running anything23:26
jamand hence... who cares about its progress23:26
jamor is that "cat FIFO1 FIFO2" ?23:26
lifelessjam: so the point is to decouple things such that the result object doesn't know or care23:28
lifelesssaved streams are useful for timing analysis23:28
jamlifeless: I can understand why one would save the output23:29
jamI'm not sure why you would want --progress with saved output23:29
lifelessjam: pragmatically, one is unlikely to do that23:29
jamlifeless: anyway, it sounds like you solved a problem you're having, which isn't one I'm having. And it adds complexity, though not a tremendous amount.23:29
jampersonally23:29
lifelesscombining FIFO's is a very common case though, ec2test does that23:29
jamjust having subunit.countTestCases() == 023:29
jamseems like a perfectly reasonable alternative23:30
jamlifeless: though again, combining FIFOs would mean that your info is a bit bogus23:30
jamand you really should intermix them23:30
jamrather than read one and then the next23:30
lifelessright, we do23:30
jambut you can use something fancier than 'cat' I'm sure23:30
lifelesswe get progress from both23:30
jamso I certainly wouldn't block your patch23:30
lifelessand transform them into CUR as you combine them23:31
jamI'm not *happy* about it, but if you need it, do it.23:31
lifelessok; I wish I knew how to make you happy about it :)23:31
jamwell, I'm not "super happy that this has finally landed"23:31
jamlifeless: I'm not *unhappy* either23:31
lifelessah good23:31
=== psynaptic|afk is now known as psynapticx
=== psynapticx is now known as psynaptic
pooliehello jam, hello all23:47
jamhi poolie23:47
pooliecan i call you briefly?23:48

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