[00:04] jfroy|work: theres an option to log, I think [00:04] Or API to get to it. I'm basically trying to write a plug-in that adds a --fixes scheme for my company's bug tracker and also a post-commit hook that will add a message to the bug if the commit includes the --fixes metadata. [00:04] adding the --fixes scheme was trivial [00:04] (just another UniqueIntegerBugTracker) [00:05] the revision.properties [00:05] well --long doesn't do it [00:06] in your post commit hook [00:06] nice [00:06] I'm trying right now just to check if the metadata was recorded [00:06] print branch.repository.get_revision(revision_id).properties [00:06] There has to be a command to inspect a revision, even a debug command of some kind [00:07] time to break out a python shell huh [00:07] fair enough :) [00:07] cat-revision [00:07] ha, like the name :) [00:13] huh, log doesn't print the revision ID [00:13] --show-ids, nvm [00:16] And right now, it seems the property value will be hardcoded to "$BUG_URL fixed" [00:17] And stored with the key 'bugs' [00:18] Which seems to be a magic constant in the builtin commit command, which has me worried one day someone will change that and the plug-in will break [00:18] Dumb question: currently when I want to add files to bzr, I basically run bzr st -S . | grep "^?" | awk '{print $2}' | xargs bzr add. Is there a better way of doing this, besides maybe aliasing said command? [00:25] jfroy|work: its not part of commit; its part of the bug module [00:25] pydoc bzrlib.bugtracker [00:26] KhaZ: 'bzr add' [00:26] ... D'oh. It is quite possible I'm that much of an idiot. [00:27] lifeless: the 'fixed' part yes [00:27] but not the property name [00:28] the property name won't change [00:28] or if it did the query api in bugtracker would be adjusted to support reading from both [00:29] I'm saying, its no more or less at risk of changing than any metadata [00:30] I don't see any code in the bugtracker module that ever reads a revision property [00:30] there's stuff in qbzr [00:30] it will probably mgirate to the core at some point [00:31] I see [00:31] lifeless: 'kk (+trunk to 2.0 and 2.0.0) [00:31] spm: 2.0 to 2.0, and 2.0.0 to 2.0.0 :) [00:31] spm: pushing trunk to 2.0 would be bad ;P [00:32] So it should be relatively safe for the hook to look for the 'bug' property (as a constant key value, not as a constant imported from bzrlib) [00:32] heh. that's not what I meant :-) [00:32] jfroy|work: yes [00:32] jfroy|work: 'bugs' [00:32] * 'bugs' [00:32] damn, beat me to it :p [00:39] lifeless: so. 2.0: 4665 pushed, vs 4664; 2.0.0: 4667 vs 4665. no changes needed to locations. [00:39] spm: thanks [00:39] jam: ^ [01:03] Good morning. [01:17] hi all [01:17] hi spiv, lifeless [01:18] maybe i should change the 'compiled extensions' warning to say "if you're running from a bzr source directory, run 'make'" [01:24] poolie: good morning. Thanks for starting the review of the hpss homedirs patch. I forgot to mention that part of the diff (mainly pathfilter.py) is in a separate review (which has been approved now). [01:24] np, i saw robert's verbal approval [01:24] of that [01:24] if you want me to read it too i can [01:25] I wouldn't bother if I were you :) [01:45] Okay, assuming that I don't go to the 2a format right now, what's the best format for a repository that I will have to maintain well into the future, right now? [01:45] And that random people, including our users, might be checking out from. [01:46] (Which is why I don't want to go 2a right now--I need relatively good backwards-compatibility so that users can get at the repo.) [01:46] I'm asking because Bugzilla picked bzr over Hg, BTW. [01:52] hi mkanat [01:53] that's great news btw [01:53] mkanat: i'd probably go for 1.9 [01:53] it's faster and smaller than earlier formats [01:53] and it'll be supported by bzr releases going back, of course, to 1.9 [01:54] poolie: That sounds pretty good. And that will be upgradable to 2a in the future? [01:54] which is nearly a year ago now [01:54] yes [01:54] * mkanat nods. [01:54] Okay, cool. [01:54] and 2.0 will support it [01:54] so in your case i'd probably be suggesting people install 2.0.0 (or 2.0.x later) [01:54] which will be a bugfix-only series [01:55] but use 1.9, for interoperation with older releases [01:55] Okay. [01:55] Some people won't be able to install 2.0 very easily. [01:55] But everybody should be able to get 1.9. [01:55] At least. :-) [01:55] (For example, Bugzilla still works on RHEL4, but that only has python 2.3.) [01:56] mkanat: why would 2.0 be hard to install? [01:56] mkanat: 1.9-rich-root [01:56] mkanat: if you don't go 2a [01:56] mkanat: the rich root will make moving to 2a easier [01:56] poolie: Is there any way yet of reconciling two separate cvs imports and saying "these are actually the same, and these commits match to these commits and these files match to these files"? [01:56] mkanat: no [01:57] mkanat: bzr has only ever supported python 2.4 and up, FWIW [01:57] lifeless: Hmm, ever? Okay. :-) [01:57] mkanat: CVS -> bzr is non-deterministic [01:58] davidstrauss: Yes, but it would be nice if I could re-do my import, because some of it's messed up. [01:59] Due to the fact that we started it with an older bzr and an older cvsps_import. [01:59] mkanat: There's also no way in bzr for a single file to have multiple UUID ancestors [01:59] davidstrauss: But without breaking people who have already checked out from the existing bzr import (which is a lot of people including all my client work). [01:59] mkanat: so merging two branches with the same files and different bzr ancestry is a non-starter [02:00] mkanat: you could "merge" into the repo and resolve all conflicts in favor of the incoming files [02:00] mkanat: then you'd pick up the file UUIDs from the branch being merged in [02:00] davidstrauss: That would break merging back into the older checkouts, though, right? [02:00] I mean, I don't see any advantage. [02:00] mkanat: correct. you can't maintain ancestry in both directions [02:00] Ah well. [02:00] mkanat: it's an architectural limitation i've discussed with aaron bentley [02:01] mkanat: if you can get all your users to help switch, it may be feasible [02:01] you'd need to tell them to just cherrypick across from their existing branches into new ones based on the new import [02:02] poolie: The actual user base is fairly small, so it might be possible. [02:02] poolie: That is, my *main* concern is all the work I have in client branches. [02:02] poolie: re the extensions nag [02:02] And the work I did with NASA. [02:02] per-client forks [02:03] poolie: Yeah. [02:03] poolie: I suggest: make bzr --version show the full list of missing extensions, and have the nag be a one-liner: 'One or more C extensions could not be loaded. See bzr help C-extensions' [02:04] poolie: So we'd do the import by basically just applying each patch of each revision individually, and copying the log message? [02:05] lifeless: i agree about the nag [02:05] mkanat: you *might* be able to use rebase for some of it ? [02:05] mkanat: right, and bzr-rebase may be able to help [02:05] or, you can just fold them all up into one commit, depending how much resolution you want to keep [02:05] rebase still follows fileids [02:05] poolie: Okay. In that case, next question--is there a better existing CVS importer that can do branches and branch relations than cvsps_import now? [02:05] lifeless: oh, right, dang [02:05] lifeless: the hard part is making --version show them: --version won't normally know all of the extensions we might want toload [02:06] poolie: I heard something about cscvs from kiko once. [02:06] i know of the tool [02:06] mkanat: cvsps-import or cvs2bzr [02:07] mkanat: cscvs is not for conversions, its for ongoing mapping, and only really does trunk [02:07] lifeless: Ah, okay. [02:07] My problem with cvsps_import right now is that it wasn't correctly handling utf-8 in CVS log messages, and it wasn't deleting files under certain circumstances, it seemed. [02:07] mkanat: it can do other branches, with fiddling, but unless you plan to stay on cvs, go for cvsps-import or cvs2bzr (which is fastimport based) [02:08] poolie: so, seems to me that we don't really know that full list ever; so the current warning is also able to be incomplete. [02:08] poolie: I don't think it would be overly ugly to have a module scoped list of expected extensions, and plugins could add to that list if they have extensions too. [02:08] right [02:08] or otherwise [02:08] just give the nag warning [02:08] put the missing list into the log file [02:09] it's probably actually rare that a non-developer will see just some things fail to load [02:09] I desire --version to show the list because its a very easy thing to ask a Windows or new user to look at. [02:09] or see something that's not fixed by either running make, turning off the warning, or filing a bug [02:10] i don't object to it, i just think it's a different (filed) bug [02:10] poolie: kk [02:10] good idea on the message though [02:12] lifeless: Any particular preference between cvs2bzr and cvsps_import? [02:13] mkanat: I suspect they will have different bugs ;) [02:13] lifeless: Hahaha, okay. :-) [02:13] Maybe I'll just stick with cvsps, then. [02:18] So, if I want to make sure that people don't accidentally check in as somebody else, is the best way to require signatures? [02:18] Well, actually, I'm not even sure that would work. [02:45] is someone here using bzr on sourceforge? do they support more than one branch per project? [02:56] jam: I'm running into a problem with cvsps 2.2, importing Bugzilla into bzr: https://bugs.launchpad.net/bzr-cvsps-import/+bug/431127 [02:56] Launchpad bug 431127 in bzr-cvsps-import "cvsps_import fails with cvsps 2.2" [Undecided,New] [03:04] Hi, I use bzr in my personal branch in launchpad. I save my different projects under different folders, my friends found it hard to pull all the folder to pull one of them. Is there any way to split the folders under different branches without losing the history of the commits ? [03:08] aboSamoor1: last time i asked about that i was not given a direct solution. but the hint that you could use fast-import/export and filter. so it should be possible with 2 or 3 steps [03:10] zsquareplusc: well, it is not only performance issue. I don't want to announce all my work once I send someone the address of branch. [03:11] zsquareplusc: also I don't want make global commits history. so it will more clear to me the history of the commits of each project alone [03:17] aboSamoor1: "bzr help fast-import-filter" should give some insight [03:18] aboSamoor1: just make separate branches now; e.g. [03:19] if you have in your current branch /proj1 /proj2 /proj3 [03:19] then bzr push ../new-proj2-branch [03:19] cd ../new-proj2-branch [03:19] bzr rm --remove proj1 proj3 [03:19] bzr mv proj2/* . [03:19] bzr rm proj2 [03:19] bzr commit -m "Make this branch be for proj2 only." [03:20] and push that to launchpad under an appropriate project [03:21] lifeless: how will the history of the new branch look like ? I mean if the initial branch has commit till 100 and proj2 was last updated with commit 90 what will be situation ? [03:21] lifeless: --remove is not documented in my bzr's help rm, is that brand new? [03:28] zsquareplusc: actualy its old I think :) [03:28] aboSamoor1: try it and see ;) [03:28] aboSamoor1: as it in a separate branch it won't impact your existing work :) [03:28] lifeless: good point [03:28] :) [03:29] in short, it will have everything up to the point you do the rearrangement [03:29] which is what 'preserve history' means, generally ;) [03:29] bzr push ../new-proj2-branch ----this must be ---> bzr branch ? [03:30] aboSamoor1: that makes a new branch at the path ../new-proj2-branch [03:30] lifeless: hm, if its old, it's undocumented. i can't find a word about in in "help rm" or "man bzr" [03:30] zsquareplusc: as in removed [03:31] zsquareplusc: ignore it ;) [03:31] aboSamoor1: its correct with push. you are in the directory of the current branch and push a copy to a fresh directory [03:35] hm.. with bzr 1.17: bzr rm --remove CVSROOT ... bzr: ERROR: no such option: --remove [03:35] zsquareplusc: don't use the option is what I mean [03:36] ah, but with just rm you still have the history [03:36] zsquareplusc: Of course, the question was how to keep the history, wasn't it?... [03:37] In order to control commit access to a bzr repository, do I have to control the unix permissions of the repository .bzr directory, or just the unix permissions of the branch .bzr directory? [03:37] lifeless: what i understood was, how to make 3 separate branches from 3 folders in one, each with only the history of the respective folder [03:38] zsquareplusc: to do that you need to break the history, rewrite it into a smaller form, which is what you'd use fast-export and fast-export-filter for [03:41] lifeless: I did that for the first project it increased the commit number by one, now how can I view the history of the new branch without using launchpad ? [03:42] aboSamoor1: bzr log or bzr qlog or bzr vis, depending on which plugins you have installed [03:42] aboSamoor1: bzr log [03:57] lifeless: I am satisfied with the solution proposed, thanks very much :) [03:58] Hey hey. Anybody got some feedback on my permissions question, above? [03:58] aboSamoor1: cool [03:59] mkanat: both [03:59] lifeless: Okay. [03:59] lifeless: That's what I thought; it's what I've been doing. [03:59] lifeless: So basically if we have separate committer groups, we need separate repos? [03:59] yes [04:00] lifeless: Okay, that's what I thought. [04:00] there are ways to avoid that; theres some stuff in contrib I believe [04:00] but the most secure simple and robust way is one-capability per-repository [04:02] lifeless: the only drawback of the solution, that if you split the old branch to 5 new branches you have 5 duplicate histories. 5*100 MB :( [04:02] aboSamoor1: they won't grow at the same rate though [04:02] aboSamoor1: and if you have a shared repository the deep history will be shared so you want have 500MB used on disk. [04:03] lifeless: I will try bzr split later [04:03] lifeless: I see [04:06] Is there a config for setting up "bzr serve" as a init.d daemon that logs to syslog? [04:07] what is the bzr equivalent of git reset --hard origin/master ? [04:08] mkanat: no, unfortunately. [04:08] Okay. [04:08] mkanat: it would be good to improve our logging to make that possible. [04:08] Drakeson: what does that do? [04:08] Yeah--I imagine running a constant "bzr serve" is faster than serving through inet. [04:10] git-reset resets current head to the speficied state (origin/master here). --hard matches both the working tree and the index to the state one asked for. [04:11] mkanat: yeah, most likely; it commonly takes a couple of hundred milliseconds to start a bzr serve process, assuming a warm system. A cold system and some plugins can make that much worse. [04:11] * mkanat nods. [04:12] Drakeson: "bzr uncommit -r something && bzr revert", perhaps? [04:12] Or maybe just "bzr pull --overwrite -r something", I guess. [04:13] spiv: how about an overheating system ? [04:13] leave that aside for moment. assume I do rm -Rf * in a working directory (that leaves .bzr intact). How can I get get back all the files? [04:13] I'm not sure exactly what the git jargon means. [04:13] SamB_XP: I don't overclock, so I couldn't say ;) [04:13] Drakeson: bzr revert [04:13] spiv: oh, mine does that without being overclocked [04:14] spiv: thanks [04:14] I had to clock it down to get it to stop rebooting -- probably there is some kind of problem with the cooling ... === AfC1 is now known as AfC [04:37] Does anyone know the timelines for 2.0? I see the release candidate has been pulled from the main page of bazaar-vcs.org. [04:38] rc1 was pulled, rc2 is out and fine [04:38] 2.0.0 is being assembled at the moment, no further changes [04:40] thanks lifeless [04:42] Jemsquash: just merging the animated .gif of poolie waving frantically that auto-displays during branch routines. stand by. [04:43] lifeless: was the decision final on this one for weave merges? - http://birdhouse.org/~mnep/avatars/scream.gif [04:44] heh [05:01] is anyone going to fix the hardlinking issue with WorkingTree6? [05:14] thumper: eventually I guess? its fallout from content filtering, and theres a bunch of work needed in that area [05:15] ok [06:02] hey spiv, i may (if we're lucky) review your patch this afternoon [06:03] i was wondering what you thought too about the idea of the client inhibiting itself from sending requests to servers when the implementation is known to be broken [06:03] i think i asked before but didn't see (or remember :) your reply [06:08] spiv: the 'extra' in smart tcp server for testing is flummoxing me [06:08] spiv: got a minute for a chat [06:16] spiv: for example: [06:16] (Pdb) bzrlib.bzrdir.BzrDir.open(self.get_url() + '../') [06:16] *** UnknownErrorFromSmartServer: Server sent an unexpected error: ('error', "Invalid URL join request: Cannot go above root: '/' + ('../',)") [06:16] bzrlib.bzrdir.BzrDir.open( "bzr://127.0.0.1:46829/") [06:16] *** BzrError: Attempt to escape test isolation: 'bzr [06:16] ... [06:17] self.get_transport(self.get_url()) [06:17] [06:17] lifeless: could you look at bug 430738 some time? [06:17] Launchpad bug 430738 in bzr "Upgrade fails with NoSuchId in _iter_file_id_parents in add_inventory_by_delta" [Undecided,New] https://launchpad.net/bugs/430738 [06:17] self.get_transport(self.get_url()).list_dir('.') [06:17] poolie: does 'check' pass on that repository? [06:18] he doesn't say [06:18] he says reconcile passed [06:26] * thumper is helping some windows bound people with bzr [06:26] lifeless: the last thing I would say is that if isinstance the for_testing server that you shouldn't hardcode /extra/; you can (and probably should) use server_obj.client_path_extra [06:27] what is the absolute easiest way to install bzr on windows that allows bzr+ssh usage? [06:27] thumper: windows on client, or server (or both)? [06:27] how much hoop jumping needs to be done for people without ssh keys? [06:27] spiv: windows client for sure [06:28] spiv: I was going to set up my desktop as the main code host [06:28] spiv: it is for a polytech project [06:28] 3 people collaborating [06:28] It should mostly just work, I think, now that we default to using paramiko on Windows. (IIRC) [06:28] spiv: as you may expect, my desktop is linux [06:29] spiv: the bazaar wiki page for windows installing isn't very helpful [06:29] thumper: we know you still use an Amiga. [06:29] it says "download these 8 things..." [06:29] There's no requirement to have SSH keys, but they can help avoid the need to retype your password a lot :) [06:29] thumper: Huh, I thought it was just a case of "download and run the .exe installer" [06:29] spiv: I don't allow ssh with a password to my server :) [06:29] thumper: but I could easily be wrong. [06:30] which one? [06:30] I tried the py 2.6 one as I thought that ment "uses python 2.6" [06:30] but no [06:30] the standalone installers say 2.2 and 2.3, and I'm not sure if they are meaning python or what [06:30] Gosh, I'm out of date. I thought there was just one! [06:30] I'll ask again later tonight [06:30] thumper: IIRC, PuTTY allows creation and use of ssh keys. [06:30] perhaps I'll get some windwos users [06:31] thumper: http://bazaar-vcs.org/Download has, next to "Windows installer", a link called "default 1.18.1 installer". [06:31] when is the 2.0 one going to be there? [06:31] thumper: I guess you're looking at the Launchpad page of download files? [06:31] yeah [06:31] When it's released, I assume ;) [06:31] :) [06:31] * thumper goes to make dinner [06:32] thumper: I'm pretty sure you almost always want to be using the "Standalone" installers on Windows. [06:34] poolie: I'm ok with the idea of not sending requests we know the server will get wrong... the question is how can (and should) we determine the "known to be broken" fact? [06:35] poolie: You're thinking of looking at version string in the response headers, I guess? [06:36] poolie: the way we've dealt with this (or something similar, at least?) before is to create a new verb. [06:41] uhm [06:41] lp handles ~ fine [06:41] so I beg the question, how would one tell? [06:41] hi all [06:41] how's 2.0 moving? [06:49] spiv: [06:49] I don't know about you, but I'm pretty good at ignoring yet another email, [06:49] particularly email that comes from a cron job ;) [06:49] bah [06:49] copy paste fail [06:49] I don't know about you, but I'm pretty good at ignoring yet another email, [06:49] particularly email that comes from a cron job ;) [06:49] and gain. [06:49] * lifeless stares at vim [06:50] elif isinstance(transport_server, server.SmartTCPServer_for_testing): [06:50] # The smart server adds a path similar to work, which is traversed [06:50] # up from by the client. But the server is chrooted - the actual [06:50] # backing transport is not escaped from, and VFS requests to the [06:50] # root will error (because they try to escape the chroot). [06:52] lifeless: sounds good [06:53] lifeless: what are you referring to with "lp handles ~ fine"? [06:53] this should make you laugh: [06:53] Attempt to escape test isolation: 'bzr://example.com/quack/' ['/tmp/testbzr-HhM4se.tmp/', 'file:///tmp/testbzr-HhM4se.tmp/', '/tmp/testbzr-HhM4se.tmp/', 'file:///tmp/testbzr-HhM4se.tmp/'] [06:53] :) [06:53] bzr+ssh://bazaar.launchpad.net/~lifeless/... [06:54] I'm missing something. [06:54] What was that comment in reply to? [06:54] 15:33 < spiv> poolie: I'm ok with the idea of not sending requests we know the server will get wrong... the question is how can (and should) we determine the "known to be broken" fact? [06:54] Oh, that was unrelated to ~ in URLs. [06:54] ah ok [07:01] it was unrelated [07:01] it was about 1.17 sticking xml into chk streams [07:01] purportedly chk streams [07:02] spiv: we know now that 1.17 was broken [07:27] poolie: it was unrelated [07:27] poolie: it was about 1.17 sticking xml into chk streams [07:27] poolie: purportedly chk streams [07:27] poolie: spiv: we know now that 1.17 was broken [07:28] poolie: right [07:28] hi all [07:28] poolie: you're speaking to yourself ? .... Often ?.... :P [07:30] :) i think i fell off irc [07:30] i wasn't sure if it got through [07:40] what's the cleanest way to test things sent to trace.warning? [07:41] poolie: nearly done with bug #430749, I still have one failure [07:41] Launchpad bug 430749 in bzr ""Failed to load compiled extensions" warning breaks the test suite" [High,Confirmed] https://launchpad.net/bugs/430749 [07:41] ok [07:41] poolie: just in case you're on it [07:41] i'm nearly done with giving a nicer message and am just trying to work out how to test it [07:42] i'm also going out in about 40 mins [07:42] oh btw, i forgot to say yesterday [07:42] ok, I think there is another for that [07:42] i appreciated all your bug tidying [07:42] ok, I think there is another bug for that [07:42] there is [07:42] bug 430529 [07:42] Launchpad bug 430529 in bzr "missing extensions warning is unclear" [High,In progress] https://launchpad.net/bugs/430529 [07:42] ok, so no problem, we'll review each other :) [07:43] the way I address mine doesn't depend on the message only on the config variable [07:44] this is kind of annoying [07:44] and last one fixed, running a full test suite to check [07:44] it's a stupid thing to get stuck on [07:44] the testing i mean [07:44] pfewwww [07:45] don't feel stupid, IME writing the first test of a new kind is always hard, far far harder than the code [07:45] the thing is it's not the first [07:45] it's just that trace really needs some cleaning up [07:45] at least now we can do it with less fear of compatibility [07:45] breakage [07:46] worth spendng some time on it isn't it ? :D [07:54] poolie: so what is it you're wanting to test exactly ? The text itself ? (Coincidentally I have test_config.py under my eyes, there is an assertWarning(warning) there [07:54] vila, the text, and it's no longer a python warning [07:54] https://code.edge.launchpad.net/~mbp/bzr/430529-extension-warnings/+merge/11950 [07:54] i might pull at the cruft in a separate branch [07:57] ooh, it was a *python* warning, sorry I missed that [07:59] i'll pull out some uncontroversial stuff from trace.py and send mail about the rest [07:59] in short it's a question of whether we should still be using python logging [07:59] it's a bit conflicted with our ui factory stuff [07:59] it takes a little while to load [07:59] and it makes things a bit more complex to test [08:26] bonjour vila, good evening poolie [08:27] hello bialix [08:27] poolie: my vote is to unify under the ui banner [08:27] poolie: but I still have to read your mail :) [08:32] commiting to stacked branch with bzr-2.0rc2 is OK on Ubuntu but failed on WinXP [08:33] naoki: that sounds bad, please file a bug. [08:37] https://bugs.launchpad.net/bzr/+bug/431223 [08:37] Launchpad bug 431223 in bzr "bzr2.0rc2 fails commiting to stacked branch on WinXP" [Undecided,New] [08:39] naoki: Hmm. Sounds like bug 375013, but I don't know why you'd get different behaviour on Ubuntu vs. WinXP for that. [08:39] Launchpad bug 375013 in bzr "lightweight checkout commit to a stacked branch does not work" [High,Triaged] https://launchpad.net/bugs/375013 [08:40] naoki: perhaps on Ubuntu you aren't using a lightweight checkout of the branch? [08:41] naoki: also, what version of bzr are you using on Ubuntu? [09:18] I am trying to connect to a server through proxy on Windows; I have set http_proxy=http://my.proxy.server.com [09:19] even tried to configure authentication.conf to no avail, any ideas? [09:19] rojanu: try adding '-Dhttp' and look at your '.bzr.log' for clues [09:21] vila: where do I find the log? [09:22] 'bzr version' will tell you [09:25] Ok. log has some traceback info and msg printed to stdout "bzr: ERROR: Connection error: failed to connect to bzr.bugzilla.org:4155: Operation timed out" [09:26] Did you specify '-Dhttp' in your command ? [09:26] Err, wait, you're connecting with a bzr+http:// url ? [09:28] here is my command "bzr -Dhttp co bzr://bzr.bugzilla.org/selenium/3.4" [09:29] rojanu: http is not involved here [09:33] spiv: I used bzr-2.0rc2 on Jaunty x86 [09:33] spiv: And I didn't use lightweight checkout on both. [09:34] I did use only stacked branch that stacked on standalone branch. [09:35] rojanu: I meant, I don't know what proxy you're using but I'm not sure it will know how to transparently proxy the bzr protocol... [09:37] vila: I don't know what proxy it is apart from the server address. In browsers, we have pac files specified!!! [09:38] rojanu: browsers speak http, bzr can speak http too with http servers, here you're trying to speak to a bzr server in the bzr protocol [09:38] rojanu: does bugzilla offers http access for that branch ? At a different address ? [09:39] rojanu: you may want to contact *them* to know that [09:39] s/know/answer/ [09:41] vila: I will contact bugzilla to get a http address, Thanks [09:42] rojanu: the alternative is to contact your admins to allow direct connection to bzr.bugzilla.org:4155 [10:00] naoki_: thanks! I'm still mystified, but I've updated the bug. [10:01] grr [10:01] "bzr: ERROR: Attempt to escape test isolation: 'file:///home/robertc/source/baz/pending/working/bzrlib/version.pyc/' ['/tmp/testbzr-laC87z.tmp/ [10:02] lifeless: why grrr? Aren't you happy to catch one more ? :D [10:02] vila: this is 'bzr version looks for a bzr source tree' [10:03] haaa, GRRRRR instead [10:03] indeed I mean [10:03] vila: test root could be in ., and . is in the source tree, so permitting that means permitting all access within the source tree. [10:03] thus grr :P [10:09] lifeless: so that one test should be put in its own test class :) [10:09] vila: there are many such. [10:10] 400 tests to go [10:10] wow, 400 good reasons to escape ? [10:10] My remark was only for valid escape cases [10:11] I have a list of 500 failing tests [10:11] I've worked through finding causes the first 100 [and fixed] [10:11] so there might be only 2 left to go. I don't know :) [10:11] 8-/ [10:13] 1;2c/win 20 [10:14] vila: I know that you mean only valid cases, but when we open it up, that test can then misbehave, and we won't know [10:16] we don't know *today*, so better guard most of them, the 'bzr version' one, if I remember correctly, requires access to the source tree and can't even pass if run from an installed version [10:16] it should work when installed. [10:17] by skipping ? [10:18] or by conditional assertions ? [10:19] lifeless: if you could review https://code.edge.launchpad.net/~vila/bzr/430749-no-extensions-warning/+merge/11951 , [10:19] I'll be able to put some green on the botnet which is currently full red :-/ [10:21] kind of small-red-button but also related to your reflexions about config-in-home-dir accesses :) [10:21] vila: conditionals [10:21] do you see a double header on that page? [10:21] hoo, yes [10:21] one with branches, one with branch [10:22] thumper: ^ [10:28] vila: reviewed [10:28] lifeless: bug #431133 ;-P Welcome to my world :D [10:28] Launchpad bug 431133 in bzr "blackbox.test_too_much.TestCommands.test_main_version in a checkout of bzr does network I/O" [High,Confirmed] https://launchpad.net/bugs/431133 [10:29] lifeless: thanks ! Is that a tweak ? [10:32] vila: yes [10:32] lifeless: all impacted tests are based on TestCaseWithTransport and all use run_bzr_subprocess, are you sure you want TestCase ? [10:33] vila: TCWT is fine [10:33] ok [10:33] the ExternalBase change is a no-op, you realise? [10:34] not sure what you mean by that, I delete all uses of ExternalBase because I find the class useless [10:35] and misleading [10:35] hi folks [10:36] vila: ah [10:37] vila: see my proposal for new test dirs? [10:37] I don't think so [10:37] checl the list mail === thumper__ is now known as _thumper_ [10:38] _thumper_: hi [10:38] <_thumper_> lifeless: hi [10:38] _thumper_: https://code.edge.launchpad.net/~vila/bzr/430749-no-extensions-warning/+merge/11951 [10:39] <_thumper_> lifeless: what's that? [10:39] do you see two headers there? Is that know/desired/a bug I should file? [10:39] <_thumper_> lifeless: I'm on windows :-| [10:39] <_thumper_> yes I know the two headers [10:39] <_thumper_> it is fixed in a branch I have in review [10:39] _thumper_: you poor thing. [10:39] <_thumper_> for 3.0 [10:39] [windows] [10:39] <_thumper_> there were many heading issues with the new 3.0 work [10:39] whatever possessed you to do that? [10:39] <_thumper_> I'm trying to get bzr working on windows [10:40] <_thumper_> there are three different bzr standalone installers [10:40] <_thumper_> what is the difference between them? [10:40] <_thumper_> also, once I have them [10:40] <_thumper_> what do I need to talk to LP from a windows laptop? [10:40] <_thumper_> I need a local ssh key I guess [10:40] <_thumper_> are there docs on the bzr wiki on how to get this set up? [10:40] http://bazaar-vcs.org/Download [10:40] under windows [10:40] the first link [10:41] <_thumper_> I've got the 2.0rc2 from LP [10:41] <_thumper_> not the 1.18.1 one [10:41] theres a link to docs too [10:41] which explains the differences [10:41] * _thumper_ looks again [10:41] yes, just need your ssh key; use pagent or putty or something like that [10:42] <_thumper_> lifeless: the download page isn't that helpful [10:42] <_thumper_> it doesn't mention the 2.0rc2 for windows [10:42] <_thumper_> nor the different stand alone installers [10:43] _thumper_: uhm [10:43] lifeless: amen for killing blackbox tests [10:43] <_thumper_> http://bazaar-vcs.org/WindowsDownloads has a wrong wildcard at the top [10:43] _thumper_: taking those point by point; the page is tuned for end users; end users shouldn't be using 2.0rc2. [10:43] <_thumper_> :) [10:44] <_thumper_> bzr-2.0rc2-3-setup.exe, bzr-2.0rc2-2-setup.exe, bzr-2.0rc2-1-setup.exe - what's the difference? [10:44] secondly, for end users the first link, the one that says default, is the right one [10:44] where are you getting those links? Cause I have no idea. [10:44] <_thumper_> https://edge.launchpad.net/bzr/+download [10:44] I would guess at build number [10:45] <_thumper_> I'm downloading the 1.18.1 standalone installer now [10:46] jam: https://edge.launchpad.net/bzr/+download - are the -1- and -2- installers obsolete? if so lets delete em. [10:46] jam: I would, but I'm not sure I can undelete on lp if I'm wrong:) [10:46] <_thumper_> the windows downloads instructions doesn't say anything about "getting the default" [10:46] * _thumper_ is being somewhat pedantic [10:46] _thumper_: s/pedantic/annoying/ [10:46] <_thumper_> :) [10:46] _thumper_: where are you looking precisely please [10:46] because on here [10:47] http://bazaar-vcs.org/Download [10:47] <_thumper_> http://bazaar-vcs.org/WindowsDownloads [10:47] I see a link that folk will just follow and will just work. [10:47] <_thumper_> I followed the instructions link [10:47] <_thumper_> on the Download page [10:47] <_thumper_> people like instructions [10:47] <_thumper_> the instructions it takes you to contradict those on the earlier page [10:47] well the WindowsDownload page says 'most recent bzr-setup-*.exe' [10:48] <_thumper_> yes [10:48] <_thumper_> but that wildcard doesn't match [10:48] which modulo the aforementioned question about what the -N- bit is [10:48] right, so it should be fixed ;) [10:48] <_thumper_> bzr-*-setup.exe is right [10:48] I think so [10:49] * _thumper_ ran the standalone installer [10:49] <_thumper_> where is the effective .bazaar directory on windows? [10:49] <_thumper_> for the locations.conf et al? [10:49] bzr --version [10:49] <_thumper_> 1.18.1 [10:49] no [10:49] run it [10:50] <_thumper_> I did [10:50] it should have told you [10:50] <_thumper_> ha, didn't read that bit :) [10:50] <_thumper_> cool [10:59] naoki: your bug is a duplicate of the one that the error tells you about [10:59] naoki: you need a regular branch or checkout, pushing to or bound to respectively, to add data to a stacked branch. [11:00] I have the same (local) repo as Related branches: push, parent and submit ... what have I done wrong [11:01] hmm, the error message tells me "Cannot commit from a lightweight checkout to a stacked branch.". [11:01] I didn't use a lightweight checkout. [11:01] naoki: yes. there is more detail in the bug report it references [11:02] naoki: a stacked branch where there is an in-place tree is equivalent [11:02] I see. [11:02] ngnp: I don't know that you've done anything wrong. what would you like bzr to do differently? [11:02] OK. I mark my bug as duplicate. [11:02] naoki: I've done that;) [11:03] naoki: I was catching you here to explain [11:03] we'd like to make it work but its really not trivial [11:04] lifeless: I somehow did not expected these three ... just a push and parent? The weird this is that when committing the parent is sync immediately ... that's not what I wanted :( [11:04] synced [11:05] ngnp: do you mean repo or branch when you say they are the same? [11:06] lifeless: I'm working on ~htdocs/mdc and when committing there my ~/Documents/bzr/mdc is updated too. I want to control _when_ that happens :( [11:06] ngnp: which of those two did you create first? [11:07] ngnp: and how did you create the second one? [11:07] The ~Documents version [11:07] if you don't remember, just run 'bzr info' in ~htdocs/mdc and pastebin the result [11:07] first then dunno ... I guess a pull [11:08] I bet you did 'bzr checkout' [11:08] but the info will tell us [11:09] lifeless: http://pastebin.ca/1569478 [11:11] see this line: checkout of branch: ... [11:11] that says 'when you commit, it will auto push to the ...' [11:11] run 'bzr unbind' [11:11] and then you'll need to use 'bzr push' to do the push [11:12] lifeless: thanks :) [11:25] vila: do you recall what bzrlib/tests/commands/ is for [11:25] is that == the cli package I proposed? [11:25] vila: it doesn't really seem to be, to me? [11:26] not cli, quite the complement in fact [11:26] ..bad word :-/ [11:27] its not clear to me how the tests there differ from other ones in blackbox, other than that they create the command object directly. [11:28] separately, InstrumentedTransport - that would be better as a decorator I think. [11:28] HookedTransportDecorator, decorate any transport you want? [11:29] wait a minute [11:29] paging context in [11:30] I ask, because the convolutions it goes through look to be precisely what chroot+ readonly+ etc all do already [11:30] and if it was setup like that it wouldn't be failing with isolation errors [11:30] BzrError: Attempt to escape test isolation: 'hooked://foo@localhost:37295/tmp/testbzr-VVo9LS.tmp/bzrlib.tests.commands.test_branch.TestBranch.test_branch_local_remote/work/' ['/tmp/testbzr-VVo9LS.tmp/', 'file:///tmp/testbzr-VVo9LS.tmp/', '/tmp/testbzr-VVo9LS.tmp/bzrlib.tests.commands.test_branch.TestBranch.test_branch_local_remote/', 'file:///tmp/testbzr-VVo9LS.tmp/bzrlib.tests.commands.test_branch.TestBranch.test_branch_local_remote/', ' [11:31] So commands/__init__ says: Test the internal behaviour of the commands (the blackbox tests are intended to [11:31] test the usage of the commands). [11:31] well, blackbox tests internal behaviour for something like 90% of the tests in blackbox today ;) [11:32] I'm not objecting to the commands test package [11:32] just it was a bit of a spike you did, [11:32] and its been left fallow since [11:32] yeah, but nobody ever understood why it was named like that and even I am not sure :-/ [11:33] The hooking stuff is spectacularly ugly though, and if I can get from you what you needed to achieve I'll do a separate branch to clean it up [11:33] pff, it's quite old and I seem to remember that I needed to do that to minimize changes at that time [11:34] vila: please think a bit about this [11:34] from what I can see you wanted to hook into some behaviour [11:34] may be it was to work around a bug fixed since like redirections bringing back pycurl transports instead or urllib ones [11:35] you created a TransportHooks [11:35] so I had to keep a tighter control than what decorators provided [11:35] which doesn't work for all transports [11:36] vila: I propose the following: [11:36] It's intended to be used for ConnectedTransport only [11:36] - we make that transport hooks official and public for all transports. [11:36] non ConnectedTransports will simply never fire [11:36] - we change the tests to just use SFTPTransport or FTPTransport directly [11:37] That *sounds* good (i.e. that seem to address the initial aims whatever they were, while being cleaner) [11:38] and finally, I'd be strongly inclined to consider these tests acceptance tests [11:38] Looking at the code also seem to imply I wasn't very good at parameterizing the tests at that time [11:39] if you wanted to do this overnight, I wouldn't complain :) [11:39] hehe [11:40] lifeless: don't count too much on it especially today, I need to finish early due to some light medical operation [11:41] vila: ok [11:41] lifeless: and that's really not today, tomorrow on the other hand... :-D SO maybe file a bug with the IRC discussion [11:51] vila: bug filed [11:51] vila: its kindof three bugs, I can file more specific ones when you run out of steam :) [11:52] lifeless: it's ok [11:52] * vila fiddling with buildbot to add the timing run [12:02] lifeless: http://babune.ladeuil.net:26862/builders/timing-at-jaunty/builds/1/steps/Non-regression tests/logs/stdio/text [12:03] that one is still in progress but the next should run on a "quiet" host (or I'll tune the scheduler) and with incremented numbers (after the /builds/ part) [12:05] lifeless: that way the archival is handled by buildbot and you can peek whatever suits your needs :) [12:05] thanks! [12:05] The format is correct ? [12:06] no idea [12:07] lifeless: on the other hand, we may want to integrate whatever processing you want in the botnet itself, that sounds quite its job after all [12:07] no urgency, just a thought [12:07] something is adding noise to it [12:08] wget -O- 'http://babune.ladeuil.net:26862/builders/timing-at-jaunty/builds/1/steps/Non-regression%20tests/logs/stdio/text' | subunit2gtk [12:08] probably because you get both stout and stderr ? [12:08] ugh [12:09] can you squelch stderr then ? [12:09] sure [12:09] well, I'll try at least :) [12:09] 2>/dev/null [12:09] so the processing desired is 'analyse stuff' [12:10] which could be the subunit-ls --times I posted to the list [12:10] or 'how long are repo tests taking' etc [12:10] progress: 0 [12:10] time: 2009-09-17 11:10:20.952940Z [12:10] program finished with exit code 0 [12:10] elapsedTime=1.194652 [12:11] that 2>/dev/null is quite a booster :D [12:11] Ran 465 tests in 206.470s [12:11] FAILED (errors=1, known_failure_count=18) [12:11] nearly there [12:11] more servers not supporting get_url :( [12:11] probably interpreted as a test name [12:12] there shouldn't be much left.. which ones ? [12:12] RecordingServer [12:12] haa [12:14] hello [12:14] I have a question about https://answers.launchpad.net/bzr/+question/71563 [12:14] how to use bzr join correctly [12:15] does bzr, today, support nested trees in a way that allows one to have a branch that contains other branches [12:17] and the inner branch can be still managed as a separate branch [12:20] zyga-work: only at an experimental level [12:20] great, do I need .dev tree or will 1.18 suffice? [12:21] I don't think there have been any changes in that area [12:21] its not enabled for any supported repository format [12:21] if you could walk me thru using it to, say consolidate a "workspace" branch that contains "libfoo", "libbar" and "program" I could update the wiki in return [12:21] zyga-work: ^ [12:21] :/ [12:55] vila: bzr+ssh://bazaar.launchpad.net/~lifeless/bzr/test-speed - shiny shininess === mrevell is now known as mrevell-dejeuner [13:04] oh bah [13:04] lifeless: was grabbing some food [13:07] lifeless: can't find a simple way to get a clean stdout :-/ [13:08] ok, branch is actually pushed now [13:11] lifeless: hmm, indeed, totally different beast :) [13:13] so for --subunit [13:13] how about [13:13] selftest | tee subunit.log | subunit2pyunit [13:14] lifeless: the problem seems to be that the redirections can't be handled... [13:16] wow, the addition to start_server seems hackish, I'll have to test that against my local_test_server plugin asap [13:16] what builder are you using? [13:16] I created a new one (not committed yet if you're looking at the public branch0 [13:21] vila: paste the relevant bit of the config here? [13:21] presumably only a couple of lines... [13:23] vila: start_server is hacky to the extent that tests depend on a directory *two levels up* from where they start to isolate them from the file system [13:23] lifeless: http://paste.ubuntu.com/272782/ [13:24] if you imagine (and its not where I'm going - wt wants real disk, reasonably so), that everything was in a memory file system, we'd need to change our server start locations and so forth to provide those two extra directories. [13:24] lifeless: hmm, you mean xxx/work ? [13:24] safetynet/testname/work [13:24] yeah [13:24] hmm [13:25] so, you can argue that perhaps I should do that work first :) [13:25] but I think there is a chicken and egg effect [13:25] It will be clearer if that '../..' was obtained by a relpath calculation [13:25] can't do that [13:25] one url will be (say) sftp://, the other is file:// [13:26] vila: try [13:26] but that's exactly where I have a problem (or rather not me but well), we have a relation between the server root and the test working dir [13:26] command = 'python ./bzr selftest --subunit 2>/dev/null' [13:29] OSError: [Errno 2] No such file or directory [13:30] Upon execvpe python ./bzr selftest --subunit 2>/dev/null ['python ./bzr selftest --subunit 2>/dev/null'] in environment id 48676992 [13:30] urgh [13:30] ok [13:30] make a tiny little shell script [13:30] put it on the slave. [13:30] run that [13:30] exactly what I wanted to avoid :-/ === mrevell-dejeuner is now known as mrevell [13:30] but well, certainly the easiest in the mean time [13:32] lifeless: I'm tracking --usepty which is used at slave start and tie stdout and stderr, that may be a viable alternative [13:43] vila: whatever is easiest [13:46] done, try with 13 as number in the prvious url [13:47] rats, wait, I changed a part of the path [13:48] http://babune.ladeuil.net:26862/builders/timing-at-jaunty/builds/13/steps/Timing%20tests/logs/stdio/text [13:52] lifeless: by the way, I went with the shell route, one more dependency but that's not a concern here [13:54] lifeless: and the schedule is 11PM my time i.e. 9 hours from now [13:54] approx your breakfast no ? :D [14:19] wget -O- 'http://babune.ladeuil.net:26862/builders/timing-at-jaunty/builds/13/steps/Timing%20tests/logs/stdio/text' | subunit-ls --times | sort -n -k2 -r | head -n 20 [14:19] :P [14:19] gnight === psynaptic is now known as psynaptic_afk [14:23] vila: just confirming - thats not using --parallel [14:24] lifeless: my god no ! :D [14:24] cool, thanks [14:24] bzrlib.tests.test_source.TestSource.test_no_asserts 24.874 [14:24] bzrlib.tests.blackbox.test_breakin.TestBreakin.test_breakin 10.460 [14:24] bzrlib.tests.test_hashcache.TestHashCache.test_hashcache_load 5.014 [14:24] ... [14:24] its working - great [14:24] now, we just need a better QL for subunit [14:25] committed and publish on lp, patches welcome the script name time-selftest.sh [14:25] but I'm really really wiped, still sick & I meant to be in bed hours ago :( [14:25] * lifeless goes [14:25] lifeless: and don't take the actual timings are accurate ! Lots of things happending here (catching up the no extensions failures) [14:25] s/are/as/ [14:26] lifeless: sleep well ! === psynaptic_afk is now known as psynaptic === mario__ is now known as pygi [15:42] hi guys. Is there anything like: bzr diff --old XXX --new YYY --annotated ? [15:42] I was looking for something that would show the diff annotated with info from YYY [15:44] bzr annotate YYY -r old-revision ? [15:44] Oh wait [15:44] Probably want the new revision number [15:45] los: qannotate is pretty good :-) [15:45] awilkins, checking... [16:35] awilkins, sorry for delay. [16:35] awilkins, I need it text based and basically what I want is: diff between the two trees + annotation on diff with data from more recent tree [16:41] awilkins, any thoughts? [16:51] los: What's the metadata you want in the annotation? [16:52] awilkins, committer would be enough, revno is optional [16:53] los: You may have to implement that if you want it ; it supports diff between arbitrary revisions but it doesn't have the --annotate option and I can't think of a simple way of doing it [16:53] But I'm not totally conversant with the innards [16:54] awilkins, yes, that's what I was suspecting as well. [16:55] awilkins, I was referring to the fact that I may need to implement it myself... :) [16:55] los: At least it won't be as hard as it would be for git (although I bet git already has it) [16:55] (and that's where your usage example is from) [16:56] awilkins, I was not aware of that. [16:57] los: I don't know if git has it, TBH, I don't use git a lot [16:57] los: But if you review the implementation of annotate and diff I'm sure it's not hard to concoct it [16:58] Right, train time [16:58] awilkins, thx [17:11] is there a way to ignore everything in /sites/default, except for /sites/default/files/showcase, without spelling out out all other directories? [17:11] RE:(?!sites/default/files/showcase/*).* works but ignores too much, e.g. a new file in root [17:12] RE:(?!sites/default/files/showcase/*).sites/default/**/* gives an python error ... [17:22] I am curious: I am looking for a way to mirror a remote bzr repository locally--like a git clone, or a hg clone, or svnsync. Is there a way to do this with bzr? I don't need a working copy: just a copy of the remote bzr repository data. [17:23] (I know I can pull a remote branch locally.. but does that get history and all other branches of the project, too?) [17:25] kothog, not at the moment, no [17:26] sad kothog. [17:26] anything experimental developers want a test monkey for? [17:29] kothog, I know there's a plugin called multi pull [17:29] that may do something similar [17:29] k..! thanks beuno, appreciate your time and answers. :) [17:36] Does anyone know why cvsps-import chooses to represent CVS tags as bzr branches? [17:55] i'm continually getting Contents conflict in features/support/env.rb when i merge from trunk to project branch... i keep doing cp features/support/env.rb.OTHER features/support/env.rb; bzr resolve; but then next merge with a change for that file says it again [17:55] what am i doing wrong here? [17:57] maxb: i would imagine that's because CVS's concept of a tag is really closer to a bzr branch than what bzr calls a tag [17:57] in bzr a tag is really more of a "revision nickname" [17:57] http://bazaar-vcs.org/Tag [17:57] whereas in cvs tag is really just a convention -- a branch you never write to that you call a "tag" [17:58] That is not really true [17:58] A CVS tag is a nickname for a tree-state [17:58] (i was assuming svn maps back to cvs in that way... entirely possible i was wrong) :) [17:58] In most cases one would hope and expect that the tree-state referred to a single point in time, i.e. a revision [17:59] It is, however, true that a CVS tag can indicate a horrendous mishmash which corresponds to no true single revision [17:59] ah, so it is like svn in that way, where each file can be at a different revision [18:00] can't speak for its devs, but i imagine that the cvs import was just taking the safe route? :) [18:01] so in CVS you cannot "commit" to a tag location? [18:01] because you could do that in SVN [18:05] okay getting somewhere: "(Bazaar currently relies [18:05] of content analysis to detect binary files for commands like ``diff``. [18:05] In the future, a ``binary = true`` rule may be added but it is not [18:05] supported yet.) [18:06] now to find the nature of that content analysis that is deciding my config file is binary [18:07] so if a NUL byte occurs in the first 1024 bytes [18:07] then bzr decided the file is binary [18:07] *decides [18:07] interesting === BjornT_ is now known as BjornT [18:27] We're getting this error when trying to buld 1.18 from source and 2.0 from easy_install: Cannot build extension "bzrlib._annotator_pyx". [18:27] Use "build_ext --allow-python-fallback" to use slower python implementations instead. [18:27] *build === EdwinGrubbs is now known as Edwin-lunch === Edwin-lunch is now known as EdwinGrubbs === EdwinGrubbs is now known as Edwin-lunch [19:59] Anyone know why I'm getting this, having just upgraded to latest trunk bzr? http://paste.ubuntu.com/273029/ [20:00] anyone able to explain how bzr merging/tracking works in terms of different branches and history? I'm trying to understand what the best workflow would be for a set of inter-related branches [20:01] kfogel: because you didn't run 'make' in your source directory [20:01] vila: ah, thanks. 'python setup.py build' used to do it; I guess not anymore? [20:02] build_ext you mean ? [20:02] vila: that fixed it [20:02] vila: I used to just do "python setup.py build" and get a trunk bzr that didn't give any warnings, and did use the C extensions. [20:02] vila: apparently, that's no longer sufficient, and I should run "make" instead. [20:02] kfogel: I never use build myself, always make, may be worth filing a bug [20:03] abentley: is it a bug that "python setup.py make" no longer seems to build bzr with C extensions, and "make" must be used instead, or was the old behavior just a coincidence and "make" is the Official Way? === Edwin-lunch is now known as Edwin-afk === Edwin-afk is now known as EdwinGrubbs [20:05] kfogel: No, it was "python setup.py build". [20:19] Hello I am trying to setup a multi-user server and I have really bad times with file permissions... I followed guides from here [20:19] especially i the part tha says "Setting permissions" [20:20] However.. the experiment failed. I created a folder named /bzr with 02770 permissions owned by root/bzr [20:21] but when I create a repository inside this folder it is created with those permissions: http://pastebin.com/d2a0c903d and commit from a non-root fails as it cannot write inside .bzr/branch/lock [20:25] can anyone advise me on what to do with file permissions? [20:58] if you have a branch with no working-tree, how bad is it to create a branch of that branch, *under* the parent? [21:01] sque: don't you need write permissions for the group on the folder? it can't create the lock file otherwise [21:02] kenichi_: i have no idea, but that's a hilarious question ;) [21:04] ha, thanks. i can't think of anything *technically* wrong with it... === cprov is now known as cprov-afk === doctormo_ is now known as doctormo [21:15] Advice please, how easy is it to tie into bzrlib to do a checkout while keeping gtk mainloops from freezing? [21:19] anyone the best way to resolve a "bzr: ERROR: KnitPackRepository('...')is not compatible withRemoteRepository('...')different rich-root support" error? I'm surprised as this comes up while pulling from the original repo... [21:28] zsquareplusc: Either I am an idiot or this bzr is NON user-friendly at all [21:29] sque: use posix acls [21:30] don't you need to set the default umask as well? [21:30] LarstiQ: I am trying very hard! [21:30] What I have till now for the best practise is to create a group (I named it "bzr") and add all potential users of repository in it [21:31] Then i created a folder with 02770 permissions where it is my shared repository [21:31] sque: don't use plain old unix permissions [21:31] you mean ACL? [21:31] setfacl -m group:developer:rwx /bzr [21:31] setfacl -m default:group:developer:rwx /bzr [21:32] sque: the default: will cause newly created directories to inherit the right permissions [21:32] this is the best way? [21:32] sque: plain unix permissions can not express that wish [21:32] sque: yes [21:32] abentley: sorry, that's what I meant (typo in IRC, not on the commandline) [21:32] hi, I'm kinda confused. I made some changes in one branch, commited, then tried to push it on another branch over sftp, but the actual files are not modified. any ideas why? [21:32] Forget my last question, I'm stealing from bzr-gtk instead [21:33] LarstiQ: I know and that's why I am banging my head at the wall. Didn't thought to use ACLs. To tell you the truth I only know that it exists never used before, but I am asap to read more about it. [21:33] sque: https://bugs.edge.launchpad.net/bzr/+bug/50568/comments/9 [21:33] Launchpad bug 50568 in bzr "'bzr push' does not preserve sgid bit on newly created directories" [Medium,Confirmed] [21:33] sque: they're very handy :) [21:35] kfogel: In revno 4640, "setup.py build" does build extensions. I haven't got a more recent bzr due to bug 430738 [21:35] Launchpad bug 430738 in bzr "Upgrade fails with NoSuchId in _iter_file_id_parents in add_inventory_by_delta" [High,Confirmed] https://launchpad.net/bugs/430738 [21:35] when I make changes in one branch and bzr push from that branch to another, the changes should be copied to the other one, right? [21:40] anyone willing to help a n00b? [21:40] spirov92: yes, the changes will then be in the other branch [21:41] but the actual files should be copied too? I don't see the actual files being modified [21:42] spirov92: pushing over sftp? [21:42] yes [21:42] spirov92: if the other branch has a working tree, you will need to run `bzr update` for it to update the workingtree [21:42] spirov92: but are you sure you need a working tree on it? [21:42] spirov92: all bzr needs is in .bzr/ [21:46] yep, I need a working tree, since the sftp branch is a website [21:47] um...the server doesn't have bzr installed. how do I update the tree over sftp? [21:48] spirov92: I recommend you use the bzr-upload plugin instead to do deployment [22:01] hmm...where do I actually get the upload plugin? can't find it in any openSUSE packages :( [22:01] spirov92: lp:bzr-upload [22:01] spirov92: so, `bzr branch lp:bzr-upload ~/.bazaar/plugins/upload` [22:02] thanks :) [22:02] * LarstiQ heads to bed [22:03] yay, I now have the plugin :) [22:03] spirov92: see `bzr help upload` and or the README for instructions [22:03] night [22:04] night [22:05] hmmm....if I just copy the entire working tree and .bzr folder to another machine, it will still work, right? [22:37] LarstiQ: Ty very much it worked perfectly with ACL :) [23:05] i'm using bzr cvsps-import and its creating thousands of notifications (bzr-notify). can i do something to clear the queue of notifications? [23:06] oh heh [23:06] kill the bzr-gtk process :) [23:06] why does windows suck so much [23:07] I got bzr working very easily [23:07] getting it to push over bzr+ssh to another machine still doesn't work [23:07] is the other machine running a ssh daemon? [23:07] I think there is some firewall thing somewhere that is blocking port 22 [23:07] are you @ home? [23:08] there is a firewall in windows, configure it via control panel [23:08] lifeless: I talk from my laptop to the desktop from home and away using linux [23:08] lifeless: I was in windows on the same laptop failing last night [23:08] ok [23:09] see the control panel then :) [23:09] why the need for windows though? [23:09] there is also norton internet security [23:09] lifeless: to iron out the instructions for 3 other people I'm trying to teach bzr [23:09] brave man [23:23] lifeless: i don't see a bzr-gtk process but there is a bzr-notify which i killed now, but notifications keep displaying. there is a queue somewhere :/ [23:23] vila: urgle, you left in imports of config, after tweaking to not use it! [23:24] zsquareplusc: well, if you killed off the dbus reflector it will have spawned again [23:25] lifeless: hm, i don't know what that is. killing bzr-notify worked and it did not restart [23:25] zsquareplusc: ok [23:27] lifeless: it's not much of a problem. i'd just wish bzr cvsps-import would not create notifications for each changeset it's converting :p === Pilky_ is now known as Pilky [23:57] sorry to interrupt, poolie and/or lifeless, maybe one of you or someone with good bzr knowledge should probably check the instructions on sourceforge. i had problems understanding if they support multiple branches per project. maybe it's just me who did not understand but i think they should have a good description so that project admins feel confident to choose bzr over the other VCS they... [23:57] ...also offer. [23:57] that would be this page here: http://sourceforge.net/apps/trac/sourceforge/wiki/Bazaar [23:58] oh and they really do support multiple branches :-)