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

wallyworldoften when doing a bzr switch to change to the working tree of a different branch, it says there are conflicts and copies a dir to foo.moved, but the files in that directory are only pyc files. should bzr be able to handle this better? ie know that pyc files are safe to delete and hence no conflict after all?05:41
lifelessthere is a wishlist bug for this.05:42
wallyworldah ok. thanks05:43
wallyworldbeen seeing the issue a lot lately with the branches i am working on05:43
spivvila has been doing some work on this05:43
wallyworldexcellent. look like it's all under control :-)05:44
bob2is that just due to some .pyc files being commited?05:48
abcminiuserHey all05:52
abcminiuserI'm trying to make a public BZR mirror of a Subversion project of mine, for other's convenience05:52
abcminiuserSo far I've used bzr-svn to fetch the Subversion contents05:52
abcminiuserAnd I'll push it to the public branch, but how can I make it fetch new subversion changes later on?05:52
abcminiuserDo I run bzr-svn again to update, or something else?05:53
spivbob2: it's generally due to switch wanting to delete a versioned directory of .py files05:54
spivbob2: but the directory contains (ignored) .pyc files, so it can't.  Then switch back to the branch with the dir and bzr will try to re-add the directory but can't because it already exists, and you get dir.moved etc.  tla's precious/junk distinction is one way to solve this.05:56
spivHeh.05:57
peitschieabcminiuser: you will want to run bzr pull <svn url> most likely06:25
peitschieabcminiuser: is the bzr branch going to be getting commits independent of the svn branch?06:25
abcminiuserNot svn-import?06:25
abcminiuserNo, straight mirror06:25
peitschieabcminiuser: if it's a straight mirror, then from your own checkout of the bzr-svn mirror, running bzr pull should do the trick :)... you don't need to re-import after the branch has been created06:26
abcminiuserPushing it to Launchpad now, I'll do a test SVN change after that and see if my BZR mirror script works06:28
abcminiuserThanks!06:28
peitschieabcminiuser: nps :)06:42
abcminiuserMmmm, seems to work great06:42
abcminiuserNow I've got public SVN, GIT, HG and BZR mirrors06:42
mkanat<glob> the 4.0 installer now includes bzr :)07:51
mkanatSo Windows users who install Bugzilla 4.0 will get bzr automatically. :-)07:51
lifeless:)07:52
=== beaumonta is now known as abeaumont_
sorenI'm curious why bzr doesn't use setuptools?12:40
soren(or distribute for that matter)12:40
maxbIt seems to me that plain old distutils is serving bzr's needs just fine12:41
sorenmaxb: I just see bits and pieces in bzr's setup.py that would be simpler with setuptools and wondered if there was any particular reason not to use it.12:46
jelmerhi Soren, Max12:47
soren...mostly because I'm having to make a similiar decision for another project, and looking at what bzr does is usually a good way to learn what the right thing to do is.12:47
jelmersoren: I'm not sure what exactly the argument in Bazaar's case is, but I usually avoid setuptools because it's another dependency.12:48
jelmersoren: What functionality in particular does setuptools provide that bzr's setup.py reimplements at the moment?12:48
sorenjelmer: For one, I find find_packages quite useful.12:48
maxbI'm a bit unclear on the whole setuptools/distribute fork mess and future maintenance situation, which makes me shy away from them12:49
maxbAnd I have found setuptools to be a mildly irksome extra dependency when installing python packages on older distros such as you tend to find on work servers12:50
sorenMy project depends on python 2.6 anyway, so older distros aren't much of a concern :)12:51
sorenDo you guys have similar reservations about pkg_resources?12:53
jelmersoren: Yeah, find_packages() is quite convenient. I By itself I don't think it's worth the extra hassle for users to install another package though.12:53
jelmerIs distribute going to make it into the standard distribution?12:53
sorenMy crystall ball is out for repairs, I'm afraid.12:53
jelmer:-)12:55
jelmersoren: bzr doesn't have any external (mandatory) dependencies at the moment, so pkg_resources isn't really useful for us. I can see the benefits of it, especially in Windows environments where not every other python library is packaged12:57
jelmerThough I should say I have zero experience using pkg_resources.12:58
sorenI'm not going to use it to manage external dependencies, actually. I was meaning to use it to have a reasonably portable way to get access to some files I ship (templates for various things). In Ubuntu packages, they're in /usr/share/nova, if people install it themselves, they might be in /usr/share/local/nova or perhaps even in an egg. On Windows, who knows where they have to go?13:11
soren...and somehow I need to be able to read them from my python code.13:11
sorenThat seems to be a problem pkg_resources solves.13:11
maxbDoesn't pkg_resources entail dumping the resources into directories on sys.path?13:12
sorenI'm not sure yet.13:12
sorenI didn't bother looking to closely yet, since if bzr had good, philosophical reasons to not use pkg_resources, I woulnd't bother looking at it too deeply.13:13
=== Ursinha-afk is now known as Ursinha
sorenmaxb: From what I can tell, bzrlib's resource_string does the same thing (requires dump resources in sys.path).13:47
sorenmaxb: e.g. /usr/share/pyshared/bzrlib/help_topics/en/diverged-branches.txt13:47
sorenMaybe it's my debian packaging background speaking, but it just feels so utterly wrong.13:47
sorenlifeless: I'm sure you have an opinion on this?13:48
sorenDoes bzr support being distributed as an egg?14:34
dashsoren: not sure why you'd want to14:36
sorendash: I don't. :)14:38
sorendash: I'm just curious, because if it does, there's some code I don't understand how will work in that environment.14:38
maxbsoren: hmm.... actually how does launchpad run it? I think it might run it from an egg14:41
maxbYes, I think it actually does14:42
sorenHow would I go about building such an egg? "python setup.py bdist_egg" just says "error: invalid command 'bdist_egg'"14:43
sorenI'm specifically wondering how bzrlib.osutils.resource_string can work when the files live in a zip'ed egg.14:44
lifelesssoren: ?15:04
sorenlifeless: Let me dig up the context again.15:04
sorenlifeless: Ah, yes, bzr puts stuff like help topics in the python path instead of in /usr/share/doc or whatnot. That seems utterly wrong to me, and I was wondering if you had an opinion on it.15:06
lifelesssoren: python path is defined on windows; /usr/share/doc isn't.15:07
sorenlifeless: That doesn't make me feel less dirty putting things there on Linux. Perhaps I've turned into a bit of a purist. I'm not sure.15:09
sorenlifeless: Had it been anything other than bzr that did it, I would have considered it a bug. Now I'm not sure.15:10
lifelesssoren: IIRC there really wasn't any simple answer15:17
lifelesssoren: but if there is a defined protocol that we can use to make this work on win32/mac & [li|u]nix I'm sure folk would be happy to change.15:18
lifelesssoren: the big thing though, is that the abstraction really shouldn't live in bzr : this is a problem many many many packages face.15:18
sorenlifeless: I half started working on a utility function that would be able to use stuff embedded in an egg, or in sys.path or in /usr/share/project, but I lost my will to live halfway through.15:18
sorenlifeless: pkg_resources wants to be that abstraction, but it relies on this non-python stuff being in the python path and it really rubs me the wrong way.15:19
lifelesssoren: pkg_resources would be the place to fix it.15:21
maxbI suppose that Python has borrowed the concept from Java in some ways, where it is considered normal for resources to lie next to code15:21
sorenUnfortunately, I'm in the Getting Stuff Done business, moreso than the Argue Over Every Little Pointless Detail business, so I'm just going to have to live with the status quo, I suppose.15:22
lifelesssoren: you're going to die a little inside.15:33
lifelesssoren: with every upload15:33
Glenjaminhi guys, i'm having trouble getting bzr-svn to make a bazaar branch from my svn server16:16
Glenjaminis there another approach I can take?16:17
maxbGlenjamin: give details so people can help! :-)16:18
Glenjaminhalfway through loading revisions I get SSL negotiation failed: SSL error: parse tlsext16:18
jelmerGlenjamin: hmm, I've seen that one before16:18
Glenjaminalthough thinking about that error, it might not be related to bazaar16:18
jelmerIIRC it had to do with packets that were too big16:19
jelmerGlenjamin: can svn check out that revision without problems?16:19
Glenjaminyes, and bazaar will happily interact with that as a lightweight checkout16:19
jelmerGlenjamin: I don't mean the tip revision but the problematic revision16:20
Glenjaminoh, lemme try and figure out which one it is16:20
Glenjaminaha, managed to get that error from the svn client then16:24
Glenjaminmust be server related16:24
zygalifeless, could bzr homepage use canonical/ubuntu brand elements like many other ubuntu-affiliated sites do?16:37
lifelessthats a good question16:54
lifelessbut not one I have an answer to16:54
lifelessplus its kindof complex, what with bzr being a GNU project too - its somewhat more standalone16:54
zygalifeless, true but currently is showes a ubuntu-y affilitation in a bad (ugly) way16:59
zygalifeless, perhaps using ubuntu community theme + smallish hints of canonical support would look nice17:00
zygalifeless, another question is for bzr big brother, lauchpad17:00
zygalifeless, is a theme change something to consider?17:00
lifelesszyga: jml will be discussing lp with the canonical design folk17:04
lifelessits really a very separate discussion to bzr17:04
zygalifeless, who is jml?17:04
* zyga remebers you mentioned that nick earlier17:04
lifelessLP product strategist17:05
lifelessaka product manager17:05
lifelessyou might say that hes the 'what' guru for LP, and I'm the 'how'17:05
Takbut who are the where and the why?!17:06
zygalifeless, thanks for the info, I look forward to changes in that regard17:06
=== beuno-lunch is now known as beuno
gthorslundlifeless: since you are the 'how', could you help me with some merges? got one for each of the bugs in https://bugs.launchpad.net/bzr-bisect . (but only one bug would end up being fixed, the other one just reproduced with a test case (or two))18:19
lifelessgthorslund: of launchpad, not bzr.18:24
lifelessgthorslund: however, I'm sure someone here can help you :)18:25
lifelessperhaps jelmer18:25
gthorslundlifeless: thx18:25
* gthorslund looks around for jelmer 18:25
* jelmer crawls out of his corner18:25
jelmergthorslund: is there an official maintainer of bzr-bisect? I don't remember who originally wrote it.18:26
jelmerlifeless: you're up early!18:26
lifelessjelmer: this isn't early - 073018:27
jelmerlifeless: Oh, ok - Sorry, I keep forgetting you're in NZ now18:28
lifeless:)18:28
gthorslundjelmer: can't find one. Jeff Licquia, Daniel Watkins, James Westby are in the log18:28
jelmergthorslund: ah, I guess Jeff is the original author.18:29
gthorslundjelmer: Vincent Ladeuil fixed a minor bug for me once too18:29
gthorslundyes, he had first commits18:29
jelmergthorslund: I'd be happy to do a review, can you add me to the MP as reviewer?18:29
gthorslundjelmer: done now for https://code.launchpad.net/~gthorslund/bzr-bisect/539937-subtree/+merge/3978518:33
gthorslundjelmer: https://code.launchpad.net/~gthorslund/bzr-bisect/538025-doc-script-exit-code is already approved by Martin Pool (but not merged)18:33
=== zyga is now known as zyga-afk
=== Meths_ is now known as Meths
gthorslundhi vila! I was about to annoy you a bit before, but since you where not here I annoyed lifeless instead who found jelmer for me in a corner :)19:20
vilagthorslund: hehe, I'm glad they helped you ;) I just arriving from a whole day car travel so I won't be here long not very effective either ;)19:21
vila...but my tyop-fu is still strong ! s/I just/I'm just/ s/not very/nor very/19:22
gthorslundvila: I'll head out helping my daughter with some homework so I'll not annoy anyone much more now ;)19:23
* fullermd hopes you drive better than you type...19:23
vilafullermd: no problem, I drive with my feet19:23
fullermdI always figured that was how you typed...19:24
vila:)19:26
=== zyga-afk is now known as zyga
glyphNormally if I mess up a commit message, I do 'bzr uncommit' and then do it again.  But I just noticed a wrong commit message that is about 5 revisions ago (although the revision is still not pushed).  How can I edit the log message?22:02
gthorslundglyph: don't think you can, but it could be a nice feature to allow it and keep versions for log messages too.22:11
peitschiemornin everyone :)22:28
jbowtieMorning.22:28
jbowtieI think my testing really did kill a Codeplex TFS server (TFS14)22:43
jbowtieHmm. Or maybe CodePlex is just having infrastructure issues.22:48
jelmer'evening22:49
jelmerjbowtie: Ah, you're trying bzr-tfs against codeplex?22:49
jbowtiejelmer: Yes, trunk has been working against it for the last couple of days.22:49
jelmerjbowtie, nice!22:50
jbowtiejelmer: Thought you'd be happy. But I seem to have killed one of their servers (or maybe they're just rebooting it?)22:52
jbowtieYeah, it seems to be some of their infrastructure stuff, might just have to wait a few hours for them to get it sorted.22:52
jelmerjbowtie: oops..22:52
losingAnyone familiar with this error: "bzr: ERROR: Tree transform is malformed [('versioning no contents', 'new-208')] "23:07
losinghappens after a bzr up23:07
spivGood morning.23:08
spivlosing: which version of bzr?23:08
losing2.1.123:08
losingit's not the end of the world as that branch can be deleted and recreated, but I found it rather cryptic23:10
spivHmm, it *might* be fixed in a later release: there are some possibly related fixes in 2.1.3 / 2.2.123:13
spivSo I'd try upgrading23:14
spivIf that doesn't fix it, please file a bug23:14
losingfantastic, thanks spiv23:14

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