/srv/irclogs.ubuntu.com/2010/03/17/#bzr.txt

thumperabentley: yay for DTRT for pipes00:32
thumperabentley: switch-pipe :prev, then merge --uncomitted :next :)00:32
lifelessthumper: see, I'd prefer that to just be 'switch :prev' like it is in loom :)00:39
thumperlifeless: actually if I just did a switch :prev, then that would have worked too00:40
lifelessah!00:40
thumperlifeless: but since I had already typed `bzr prev` which I have aliased to `switch-pipe :prev`00:40
thumperit seemed easer00:41
thumpereasier00:41
igchi all01:14
pooliehi igc01:23
pooliei forgot what i was going to ask you :)01:23
igc:-)01:23
igcpoolie: was it about bug 539587?01:27
ubottuLaunchpad bug 539587 in null "search broken on bazaar.canonical.com web site" [Undecided,Invalid] https://launchpad.net/bugs/53958701:27
poolieyes! i just realized that too :)01:27
igcor maybe about the RT request?01:27
poolieno, about the site search01:28
igcpoolie: I can't recall changing anything about search search fwiw01:31
jderosehttp://jderose.s3.amazonaws.com/clouds_450p_5.ogv01:46
jderosewhoops, wrong tab.  ;)01:48
lifelesspoolie: so if you're totally happy with my sketch we can skip talking about it02:14
pooliei am happy actually02:16
pooliei don't have any objections and i think they would all be great things to do02:17
poolieand we will do at least some of them02:17
pooliei wouldn't say it's an exhaustive list of everything we will do, or be asked to do02:17
pooliebtw do you have any brilliant ideas about https://bugs.launchpad.net/bugs/52263702:17
ubottuUbuntu bug 522637 in bzr "BzrCheckError: Cannot add revision(s) to repository: missing referenced chk root keys" [High,Confirmed]02:17
thumperhi people02:43
thumperI just noticed a 'dent about conceptual differences between hg and bzr02:43
thumperis there a doc somewhere to point them at?02:44
pooliehttp://doc.bazaar.canonical.com/migration/en/survival/bzr-for-hg-users.html maybe02:49
thumperpoolie: ta02:53
abentleythumper, yeah, whoever wrote bzr-pipeline was reading my mind :-)02:55
thumper:)02:56
* igc lunch03:16
pooliespiv, igc, lifeless: perhaps the day has come to use a script to flip all bugs from triaged->confirmed?03:51
=== spiv_ is now known as spiv
spivpoolie: well, it's not causing me any direct pain that I've noticed, but if it's bugging you then go ahead :)03:53
spivpoolie: fwiw, a one-off bug spam like that isn't a big deal for me.04:00
lifelesspoolie: if you do that, please send a mail saying 'starting' and another saying 'stopped'04:09
lifelessso I can just delete all bugmail in the intervening period04:09
poolieheh04:09
poolieimbni there was a wikipedia-like concept of 'this is a minor edit'04:11
poolieotherwise no objections?04:12
* lifeless shrugs/04:13
poolieputting pqm failures as attachments (not inline) in the comment stream might just be the killer feature for direct pqm integration04:16
pooliebecause it would mean the person who queues/approves the merge need not be in the loop to fix the failures04:16
spivpoolie: yes, that would be awesome04:24
lifelessgrabbing late lunch04:32
idnarhuh06:31
idnarI run bzr upgrade on this branch, and it tells me "This may take some time. Upgrade the repositories to the same format for better performance."06:31
mwhudsoni think that bug got fixed06:32
idnarrunning bzr 2.1.0 here06:32
idnarwould the fix have been after that?06:33
idnarnot that it's a big deal, just a little confusing06:33
spivI don't think that was fixed in 2.1.06:48
vilahi all !06:59
_AndrewHi, I was wondering if anyone knew if this kind of thing exists in bzr and what it's called. I want to copy a file so that changes are tracked and applied to both the original file and the cloned file?07:00
bob2it does not07:24
_Andrewdoh :(07:43
bob2not sure that any dvcs does that07:44
fullermdI think I heard once that hg has copy support.  How much it DOES with it, I don't know.07:50
_AndrewI think it's quite a useful feature because there is a situation where I want to update from a parent however the file I want to update needs to be split up so that the functionality is in one file and the html is in another. If I had a copy function then I think it should be able to still apply the parents updates.07:52
_AndrewI'll look around. Maybe someone else is working on this for bzr07:52
fullermdWell, sure it's useful.  But it's not just the devil being in the details; he brought along 10,000 of his closest friends too, and they're having a raucous party.07:53
_Andrewhehe07:53
fullermdConceptually, git's psuedo-ignoring of files has a chance of DTRT there.07:53
radoehm, bzr tags in a branch of emacs upstream repo from http://bzr.savannah.gnu.org/r/emacs/trunk/ takes about 25 seconds....08:17
* igc dinner08:49
Tiibiidiihi, i'm thinking of versioning my project's libraries...08:55
Tiibiidiii read this: http://stackoverflow.com/questions/1710027/can-should-i-put-3rd-party-libraries-in-version-control08:55
Tiibiidiiand they suggest that, while libraries should be versioned, it's better if they are in a different branch08:55
Tiibiidiiso i looked at nested trees...08:55
Tiibiidiii could create one with split or branch of the library subdirectory08:56
Tiibiidii(is there any difference between these 2 commands?)08:56
Tiibiidiiand then i could even join the subdirectory08:56
Tiibiidiithe main purpose of "join" (if i'm not wrong) is that the commit on the parent tree, are recursed into the subtree08:57
bob2split and join are still experimental afaik08:57
bob2no08:57
Tiibiidiiuh08:57
Tiibiidiii'm asking myself if i should branch it into a subdirectory or joining it however...08:57
Tiibiidiiwhat do you use to version your libraries?08:58
bob2the internet08:58
Tiibiidiilol?08:58
bob2split and join don't really help with vendor branches08:58
Tiibiidiimhn08:58
Tiibiidiiwhy do you say that?08:59
Tiibiidii(however please note that mine's a java project... and afaik in java world is quite common to not use the latest and greates version of an external library... just look at  maven)09:00
bob2I guess join could help, actually09:00
Tiibiidii(so i'm not urged to update my lucene to 3.0 :) )09:00
bob2don't java people just use maven for this?09:00
Tiibiidiimany do...09:00
Tiibiidii( i haven't really used it yet... i'm not even doing this for work: it's an university project... and i'm thinking of versioning my libraries only now that i've to leave this project to another guy, so at least he'll start with this problem already solved)09:03
bialixTiibiidii: you can use either bzr-externals plugin or bzr-scmproj plugin09:03
bialixthere is no built-in support for nested trees yet09:03
Tiibiidiimhn, i read about those... but it seems they were used a solution for when nested trees weren't yet supported09:03
bialixso split works, but join is not AFAIK09:03
Tiibiidiiah09:03
Tiibiidiithat's strange09:04
Tiibiidiii mean: i should have a quite stable version of bzr09:04
Tiibiidiinot a bleeding edge one...09:04
bialixI don't understand09:04
Tiibiidiiand yet if i type "bzr help join" it doesn't warns anything about it not being implemented yet09:04
Kamping_Kaiserjelmer: can i rebase part of a tree? i'm trying to work out why bzr is crashing during a rebase. it seems to do the first 2-3 commits, then bomb out09:05
bialixTiibiidii: today join works as merge of subtree into parent tree. This is not what nested tree should be IMO09:06
jelmerKamping_Kaiser, No, there's no way to do a partial rebase at the moment.09:06
* bialix waves at jelmer09:06
jelmerhey bialix09:06
bialixheya jelmer09:07
Tiibiidiibialix: ok, thank you... i didn't really delved into nested trees documentation... however that's good news, right? (at least for my use case)09:08
Tiibiidiihowever do you suggest i should only split/branch it... or should i split+join it?09:09
Kamping_Kaiserjelmer: ok. I'll leae that branch alone for a while.09:09
fullermdsplit+join would be an incredibly pointless operation...09:09
bob2why do you want to use them at all?09:09
bob2you want to check out specific revs of your vendor branches09:10
Tiibiidiibecause using an integrated bzr tools seems more appropriate than using an external plugin like scmproj :)09:10
bialixTiibiidii: what is your use case?09:10
bialixTiibiidii: oh, c'mon09:10
Tiibiidiiproject, with some folders (most important among them: src/ and test/ )09:10
Tiibiidiiand then an unversioned lib/ folder09:11
Tiibiidiii want to version it09:11
Tiibiidiibut i would prefer to version it in a separate branch09:11
Tiibiidiihowever fullermd, why do you say it's pointless? i mean: it's even suggested as an use case here: http://wiki.bazaar.canonical.com/NestedTreesDesign#id2009:13
Tiibiidii(however, thank you all for the hints this far)09:13
fullermdFirst off, that's a design doc for discussions about how to implement a feature, not anything remotely related to what the commands do in bzr.09:14
fullermdSo trying to take anything in it as suggesting things to do with bzr is chimeric.09:14
Tiibiidiiuh... my bad: i thought that since split and join were present in bzr 2.0 they were working as in that doc09:15
fullermdNot at all.09:15
fullermdjoin implements "by-value" nested trees, which basically means it's equivalent to merging the other branch and mv'ing everything into the subdir.09:15
thumperusing bzrlib, what is the (easiest) way to determine the last revision that modified a particular file?09:16
fullermdA useful thing, but nothing at all like "by-reference" nesting, where you link to an existing but kept separate branch.09:16
thumperonly really concerned with mainline revisions09:16
Tiibiidiiok09:16
fullermdAnd split is a dangeous command, because your intuition about it usually doesn't match what it actually does.09:16
Tiibiidiiuhm09:17
fullermdYou think of it as "take the history of just this subdir and make a branch of it"09:17
Tiibiidiiyes09:17
fullermdBut that's a destructive operation.09:17
Tiibiidii(given that lib/ until now isn't yet versioned, that's not really a problem for me)09:17
fullermdWhat it does is the same as "bzr branch existing new ; cd new ; rm <everything but that dir> ; mv <that dir> <root> ; bzr ci"09:17
Tiibiidiioh09:18
fullermdYeah, so it has no applicability there anyway.09:18
fullermd(actually, split + join might have really scary consequences, since it would merge rm'ing everything, I think.  But at best, it's an expensive no-op.)09:18
Tiibiidiirm <everything but that dir> <-- why does it do this?09:18
fullermdBecause if it didn't, you wouldn't end up with a branch looking like it was based at that subdir, you'd just have a copy of the existing branch.09:19
Tiibiidiimhn, using "bzr branch --use-existing-dir lib" would do what i'm aiming for?09:25
fullermdNo, that's a trick for saving transfer in certain cases.09:25
fullermdIf lib isn't versioned, none of this is meaningful.09:25
fullermd(and if it's a versioned dir in a branch, you couldn't "branch" it anyway)09:26
fullermdWhat's in it that you're trying to jump through all these hoops in the first place, rather than just add'ing it to the branch it's already in?09:26
Tiibiidiithey taught me that adding big binary blob in a VCS (even modern ones, aka: after-CVS) isn't not a good thing09:27
Tiibiidiibut since i want to version my libraries, i'd prefer to keep them separated09:27
fullermdWell, it's not.  But why do you want to...   well, I guess it doesn't matter.09:27
Tiibiidiilol09:28
Tiibiidiiwhy do i want to version my libraries?09:28
fullermdYeah.  It's nutbar.09:28
fullermdBut if you want to, you want to.  Retarded or brilliant, that's your problem, not mine   :p09:28
Tiibiidiimhn09:29
Tiibiidiiare you saying you don't version your libraries?09:29
fullermdJust make 'em their own branch, and worry about burning the bridge of externals/scmproj/nested-branches when and if you come to it.09:29
fullermdWell, what libraries?  3rd party stuff I happen to link, like libX11 or gtk or something?  No.09:30
fullermdMy own stuff?  Of course not.  I version the source.09:30
Tiibiidiimhn, well...09:30
fullermdIf I wanted to do the former, I'd use vesta   :p09:30
Tiibiidiiif it where libX11 or gtk i probably wouldn't version it....09:31
Tiibiidiii mean: that ones are quite common09:31
Tiibiidiion the other hand, sax, lucene, pdfbox, etc. are not09:31
Tiibiidii i mean: that ones are quite common <-- i mean for the target system... i guess one doesn't have the lucene .jar laying aroung if he's not developing something with it09:32
fullermdSee, that sounds more like you don't care about _versioning_ them, you're just trying to come up with a _deployment_ mechanism.09:33
Tiibiidiiyes... but by versioning something it should even be easier to deploy it, no?09:33
Tiibiidiibzr pull, compile, and run09:34
fullermdI doubt it.  Would be a lot less efficient than `fetch -o- | tar xvf-`09:34
Tiibiidiifetch -o- ?09:34
fullermdWell, "wget -o-" if you don't have fetch.  Whatever.09:35
Tiibiidiimhn09:35
Tiibiidiiso you mean09:35
Tiibiidiibzr pull, fetch, tar xvf, compile and finally run?09:35
* fullermd shrugs.09:36
fullermdNo reason the fetching couldn't be part of the compile process.09:36
Tiibiidiiuhm09:36
fullermdmake's all about building dependancies, after all.  Fetching is a form of building   :)09:36
fullermdBut in any event, I have a violent antipathy to use of VCS's as deployment mechanisms.  Other people here don't have my pathology, so they might have more cogent advice.09:37
Tiibiidiibut fetching is a complicated process, i mean: by fetching the latest version libraries something is almost guaranteed to break09:37
Tiibiidiimhn ok09:37
Tiibiidiii could even use maven09:37
Tiibiidiibut that imho is overkill (at least for now)09:38
fullermdWell, I was thinking in the sense of you providing a tarball like you'd provide the branch.09:38
Tiibiidii(and i would've to learn yet another tool)09:38
Tiibiidiimhn that's probably what i'll end up to :)09:39
Tiibiidii(i mean: for the only lone guy who'll continue my work that's not a problem... otherwise i should kept the tarball updated with the latest library changes)09:39
Tiibiidiihowever thank you all for the help09:45
Tiibiidiiin the end i guess that for my next project i'll use maven and version the .pom09:49
Tiibiidiiand for now i'll version my nbproject/project.properties that contains the libraries list09:49
Tiibiidii(i haven't versioned yet my ide config directory since i'm fairly certain that the next guy will use eclipse, and so the netbeans files will be of no use to him... and so i preferred to avoid cluttering my branch)09:49
=== dcoles_ is now known as dcoles
GaryvdMHi. Is there a way to have a setUp that runs only once for multiple tests. In the setup, I'm creating a tree, and in the tests, I do some read only operations.12:00
GaryvdMThis is my test: http://bazaar.launchpad.net/~garyvdm/qbzr/538735-treewidget-filter-ignored/revision/1212  At the moment, its one test. I want to split it up, so that I can see if more than one Is going to fail.12:03
bialixGaryvdM: hi12:22
bialixGaryvdM: AFAIK, no12:23
bialixwhat's the problem?12:23
GaryvdMbailix: Hi. I only want to create the tree once for performance reasons.12:24
bialixok, I see12:26
bialixGaryvdM: you can try to override __init__ but I think this is not recommended way12:27
bialixmaybe vila knows?12:27
GaryvdM:-)12:28
vilaGaryvdM: you can't12:28
bialixheya vila12:29
vilathe main reason is to ensure that bugs don't propagate from one test to the other12:29
vilabialix: hey :)12:29
GaryvdMHi vila12:29
GaryvdMSo should I just split it up, and not worry about performance?12:29
vilaGaryvdM: otherwise you may want to look at lp:testresources which intent to address that12:30
vilaGaryvdM: exactly12:30
* GaryvdM looks12:30
vilaGaryvdM: the long term plan is to be able to have wt fully supported in memory so we don't have to pay the IO penalty12:30
GaryvdMThats cool.12:31
vilaGaryvdM: and sorry for not replying to your mail about 'QBzr test I just wrote' :-( It still flagged as 'needs to be acted upon' though...12:32
GaryvdMvila: No problem. I just wanted to let you know I made some progress.12:33
GaryvdMRecently, I've been writing lots of tests for qbzr :-)12:34
vilaGaryvdM: That's great !12:34
vilaGaryvdM, bialix : Out of curiosity, how do you hack on qbzr ? Always using the trunk version ? Switching between branches ?12:35
GaryvdMVila: Mostly, just on trunk. For big features I create a feature branch.12:37
vilaGaryvdM: and how do you *use* that feature branch ? swapping the installed one with yours ?12:38
GaryvdMvila: I have a dir structure like this: http://pastebin.org/11621112:43
GaryvdMvila: When I'm deving, I export BZR_PLUGIN_PATH=~/qbzr/wd/12:44
GaryvdMAll editing happens in ~/qbzr/wd/qbzr/12:45
GaryvdMPoor mans co-located branches.12:46
* GaryvdM -> lunch12:47
vilaGaryvdM: beware: you have two featureA branches :-)12:47
GaryvdMVila: It would be cool for plugin authors to be able to do somthing like BZR_PLUGIN_PATH=;qbzr=~/qbzr/featureA13:24
GaryvdMI'm sure that I would do feature branches more if I could do that.13:25
vilaGaryvdM: how about BZR_PLUGINS_AT=qbzr@~/qbzr/featureA ?13:25
vilaGaryvdM: let me see if I can write a quick patch for that13:25
GaryvdMVila: Yes, Thats the idea.13:26
vilaGaryvdM: here you are: https://code.edge.launchpad.net/~vila/bzr/82693-plugin-at-path/+merge/2154713:26
vila:-P13:26
GaryvdM:-)13:26
vilaGaryvdM: tests and feedback welcome (I'm not sure ~ is supported, but it should be easy to add)13:26
vilabbia13:29
=== mrevell is now known as mrevell-lunch
bialixvila: I'm using colo plugin13:42
bialixbefore colo plugin I've used just light checkout of several branches in shared repo. so it was almost the same as colo, but separated in 2 directories13:44
GaryvdMHi vila. bialix said while you were away: http://pastebin.org/11628014:00
bialixoops14:13
=== mrevell-lunch is now known as mrevell
=== salgado is now known as salgado-lunch
xorAxAxhi, how can i clone all of these branches? https://code.edge.launchpad.net/~mwhudson/pypy/16:13
vilabialix, GaryvdM: I thought I read somewhere that it was possible to use ctfl-F for searching in qblame but no luck so far...16:14
vilabialix, GaryvdM: Did I dream or is it part of a wip ?16:15
maxbxorAxAx: There is no trivial shortcut. You'd have to make a list and do each one. (Into a shared repository, obviously)16:16
=== beuno is now known as beuno-lunch
xorAxAxmaxb: how do i ensure that it is a shared repo?`16:16
maxbA shared repo is what you create using 'bzr init-repo'16:17
xorAxAxmaxb: and how do i clone into the shared repo?16:20
maxbAny branch newly created under the directory of a shared repo will use it16:20
xorAxAxah, magic16:20
xorAxAxok16:20
maxbNote that this is just a storage/bandwidth optimization, to avoid storing/transferring the common history between branches multiple times16:21
maxbwget -nv -O- "https://code.launchpad.net/pypy/+branches" | html2text -ascii -nobs -width 300 | sed -nr 's/.* (lp:[^ ]+) .*/\1/p'16:23
maxbxorAxAx: ^ may be of use to you16:23
xorAxAxcool!16:23
=== IslandUsurper is now known as IslandUsurperAFK
=== beuno-lunch is now known as beuno
=== IslandUsurperAFK is now known as IslandUsurper
GaryvdMvila: lp:~garyvdm/qbzr/annotate_find17:05
GaryvdMvila: wip17:06
GaryvdMvila: wip because I want to make that ui change to all browse dialogs before I land it. If you don't mind that, It is compleatly usable.17:08
vilaGaryvdM: I'll try it (and hope I'll remember to track when it lands...) that's my most wanting feature17:10
vilaGaryvdM: well, that and being able to do bzr qblame <file> <linenumber> :-P17:10
GaryvdMvila: That branch also has a gotoline (ctrl-g), but no command line option.17:12
vilaGaryvdM: I see that, cute :)17:12
vilaerr, I can't type anything  in Goto Line box17:13
* GaryvdM looks17:13
vila.. but got a nice error dialog if I press the Go button about: invalid literal for int() with base 10: '' :-D17:14
vilaincremental search.... rhaaaa lovely17:14
vilahmm, no short-cut for previous/next ?17:15
GaryvdMvila: For me I can type numbers into the goto line box.17:18
GaryvdMvila: I get that error I type nothing in.17:18
vilaGaryvdM: Do you have a numeric keypad or are you typing from the upper row ?17:18
vilaneither works in my case anyway17:19
GaryvdM:-( Keypad does not work. Using upper row.17:19
vilaweird17:19
vilaGaryvdM: you checked your num-lock right ?17:20
vilapasting doesn't work either, that kind of rules out a keyboard problem17:21
GaryvdMvila: I'm just doing :17:21
GaryvdM        self.line_edit.setValidator(QtGui.QIntValidator(1, sys.maxint, self.line_edit))17:21
vilaGaryvdM: Anyway, it's already useful as-is, I usually *know* the line number because it's there in an emacs buffer but generally I'm searching for some text, so incremental search is a real plus17:22
GaryvdMvila: I'll make a note about that.17:22
vilaGaryvdM: commeting this line is enough to make it work ;)17:23
vilaBut you should also bind <return> to the Go button ;)17:24
GaryvdMYes17:24
GaryvdMHmm, I have go.setShortcut((QtCore.Qt.Key_Enter)) , but it's not working17:26
vilahmm, I think you should do that on text entry17:29
ascii_philAny bzr-svn people around?18:40
jelmerascii_phil, yep18:47
ascii_philbzr-svn is refusing to do a commit because it would change the mainline history.  I think the commit should be a straight append.  Is there any way to tell what changes bzr-svn wants to make to the history without actually doing it?18:50
ascii_philThe commit is going from a local Bazaar repository to a remote Subversion repository.18:51
jelmerascii_phil: What does "bzr missing" say ?18:56
ascii_philThree extra local revisions, no extra remote revisions.  The first of the three local revisions is a merge from another local Bazaar branch that's been pushed to a different Subversion branch.18:59
ascii_philThat may be confusing.  I have two bzr branches: one synced with a project's trunk and another synced with a branch of that project.19:00
ascii_philI did some work in the dev branch, pushed it to svn, merged the dev work into the bzr trunk, then pushed the merge into the svn trunk.  Following that, I pulled from the bzr trunk into the bzr dev branch (maybe I didn't need to do that?) and put another two commits into the dev branch.  Now the bzr dev branch won't push to the svn dev branch.19:03
=== radoe_ is now known as radoe
timClicksis there an equivalent to "git format-patch origin/HEAD" in bzr?19:24
james_wtimClicks: bzr send is the analogous command19:25
timClicksjames_w: ty19:25
NfNitLoopascii_phil: strange, sounds like that shoudl work.   Try 'bzr vis' and see if it reveals some non-linear history?19:31
ascii_philIt looks reasonable.  Lemme take a snapshot.19:34
ascii_philHere's what `bzr vis` gives me: http://imgur.com/cM1gK.png .19:39
NfNitLoopso those blueish/purplish dots were done in another branch, then merged in to this branch.19:41
NfNitLoopwere either of the 2 revisions after those from SVN?19:41
NfNitLoopOh, wait, you said you merged from trunk into your dev branch.19:41
NfNitLoopso those colored dots are from trunk.19:42
ascii_philI merged those 8 blue dots from this branch into the trunk.  Then I pulled from the trunk back into this branch.19:42
NfNitLoopah, that's why.19:43
ascii_philNow I think I see the problem.  bzr had no problem stuffing what were toplevel commits into a merge commit, but that's not compatible with Subversion.19:43
NfNitLoopbecause the history in trunk has a different order from the history in your branch.19:43
ascii_philSo I'd be okay in this case if I *didn't* pull the merge back from the trunk.19:44
NfNitLoopright.  By pulling trunk, then trying to push it to your dev branch, you'd be reordering the history in your dev branch to look as if it were trunk.19:44
NfNitLoopright.  Instead, *merge* back from trunk.19:44
NfNitLoopthe merge from trunk will be appended to the end of your history, and that can be pushed back to SVN.19:44
NfNitLoopFYI... you CAN push this to svn if you use a --force (or --override?) flag, but bzr-svn stops you because that sort of history is REALLY wacky to read in a SVN repository.19:45
NfNitLoopso bzr-svn is just trying to protect you in that respect.19:45
NfNitLoopYour other option is to just delete your dev branch and re-create one from trunk.19:46
ascii_philYeah, the error message includes an option to change to let it go ahead, but I really don't want to rewrite the Subversion commit history.19:47
NfNitLoopgood call. :)19:47
ascii_philAwesome.  I rewound the branch's history, did a merge from the trunk instead of a pull, and was able to push my new commits up to the Subversion branch.19:54
ascii_philThanks!19:54
NfNitLoopno problem.19:54
parishas anyone tried to install bzr on apache with mod_fcgid?21:00
parisall i get is (146)Connection refused: mod_fcgid: read data from fastcgi server error.21:00
NfNitLoopparis: Erm... install bzr on apache with mod_fcgid to do what?21:07
NfNitLoopserve out a branch?21:07
parisif got a base directory that has /admin and /code, admin for cgi script, code for all sub dirs21:08
parisand beneath that are the results of init, so not sure if u'd consider that a branch or not, still wrapping my head around this concept21:09
GaryvdMparis: what happens when you run bzr-smart.fcgi from the command line21:10
parisso code/projects/myproject/stable, code/projects/myproject/dev21:10
NfNitLoopwell, before you try to wrap your head around the concept, what are you trying to accomplish?21:10
parisit complains that request_uri isn't set, which seems like an acceptable error21:10
pariswe have a svn repo, and want to gradually convert21:10
paris(repos), want to have central repo capabilities, but allow for distributed local copies21:10
parisas well as play around with foreign branching to accomodate current build tools21:11
GaryvdMparis: Much eaiser to serve branches with sftp21:11
pariswanting to serve through apache to use existing auth methods21:11
GaryvdMparis: I see21:12
parisright now, its all on a nfs, so we could access directly, but i'd like to do everything through http(s)21:12
GaryvdMparis: what happenes if you run bzr-smart.fcgi from the command line?21:13
paristhe only sense i can make of that error, is the script is firing properly, which i dont know if is due to mod_fcgid compatability or a configuration error on my part21:13
jacquesI'm trying to branch from launchpad and I am behind a http/s proxy - do I need to build bzr 2.1 for this to work?21:13
parisit complains that request_uri isn't set, which seems like an acceptable error21:13
GaryvdMparis: please paste bin the whole error.21:14
parisi think i made progress, had to chmod +x the fcgi file21:15
parisbzr: ERROR: Server sent an unexpected error: ('error', "Can't extract file(s) to egg cache\n\nThe following error occurred while trying to extract file(s) to the Python egg\ncache:\n\n  [Errno 13] Permission denied: '/.python-eggs'\n\nThe Python egg cache directory is currently set to:\n\n  /.python-eggs\n\nPerhaps your account does not have write access to this directory?  You can\nchange the cache directory by setting the PYTHON_EGG_21:15
parislooks like i need to do some environment cleanup21:15
parisif anyone has access to that wiki page, be nice to add a note to chmod the fcgi script, though I assume people are familiar with fastcgi would expect it to be known21:16
GaryvdMparis: url?21:18
GaryvdMfor wiki page...21:18
parishttp://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/http_smart_server.html#pushing-over-bzr-http21:18
GaryvdMparis: Ah that doc is from the bzr source.21:19
parisalso not sure why python_egg_cache set env isn't being passed down to python ( i added a shebang at the top of the fcgi to point to python, so perhaps its not inheriting system env? ), but i chowned /.python-eggs and it works now21:26
parisso for the svn plugin, am i able to run something like, "bzr branch http://my.svn.repo", and if i commit, it goes local, and if i push it goes to the bzr repo, but if i commit, it goes to svn?21:43
parisassuming bzr branch is done beneath the init-repo21:43
PengWhat?21:45
Pengcommit and push are the same as any other bzr branch.21:45
=== salgado is now known as salgado-afk
parisi guess i asummed that you could branch off of a svn branch, and work on it locally21:59
parisand only "push" the changes to svn when you wanted to21:59
PengYou can.21:59
parisput pushing, would go to ur bzr branch21:59
pariswhere submitting would go to svn21:59
PengPushing goes to the parent branch. I'm not sure what exactly you're asking. If the parent branch is an svn branch, that is where it will go.22:00
parisgotcha22:00
NfNitLoopyou can even do:  svn -> bzr -> 2nd-bzr-branch -> push back to original SVN repo.22:02
parisyeh, for some reason i wasn't thinking about the branch in the middle22:02
NfNitLoopIt works quite nicely. :)22:02
parisso our "central "repo, would branch svn22:02
paristhen u branch that branch22:02
parisgoing to be quite the ride trying to get our CI servers to use bzr, but i'm really liking how its all setup22:03
lifelessparis: what CI do you use?22:49
parislifeless: quickbuild22:54
pariswe've had luntbuild, played with hudson/bamboo/cruisecontrol, etc but they are too simple22:55
lifelesswow22:57
lifelessyou must have pretty intesnse hneeds - hudson is extremly capable of just about anything22:57
bob2lifeless: how heavy is hudson?  could I run a master and slave in 360MB of ram (assuming test suites take negligible amounts)?22:59
maxbI used to think hudson was great, but I've grown somewhat disenchanted with it now it takes 20 minutes to restart, because it's sitting there parsing all of its on-disk XML22:59
lifelessI haven't directly used the others; I know a bamboo dev, but I don't imagine that menans a lot - the lead time on infrastructure changes could be pretty big in dev-cycle time22:59
lifelessbob2: dodgy22:59
lifelessbob2: would depend on how many plugins you have I suspect23:00
lifelessmaxb: set a retention policy for jobs is one workaroundl; the other is to wait for em to fix it :P23:00
bob2lifeless: dang23:01
lifeless360MB is barely enough to run a browser23:01
lifeless:P23:01
parishaving build configurations with inheritance, is very powerful23:02
pariswe can just create a new configuration to follow our svn naming pattern, and depending on where we place it, it can do deployments, release management, etc23:03
bob2haha, just wanted to not pay a lot to host it23:03
lifelessintersting23:03
lifelessuhm, I suspect there is something /like that/ in oe of the job parameterisation things23:03
lifelessbob2: we're currently running it on a cheap linode, and its happy enough23:04
lifelessbob2: I'm currently doing the migration to move it into the dc23:04
lifelessparis: anyhow, we'll be delighted to help you get it using bzr23:04
lifeless(it == quickbuild)23:04
parislifeless: thanks :), its really just a matter of some ant scripts with command line, i tend not to depend on gimmies from CI systems because it locks you into their build process23:05
parislet alone take the time to build a plugin to support a new VCS23:05
lifelessok, time to fly. ciao.23:07
pooliehello all23:22
spivMorning.23:22
pooliehi spiv23:32
jelmerascii_phil, still there?23:32
thumpermorning23:34
thumperhow do I find out the last revision id that a particular file was modified in?23:35
thumpermainline revision id is fine23:35
Pengthumper: bzr log some/file?23:35
thumperPeng: using bzrlib?23:35
thumperI don't care about the history, or what changed23:35
thumperjust the revision id of the last change23:36
PengSorry, I dunno.23:36
jelmerthumper: Something like:23:38
jelmertree.inventory[tree.path2id(path)].revision23:38
pooliehi peng, jelmer, thumper23:39
jelmer'morning poolie23:39
PengHi poolie. :)23:40
thumperjelmer: thanks23:41
thumperjelmer: is that mainline revision, or any revision?23:41
thumperhi poolie23:42
jelmerthumper, the revision in which it was originally changed, not the revision in which it was merged into mainline23:43
thumperjelmer: ok23:44
thumper>>> wt.inventory[wt.path2id('FrontPage.txt')]23:50
thumperInventoryFile('frontpage.txt-20100307092531-ok8yvr7j90c7ulee-2', u'FrontPage.txt', parent_id='tree_root-20100307084431-gmml6lwzcqlftotj-1', sha1=None, len=None, revision=None)23:50
thumperjelmer: why is revision None?23:50
jelmerthumper: Was that file changed in the working tree?23:50
=== gnomefreak76 is now known as gnomefreak
jelmerthumper: I think you might have to look in wt.basis_tree() rather than wt itself23:50
thumperjelmer: no23:50
thumperjelmer: it was commited as revision 123:51
thumperjelmer: unmodified in the working tree23:51
thumperjelmer: wt.basis_tree()... gives a revision23:53
thumperany idea why the working tree inventory doesn't?23:53
thumperseems a bit strange23:53
thumperpoolie: is that a bug? ^^^23:53

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