Re: [HACKERS] [SUGGESTION] CVSync

2006-04-09 Thread Andrew Dunstan
Bruce Momjian wrote: Andrew Dunstan wrote: I don't know what unreasonable infrastructure you are referring to. Building cvsup is a major pain, but installing and running it isn't, in my experience. There's a package in Fedora Extras. Setting up cvsweb against my cvsup repo is a fine idea

Re: [HACKERS] [SUGGESTION] CVSync

2006-04-09 Thread Bruce Momjian
Andrew Dunstan wrote: > I don't know what unreasonable infrastructure you are referring to. > Building cvsup is a major pain, but installing and running it isn't, in > my experience. There's a package in Fedora Extras. Setting up cvsweb > against my cvsup repo is a fine idea - I wonder why I did

Bittorrent (Was: RE: [HACKERS] [SUGGESTION] CVSync )

2006-03-26 Thread Marc G. Fournier
Does anyone here know how to use the latest version of Bittorrent, from a server vs client, perspective? The one we are currently running is *ancient*, and I'd like to get that vServer upgraded and off the templates, but without someone that knows how to setup the newer bittorrent, well, tha

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-26 Thread Magnus Hagander
> > "Joshua D. Drake" <[EMAIL PROTECTED]> writes: > >> Is there any reason why we don't allow rsync access to the > cvs repo? > > > > That'd be Marc's bailiwick not mine ... but rsync from the anoncvs > > mirror seems like it couldn't pose any serious security threat. > > Marc? > > I can't think

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-25 Thread Marc G. Fournier
On Sat, 25 Mar 2006, Joshua D. Drake wrote: Alvaro Herrera wrote: Andrew Dunstan wrote: Tom Lane said: Why in the world is cvsup linked to X libraries? Surely it does not need a GUI. The client has GUI and non-GUI modes. For command-line ops use the -g flag or unset DISPLAY. Apparently n

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-25 Thread Marc G. Fournier
On Sat, 25 Mar 2006, Tom Lane wrote: Alvaro Herrera <[EMAIL PROTECTED]> writes: $ ldd bin/cvsup linux-gate.so.1 => (0xe000) libz.so.1 => /usr/lib/libz.so.1 (0xb7f5b000) libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0xb7eff000) libXmu.so.6 => /usr/X11R6/lib/libX

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-25 Thread Joshua D. Drake
Alvaro Herrera wrote: Andrew Dunstan wrote: Tom Lane said: Why in the world is cvsup linked to X libraries? Surely it does not need a GUI. The client has GUI and non-GUI modes. For command-line ops use the -g flag or unset DISPLAY. Apparently not only the CVSup authors chose a weird langua

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-25 Thread Alvaro Herrera
Andrew Dunstan wrote: > Tom Lane said: > > > Why in the world is cvsup linked to X libraries? Surely it does not > > need a GUI. > > The client has GUI and non-GUI modes. For command-line ops use the -g flag > or unset DISPLAY. Apparently not only the CVSup authors chose a weird language, they

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-25 Thread Andrew Dunstan
Tom Lane said: > Why in the world is cvsup linked to X libraries? Surely it does not > need a GUI. > The client has GUI and non-GUI modes. For command-line ops use the -g flag or unset DISPLAY. My crontab entry looks like this: 3 * * * * /usr/bin/cvsup -g -r 25 /home/cvsmirror/postgres.cvsup

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-25 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > $ ldd bin/cvsup > linux-gate.so.1 => (0xe000) > libz.so.1 => /usr/lib/libz.so.1 (0xb7f5b000) > libXaw.so.7 => /usr/X11R6/lib/libXaw.so.7 (0xb7eff000) > libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0xb7ee9000) >

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-25 Thread Alvaro Herrera
Tom Lane wrote: > Neil Conway <[EMAIL PROTECTED]> writes: > > I agree that investigating alternatives would be a good idea: AFAIK > > there's no easy way to build cvsup on Linux/AMD64 (without patches and > > more pain than I'm willing to endure), so I use cvsup on one machine and > > then periodic

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joel Miller
Marc G. Fournier wrote: On Fri, 24 Mar 2006, Joel Miller wrote: Joshua D. Drake wrote: Is there any reason why we don't allow rsync access to the cvs repo? The only reason I can possibly think of is server load, comparing the timestamps for every file and directory in a repository for ever

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joshua D. Drake
Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Just to be clear. The comma was a mistype. I was stating that you do not want to use a period. If you use a period and you are not in the correct directory, rsync will remove everything within your working directory. Oh, so you're

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joshua D. Drake
I figure that Joshua just hit the wrong key ... or, at least, I hope that is what he did, vs just going blind at a young age ;( No, not that blind yet :) Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Tom Lane
"Joshua D. Drake" <[EMAIL PROTECTED]> writes: > Just to be clear. The comma was a mistype. I was stating that you do not > want to use a period. If you use a period and you are not in the correct > directory, rsync will remove everything within your working directory. Oh, so you're saying the s

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Marc G. Fournier
On Sat, 25 Mar 2006, Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Marc G. Fournier wrote: /usr/local/bin/rsync -avzCH --delete anoncvs.postgresql.org::pgsql-cvs . its actually a "." ... what would a ',' do? :) egad... heh... it would create a directory called "," ;) So y

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joshua D. Drake
Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Marc G. Fournier wrote: /usr/local/bin/rsync -avzCH --delete anoncvs.postgresql.org::pgsql-cvs . its actually a "." ... what would a ',' do? :) egad... heh... it would create a directory called "," ;) So you probably don't want

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Tom Lane
"Joshua D. Drake" <[EMAIL PROTECTED]> writes: > Marc G. Fournier wrote: >> /usr/local/bin/rsync -avzCH --delete anoncvs.postgresql.org::pgsql-cvs . >> its actually a "." ... what would a ',' do? :) > egad... heh... it would create a directory called "," ;) So you probably > don't want either. U

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joshua D. Drake
Marc G. Fournier wrote: On Fri, 24 Mar 2006, Joshua D. Drake wrote: Marc G. Fournier wrote: On Fri, 24 Mar 2006, Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Is there any reason why we don't allow rsync access to the cvs repo? That'd be Marc's bailiwick not mine ... but r

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Marc G. Fournier
On Fri, 24 Mar 2006, Joshua D. Drake wrote: Marc G. Fournier wrote: On Fri, 24 Mar 2006, Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Is there any reason why we don't allow rsync access to the cvs repo? That'd be Marc's bailiwick not mine ... but rsync from the anoncvs mir

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joshua D. Drake
Marc G. Fournier wrote: On Fri, 24 Mar 2006, Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Is there any reason why we don't allow rsync access to the cvs repo? That'd be Marc's bailiwick not mine ... but rsync from the anoncvs mirror seems like it couldn't pose any serious se

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Marc G. Fournier
On Fri, 24 Mar 2006, Joel Miller wrote: Joshua D. Drake wrote: Is there any reason why we don't allow rsync access to the cvs repo? The only reason I can possibly think of is server load, comparing the timestamps for every file and directory in a repository for every rsync session could be

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Marc G. Fournier
On Fri, 24 Mar 2006, Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Is there any reason why we don't allow rsync access to the cvs repo? That'd be Marc's bailiwick not mine ... but rsync from the anoncvs mirror seems like it couldn't pose any serious security threat. Marc? I

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joel Miller
Joshua D. Drake wrote: Is there any reason why we don't allow rsync access to the cvs repo? The only reason I can possibly think of is server load, comparing the timestamps for every file and directory in a repository for every rsync session could be taxing if everyone under the sun and all

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joshua D. Drake
Tom Lane wrote: "Joshua D. Drake" <[EMAIL PROTECTED]> writes: Is there any reason why we don't allow rsync access to the cvs repo? That'd be Marc's bailiwick not mine ... but rsync from the anoncvs mirror seems like it couldn't pose any serious security threat. Marc? Well it would sure seem

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Tom Lane
"Joshua D. Drake" <[EMAIL PROTECTED]> writes: > Is there any reason why we don't allow rsync access to the cvs repo? That'd be Marc's bailiwick not mine ... but rsync from the anoncvs mirror seems like it couldn't pose any serious security threat. Marc? regards, tom lane

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joe Conway
Tom Lane wrote: Neil Conway <[EMAIL PROTECTED]> writes: I agree that investigating alternatives would be a good idea: AFAIK there's no easy way to build cvsup on Linux/AMD64 (without patches and more pain than I'm willing to endure), so I use cvsup on one machine and then periodically rsync a c

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Joshua D. Drake
This whole discussion reminds me why we've stuck so fervently to bog-standard ANSI C for Postgres. There is a payoff for taking portability seriously. Too bad the original authors of cvsup were more interested in using a flavor-of-the-month programming language... Is there any reason why we

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > I agree that investigating alternatives would be a good idea: AFAIK > there's no easy way to build cvsup on Linux/AMD64 (without patches and > more pain than I'm willing to endure), so I use cvsup on one machine and > then periodically rsync a copy of that

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-24 Thread Neil Conway
On Thu, 2006-03-23 at 18:15 -0500, Tom Lane wrote: > Personally, I'd really like to have a local repository copy, because > I spend a *lot* of time with cvsweb etc --- but I'm sure my needs are > several standard deviations away from the mean. I'm actually amazed that anyone does any serious amoun

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Joel Miller
[I thought this had gone out to the list when I first sent it, but now I see that it didn't] Actually, I've already looked at it very closely (spent a whole day browsing the latest source code, in fact). The problem is csup still doesn't support mirroring of the repository ",v" files. It only acts

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Kurt Roeckx
On Thu, Mar 23, 2006 at 01:32:34PM -0800, Joel Miller wrote: > Hello, > > I've been trying to get a local mirror of the cvs repository, but my > connection attempts using rsync to cvsup.postgresql.org are always > refused when I try to actually retrieve the pgsql-cvs collection. I tried > to use r

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Joel Miller
Yes, that's one way to solve the problem. I was just trying to suggest something that would benefit everyone in general while not opening up a can of worms with regard to increased server load in the long term. Joel On Fri, Mar 24, 2006 at 4:34 PM, Kurt Roeckx ([EMAIL PROTECTED]) wrote: >On Thu

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Joel Miller
Plain old cvs doesn't work for me because I need to get the repository, not just a checkout of the sources, so I can do diffs, browse old versions and what-not. I find that it's easier to understand code that's been around for a while if I can observe how it's changed over time. Usually, when I ha

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Joel Miller
It's only partially compatible: Like I mentioned earlier, csup currently only acts as an alternative cvs checkout client. Joel On Thu, Mar 23, 2006 at 3:15 PM, Tom Lane ([EMAIL PROTECTED]) wrote: >Is csup protocol-compatible with cvsup? If so people could use it >without Marc having to do anyt

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Andrew Dunstan
Tom Lane wrote: Martijn van Oosterhout writes: Any particular reason why straight CVS doesn't work for you? Are you that interested in having the log comment locally? Personally, I'd really like to have a local repository copy, because I spend a *lot* of time with cvsweb etc --- but

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Tom Lane
Martijn van Oosterhout writes: > Any particular reason why straight CVS doesn't work for you? Are you > that interested in having the log comment locally? Personally, I'd really like to have a local repository copy, because I spend a *lot* of time with cvsweb etc --- but I'm sure my needs are sev

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Martijn van Oosterhout
On Thu, Mar 23, 2006 at 01:32:34PM -0800, Joel Miller wrote: > Hello, > > I've been trying to get a local mirror of the cvs repository, but my > connection attempts using rsync to cvsup.postgresql.org are always > refused when I try to actually retrieve the pgsql-cvs collection. I tried > to use r

Re: [HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Larry Rosenman
Joel Miller wrote: > Hello, > > I've been trying to get a local mirror of the cvs repository, but my > connection attempts using rsync to cvsup.postgresql.org are always > refused when I try to actually retrieve the pgsql-cvs collection. I > tried to use rsync because cvsup is simply not an option

[HACKERS] [SUGGESTION] CVSync

2006-03-23 Thread Joel Miller
Hello, I've been trying to get a local mirror of the cvs repository, but my connection attempts using rsync to cvsup.postgresql.org are always refused when I try to actually retrieve the pgsql-cvs collection. I tried to use rsync because cvsup is simply not an option for me. I'd like to suggest t