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

=== fta_ is now known as fta
patternis it necessary to specify a branch name when doing a push to launchpad, or is "bzr push lp:~myname/myproject" enough to push it to the trunk?02:57
lifelesspattern: specify the branch02:58
lifelesspattern: if you pass --remember, bzr will remember the branch and you can then just 'bzr push' after that02:58
patternah, ok02:58
patternthank you02:58
=== JaredWigmore is now known as JaredW
bob2hm, bzr-git overrode co and makes it fail "bzr: ERROR: Push is not yet supported for bzr-git. Try dpush instead."03:53
lifelessfor everything?03:58
bob2hm, seems to happen if cwd is inside a git checkout (however deep)04:00
lifelessfile a bug04:03
bob2yeah, just reproducing in /tmp04:03
* SamB wonders if it's possible to run bzr under gud/Emacs04:35
ToksyuryelWell, from my understanding it's turing-complete, so it should in theory be possible04:51
jmlconflict behaviour wrt pyc files in otherwise empty to-be-removed directories sucks.07:40
wgrantjml: That confused everyone in my team when we moved to bzr.07:55
wgrantTook a while to work out what was going on...07:55
jmlyeah.07:55
jmlit's a pain.07:56
RAOFI suspect bzr-git isn't supposed to consume 2GiB memory when dpushing.10:45
LarstiQI suspect your'e right :)10:46
jelmerbob2: are you perhaps branching into a git repository?10:48
ndurnerHi13:21
DaffyDuck_So, have I understod bazaar correctly: Parents know nothing about theit child branches -- only the children know who their parent is?13:30
LarstiQDaffyDuck_: yes, but parents can be replaced.13:32
LarstiQDaffyDuck_: all branches are equally independent, multiple different relationships can exist (submit, parent, push, public, etc)13:33
DaffyDuck_LarstiQ: So you essentially tell the child branch to "re-attach" to another parent?13:33
LarstiQDaffyDuck_: yes, although "attached" gives impression of a stronger bond then there is.13:34
LarstiQDaffyDuck_: it's just the default location for several operations, like pull.13:34
DaffyDuck_I understand.13:34
DaffyDuck_Is there a concept of "switching" a branch from one to another, you check out the code to a new directory?13:36
DaffyDuck_(I may be confusing people with my terminology, but I'm new to bazaar, so be patient with me).13:37
ndurnerWhat's the "best" reasonably stable storage format?13:40
LarstiQDaffyDuck_: switching a working tree between branches you'd do with `bzr switch`13:55
LarstiQDaffyDuck_: personally I prefer just cding around in the filesystem13:56
SpinachHeadwhen I used revert to go back to say -r 1  it still shows the files from the newer versions when I export the files....    I don't know why that is.  How would I revert to a previous version and then export it in the state it the project was in in version 1?14:16
SpinachHeadoh, wait I guess when I revert to an older version I need to issue commit ...14:17
lifelessexport doesn't export the current stuff on disk14:33
lifelessit exports the current commit14:33
lifelessso you want export -r <X> ...14:34
SpinachHeadokay, thanks14:39
=== JamalFanaian|afk is now known as JamalFanaian
wildfireHi, I am trying to configure a repository to send email everytime a commit occurs16:53
wildfirebut am not succeeding16:53
wildfirebzr plugins list email as being installed16:53
wildfirebut how do I configure the address that should be sent to?16:53
LarstiQwildfire: post_commit_to iirc, if `bzr help email` doesn't mention, have a look at its README16:54
wildfireLarstiQ, the readme says 'post_commit_to' but where / how do I configure that setting is what has me confused16:57
LarstiQwildfire: ah, ok16:57
LarstiQwildfire: one of several places, depending on what you want to accomplish16:58
LarstiQwildfire: I use ~/.bazaar/locations.conf to manage that, but ~/.bazaar/bazaar.conf or .bzr/branch/branch.conf are other candidates16:58
LarstiQwildfire: also see `bzr help configuration`16:59
wildfireLarstiQ, thanks - will check those out17:02
LarstiQwildfire: locations.conf is good for pattern matching whole hierarchies of branches17:02
wildfireLarstiQ, thanks for you help, have now got it working17:09
LarstiQwildfire: cool17:11
LarstiQjelmer: bzr-svn 0.6.3 uploaded to bzr-beta-ppa, I'll copy them over to bzr-ppa tomorrow if I don't see any complaints18:04
LarstiQjelmer: https://edge.launchpad.net/bzr-svn/0.6/0.6.3 doesn't exist yet, but I don't have access to create it18:05
jelmerLarstiQ: I wonder what contact I need to change for that18:22
LarstiQjelmer: don't know if it would help, but I'm not in ~bzr-svn18:23
jelmerLarstiQ: you are now >-)18:24
parolangHello, are any of the developers here?19:17
jelmerparolang: hi19:20
parolangHey, I wanted to know if you guys were interested in the documentation being in texinfo format?19:21
parolangPersonally I would like, and would help with that, but only if you guys were interested.19:21
jelmerparolang: Perhaps better ask on the mailing list ? I would expect there to be some interest in having the docs available in texinfo, but there aren't a lot of developers around at the moment.19:23
parolangYeah, I'll try that.  Right now it's in some python format isn't it?19:23
jelmeryeah, it's in restructuredText19:24
parolangThe main advantages to texinfo are two: better pdf/printed output, and a conveniant reader within emacs.19:24
parolangDo you know if that outputs in texinfo?19:24
jelmerparolang: no idea, sorry19:25
parolangokay, thanks anyway19:25
ronnyjelmer: have you seen the stuff about the pythonic fs api's? (there was a talk on europython)19:29
ronnyjelmer: i intend to use that as api for accessing revisions/building commits in anyvc, so i'll probably end up inventing it for a set of vcs's19:30
* SamB wonders where to get a recent bzr-gtk deb19:41
jelmerSamB: unstable has one19:48
SamBjelmer: ah, nice19:48
jelmerronny: no, haven't seen that19:48
* SamB hadn't looked very hard yet19:48
* SamB wishes aptitude wouldn't thrash so much19:48
jelmerronny: is there a pep or something like that?19:48
ronnyjelmer: currently they are a separate set of api's, not yet proposed for inclusion in python19:49
ronnythe key part is, the api looks reasonable and can be implemented independ of the base lib19:49
ronnyhttp://eagain.net/blog/ is a good starting point i think19:50
ronnybrb, forgot to feed the rabbit19:50
ronnyre19:57
* SamB wonders what kind of support debian packaging has for running tests20:43
jelmerSamB: how do you mean?21:24
SamBjelmer: well, it would be nice if the tests for e.g. subunit were run as part of the build, so that e.g. having a wrong XS-Python-Version: in debian/control would be caught ...21:29
jelmerSamB: In this particular case that wouldn't help. python2.3 isn't installed by default21:35
SamBhmm.21:46
SamBjelmer: hmm. true, not in the build-deps...21:47
* SamB wonders what to blame this on21:47
jelmerSamB: You have python2.3 installed and subunit is currently setup to be pre-compiled for all python versions that are installed on the system21:48
jelmerSamB: I'm uploading a new version that will only do so for python 2.4 and later21:48
SamBjelmer: btw, you don't need the python-all-dev dependancy in debian/control, according to http://wiki.debian.org/DebianPythonFAQ21:49
SamBwhich would make it easier for some of us to contribute merge requests ;-)21:50
jelmerSamB: fixed now as well21:51
jelmerSamB: how do you mean?21:51
SamBjelmer: for the packaging, I mean21:51
SamBit would be irresponsible to send you a patch that I hadn't tested, wouldn't it?21:51
SamBand it's nicer not to have to reinstall python 2.4 just to satisfy some overzealous build-dep21:52
jelmerSamB: yes, but nothing stops you from removing that unnecessary dependency as well >-)21:52
SamBtrue21:52
jelmeranyway, both should now be taken care of21:53
SamBI was about to ask if there's a way to commit just some of the changes in a file to that end, actually ;-)21:53
SamBbut then I saw what you'd said about how running the tests at build time wouldn't have helped21:54
* SamB is a bit amused that he apparantly doesn't have what it takes to satisfy the "automake" build-dep, given what he sees when he types automake<TAB> ;-)21:59
SamBactually, I'm almost surprised there *is* an automake package22:00
SamBwhy not just have packages for each major.minor?22:01
SamBI mean, that's almost exactly what we have anyway ...22:02
* SamB wonders why bzr builddeb is alarmed that he can't sign a package as jelmer22:11
* SamB wishes something would run "bzr selftest" with all the Debian bzr packages installed, regularly22:55
SamB(at least "bzr selftest --list" would be good)22:55
SamBbzr-builddeb's tests are importing something that does not even exist22:58
jelmerSamB: I posted a patch to the bzr list recently that should be the first step towards that23:10
jelmerSamB: http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C20090513223140.GB13847%40vernstok.nl%3E23:10
lifelessjelmer: hi, I just reviewed the patch I just saw, it looks like a step backwards, to our 2003 loading code or so23:13
jelmerlifeless: a step back in what sense?23:14
lifelesslikelyhood of bugs, strange interactions, and the ability to clearly describe what goes on when corner cases exist.23:14
lifelesswe used to use find_module and imp_module23:15
lifelessit was very complex23:15
lifelessnow we just import23:15
lifelessmuch simpler23:15
jelmeryeah, but that makes it impossible to load individual modules..23:15
jelmers/modules/plugins/23:15
lifeless'import bzrlib.plugins.foo'23:15
lifelessthere, loaded.23:15
jelmerlifeless: it doesn't allow you to specify a path to a plugin, for example23:16
jelmer(which is what I'm after)23:16
lifelessAh! well thats a totally different thing, isn't it :)23:16
SamB... in what context would this import appear?23:17
lifelessSamB: at the moment there is a loop in the function that 'loads all plugins' that well, loads all the ones it found23:17
* SamB is pretty sure he doesn't have a config file with 'import bzrlib.plugins.svn' in it anywhere ;-)23:17
jelmerlifeless: yeah, sorry. I knew what I meant but that's not what I said :-)23:17
lifelessI'd like us to add a filter to that, which allows saying 'only load svn' or 'load all but svn'23:18
jelmers/said/wrote/23:18
jelmerman, this is complicated :-P23:18
jelmerlifeless: I'd like to be able to load plugins from arbitrary paths23:18
lifelessI'm totally pro that, because: we say to people 'don't load that plugin and see if things get better'23:18
lifelessjelmer: what name would you give the plugin in this arbitrary path?23:19
SamBlifeless: presumably the name would either come from the last component of the path, or be given along with the path23:19
lifelessSamB: jelmer's code, I'd like jelmer's answer :P23:19
SamBI thought he hadn't written that bit yet23:19
jelmerlifeless: Either the user should specify the name, or perhaps we could e.g. use bzr_plugin_name from setup.py if nothing was specified.23:21
lifelessjelmer: but setup.py is for uninstalled plugins!23:21
SamBwhat is this setup.py you speak of ?23:22
jelmerlifeless: well, perhaps if we end up putting that data in an info.py file or something.. :-)23:22
* SamB would think __init__.py would be the place23:22
lifelessjelmer: nearly-arbitrary paths are supported by BZR_PLUGINS_PATH already; why do you need to be more specific than that?23:22
jelmerlifeless: that's the parent path of the plugin23:23
lifelessSamB: thats a race condition, can't get data out of __init__.py without loading it23:23
lifelessjelmer: yes, it is.23:23
lifelessjelmer: *why isn't it specific enough for you*23:23
jelmerlifeless: it means I have to create a parent plugin directory with a symlink every time.23:23
lifelessevery time what?23:23
lifelessUsers install plugins pretty rarely23:23
SamBlifeless: and you can get data out of some submodule without loading it?23:23
jelmerlifeless: every time I want to run the testsuite of a plugin23:23
lifelessmaybe 0.0001 of the times they install plugins23:24
lifelessSamB: I think you've lost track of the discussion :)23:24
SamBlifeless: maybe you should just use a text file?23:24
lifelessSamB: plugins are imported into bzrlib.plugins.NAME23:24
SamBlifeless: I know *that*23:24
SamBI've seen enough tracebacks to have figured that out by now, I think ;-)23:25
lifelessSamB: so, we can't use __init__ to figure out NAME :P23:25
SamBlifeless: ah. point.23:25
lifelessif the plugin even has a directory23:25
SamBjust require that ;-)23:25
lifelessthats unpythonic23:25
SamBbut where would they put the README if they didn't have a directory?23:26
lifelessat the moment, and we worked hard to get it, bzr plugins are 'just python packages/modules in bzrlib.plugns'23:26
lifelessSamB: in the module docstring23:26
SamBand, uh, how do you create a bzr branch which just stores a file ?23:26
lifelessSamB: you probably don't, but thats a different discussion; people do create trivial single file plugins.23:27
lifelessjelmer: so, I think the problem is, you're saying 'how do I load an arbitrary python module/package without changing the python path'23:27
lifelessjelmer: and the answer is you don't.23:27
SamBwell, just taking the name from the last component of the path, if the user doesn't specify one, should still work okay shouldn't it?23:28
lifelessso we either need to change the identity that "bzr plugins are 'just python packages/modules in bzrlib.plugns'"23:28
lifelessSamB: If that would work, setting BZR_PLUGINS_PATH + --only-plugins=svn, would work.23:28
SamBlifeless: ... or use import hooks to resolve their locations?23:28
lifelessSamB: that is indeed another possibility23:29
jelmerlifeless: I don't follow what the particular problem is with that though23:29
lifelessjelmer: which 'that'23:29
lifelesstoo many recent subjects23:29
SamByeah ;-)23:29
jelmerlifeless: with loading an arbitrary module/package without changing the python path.23:29
jelmerlifeless: Are you concerned about the readability of the code, the ui, other issues?23:30
naokiHi23:31
naokiI tried "bzr init-repo --git .git" "bzr pull git://git.sourceforge.jp/gitroot/msgpack/msgpack.git"23:31
naokibzr pull stopped with "NotCommitError"23:32
jelmernaoki: you'd probably want "bzr branch git://git.sourceforge.jp/gitroot/msgpack/msgpack.git"23:32
jelmernaoki: otherwise the behaviour would be the same as "git clone git://git.sourceforge.jp/gitroot/msgpack/msgpack.git .git"23:33
naokiI want to try to pushing local git->remote git  with bzr-git.23:33
naoki"git clone git://git.sourceforge.jp/gitroot/msgpack/msgpack.git" works fine.23:34
jelmernaoki: in that case, probably try creating a local git branch first23:34
jelmer"bzr init --git foo; cd foo; bzr pull git://..."23:34
jelmernaoki: pushing between git repositories should generally work with bzr-git but probably isn't one of the best tested code paths. if you hit any issues, please file bugs.23:35
jelmerlifeless: still there?23:36
lifelessjelmer: I'm worried about conceptual clarity; code reuse; debuggability; compatibility with eggs and other extensions; documentation23:36
jelmerlifeless: ok23:36
lifelessall of where issues when we had a very path focused loader in the past23:37
lifelessI _really_ don't want to go back to those days23:37
* SamB wonders how to get http://bundlebuggy.aaronbentley.com/project/bzr/request/<E1MQZOB-0003MV-Id%40hydrogen> fully-approved ...23:38
SamBand, hey, aren't <> banned from URLs?23:40
lifelessthey are in the escape set, yes23:41
* SamB wonders why mozilla unescaped them23:41
lifelessperhaps I'm wrong, std66 will say23:42
SamBstd66 won't tell me why mozilla does this or that foolish thing ...23:42
lifelessit will tell you whether < can be unescaped in a URL :P23:45
lifelessits not in unreserved23:49
lifelessso nor is it a delimiter23:49
lifelessit must be escaped23:49
jelmerlifeless: thanks for clarifying. I'm not totally convinced, but I also don't think this is a particularly useful feature for a lot of users other than me so perhaps it's better off in a plugin.23:49
lifelessjelmer: You could create a plugin that acts as a symlink, replacing itself on load :P23:50
lifelessjelmer: While I understand the use case, I still don't understand why its needed - I don't seem to have the problem you do23:51
jelmerlifeless: When I work on plugins I tend to work in feature branches, and I often work on multiple features in parallel.23:52
lifelessjelmer: do you use bzr switch?23:52
jelmerlifeless: no, I'm not a big fan of lightweight checkouts because I have to change directories to manage branches23:53
lifelessjelmer: what do you mean?23:54
lifelessserious question - we have this big UI angst at the moment, and switch seems to be a key component in addressing a bunch of issues23:57
lifelessif its worse for heavy users like you, thats a problem23:58
jelmerlifeless: sorry, was taking a moment to think about what the core of the problem is for me23:59
lifelessthank you ;)23:59

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