[00:12] hello everybody. [00:13] anyone had experience installing bzr on a shared host? [00:13] yes, sure [00:14] poolie: dreamhost, bluehost or site5? [00:14] oh, huh [00:14] none of those [00:14] why not use launchpad.net? [00:15] poolie: is for a private project [00:15] poolie: been pushing via ftp and pulling via http, but these dumb protocols are a bit slow. [00:15] are you using a pack repository? [00:16] yep, pack-0.92 [00:16] with 1.1 [00:16] sorry, bzr 1.1 [00:16] freshly created repos :) [00:16] luislavena, I'm not sure you can install python apps on shared hosts [00:17] (I'm fairly sure you can't unless it's a virtual server or the likes) [00:19] beuno: thank you [00:20] beuno: maybe something like this [00:20] beuno: http://joshstaiger.org/archives/2007/01/bzr_on_dreamhos.html [00:21] luislavena, ah, seems pretty straight forward [00:22] beuno: I'll need to check if the dependencies can be installed in the same way, since I've 2.4.3 available and only tested bzr with 2.5.1 [00:22] if you're allowed to install stuff in your home, for the most part, those same steps should work [00:22] luislavena, bzr works fine with python 2.4X [00:23] beuno: thank you for the info [00:23] beuno: is there a way I can see if everything works as expected ? (selftest?) [00:24] luislavena, yeap, bzr selftest [00:26] Uff. Not a particularly kind thing to do... [00:27] fullermd: What in particular? [00:27] fullermd: yes, I know... will make the shared host a nightmare to other users. [00:29] Odd_Bloke: running 'selftest' on a shared webhost? [00:29] because of cpu usage? [00:29] run it niced... [00:29] or run, say 'selftest command' [00:29] sorry, i mean 'blackbox' [00:30] cpu, disk... last time I ran it, it made my workstation crawl for about 40 minutes. [00:30] Still negotiating the restraining order my hard drive filed at the time... [00:31] fullermd: hehehe, no problem, the InstallationFaq contains pointers on how to check for the missing dependencies. [00:31] so far, the shared host lack all of them :P [00:31] I'll see if I can install them like bzr... [00:31] (on $HOME) [00:32] fullermd: Ah, OK, I was thinking more generally. [00:40] ffworked fine on dh for me [00:44] bob2: how did you handle the dependencies? ElementTree, pyramiko, etc? [00:45] Well, you don't need paramiko unless you're sftp'ing _out_ from there. [00:46] aelementree is python, as is paramiko, and what fullermd said [00:46] you could probably even get bzr+http working, I think they do fastcgi [00:50] revie requested: http://bundlebuggy.aaronbentley.com/request/%3C1201262061.16337.52.camel@lifeless-64%3E [00:54] bob2: how bzr+http will handle authentication? [00:54] poorly! [00:56] bob2: uhm [00:56] luislavena: it should handle it fine [00:56] lifeless: thank you :) [00:57] but anyway, it fails to compile the c part of bzrlib [00:57] so I think this shared host is not as good as other ;-) [00:57] hm, I was reading the bzr+http docs yesterday, and it looked like you couldn't control what people could write to [00:58] bob2: thats access control not authentication [00:59] bob2: bzr+http delegates authorisation and authentication to apache and makes no direct effort at access control [01:00] touche [01:00] Well. Access control is a subset of authorization... [01:00] fullermd: bup [01:00] fullermd: bah, nup, its not [01:01] fullermd: its a subset of AAA, but other than that you can have any one without the other two [01:01] The third A in AAA is 'accounting', though. [01:01] but it's not possible to have differing read and write authorization with bzr+http yet, right? [01:01] bleh, my brain has clearly faded [01:02] Dirstate does that to ya ;) [01:02] bob2: depending on what granularity you want, yes or no [01:02] bob2: in a single repository, we still depend on VFS access for some methods, so any access to the data base implies full data visibility [01:03] I would phrase it as "bzr+http delegates authentication to Apache, and abdicates authorization to merely be contingent on authentication". [01:03] bob2: but you can certainly split read and write access in a couple of ways - you can run the server with different parameters via the apache config to block writers [01:04] The usual suggestion for that is "read/only bzr+http, read/write bzr+https with HTTP auth" [01:05] not sure why you'd split the protocol [01:05] but whatever [01:09] Well, that makes the URL's almost the same on both sides. Gives you SSL where you're sending auth info over the wire. [01:10] digest auth ftw; or has that not landed yet ? [01:10] Well, it would also prevent a MitM when you were pushing data. If anybody still bothers trying to carry those out. [01:11] digest supports body signing [01:11] plus sign your commits kthxbye [01:16] igc: I wonder if I can borrow you for http://bundlebuggy.aaronbentley.com/request/%3C1201262061.16337.52.camel@lifeless-64%3E [01:17] lifeless: sure. Meant to get to it yesterday. [01:17] I'll move it to the top of my review list [01:18] (ahead of thumper's one) [01:18] :( [01:21] guys, there is no feed generator that can hook push and commit? [01:22] branchfeed seems old and don't work. [01:23] luislavena: my plugin should still work [01:23] lifeless: can you point me to the branch? [01:23] one sec [01:24] lifeless: thank you [01:25] branchfeed is what I called mine lol, I had to re-read it [01:26] lifeless: the one here doesn't work: [01:26] https://code.launchpad.net/~bzr/bzr-branchfeed/trunk [01:27] it's supposed to generate a feed in .bzr/branch/branch.atom, but no file get generated. [01:28] https://bugs.edge.launchpad.net/bzr-branchfeed/ [01:28] could you file a bug please [01:29] lifeless: will help you if I run the plugin selftests? [01:30] is the plugin installed on your client or server? [01:30] client, doing everthing locally and sometimes using smart server. [01:31] yah, I can't look at this right now [01:31] please file a bug with as much info as you can gather [01:31] lifeless: yeah, sure. thank you again :) [01:39] lifeless: done :) [01:45] New bug: #187479 in bzr-branchfeed "BranchFeed don't generate atom feed after commit or push" [Undecided,New] https://launchpad.net/bugs/187479 === mw is now known as mw|out [02:07] guys, another silly question, but i cannot find a way to verify the signed commits [02:08] there is sign-my-commits and re-sign, but no verify-signed-commits or something similar. [02:11] poolie: perhaps https://code.edge.launchpad.net/~mbp/bzr/dev should be registered, its a dupe with https://code.edge.launchpad.net/~bzr/bzr/trunk [02:11] luislavena: yah, someone was working on it [02:13] lifeless: good to know, the check_signature and create_signatures configuration options works? [02:14] (branch based and globals) [02:15] ok, it seems so, just wanted to be sure :) [02:15] lifeless: is get_data_stream_for_search meant to have ordering restrictions? === variaas_ is now known as variaas === variaas is now known as variaas_ [02:59] abentley: no more so than the get_data_stream api it replaced [03:00] They both have prefixes with lists of versions after them. [03:00] I'm not sure whether a prefix is allowed to be repeated. [03:00] The use of prefixes suggests that the designer wasn't expecting the prefix to change frequently. [03:00] I don't think the current code or tests prevent that [03:01] the goal was a single namespace for all data atoms [03:01] Since ('a')['b'], ('c')['d'] isn't all that helpful. [03:02] But in packs, I would expect the prefix to change at least twice per revision. [03:02] why? [03:02] If you read from the beginning. [03:02] oh right [03:02] currently on sftp I do four readv's per pack [03:03] each readv linear sorted [03:03] (for fetching this is) [03:04] Cool. [03:04] that seems a reasonable tradeoff in simplicity/speed - it lets us keep the read revision, read inventory, read texts etc sequence [03:04] Oh, I see. [03:04] which means we don't copy unreferenced data, can sanity check etc [03:05] But revisions and sigs are fulltexts, so it wouldn't hurt to read them at the same time as inventories. [03:05] No additional memory cost, at least. [03:05] and transactional inserts into the repository means we can just flush to disk [03:05] abentley: right, it can certainly be tweaked; howver the sigs and revisions are in different indices to the inventories [03:06] so if we were trying to optimise memory more we would actually be dropping index content from memory after grabbing the data for that index [03:06] Yes, I suppose it makes sense to do each index in turn. [03:07] I haven't had any breakthough thoughts about storage/repository; I will reply to the thread though and see if we can get a good compromise; I _do not_ want to prevent improvements [03:08] Even though we haven't agreed on the structure for Storage, I think that we can agree that an implementation of iter_files_bytes that reads each pack only once would be a win. [03:09] abentley: oh for sure [03:09] So I'm going to look at restructuring the knit-building code to support that. [03:09] abentley: great; I hope you'll find its already half way tere [03:09] *there* [03:09] I split out the 'get data' stuff to a KnitAccess helper a ways back [03:10] Oh, I've been wondering what that thing was. [03:10] so PackAccess knows how to get stuff from an arbitrary key [03:10] by mapping the key which is (index, key) [03:10] through the index to get an actual pack file [03:11] KnitAccess maps likewise but to a single file the .knit file [03:11] this gives KnitData as simply providing the logic for combining hunks etc [03:11] Hmm. Somewhat different approach than I was thinking, but it could work. [03:12] and KnitIndex maps into a combined index for packs, which filters out the fileid prefix [03:12] so what I have been thinking about doing is [03:12] adding a file id prefix to the standard knit code [03:13] which the existing KnitIndex stuff would enforce as always being the file id the index is for [03:13] and the pack index mapper would just stop filtering out the file id prefix [03:14] thus giving the existing iter_versions etc stuff the ability to deal with many file ids at once [03:14] anyhow, I'm rambling - this is what I had in my head, not the only way to do it :) [03:14] Well, it's interesting. [03:15] I basically already have the code to map a bunch of requested knit entries to their pack transport/name/offset/size. [03:16] So I was thinking about doing that part up front. [03:17] the map code should a single index iter_entries query really :) [03:17] Basically via the iter_raw_items variation on get_data_stream. [03:18] Yeah, I like that. [03:19] the thing I like about extending knit is that the combining logic does not get duplicated, or have to move [03:20] so improvements there will still help anything thats roughly delta combining related [03:24] The downside is you can't retrieve everything in a single read. [03:27] hmm? sure you can [03:27] get_raw_records [03:29] used by read_records_iter_raw [03:30] so read_records_iter_raw is already multiple-file-id ready, as long as the _Access object it has been given is [03:33] By everything, I meant fetching files, revisions, inventories and signatures all at once [03:33] oh right [03:34] You can achieve that by adding a prefix, I think. [03:34] hmm, if we guarantee that the indices contain enough data [03:37] You then wind up with something very close it Storage.iter_raw_items. [03:37] I like the idea of getting get_data_stream and insert_data_stream [03:38] s/it/to [03:50] lifeless: I think you were cut off: "I like the idea of getting get_data_stream and insert_data_stream" [03:58] But I'll mention that if we get the inventory first, we can do fetch and build_tree at the same time. [03:59] yup [03:59] fetch currently puts the inventory before all texts [03:59] for locality of reference its grouped too [03:59] not really cut off; just not finished === lamont` is now known as lamont [08:51] whats the difference between a branch and a trunk? [08:53] Aloha: one starts with a b, the other with a t. That's pretty much it. [08:53] weigon, whats the point of differentiating? [08:53] Aloha: "trunk" is svn-speak for the main-development-branch [08:54] weigon, so why have more than one branch? [08:54] Trunk is a branch that you call trunk. [08:54] Aloha: release-branches, feature-branches, merge-branches, ... [08:54] in bzr-world everything is a branch, everyone has it's own repository. [08:55] weigon, so whats the difference between feature branch and release branch? [08:55] Aloha: I think the best example is taking a look how the linux kernel-development works [08:56] Pretty much the difference between a water glass and a milk glass... [08:56] why would my project have more than one branch? different parts of it go in different branches? [08:57] Aloha: no, put sometimes you have to release something to users|customers [08:57] and they call you 6 month later about a bug and you are already working the next big release [08:58] weigon, so you can pull up the source code from that release and work on the bug? [08:58] ... and fix it for that release to build a new release (1.0.1), while you are still doing your main-dev in "trunk" for the 2.0 release [08:59] if you want to implement a new feature and want to write a Proof-of-Concept you will commit it not to trunk, but to a feature branch. [08:59] if it works well and matures, you merge the new feature back into trunk [08:59] weigon, so your source code that you edited would be in 1.0-dev branch and your release would be in 1.0.1-release? [09:00] if it doesn't work out, you only have to trash your work, not the work of others that are in the main-dev branch [09:00] weigon, gotcha [09:00] if you do it right, the main-dev branch is always in release quality [09:01] everything unstable is in feature branches until it is well tested and can be merged over [09:02] weigon, gotcha [09:03] Aloha: that means proper test-cases, unit-testing, ... [09:04] weigon, do you have a seperate branch for debian packages? or do you make those from release tarball? [09:16] Aloha: debian packages are built aside anyway. [09:16] weigon, aside? [09:17] Aloha: scroll down on http://packages.ubuntu.com/feisty/net/hostapd [09:17] Source Package: hostapd, Download: [dsc] [hostapd_0.5.5.orig.tar.gz] [hostapd_0.5.5-3.1.diff.gz] [09:18] it is always a the original tar + a diff that includes the build-files for debian [09:18] weigon, i know but the files uses to build the original tarball, does anyone keep a debian branch knowing that that branch will only be used to build packages? [09:19] s/uses/used/ === doko_ is now known as doko [10:40] New bug: #187593 in bzr-webserve "list index out of range" [Undecided,New] https://launchpad.net/bugs/187593 === mrevell is now known as mrevell-lunch === SteveA_ is now known as SteveA [13:14] hi. I just installed the bzr-svn plugin (I am running fedora core 7). However, when I try to check out an svn branch, I get an error telling me that the url is not a branch. The cmd 'bzr selftest svn' failed, but I cannot make out what the problem is. Can anyone help me out here, please? [13:15] the error I get is '_get_location_config() takes exactly 1 argument (4 given)' === mrevell-lunch is now known as mrevell [13:40] ok, I found out the error. I relates to bzr-svn not being able (yet) to check out from webdab [13:40] webdav [15:01] ricardokirkner: bzr-svn supports webdav yet [15:03] ? [15:18] Can anyone tell me the significance of .~1~ files in my BZR trees? [15:21] They're files left behind by 'bzr revert' [15:21] When you 'bzr revert' it moves your locally-changed file to .~1~ in case you wanted to keep it, before overwwriting it with a clean copy [15:21] Aha, thanks [15:21] * awilkins executes ls -r -inc *.~1~ | rm === mw|out is now known as mw [15:28] awilkins: there is bzr clean-tree --detritus, from the bzrtools plugin. try it with --dry-run first. [15:56] info je [15:56] info jelmer [15:57] whoops [15:57] sorry === bigdo2 is now known as bigdog [17:01] after i upgrade my launchpad branch using sftp://@bazaar.launchpad.net/~username/project/branchname, what should i do to my local working copy? [17:01] alefteris, upgrade it too [17:01] and, reconcile both [17:01] bzr reconcile sftp://@bazaar.launchpad.net/~username/project/branchname [17:03] i was reading this http://beuno.com.ar/archives/48, it mentions that I should recogline only if there is a problem.. is reconcile a dangerous operation? [17:03] alefteris, oh, then I have to correct it [17:03] you *must* do reconcile [17:03] :) [17:03] alefteris, no, it isn't [17:03] upgrade might be [17:03] ok thanks [17:04] alefteris, I changed it a few hours ago, can you see if it's clearer now: http://beuno.com.ar/archives/48 [17:04] (upgrade, on the other hand, already does it's own backup before doing anything, so all operations are fairly safe) [17:04] hey folks. does this mean anything to any of you? [17:04] [projects]$ bzr branch bzr+ssh://arolsen@bazaar.launchpad.net/~exaile-devel/exaile/main/ exaile [17:04] bzr: ERROR: Could not install revisions: [17:04] sasongko@gmail.com-20080129204555-7h0j46m8wwlpcff2 [17:06] synic, what version of bzr are you using? [17:06] 1.0.0 [17:06] synic, you might want to use http to branch [17:07] (and, is that your user in LP?) [17:07] well, I'm trying to branch because a pull failed with the same error [17:07] yes, that's my LP user [17:07] beuno, you used to have a "check" step before the upgrade, its not actualy needed? [17:07] alefteris, not really, if you have knits, it isn't required [17:08] I also moved reconcile to _after_ upgrading [17:08] it's million times faster [17:09] synic, let me try and branch it [17:09] yeah, I just installed bzr 1.1 and same error [17:09] I get 0 revisions [17:10] uh, there are a lot more than 0 revisions [17:10] hmmmm [17:11] LP is reporting problems with the branch... [17:11] great. [17:11] synic, can you do: bzr reconcile bzr+ssh://arolsen@bazaar.launchpad.net/~exaile-devel/exaile/main [17:11] has the branch been upgraded lately? [17:12] well, I didn't do it (I wouldn't even know how), but one of the other devs may have done something [17:12] synic, try and run reconcile, and I'll ask in #launchpad if anyone can help [17:12] running it now [17:13] ah, you already did... [17:13] let's give reconcile a try first [17:23] whew, reconciling isn't the speediest operation, heh ;-) [17:24] beuno: ok, yeah, it's still broken. [17:25] synic, argh... I suspect it's a LP problem [17:25] bummer [17:26] lifeless, jam, abentley, any ideas on why https://code.launchpad.net/~exaile-devel/exaile/main might be broken? [17:27] Broken how? [17:28] abentley, it doesn't branch [17:28] 0 revisions [17:28] and LP reports it has a problem [17:28] synic already ran reconcile on it [17:28] and still nothing [17:28] (nobody seems to be available in #launchpad) [17:30] I see there is a broken character in the last commit message [17:31] but I'm not sure if that can cause LP to go crazy [17:31] (codebrowse also breaks: http://codebrowse.launchpad.net/~exaile-devel/exaile/main/files) [17:32] yeah, but on all the revisions, not just the last one (I don't know if that means anything) [17:32] synic, I think it basically mean LP can't ready from the branch either [17:33] hrmm [17:33] Yeah, you can see the "branch has errors" thing on the page [17:34] abentley, so... how can this be solved? push --overwrite from a healthy copy? [17:34] It's also in format 5, which is a bit odd. [17:34] Did you upgrade it? [17:34] or did you push from an upgraded branch? [17:34] synic, can you find out what the last dev did? [17:35] I'll have to wait until he gets online [17:35] But I can confirm that revision-history is empty, so Bazaar is correctly interpreting that. [17:36] I'm not real excited to hear that :) [17:37] synic, maybe the branch was upgraded and not reconciled [17:37] do you have a healthy copy locally? [17:38] (even if a bit out of date) [17:38] I have one at home. I've been trying to log in and get it, but I can't get in for some reason [17:38] * synic thinks of where there might be another [17:39] ah, I have one on exaile.org, but I'm not sure how old it is. [17:39] synic, just so we can check what storage format you have and narrow it down to "someone upgraded recently and broke stuff" [17:41] ok, yeah, I found it. How do I check? [17:41] synic, bzr info -v | grep 'repository' [17:42] bzr: ERROR: Unknown branch format: 'Bazaar pack repository format 1 (needs bzr 0.92)\n' [17:42] synic, ah, so it's packs. And you're using some old bzr version [17:43] on exaile.org, yeah. It's 0.90 [17:43] I'll upgrade, if it won't hurt anything [17:43] synic, I would recommend upgrading it to 1.0 (or 1.1 even) [17:44] k, doing that now [17:44] you should try and get a hold on the last dev that uploaded [17:44] see if he can fix his locla copy [17:44] if not [17:44] find the latest healthy one you can find [17:45] to 'bzr reconcile; [17:45] s/;/' [17:45] and then add the changed files [17:45] ok [17:45] commit [17:45] and move on :D [17:46] make sure everyone is using bzr 1.0+, and have upgraded their local branches [17:46] I just blogged on how to upgrade a few days ago: http://beuno.com.ar/archives/48 [17:46] beuno: I'm trying to get more info on this, but no luck so far [17:48] abentley, great, thanks! synic can you stick around for a while and see if we can dig a bit deeper? [17:48] yeah [17:48] how do i get bzr 1.0 on ubuntu? [17:48] might be a bit before the other dev signs on [17:48] if he does at all [17:48] he's in australia, I'm in utah [17:48] thanks [17:48] dacresni, you can get the latest from: https://launchpad.net/~bzr/+archive [17:49] bzr info -v | grep repository repository: Packs containing knits without subtree support [17:49] that's after the upgrade. [17:50] i c [17:50] synic, good. I would run 'bzr reconcile' on it now [17:50] thanks beuno [17:50] dacresni, no problem! :D [17:51] beuno: it says "no repository present". Ack, it's a checkout, not a branch. Rats. [17:52] synic, you can use 'bzr unbind' to make it into a branch, although I'm not sure who it's parent is [17:52] it's parent is the broken branch [17:53] synic, I believe unbind won't call the parent at all if it's a regular checkour [17:53] s/checkour/checkout [17:53] heh, it's a --lightweight [17:53] aaargh [17:53] not your lucky day... [17:54] no, no it isn't. [17:54] well, I'd find out what kind of beer abentley likes then :p [17:54] You could try doing bzr reconfigure --branch, though. [17:55] in the checkout? [17:55] synic: yes. [17:55] k [17:55] I like irc so much more than forums, its so much harder to search for what you wnt [17:55] That assumes that upstream actually has the necessary revisions. [17:55] c ya [17:56] bzr reconfigure replaces bind, unbind and remove-tree. [17:57] Though I suppose you probably want reconfigure --tree. [18:01] hey, back [18:02] had a bit of a "problem with the package [18:03] well, i just wan'ted to fix my commit signing process [18:05] it responded gpg: problem with the agent - disabling agent use [18:05] bzr: ERROR: Failed to gpg sign data with command "['gpg', '--clearsign']" [18:06] is this a bzr issue or a gpg issue [18:07] ? [18:07] beuno are you still there? [18:08] dacresni, yes, although I haven't used gpg signing in bzr [18:08] have you signed any commits yet? [18:08] i tried [18:08] no i haven't [18:08] do you have your key setup with gpg? [18:09] i think so [18:09] i followed the instructions on the pgp site [18:09] i mean gpg [18:09] and those of the bzr site linked from bzrVSgit [18:10] the one http://blogs.gnome.org/jamesh/2007/10/04/signed-revisions-with-bazaar/ [18:12] dacresni, and you've setup the email to use to sign commits? [18:12] im using this localy [18:12] so no [18:15] dacresni, does: gpg --list-keys print out your key? [18:15] hmm [18:15] yes [18:16] and that's the same email address you have configure in "bzr whoami"? [18:16] pub something [18:16] uid, my info [18:16] accept for the comment [18:16] o wait [18:16] beuno, the upgrade prosedure at a launchpad branch sure takes a while :) [18:16] ok, so i put my whole name [18:17] thanks i guess ill be fixing that [18:17] alefteris, ah, yes, large branches + remote access are always fun to watch :D The upgrade is worth it though! [18:17] dacresni, np [18:18] shouldn't it not use the comment? [18:18] thats kind of silly [18:19] i have 2 keys, one at home and one at work [18:19] dacresni, that's why you can specify your email on ~/bazaar/, so it can find the key you want [18:20] i c [18:21] ok, so i added the comment to my email, [18:21] thats probibly going to screw up my patch emails should i use them in the future [18:22] email not valid [18:23] seriously, does anyone know how that works? does it really compare the entire line? or could it exempt the comment? [18:24] dacresni, I haven't used it really. jelmer, I believe I've seen you play around with signing commits? [18:29] dang, i wonder if that came from intering the pass fraze to often [18:30] dacresni, sorry, everyone seems busy today [18:30] 'ts ok [18:30] it seems the probliem with pgp [18:31] there seems to be a problem with the aigent [18:35] beuno: yep, I'm signing most of my commits [18:36] could you help [18:36] dacresni: is there a particular reason you'd like to sign commits ? There is no way to verify signatures yet afaik [18:36] well, [18:36] i was trying to get my boss to use it [18:36] dacresni: Should be a matter of setting "create_signatures = always" [18:36] but first i need to get the security features workign [18:36] o yeha [18:37] thats already there [18:37] otherwise it wouldn't be asking me to sign would it? [18:37] dacresni: right, so what exactly is your question ? :-) [18:37] that should be all there is to it. [18:38] why isn't gpg working, sorry it seems to be a problem with the agent [18:38] dacresni: Have you got gpg working outside of bzr ? [18:38] just now, no [18:38] i'll give you the error message [18:39] gpg: problem with the agent - disabling agent use [18:39] bzr: ERROR: Failed to gpg sign data with command "['gpg', '--clearsign']" [18:39] dacresni: Did you create a key earlier? [18:39] but first i need to find out yes [18:39] dacresni: Also, there is no added security in signing revisions at this point.. [18:39] yes i created the key [18:39] oy, [18:40] Does "gpg --clearsign " on the command-line work? [18:40] same issue [18:40] gpg: problem with the agent - disabling agent use [18:40] the agent is optional [18:40] and then proseads [18:41] well, this is kind of confusiong [18:41] that's just a warning, it should work fine without the agent as well [18:41] sorry [18:41] confusing [18:41] it did work, (im finding that i've already commited something" [18:41] but bzr still exits with an error [18:41] it does the signature after the commit [18:41] was this resolved in later version? [18:42] well let me see [18:42] so if the sign fails you will still have a revision, it just won't be signed [18:42] well [18:42] i can't find the revision comment [18:45] that IS a problem [18:46] dacresni: it's not in "bzr log" ? [18:46] nope [18:46] has anyone else experienced this problem [18:46] ? [18:46] dacresni: What problem specifically? [18:46] not being able to sign revisions? [18:47] i will disable the signing but, not being able to comment revisions [18:47] thats a problem [18:47] dacresni: What do you mean with "comment" revisions? [18:47] let me see if disableing signing allows my comments to be saved [18:47] dacresni: Not being able to specify a commit message? [18:48] well, [18:49] theoreticly yes but, if its not saving my comments, it snot saving my revisions [18:49] i want to know if this ever happened in a more recent version [18:50] im using, just now, 1.1.0 sorry [18:50] i thought i was using 094 like i was an hour ago [18:50] dacresni: What do you mean with comments? commit messages? [18:50] "the package gave me errors in debian" [18:50] yes the commit messagese [18:51] dacresni: Does it ask you for a commit message or do you specify one on the command line? [18:51] its been fixed after signing was disabled [18:51] ok [18:51] it asked for a commit message [18:51] this is interesting behavior no? [18:51] beuno, upgrade finished, ole :) [18:52] dacresni: It simply doesn't add a revision for me if the sign step failed [18:52] alefteris, yay! Now reconcile should be fairly quick [18:52] thats what's happened for me [18:53] i just didn't look at it like that [18:53] dacresni: That's correct. [18:55] so where is the branch where they are implementing the security? [18:55] the revision signing? [18:55] dacresni: Revision signing has been supported for a long time [18:55] afaik nobody has started working on signature verification yet [18:56] ps this didn't happen at home, on my mac. i dont think [18:56] here im using ubuntu [18:56] dacresni: what exactly didn't happen on your mac? [18:56] at home, macports on a g5 [18:56] it worked as normal [18:56] i installed macgpg [18:56] then added the line to my bazaar config [18:56] dacresni: It's gpg that's misconfigured on your Linux machine [18:56] then i signed some local commits, and it worked [18:56] probibly [18:57] I'm quite sure it is [18:57] i do believe the probem was with gpg [19:01] this is why i straddle between mac and linux [19:01] linux you have democracy issues and mac you have monarchy issues [19:01] like that dtrace issue... perhaps i should use solarus [19:02] dacresni: There are more userfriendly frontends for gpg on Linux [19:02] but how can any work if gpg has issues [19:03] They can take of configuring gpg for you [19:03] so what does that/ [19:03] ? [19:03] what do you mean? Examples of programs? [19:03] yes, please [19:07] first, whats this agent the error speaks of? [19:10] dacresni: seahorse is one [19:10] dacresni: gnupg's agent program [19:10] dacresni: I don't use it but apparently you've got it configured [19:10] but what is the agent in reference to gnupg [19:11] and why did mine screw up [19:11] Am I somehow getting Bazaar from the wrong universe? On Windows and OSX I'm at 1.1.0 On Ubuntu the most recent version from apt-get seems to be 1.0.0.candidate.1. Is my Ubuntu installation messed up? [19:11] dacresni: You may want to ask in the gnupg channel [19:11] dacresni: I suspect it's something similar to ssh-agent [19:11] but for gpg [19:12] dacresni: Still, why are you so keen on setting up signing revisions? There's no point in doing so at this time and Bazaar may have better integration with apps like seahorse in the future. [19:12] i c [19:13] well, i wanted to get some kind of security so that this app is comparable to git in some other way other than workflow flexablility [19:14] brink_: Get it from PPA. [19:14] brink_: https://launchpad.net/~bzr/+archive [19:16] dacresni: revision signing won't get you any security at all at this point. it may help you verifying the integrity of now signed revisions in the future [19:16] well, ok [19:16] the only reason why i look at this project more closely than git is because it's all done in one language [19:16] instead of 5 [19:16] dacresni: I agree it's a useful feature though [19:16] 1 being c [19:17] dacresni: bzr is written in python... [19:17] no i mean one of gits language being c [19:17] ah, ok [19:21] Peng: Thanks. I'll give it a try. [19:22] Wait, so signed revisions aren't verified? [19:22] yup [19:22] That...sucks. [19:23] i would like it if it varafied the integrity of the signature before its accepted to the tree on bzr servers [19:23] i guess we'll have to settle for ssh [19:24] not that that's a bad thing [19:28] * Debolaz still has a fondness for the simplicity of git's design. [19:29] hmm [19:29] im curious of what that is [19:29] Debolaz: in what way is git simpler than hg or bzr? [19:29] i mean, simple is linus's style but how is git siimple [19:29] the way the commands work? [19:30] the security model itself [19:30] ' [19:30] ? [19:30] The commands are horribly complex. [19:30] exactly [19:31] But the fundamental ideas that git is based on are very simple. [19:31] and those are? [19:31] Debolaz: I don't see that those ideas are so different from the ones in bzr or hg though [19:31] the decentralization model bzr copy [19:31] dacresni: bzr is older than git... [19:32] Everything is an object in a filesystem, named after its content. Every branch is simply a file pointing to an object. When you update, you just make new objects and write the name of the head tree object to the branch file. [19:32] really? [19:32] i didn't know that [19:33] Also, the DVCS model is older than either bzr or git.. [19:33] Debolaz: The only thing that's different there is that bzr doesn't name a file after its contents but uses a pseudo random id [19:33] It could easily be reimplemented with a few shell scripts. Horribly inefficiently implemented, but still very simple in concept. [19:34] ? git could be reimplemented in a few shell scripts? [19:34] Debolaz: I still don't see what's so fundamentally different. === mw is now known as mw|food [19:34] so mw is out to lunch"? [19:34] I think it's dinner, rather [19:35] its only 1 [19:35] o wait [19:35] never mind [19:36] jelmer: Well, I never made the claim that it was fundamentally different. But it is different, and it is simpler. Granted, I know very little about bzrs internal workings, but even if what you say is the only big difference in storage, then that still increases complexity by some bit. [19:37] some complexity is necessary to get efficiency and features [19:37] git's original storage model was horribly space inefficient [19:38] Yes it was. But very simple. [19:38] Debolaz: Using ids rather than file contents to identify files doesn't impact the complexity of the storage layer all that much [19:38] Debolaz: And you've still failed to mention a reason why it's simpler. [19:38] simple and unusable for the primary use case [19:39] i'm not sure what's so admirable about simplicity if it doesn't do what you need [19:39] jelmer: You lose the ability for renames to be detected by design for instance. You have to track this differently somehow (Possibly using hashes, but then you're back at square one again). [19:39] well, this has been the argument between git and bzr before, storage format [19:39] Let me again emphasize that I'm not saying anything bad about bzr here, I barely know bzr. :) [19:39] Debolaz: bzr tracks renames explicitly rather than inferring them using complex algorithms that have to determine whether one file was a rename of another. [19:40] it's highly debatable whether automatically detecting file renames is a good idea [19:40] it might because not could cause duplicity [19:41] it can do really bad things in the worst case, and a lot of effort is put into making sure that the worst case for a merge algorithm isn't all that bad [19:41] Debolaz: Right, I'm not saying git is bad or there are no reasons for picking git over bzr either. I just don't understand why you claim git is simpler... [19:41] CVS is simpler yet; we should switch :) [19:41] rcohen: yeah, I agree. It's usually better if you can predict when it's not going to work [19:42] fullermd: :-) [19:43] rcohen: Finding the right way to track file identity is hard though [19:43] rcohen: bzr uses file ids, but they only allow you to track renames, not e.g. copies [19:43] i'm a big fan of doing it explicitly [19:44] i don't think supporting copies is all that useful [19:44] the point of doing it would be that whatever merge algorithm would be aware of it [19:45] in my experience, a user would use the copy when they wanted to split a file [19:45] copies can be useful when splitting files [19:45] I'm a lot more interesting in splits and joins. But copies you can kinda get for free with those mechanisms, so... [19:45] which, if you then tried to merge across it, would cause horrible conflicts and ambiguity [19:45] jelmer: Because I gave the complete description of how the fundamental of git works above, and I do not think bzr or hg can be described with as few lines. git is a simple design. Possibly at the cost of efficiency, userfriendlyness (Yeah, I agree about the commands being less than idea), and other things. Bzr might be better at those things and yes, I agree those things are a higher priority for most users. [19:46] Debolaz: the description you just gave above almost matches bzr and hg [19:46] Debolaz: the point is that in order to be useful even git has taken on extra complexity [19:47] Debolaz: by comparing git "conceptually" to the implementations of bzr and hg you're comparing apples and oranges [19:47] jelmer: I know there are significant differences from it at least for hg. Simply naming a revision by a SHA1 ID is not the same thing as actually storing the content in a file with that name. The former might be a part of something significantly more complex. [19:47] But I guess we can agree to disagree, I don't want to make this turn into a flamewar. :) [19:48] Debolaz: yeah, let's do that :-) [19:48] Shucks. I was just making popcorn... [19:48] rcohen: Yeah, merges would be an interesting problem for splits [19:48] rcohen: but it would be awesome if we could get that working [19:49] jelmer: believe me, i've thought a lot about it [19:49] there be dragons [19:49] However, I would like to make a point about automatic detection, not neccesarily about renames. Whenever something isn't automatically detected, or enforced a certain way, users will screw it up. I think the most notable example of this is subversion branching. [19:49] rcohen: :-) [19:49] rcohen: even without proper merge support being able to represent copies would be nice though [19:50] rcohen: since we get that data when we import from other version control systems [19:50] jelmer: it's hard to say what should happen without merge support [19:50] let's say your merge doesn't know anything about copies and the system pretends that the full history applies to both files [19:51] now, you didn't really want a copy, you wanted a split [19:51] so you go ahead and delete half of each file [19:51] in another branch, someone modified the file [19:51] then you merge that branch in [19:52] suddenly, you've got a massive conflict in the file which deleted that section [19:52] rcohen: ouch, yeah, that would be a problem [19:52] now let's say you didn't want to split, you really wanted a copy (because you're into cutting and pasting, who knows) [19:52] Debolaz: yeah, leaving out the concept of a branch really hurt Subversion [19:53] someone in another branch modifies the file [19:53] Debolaz: and it hurts bzr-svn now, since it has to guess what users consider a branch [19:53] you merge that branch in, both files get the merge, but you only wanted the "original" to get the change [19:54] is there a way to create a branch in an svn repository using bzr? [19:54] i tried bzr push but it threw an error at me [19:54] foom: try "bzr svn-push" [19:54] one of the big problems is that there are conflicting use cases for copy [19:54] foom: I haven't gotten round into implementing it in "bzr push" yet [19:54] aha, thanks. :) [19:55] i could make you even more afraid if you wanted to support a separate "split" command :) [19:55] thats like telling telling a species with no eyes that something is red [19:55] rcohen: I was about to suggest that :-) [19:55] rcohen: Actually, we already have a split command, but it splits trees, not files [19:56] thats only a little inefficient [19:57] jelmer: let's take an easy case for split, the top and bottom halves of a file each go their own way [19:57] beuno: The error message we have is Could not install revisions: sasongko@gmail.com-20080129204555-7h0j46m8wwlpcff2 [19:57] jelmer: what happens if in another branch someone adds content at the place where the file was split? [19:58] jelmer: it gets worse if there are conflicts at the split point [19:58] beuno: I realize you've already seen something like that. [19:59] rcohen: Representing that conflict in the file(s) would be the tricky bit. [19:59] jelmer: it's not so much the problems with the merge algorithm and the UI [19:59] jelmer: I've had to extend git-svn for the same reason. It makes the ideological but foolish assumption that the subversion users know what they're doing. :) [20:00] s/and the UI/as the UI/ [20:01] rcohen: Perhaps create conflicts in both files, adding a conflict in both cases and a comment? [20:01] rcohen: I see your point though [20:02] jelmer: also remember that was the easy case :) files can be split in other bizarre ways which may not be detected properly or are partial copies, etc etc [20:02] Aaron has also explained some other issues potential issues with merges after copy earlier [20:03] Even without merge, I think copy could be still be quite useful though [20:03] for "bzr log" and "bzr annotate" [20:03] * fullermd seconds. [20:03] and just for roundtripping [20:03] so just an annotation in the history which says "this file was copied from that file"? [20:04] but not actually used for anything [20:04] rcohen: Well, only when looking at the history of a file [20:06] rcohen: Do you know whether Subversion supports merges across copies? [20:06] not offhand, though i doubt it [20:06] rcohen: A day after you expressed reservations about LCA not doing resolution against the base initially, a user found the problem with that; it doesn't emit conflicts when one side deletes a line, but the other changes it. [20:06] rcohen: But in my defense, knit gets that wrong too. [20:07] abentley: ah, knit can be made to do that correctly :) [20:07] there's a subtle difference in how cdv and bzr implement the algorithm [20:08] in cdv, the annotations are on the space between the lines, which catches deletes [20:09] rcohen: Yeah, I know. [20:10] But even if you're even if you're versioning the lines, suitable historical info will let you catch that case. I'm pretty sure weave handled it, and I believe I can extend LCA to handle it, too. [20:10] yes, weave should handle it [20:11] if you are going to add annotation information to the pack format in the future, that may be worth keeping in mind [20:12] rcohen: Do you know offhand whether annotation of the lines can be cheaply transformed into annotation of the edges? [20:12] i understand that there are practical tradeoffs to be made, you obviously don't want to show the between-line versioning to users when they use the "blame" command so it would be extra info [20:12] i don't think so [20:13] i haven't really looked into it, it may be possible to store a small set of differences and otherwise make it automatic [20:15] abentley: if you have a fast way of determining whether i change came after another, then i think only the deletes would get lost [20:16] Pity deletes are the reason we're interested in edge annotation :-) [20:16] yeah :) but storing the standard annotation plus a little extra deletion info might work [20:18] Anyhow, I'm interested in edge-base merging generally because I believe it can do moves within files, and between files. [20:19] there be dragons [20:19] i'm currently more interested in improving the UI for conflicts [20:20] there are some conflicts which are difficult for users to resolve [20:20] for instance, someone deletes a big section of code, someone else makes a 1 line change to it [20:21] That one bits me with some regularity :| [20:21] the poor merging user is left to stare at these 2 huge blocks of code and figure out what's different and why [20:21] how does git handle it? [20:21] i mean, thats what comments are for [20:21] to tell why [20:21] in both revision comments and inline comments to the code [20:22] rcohen: Oh, I certainly have bigger fish to fry than that. [20:22] Comments don't help when I'm staring at 1 line of code, and 80 lines of code, where I took that one line from the 70-some that were on the other side last time, and have no idea which were added. [20:22] abentley: i've come to consider UI a big fish [20:22] That is, I don't plan on implementing edge merging soon. [20:23] I agree that UI is more important. [20:23] You get quickly diminishing returns with merge algorithms. [20:23] now, if your merge algorithm has annotation information, it should be possible to call out the 1 line which caused the conflict for the user [20:23] it sounds like you can't tell when either line was added or subtracted or which [20:24] abentley: absolutely agreed on diminishing returns, fun as it is to work on merge algorithms [20:25] i've got another crazy idea about doing per-conflict virtual common ancestors [20:25] i came up with it in the context of weaves, but it may be possible to fit it into other merge algorithms [20:34] Is there a way that version-info could somehow be inserted into my code automatically? [20:34] A revision number would be fine. [20:41] i have a low power/low resources hardware where a wiki like moinmoin uses too much memory. so i thought i could use a bazar repository there, with a working copy on the server. i'd then run docutils over that copy to generate my HTMLs. so, is there an easy way to run update and a script when i push my local repo to the server. [20:42] i could write a plugin, but is there a hook that is executed on the server when i do a push? [20:45] cliechti: maybe you'd like to take a look at http://ikiwiki.info, a static wiki "compiler". it's recently gained (or is about to gain) bzr support. [20:49] dato: ok, that's the direction i'm thinking of, but it seems that ikiwiki is using perl, so it is the wrong language with P for me ;-) and i'm having my nice ascii art to svg plugin in docutils :-) [20:50] cliechti: I'm completely a python person myself, but am quite happily using ikiwiki for my personal site. ymmv. [21:45] abentley, did you find out anything about that broken branch (FYI, it's not really mine, I was just helping out and got curious) [21:46] Kinda. I'm on a call right now. [21:46] * synic perks [21:49] abentley, no hurries [22:36] morning [23:04] Hi all. I keep getting an AttributeError: 'module' object has no attribute 'ssl' error when I try to branch any https:// url. Here's the bzr output: http://p.caboo.se/private/x2dbvkbelnrngdsscb9s1w [23:04] does anyone have a clue? I have googled to no avail [23:05] Rolly, seems you're missing a dependency [23:05] you think it's a python problem, or a bzr problem? [23:06] I am clueless when it comes to python, I'm afraid [23:06] Rolly, neither, you're probably missing some package [23:06] let me check [23:06] thanks :) [23:07] looks like your python doesn't have ssl support [23:07] which is a little strange [23:07] Rolly: what os are you on? [23:08] yeah, I just saw this: http://paltman.com/2007/11/15/getting-ssl-support-in-python-251/ [23:08] I'm on a debian etch box [23:08] w/ python2.4 installed from apt [23:08] maybe you need to install python-ssl or something [23:08] yeap, svn2bzr doesn't seem to require any special dependencies [23:09] _however_ [23:09] in this case just branch from http://bazaar.launchpad.net/~niemeyer/svn2bzr/trunk [23:11] cheers, I didn't think of that [23:12] that's what the url you were trying to access would have redirected you to [23:14] installing the ssl 1.13 python package didn't work [23:14] I would try to install python 2.5 from source, and use that. But I'm afraid to bork anything on this box that depends on python 2.4 :p [23:16] there's not usually much reason to install things from source on debian... [23:16] Rolly: install python2.5 packages? [23:17] mtaylor: I did, but the system python (`which python`) remains my old 2.4 [23:18] mwh: probably, but I'm mystified by the package system. For example, how would I go about reconfiguring my existing python 2.4 install? I have no idea [23:22] mwh: actually, http://bazaar.launchpad.net/ redirects to https://bazaar.launchpad.net/ [23:22] :( [23:39] mwhudson: do you have something to do with lag.net (loggerhead homepage)? the last two development link at the bottom of the page do not work properly [23:39] no === Rolly is now known as kumi === kumi is now known as rolly === mw|food is now known as mw [23:47] cool, I fixed my problem with just "apt-get --reinstall install python2.4" [23:47] :) [23:52] Hmm, there's a problem with svn2bzr. I have to comment out "import bz2", because that's part of Python now. But then bzr crashes with global name 'bz2' is not defined in lines like this: self._tree_cache[str(revno)] = bz2.compress(marshal.dumps(tree, 2)). [23:53] rolly: why do you need to comment out import bz2? [23:54] because if I don't, I get ImportError: No module named bz2 [23:54] rolly: that's because you don't have it then... [23:54] I think I read somewhere that bz2 is part of python [23:54] it is [23:54] that would be because it is NOT part of python :) [23:54] but you still need to import it [23:54] to use it [23:54] Ah ok [23:54] mtaylor@solace:~$ python2.4 [23:54] Python 2.4.4 (#2, Jan 3 2008, 14:46:35) [23:54] [GCC 4.2.3 20071223 (prerelease) (Ubuntu 4.2.2-4ubuntu3)] on linux2 [23:54] Type "help", "copyright", "credits" or "license" for more information. [23:54] >>> import bz2 [23:54] >>> bz2.__file__ [23:55] '/usr/lib/python2.4/lib-dynload/bz2.so' [23:55] but that file is in the python2.4 package [23:55] what python is your bzr trying to use? [23:55] 2.4.1 [23:55] head -1 `which bzr` [23:56] #!/usr/local/bin/python [23:56] ah. installing python from source are we? [23:56] that's 2.4.1 [23:57] ok, so that python install doesn't seem to have bz2 [23:57] is your bzr also in /usr/local/bin - like, you build/installed it from source? [23:57] hmm... that is obviously not the python I just reinstalled via APT. That was 2.4.4 I'm sure [23:57] right [23:57] I did build bzr from source [23:57] that would be in /usr/bin/python [23:57] ok. [23:57] so that means it's also in /usr/local/bin/bzr, right? [23:57] correct [23:58] any particular reason for installing from source? or that's just the way you did it? [23:58] rolly: you're running debian testing, right? [23:58] and also correct that /usr/bin/python can import bz2 [23:58] :| [23:59] mtaylor: I don't think so. How do I check? [23:59] cat /etc/debian_version [23:59] 4.0 [23:59] apt-cache show bzr | grep Version