garyvdm | mgedmin: MySql is a very big branch - I need to upgrade my copy to 1.9, because thats what it's using | 00:00 |
---|---|---|
garyvdm | 1.9 = btree index | 00:00 |
mgedmin | how many megs in ~/.bzr ? | 00:00 |
mgedmin | mysql moving to bzr was very good PR for bzr | 00:01 |
lifeless | hai marius | 00:02 |
lifeless | we're fast now | 00:02 |
lifeless | with the 2a format, which will be default in 2.0 | 00:03 |
garyvdm | mgedmin: ../.bzr/repository = 643300 kb | 00:03 |
garyvdm | The thing that makes qlog slow is 67003 revisions | 00:03 |
garyvdm | mgedmin: SmileyChris said "and now it's the pre-unbound revision" - So I don't think he has lost anything, just the merge that bzr up did. | 00:04 |
mgedmin | lifeless: hi! | 00:04 |
mgedmin | awesome to hear that! | 00:05 |
garyvdm | Hi lifeless | 00:05 |
lifeless | hi garyvdm | 00:05 |
mgedmin | zope 3 svn currently has 103359 revisions, but then it contains a multitude of projects | 00:11 |
mgedmin | still, 6-digit revnos scare me -- they start to look more like shortened hashes | 00:11 |
ronny | sup | 00:34 |
ronny | m i license-technical ok, if my code is cappable of running a directly imported bzr, but the backend-loader chooses to run it in another process instead | 00:35 |
ronny | i taught anyvc to run its backends in different processes and on different computers | 00:35 |
lifeless | ronny: I'm not sure I understand the question | 00:36 |
ronny | lifeless: ie not getting gpl imposed | 00:36 |
ronny | lifeless: i want to have fontends for anyvc that are bsd-licenses, so i need to get the gpl'd backends out of the process | 00:37 |
lifeless | IANAL | 00:38 |
lifeless | I suggest you bring this up on the list | 00:38 |
lifeless | http://www.gnu.org/licenses/gpl-faq.html may have something to say | 00:39 |
ronny | i belive im ok | 00:46 |
ronny | night | 00:47 |
=== JaredWigmore is now known as JaredW | ||
johnjosephbachir | hello. where can i read about what's coming in 2.0? | 04:52 |
cha0s | hey guys, i'm wondering if there's a flag i can pass to make bzr merge into an existing directory... | 07:02 |
cha0s | i'm sorry, i meant 'bzr branch' | 07:04 |
lifeless | james_w: do you know why config-manager was removed from debian? | 08:44 |
lifeless | (and ubuntu in intrepid) | 08:44 |
lifeless | all I've found so far is 'abandoned upstream', which is utterly utterly false. | 08:44 |
james_w | lifeless: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501890 | 08:53 |
ubottu | Debian bug 501890 in config-manager "config-manager: should this package be orphaned?" [Important,Closed] | 08:53 |
lifeless | yes, found that since asking - thanks | 08:54 |
james_w | so I guess no maintainer in Debian would be more accurate | 08:54 |
lifeless | I'm a bit miffed | 08:54 |
lifeless | I wasn't asked | 08:54 |
lifeless | no beer for anand | 08:54 |
* lifeless ITP's the silly thing | 08:54 | |
ciss | hi | 12:22 |
ciss | i'm quite new to cvs-managing projects. i'm looking for a way to create/manage a bzr repository via ftp on a shared hosting account without shell access. is this possible? | 12:25 |
lifeless | bzr init ftp://username@host/path/to/branch | 12:26 |
lifeless | you should give the getting started guide a read | 12:26 |
ciss | i did, but i guess i got lost somewhere :) didn't hope it would be that easy. thx! | 12:27 |
=== Pilky_ is now known as Pilky | ||
ciss | is there a way to get the status of the remote branch? "bzr status ftp://user@domain/path/branch" doesn't work for me, although init did | 14:16 |
ciss | could it be the ftp plugin won't work with that command? | 14:18 |
fullermd | No remote protocols handle WT's, so bare status won't work. | 14:20 |
fullermd | Though I think historical status should... | 14:20 |
fullermd | (of course, if you init'd it remotely, there wouldn't be a WT anyway, so even if it worked, it wouldn't ;) | 14:21 |
ciss | i guess i didn't fully grasp the concept ... *sigh* looks like there's no way around the deeper docs :( | 14:23 |
fullermd | Sooner or later, the docs always win... | 14:25 |
ciss | yeah, "i fought the docs, and the docs won" | 14:26 |
* fullermd wanders off for a few hours. | 14:26 | |
=== Pilky_ is now known as Pilky | ||
Stavros | hello | 17:03 |
Stavros | i have a branch i was working on a feature in, and i merged it to head, where did these changes go | 17:04 |
Stavros | ? | 17:04 |
Stavros | log-wise, i mean | 17:04 |
=== abentley1 is now known as abentley | ||
ciss | hi again | 18:56 |
=== abentley1 is now known as abentley | ||
ciss | asked before, but i think i can clarify a bit what i'm trying to achieve: | 18:59 |
ciss | i'd like to directly work with a remote branch via ftp. that is, init the branch remote, add all files remote, commit remote. there are several reasons not to mirror the branch and work locally on it. environment is a shared hosting space without shell access. | 18:59 |
ciss | is this possible? | 19:00 |
fullermd | In a word, no. | 19:01 |
ciss | darn | 19:01 |
ciss | is there an in-three-words, "you could instead ..."? | 19:02 |
fullermd | Well, sorta, but it mostly boils down to having or faking shell access. | 19:02 |
fullermd | I suppose if somebody smoked enough crack to write a ftpfs implementation, you could fudge it that way. You'd probably have to REALLY like pain, though. | 19:03 |
fullermd | Basically, the only thing you can do via remote protocols is ship revisions around. You have to make 'em somewhere localish. | 19:04 |
ciss | well, the server does speak python. would that help? | 19:04 |
fullermd | And while you COULD theoretically do that without having a local copy of a branch or local files and all, it would have to be such a contrived setup... | 19:04 |
ciss | e.g. would it be possible to set up bazaar as cgi and commit via a web interface? | 19:05 |
fullermd | You could write a web interface that would do such things. I'm not aware that anybody has. | 19:05 |
fullermd | If the CGI could write into $WHEREVER and execute /usr/local/bin/bzr (or, if you wrote python, load bzrlib and do stuff directly), it would be workable. | 19:06 |
fullermd | I dunno about _usable_, really, but... | 19:06 |
fullermd | The best answer, really, is to address the "reasons not to mirror the branch and work locally on it", IMO. | 19:07 |
fullermd | That's the point of the D in DVCS after all ;) | 19:08 |
ciss | it's the differences between the local and the remote environment and the dependance upon some db tables that would have to be fetched each time | 19:09 |
ciss | i don't even need anything fancy like branching or merging. a simple add, commit and revert will be all i need | 19:10 |
fullermd | The quick&dirty way would be to just throw together a bargain-basement-hax0r style CGI where you just type in the command lines and it runs them. | 19:12 |
ciss | sounds tempting :) | 19:12 |
fullermd | (of course, it goes without saying that whatever you do needs to at least PRETEND to be secure ;) | 19:12 |
ciss | like, don't post the link on boards, right? :D | 19:13 |
fullermd | You'd probably be happier in the long run with local dev environments, though. I do web work, and essentially all my dev is on my workstation. | 19:13 |
fullermd | It means I have to make a copy of the DB schema, but that's easy. It's in the VCS anyway. | 19:13 |
fullermd | Yeah, that would be a useful first step :p | 19:14 |
fullermd | (of course, if it were properly secured, you COULD post it on boards. That's kinda a touchstone, actually...) | 19:14 |
ciss | that gives me an idea: placing fake haxxor links on script kiddies boards to pages rimfilled with adds (or disguised subscription forms) | 19:15 |
ciss | ads | 19:15 |
ciss | but yes, i should probably rework my workflow | 19:18 |
gcerquant | I have what seems a very simple question, but Google couldn't help me | 19:20 |
gcerquant | I want to export my current revision, but without any history nor logs | 19:20 |
gcerquant | just the current files, in the state they are | 19:20 |
fullermd | gcerquant: Something different from 'bzr export'? | 19:20 |
gcerquant | I guess I could remove all .bzr files, but was looking for something less hacky | 19:21 |
gcerquant | I tried bzr export, but it seems all the info is still there (commit logs, ...) | 19:21 |
gcerquant | unless I miss something? | 19:21 |
* fullermd blinks. | 19:22 | |
fullermd | What's the _opposite_ of missing something? | 19:22 |
fullermd | export should just export the files... | 19:22 |
gcerquant | I just tested again | 19:24 |
gcerquant | Here is what I did: | 19:24 |
gcerquant | In my repo, I did: bzr export /tmp/test | 19:24 |
gcerquant | it exports all my files as expected into /tmp/test | 19:24 |
gcerquant | but when in /tmp/test, if I do bzr logs, I get all the commit logs | 19:25 |
gcerquant | I don't want them | 19:25 |
fullermd | Are you sure you're in /tmp/test? | 19:25 |
fullermd | export has never exported a .bzr/ dir at all, TTBOMK, much less one with a copy of the history. | 19:25 |
fullermd | And doesn't for me here in a quick test. | 19:26 |
gcerquant | there is no .bzr directory in /tmp/test | 19:26 |
gcerquant | but bzr revno gives me the revision number | 19:26 |
gcerquant | and bzr logs all the commit logs | 19:26 |
fullermd | What does info tell you? | 19:26 |
gcerquant | Checkout (format: pack-0.92) | 19:27 |
gcerquant | Location: | 19:27 |
gcerquant | checkout root: /private/tmp | 19:27 |
gcerquant | checkout of branch: /directory_of_initial_branch | 19:27 |
fullermd | Is /private/tmp the same as /tmp? | 19:28 |
gcerquant | yes | 19:28 |
fullermd | So, you're not seeing logs of /tmp/test. | 19:28 |
fullermd | You're seeing logs of /tmp. Because you're inside that branch (presumably, in a 'unknown' dir inside it, but that doesn't bother bzr) | 19:28 |
gcerquant | ? | 19:28 |
gcerquant | Ok, I get it | 19:30 |
fullermd | Branches extend down to infinity. If you mkdir /tmp/foo/bar/baz ; cd /tmp/foo/bzr/baz ; bzr log you'll get the same thing. | 19:30 |
gcerquant | ok, I got it | 19:30 |
gcerquant | at the beginning of my test, I did a bzr branch to /tmp | 19:30 |
gcerquant | I had removed it, but the invisible .bzr directory was still there | 19:31 |
gcerquant | and that's what I was seeing | 19:31 |
gcerquant | thanks for the help | 19:31 |
fullermd | NP :) | 19:31 |
gcerquant | good evening | 19:31 |
ronny | does bzr-svn support something like partial clone/checkout? of a svn repo? | 19:59 |
meoblast001 | hi | 23:08 |
meoblast001 | if i create a bzr server, how do i actually write to the branch? | 23:10 |
fullermd | meoblast001: That question is rather nebulous to try and answer. Can you be a little more specific? | 23:10 |
meoblast001 | do i just do bzr push bzr+ssh://mysshaccount@myserver.com/foo/bar? | 23:11 |
fullermd | If (a) bzr is installed or otherwise accessible on the server, and (b) you can write to /foo/bar, yes. | 23:12 |
meoblast001 | if the ssh user can, not the bzr server user, right? | 23:12 |
fullermd | They're the same thing in this case. | 23:13 |
fullermd | bzr+ssh boils down to "ssh host -c 'bzr --talk-to-myself-on-stdin'" | 23:14 |
meoblast001 | fullermd: nothing is happening :( | 23:21 |
meoblast001 | if the bzr server user doesn't own the directory, does it fail? | 23:21 |
fullermd | It'll error if it can't write there, yes. | 23:24 |
meoblast001 | i just get a 0 transfer rate | 23:24 |
meoblast001 | fullermd: / 0kB @ 0kB/s | 23:26 |
meoblast001 | i did bzr push bzr+ssh://braden@192.168.1.100:9090/meo3d | 23:26 |
fullermd | Odd port to be running sshd on, but that's your business. Path seems a little more suspect; you really mean to put things right off the root? | 23:29 |
meoblast001 | oooh | 23:29 |
meoblast001 | the sshd port? | 23:29 |
meoblast001 | i thought it wanted the BZR port | 23:29 |
meoblast001 | which do i give it? | 23:29 |
fullermd | If you're talking to a "bzr serve" server, you want to use bzr://, not bzr+ssh://. | 23:29 |
fullermd | Very different things :) | 23:29 |
meoblast001 | what is the difference? | 23:30 |
meoblast001 | bzr: ERROR: Server sent an unexpected error: ('error', 'Permission denied: "/meo3d": [Errno 13] Permission denied: \'/meo3d\'') | 23:30 |
meoblast001 | who needs permission to that folder? | 23:30 |
meoblast001 | ssh or bzr? | 23:30 |
meoblast001 | i'm really running short on time and wasn't expecting all these problems | 23:30 |
fullermd | The difference is that bzr:// talks to a server you manually started (as whatever user you ran it is). | 23:30 |
meoblast001 | what if i want to talk to both? | 23:31 |
fullermd | bzr+ssh:// ssh's into a server (as whatever user you specify), spawns off bzr on the server side, and talks to it across the ssh channel. | 23:31 |
meoblast001 | oh, ok | 23:31 |
meoblast001 | now i get it | 23:31 |
fullermd | It's the difference between pserver and :ext: in CVS. | 23:31 |
meoblast001 | i chowned that directory to braden | 23:32 |
meoblast001 | how can i check that it is? | 23:32 |
fullermd | (also, not that bzr:// servers by default won't allow any writes at all, since they don't do any AAA. | 23:32 |
meoblast001 | fullermd: how do i get a listing of who owns a particular directory? | 23:33 |
fullermd | ls? | 23:33 |
meoblast001 | man ls told me nothing about how to get the permisions | 23:34 |
meoblast001 | at least not while skimming the manual | 23:34 |
fullermd | -l | 23:35 |
meoblast001 | drwxr-xr-x 2 braden braden 4096 2009-08-29 18:16 meo3d | 23:35 |
meoblast001 | ssh is ran by root, and i log in as braden | 23:35 |
meoblast001 | and bzr server is ran by user bzrserver | 23:35 |
meoblast001 | why do i choose to do things when i don't have time :( | 23:38 |
lifeless | meoblast001: when you say bzr server is run by | 23:38 |
meoblast001 | the user | 23:38 |
lifeless | if you use bzr+ssh, the bzr server is run by *the user that logs in via ssh*. | 23:38 |
meoblast001 | sudo su bzrserver, password, bzr server --blah blah blah | 23:38 |
meoblast001 | no | 23:38 |
lifeless | meoblast001: not with bzr+ssh | 23:39 |
meoblast001 | how do i make this not so | 23:39 |
meoblast001 | i want to run 1 bzr server for all users | 23:39 |
lifeless | if you're short on time, put it back the way it was ;) | 23:39 |
lifeless | meoblast001: I mean, I'm delighted to help you out, just thinking it might be less stressful for you to do it another day | 23:40 |
meoblast001 | with no vc and transferring a freaking tarball to my laptop | 23:40 |
meoblast001 | i'm stressed all the time | 23:40 |
meoblast001 | might as well get it out now than later | 23:40 |
lifeless | ok. so why do you want 1 server (this is a serious question, its not obvious to me) | 23:40 |
meoblast001 | yes | 23:41 |
meoblast001 | 1 server, and then i can use ssh for any user on the server, given he/she has access to the directory we are pushing to | 23:41 |
lifeless | you don't need 1 server for that | 23:41 |
lifeless | bzr+ssh does that anyway | 23:41 |
meoblast001 | so i just don't run a bzr server at all? | 23:42 |
lifeless | thats right | 23:42 |
meoblast001 | ok, so what about that error i'm getting? | 23:42 |
lifeless | bzr+ssh creates a server process when the user logs in | 23:42 |
lifeless | the permission denied one? | 23:42 |
meoblast001 | yes | 23:42 |
meoblast001 | wait | 23:42 |
meoblast001 | wtf | 23:42 |
meoblast001 | i'm confused | 23:42 |
lifeless | the user that is logging in doesn't have access to the folder | 23:42 |
meoblast001 | how does it know the root directory of the repo? | 23:42 |
meoblast001 | and yes i do | 23:43 |
meoblast001 | i checked | 23:43 |
meoblast001 | drwxr-xr-x 2 braden braden 4096 2009-08-29 18:16 meo3d | 23:43 |
meoblast001 | bzr push bzr+ssh://braden@192.168.1.100:8090/meo3d | 23:43 |
lifeless | when you type 'bzr push bzr+ssh://host/foo/bar/baz', it starts a server at /, and looks at foo/bar/baz for the repo | 23:43 |
lifeless | meoblast001: that will be trying to access /meo3d | 23:44 |
meoblast001 | what if i don't want the repo at the root of the server? | 23:44 |
lifeless | then put it in a subdirectory | 23:44 |
lifeless | e.g. /srv/bzr/meo3d | 23:44 |
lifeless | bzr push bzr+ssh://braden@192.168.1.100:8090/srv/bzr/meo3d | 23:44 |
meoblast001 | oh | 23:45 |
meoblast001 | lifeless: something weird (but not fatal) happened | 23:48 |
meoblast001 | i pushed on my desktop to my server | 23:48 |
meoblast001 | then branched on my laptop | 23:48 |
meoblast001 | and an OpenSSH message came up on my desktop | 23:48 |
lifeless | heh | 23:48 |
meoblast001 | is that normal? | 23:49 |
lifeless | I don't know. What was the message? | 23:49 |
meoblast001 | prompt for password | 23:50 |
meoblast001 | thanks for the help | 23:52 |
meoblast001 | i should be going though | 23:52 |
meoblast001 | this is only a temporary personal BZR server so that shouldn't matter | 23:52 |
meoblast001 | i use launchpad for my actual projects | 23:52 |
meoblast001 | bye | 23:52 |
lifeless | jelmer: welcome back | 23:57 |
lifeless | https://code.launchpad.net/~lifeless/subunit/next/+merge/10871 | 23:57 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!