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

ekahi al01:17
ekaall01:17
ekaI'm trying to serve bzr trhu http... but instead of using Apache of FastCGI I would like to use cherrypy... but I tried some code and don't have a clue... does anyone made it work with cherrypy?01:18
bob2bzr will happily work over plain http01:24
ekabob2: what I want to do is to use a standalone app to serve trhu http without the need of an apache or so...01:25
ekabob2: maybe i'm missing something01:25
fullermdIf you're going to run standalone anyway, why not just use bzr:// ?01:26
bob2that's fine, just serve it as a regular directory01:26
ekabob2: trhu http?01:26
bob2if you wnat to serve it via http (rather than bzr://) yes01:27
ekabob2, sorry dont follow... i just use bzr server PATH ? and that will serve over http?01:28
=== Bambi_BOFH is now known as Kamping_Kaiser
Peng_lifeless: Well, once you stop swapping, could you check the mailing list queue for me?04:09
lifelessPeng_: if its held you geta mail saying so04:31
lifelessPeng_: have you had one ?04:41
Peng_lifeless: Oh, really? No, I didn't. It just vanished and I was guessing that might be why.05:08
* Peng_ looks at his mail host.05:08
* Peng_ sends again. :D05:18
Peng_Hmm, I can send the email to myself, but maybe not my Gmail account.05:22
Peng_Yay, Gmail got it.05:25
Peng_lifeless: Do you know how large messages have to be before they need to be approved?05:30
Peng_I wish I was sending something *worth* all of this inconvenience. :\ It's just the ConfigObj thing.05:32
Peng_lifeless: Could you check the queue anyway? Because if it's not that, I have no idea where the messages are going. :\05:45
=== BasicPRO is now known as BasicOSX
thewrathhey is anyone home14:27
Peng_Maybe.14:34
thewrathperfect14:36
thewrathi am using it for checkin and chekcout in a way to modify my code. that my issue is when i commit it it says for notes, fixed bugs, and author. when i put stuff in fixed bugs i get unrecognized bug  ...... commite refused. it has to be in 'tag:id' which i am confused about14:36
thewrathi am wanting to push everything to launchpad14:36
thewrathbut i am just committing my code right now14:36
thewrathi have entered this in 'LP:363538' and recieved:> bzr: ERROR: Unrecognized bug 'LP:363538'. Commit refused.14:37
james_wlp:36353814:39
thewrathso like this: lp:363538 lp:363537 lp:363534 lp:363520?14:39
thewrathperfect tahnk you14:39
james_w--fixes before each14:39
thewrath?14:40
Peng_"--fixes lp:363538 --fixes lp:363537 --fixes lp:363534 --fixes lp:363520"14:40
thewrathwhat does the --fixes do14:40
james_ware you using a GUI tool?14:40
thewrathyes and no14:41
thewrathyes for that14:41
thewrathfor updating hte branch i am using command line14:41
CaMasonhi guys. Wondering if this is possible. In my bzr project, I've got a sub-folder. I now want to make this a standalone bzr project. Is it possible to do this whilst carrying the history?14:41
james_wthewrath:try your line then14:42
CaMasonits `/myapp/plugins/myplugin` . I want to maintain 'myplugin' as a seperate project now14:42
thewrathwhen i do that james_w is it supposed to auto update the status to fix released?14:43
james_wnope14:43
james_wnot yet at least14:43
thewrathok14:44
Peng_CaMason: You can use "bzr split" (probably). It really will keep the *full* history though, not just the history from /myapp/plugins/myplugin.14:44
CaMasonPeng_ that's no problem really. I just want to have it as standalone14:44
CaMasonis it possible to have a bzr project within a bzr project tree? i.e. if I added `myapp/plugins/myplugin` to bzrignore, and then had a branch in the plugins folder14:45
Peng_CaMason: I think it'll automatically be ignored. You don't have to use .bzrignore.14:46
CaMasonok. I've just read about split/join. Are those new features?14:46
LarstiQCaMason: see http://bazaar-vcs.org/NestedTreeProgress14:46
CaMasonright - so it works?14:48
CaMasonI see I need to bzr upgrade. Any idea which type I need?14:50
Peng_CaMason: Note that you won't be able to go back after upgrading. And everybody else who has a copy of your branch will have to as well.14:50
Peng_CaMason: Which format are you using now?14:50
CaMasonPack 0.9214:51
thewrathjames_w: is that something that they are looking at14:52
james_wyep14:52
Peng_CaMason: Then you should probably upgrade to rich-root-pack.14:52
LarstiQCaMason: alternatively, you could use lp:bzr-scmproj, or version symlinks14:52
Peng_CaMason: You might need pack-0.92-subtree, which is still considered kinda experimental.14:52
CaMasonwhoa info overkill14:52
CaMasonwhat's lp:bzr-scmproj ?14:53
LarstiQCaMason: https://launchpad.net/bzr-scmproj14:56
LarstiQCaMason: a tool to combine branches14:57
CaMasonall I'm really trying to do is have a facility like svn:externals14:57
CaMasonthe split/join method seemed like common sense14:57
CaMasonLarstiQ, that SCM Project looks like it may be overkill for me14:58
CaMasonperhap I just symlink and add the link to .bzrignore?14:59
LarstiQCaMason: that's possible15:02
LarstiQCaMason: join --reference would be the thing to do, yes. But it's not finished.15:02
LarstiQheya phanatic15:02
phanatichey LarstiQ15:02
CaMasonI just tried `bzr split myapp/plugins/myplugin` and it's thrown up `bzr: ERROR: No WorkingTree exists for /myapp/plugins/myplugin/.bzr/checkout/`15:02
LarstiQCaMason: hmm15:06
CaMasonI've removed the created .bzr folder, and commited some uncommited changes (oops)15:06
CaMasonand re-done the split15:06
CaMasonboth 'sides' of the split now show the other half as being removed, when using `bzr st`15:07
CaMasonok well, that seems to have worked :o15:09
=== `6og is now known as Kamping_Kaiser
clementeHi; I backed up in a hurry only the .bzr/ of a repository I wanted. Can I still check out the branches from there?16:53
Peng_clemente: Yes. It's slightly complicated, though.16:53
LarstiQwith help from `bzr heads`16:55
Peng_clemente: Install the bzrtools plugin. Run "bzr heads" (or maybe "bzr heads --tips"?) to get the tip revision IDs of all of your branches. "bzr init" an empty branch, cd to it, "bzr pull . -r revid:<id>", then do the same for the other branches, or (probably) "bzr branch abranch -r revid:<id>".16:55
LarstiQsome branches might not be on tips in the dag, that would then be harder16:56
Peng_Good point.16:56
LarstiQclemente: but basically, if you know the revision (bzr heads helps to find those), you can restore a branch16:56
clementePeng_: heads --all, it is. I'm trying what you suggested16:57
Peng_I don't remember, what's a dead head? *checks*16:58
Peng_Ok, it doesn't say. :P16:58
clementeThis worked except for branches which don't show in „bzr heads --all“17:01
clementeBut I suppose I can find it somewhere inside .bzr/17:03
johHi, how do I undo a push?17:18
LarstiQjoh: by using push --overwrite in combination with a revision you prefer17:21
LarstiQjoh: say, `bzr push --overwrite -r -2` or `bzr uncommit; bzr push --overwrite`17:22
johLarstiQ: Ah, thanks!17:22
* SamB wonders why bzr-svn's cache for http://svn.webkit.org/repository/webkit is so big for him ...18:05
Peng_Isn't WebKit really gigantic?18:06
SamBI only checked out a little piece though!18:06
SamBjust http://svn.webkit.org/repository/webkit/trunk/JavaScriptCore/pcre/18:07
LarstiQSamB: my uneducated guess would be that it needs more than just that to determine the branch identity.18:07
LarstiQSamB: but maybe it does more than it needs to18:07
SamBIt does it again after I delete the cache, too, apparantly ...18:10
LarstiQSamB: that's what I'd expect :)18:11
SamBjelmer: branching just http://svn.webkit.org/repository/webkit/trunk/JavaScriptCore/pcre/ ate about 183 MB!18:18
SamBin ~/.bazaar/svn-cache alone18:19
Stavroshello18:33
Stavrosis it acceptable to create a new branch just by copying an existing one?18:33
beunoStavros, yes18:34
LarstiQStavros: cp -a wise? Yes.18:34
Stavrosah, thank you18:34
StavrosLarstiQ: what's -a?18:35
LarstiQStavros: archive, implies -dpR18:35
Stavrosah, the os x copy doesn't have that18:35
LarstiQStavros: if the source branch uses a shared repositroy, it's best to have the destination remain in the shared repository (otherwise it can't find the revisions it depends on without handwork)18:36
LarstiQand some other differences in execution, but copying is a valid way of branching18:37
Stavroswhat's a shared repository?18:41
LarstiQStavros: the result of `bzr init-repo`18:43
Stavroshmm18:44
LarstiQStavros: if `bzr info` says something like:   shared repository: /home/larstiq/src/bzr18:44
LarstiQStavros: then the branch is using one18:44
LarstiQheya pygi18:44
pygihi hi LarstiQ :)18:44
pygihow goes it?18:44
LarstiQpygi: busy busy busy18:44
* LarstiQ relaxes on sunday with #bzr :)18:45
pygiLarstiQ, ha, I know the feeling!18:45
pygiheh, no relaxing here :(18:45
pygiI have to design a new system ... deadline in two days18:45
pygiand I can't really learn about it from anywhere, cause its a rather new thing :(18:45
LarstiQwhat kind of system?18:46
lampliter1are there any Python IDE's that integrate well with bzr?19:05
LarstiQlampliter1: http://bazaar-vcs.org/IDEIntegration19:06
LarstiQlampliter1: I personally use vim19:06
LarstiQlampliter1: other than that, I'd suggest looking at pida19:07
lampliter1I generally use Emacs but making it work with speech recognition is getting increasingly tedious.  Additionally my development environment is so messed up, I'm trying to restore it to sanity19:07
pygiLarstiQ, a security one :)19:07
LarstiQlampliter1: possibly off topic, but are you aware of http://code.google.com/p/dragonfly/ ?19:07
pygiLarstiQ, sorry, you need to say my name so xchat would light up :P19:07
LarstiQpygi: did you say something? I only get highlights when people don't use my name ;P19:08
pygiLarstiQ, :P19:08
pygiLarstiQ, do I shoot you now or what? :D19:09
lampliter1dragonfly annoys me.  We have already three of those frameworks.  It's worse than Python web frameworks for replication of effort.  Of course my Python web framework is aimed at  handicapped people (Universal design principles) so that's okay.  :-)19:09
lampliter1but yet, when you're disabled, you go through some really nasty hoops to do work.19:10
lampliter1 bloody speech recognition...19:10
lampliter1I've been speech recognition on a Windows guest virtual machine.  My host OS is linux and acts as a file server two all my virtual machines.19:11
lampliter1And I do work on remote machines.19:12
lampliter1The fundamental question is, how can I access all of these environments through various security hoops and barriers while still using speech recognition to drive whatever IDE I use19:12
lampliter1the best I've come up with is to run the IDE on Linux, drag it into Windows via X11, use fam to trigger rsync to update the remote machine19:13
lampliter1and if I can keep my bzr branch local, it solves a bunch of problems19:14
lampliter1either I bored you or I scared you.  Sorry about either case19:15
LarstiQno, just occupied19:16
LarstiQlampliter1: I'm not active in the same area, but I'm not aware of competing libraries for Dragonfly?19:17
lampliter1there is the raw natlink, then on top of that, we have vocola and unimacro19:19
LarstiQhmm19:21
lampliter1I find that natlink is the most flexible since you  implement your grammar actionsin Python but it is a lot of work. vocola make simple things easy, medium things complicated, and complicated things almost impossible.  unimacro is something that takes quite a while to cross the learning curve and may be worth it but, it still doesn't make simple things easy to release the doesn't make difficult things hard19:21
lampliter1just noticed one thing about dragonfly.  Looking through the code, the is a lot of the misspelled words with caps and concatenation of said fragments.19:23
lampliter1Do you have any idea how bloody hard it is to dictate those symbols?  I mean, wouldn't you think that someone writing a macro package for speech recognition users write a package that could be dictated by speech recognition users19:23
lampliter1symbols should be nothing but lowercase words concatenated or joined by underscores19:25
lampliter1the stupid capitalization for classes etc. sets up a nasty situation where if you use the code, you are at greater risk to ruining your vocal track on top of your damaged hands19:25
LarstiQI'll pass it on.19:26
lampliter1sorry but it's incredibly frustrating for me.  I have more ideas in my head than I can write code for.  Then add to that dictating stuff by voice, debugging hard to see errors introduced by dictation and general frustration with computers that aren't meant to be used by disabled people19:27
lampliter1I get really cranky sometimes19:27
LarstiQlampliter1: I get that.19:27
lampliter1I've got one project that's almost 10 years old that I haven't been able to release because I can't write enough code to get it done.  Damn frustrating19:27
lampliter1LarstiQ: thanks.  Not a lot of people do19:28
lampliter1what I need is a smart coding monkey that will listen to what I say, ignore me, and do the right things to get what I want done done.  :-)19:28
lampliter1unfortunately the MIT programmers assistant Project hasn't moved forward19:29
LarstiQlampliter1: that, would be useful to more people than just you ;)19:29
lampliter1Hell, a good program and by voice IDE would save so many people so much pain and return a lot of disabled programmers to productive life19:30
Peng_Hmm, Google CADIE could do it, I bet. :D19:30
* Peng_ hides19:30
* lampliter1 tosses corned beef sandwich with sauerkraut and nice mustard in Peng_ direction19:30
lampliter1but seriously, the biggest impediment we have is editing.  The features needed aren't very complex (ha) but the problem is, we can't get anyone interested in helping in doing the work that is burning our hands19:32
* LarstiQ nods at lampliter1 19:33
lampliter1anyway, I should go eat lunch then walk the dog.  It's a gorgeous day out here near Boston and dog walking helps restore my sanity after my hands go poof19:33
LarstiQlampliter1: issues not shared by the majority often don't even register in their heads.19:33
LarstiQlampliter1: ok, have a good walk.19:34
lampliter1I know.  I know.  Here's an ironic that a friend of mine who is the head of development at Dragon Systems pooh-poohed the need for a speech recognition driven environment.  Guess what, his hands are toast and now he can't build the environment....19:34
lampliter1not enough market share...19:34
lampliter1that should be "who was the head of development"19:35
LarstiQno longer because of his hands now?19:35
lampliter1is/was/can/can't/... are all suspect.  :-)19:35
lampliter1yes, his hands are bad.  Maybe worse than mine19:35
lampliter1what we both need is a way to edit code by voice.  Code creation is not wonderful but we can do it19:36
lampliter1we need to be able to identify things like predicates arguments array indices and then be able to modify them simply by voice19:36
lampliter1for example, "change the second argument" should allow me to do more detailed editing on the second argument found on the current line.19:37
lampliter1The basic principle is known as disambiguation vocal commands through reduction of scope.  Most the time disambiguation is by increasing the specificity of the command but if you're smart, as you dictate you can reduce scope dynamically by using what you dictated to identify what you're going to work on19:38
lampliter1I should probably stop now because otherwise I will give you a two credit seminar in speech user interfaces19:39
lampliter1lunch calls... oh, and by the way, thanks for the advice on the IDE.19:40
* LarstiQ tries to parse the sentence on scope again19:41
LarstiQand unfortunately still don't see concretely how that works19:41
LarstiQI get increasing the specifity of the command19:41
lampliter1 sorry.19:44
lampliter1First principle with speech recognition commands as you try to reduce ambiguity in order to increase accuracy and recognition19:45
lampliter1there should be accuracy in recognition19:45
lampliter1kind of proves my point.  :-)19:46
lampliter1most of the time you reduce ambiguity by making the command more specific.  For example, set font color green19:46
lampliter1"move to end of line"19:46
lampliter1but you can also reduce ambiguity to reducing the scope of what you're working on.19:47
lampliter1You can also reduce ambiguity by reducing the scope of what you're working on19:47
lampliter1for example, editing a line of code (let me get one)19:48
lampliter1grammar = Grammar("notepad_example", context=grammar_context)19:48
lampliter1editing this is a bit tricky especially with select and say19:49
lampliter1so let's try to change grammar_context to grandpa_context19:49
lampliter1you'd couldn't just say change grandma to grandpa because there are multiple occurrences on this line and, in fact, there probably are multiple occurrences through the body of the code (method, class, file)19:50
lampliter1so if you said change grandma to grandpa, you have an ambiguous command because you don't know the scope of what you're operating over19:50
lampliter1if you said "edit second argument" you could reduce your scope to just that one argument19:51
LarstiQright19:51
lampliter1all your environment would see is: context = grandma_context19:51
lampliter1now obviously it is a further ambiguity here but I'm going to dodge that for the moment19:51
lampliter1at this point you could say replace drama grandma with grandpa and everything should work okay19:52
lampliter1but if you want to change context, a more specific command could reduce ambiguity by saying something like change first context or change its second context19:52
lampliter1there's no need to do anything fancy when you're done because you really do a specific command or one that refers to the greater context of lines or methods19:53
lampliter1it gets interesting when you have a partially formed expression.  But, if you do things right with template driven code creation, you never have a partially formed expression.19:53
lampliter1The beauty of this technique is you can also use a variety of visual cues such as colors with high transparency highlighting what it thinks its operating on and indicators for where it sees arguments etc..  But that's really hard19:54
lampliter1like I said, a two credit seminar :-)19:56
lampliter1lunchtime19:57
mwhudsonPeng, Peng_: hello?22:38
=== abentley1 is now known as abentley

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