Re: [HACKERS] CVS problems

2008-03-19 Thread Manolo

Alvaro Herrera wrote:

Manolo SupaMA escribió:
  

Hi.

Yesterday I downloaded source code from CVS following

developer.postgresql.org/docs/postgres/cvs.html

First of all it had problems downloading files, INSTALL text file has not
been downloaded, for example.
Today that web page isn't even available...



That URL certainly goes to the CVS instructions.

  

That's probably causing the problems I'm getting during
make
make check



Did you run configure?  Did you use --enable-depend?  What errors are
you getting?

  

I run:
./configure --prefix=/usr/local/pgsql/wip/ CFLAGS=-O0 --enable-debug 
--enable-cassert --enable-depend

make
make check

It's the usual way I use to build postgres source code for further 
installing.
Anyway the problem has been solved downloading from scratch source code 
from CVS... maybe I downloaded a corrupted copy of the source code.


Thanks for your time.
Regards, Manolo.


[HACKERS] CVS problems

2008-03-18 Thread Manolo SupaMA
Hi.

Yesterday I downloaded source code from CVS following

developer.postgresql.org/docs/postgres/cvs.html

First of all it had problems downloading files, INSTALL text file has not
been downloaded, for example.
Today that web page isn't even available...

That's probably causing the problems I'm getting during
make
make check

I won't annoy with those problems until I'm sure I downloaded correctly
souces from CVS.

In case it's just a problem of mine can you please suggest some
alternatives?

Regards, Manolo.


Re: [HACKERS] CVS problems

2008-03-18 Thread Alvaro Herrera
Manolo SupaMA escribió:
 Hi.
 
 Yesterday I downloaded source code from CVS following
 
 developer.postgresql.org/docs/postgres/cvs.html
 
 First of all it had problems downloading files, INSTALL text file has not
 been downloaded, for example.
 Today that web page isn't even available...

That URL certainly goes to the CVS instructions.

 That's probably causing the problems I'm getting during
 make
 make check

Did you run configure?  Did you use --enable-depend?  What errors are
you getting?

-- 
Alvaro Herrerahttp://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] CVS problems

2008-03-18 Thread Greg Smith

On Tue, 18 Mar 2008, Manolo SupaMA wrote:


Yesterday I downloaded source code from CVS following
developer.postgresql.org/docs/postgres/cvs.html


There is another tutorial that's got a lot more detail than this one at 
http://wiki.postgresql.org/wiki/Working_with_CVS which uses rsync to make 
your own copy of the repository instead.


--
* Greg Smith [EMAIL PROTECTED] http://www.gregsmith.com Baltimore, MD

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] cvs problems solved

2000-11-04 Thread Bruce Momjian

Remember the CVS problems I had grabbing the logs from just one branch
of cvs?

Well, it turns out it is a cvs bug.  CVS is fine with showing logs from
just a branch iff the file existed when the branch was created.  For
post-branch files like pgsql/GNUmakefile.in, you see all changes.

I received e-mails from the cvs 'log' maintainer, which are attached. 
He explained the problem and gave me a workaround.  He is going to try
and get the bug fixed.

I have modified pgcvslog to show the workaround, and have attached the
output.  Seems cvs2cl works around this problem somehow.

---



From [EMAIL PROTECTED] Fri Nov  3 15:07:53 2000
Received: from foghorn.airs.com (IDENT:[EMAIL PROTECTED] [63.201.54.26])
by candle.pha.pa.us (8.9.0/8.9.0) with SMTP id PAA24342
for [EMAIL PROTECTED]; Fri, 3 Nov 2000 15:07:51 -0500 (EST)
Received: (qmail 1388 invoked by uid 10); 3 Nov 2000 20:07:47 -
Received: (qmail 15262 invoked by uid 269); 3 Nov 2000 20:07:44 -
Message-ID: [EMAIL PROTECTED]
Date: 3 Nov 2000 12:07:44 -0800
From: Ian Lance Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
In-reply-to: [EMAIL PROTECTED] (message from Bruce
Momjian on Fri, 3 Nov 2000 10:11:37 -0500 (EST))
Subject: Re: [HACKERS] 7.0.3 branded
References:  [EMAIL PROTECTED]
Status: ORr

   From: Bruce Momjian [EMAIL PROTECTED]
   Date: Fri, 3 Nov 2000 10:11:37 -0500 (EST)

On a related note, what tag should I give to cvs to get code from the
7.0.3 branch?  Is it REL7_0_PATCHES?

   It is.  I can grab the cvs using that tag, but can not grab log entries
   using that tag.  No one seems to know why it doesn't work.

What are you trying to do?  In what way does it not work as you
expect?

I just tried to find a file which was changed on the REL7_0_PATCHES
branches, but I failed.  I was probably doing something wrong.

(I used to be a CVS maintainer--technically, I suppose I still am--so
I know something about how CVS works.)

Ian

From [EMAIL PROTECTED] Fri Nov  3 15:29:40 2000
Received: from foghorn.airs.com (IDENT:[EMAIL PROTECTED] [63.201.54.26])
by candle.pha.pa.us (8.9.0/8.9.0) with SMTP id PAA24969
for [EMAIL PROTECTED]; Fri, 3 Nov 2000 15:29:39 -0500 (EST)
Received: (qmail 1536 invoked by uid 10); 3 Nov 2000 20:29:40 -
Received: (qmail 15422 invoked by uid 269); 3 Nov 2000 20:29:32 -
Message-ID: [EMAIL PROTECTED]
Date: 3 Nov 2000 12:29:32 -0800
From: Ian Lance Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
In-reply-to: [EMAIL PROTECTED] (message from Bruce
Momjian on Fri, 3 Nov 2000 15:11:00 -0500 (EST))
Subject: Re: [HACKERS] 7.0.3 branded
References:  [EMAIL PROTECTED]
Status: ORr

   From: Bruce Momjian [EMAIL PROTECTED]
   Date: Fri, 3 Nov 2000 15:11:00 -0500 (EST)

   cvs log -rREL7_0_PATCHES

   I want just log entries that are part of the branch.  I get all entries.

What I see when I try this is that for files which have the
REL7_0_PATCHES tag (i.e., files which are on the branch), I see only
log entries for the branch.  For files which are do not have the
REL7_0_PATCHES tag (i.e., are not on the branch), I see all log
entries.

For example, in the top pgsql directory,
cvs log -rREL7_0_PATCHES HISTORY
gives me only log entries for the branch for the HISTORY file.
However,
cvs log -rREL7_0_PATCHES GNUmakefile.in
gives me all log entries.  It also gives me this warning:
cvs server: warning: no revision `REL7_0_PATCHES' in 
`/home/projects/pgsql/cvsroot/pgsql/GNUmakefile.in,v'

Is this also what you see?

The natural way to fix this ought to be
cvs co -rREL7_0_PATCHES pgsql
cvs log .
Unfortunately, I tried it, and cvs log, I believe erroneously, seems
to pick up all files in the directory, even if they have not been
checked out.

I can tell you a hideous kludge to avoid this, but I can't claim that
it is the way to operate.  Check out the branch using the -r option as
above.  Then do this:
find . -name CVS -type d -exec touch '{}/Entries.Static' \;
After that, in the same directory, do
cvs log -rREL7_0_PATCHES

I'd hate to have to explain why that works.

Which version of CVS are you running on the server?  When I find some
time I'll see about fixing cvs log.

Ian

From [EMAIL PROTECTED] Fri Nov  3 15:48:15 2000
Received: from foghorn.airs.com (IDENT:[EMAIL PROTECTED] [63.201.54.26])
by candle.pha.pa.us (8.9.0/8.9.0) with SMTP id PAA25678
for [EMAIL PROTECTED]; Fri, 3 Nov 2000 15:48:14 -0500 (EST)
Received: (qmail 1742 invoked by uid 10); 3 Nov 2000 20:48:15 -
Received: (qmail 15565 invoked by uid 269); 3 Nov 2000 20:48:07 -
Message-ID: [EMAIL PROTECTED]
Date: 3 Nov 2000 12:48:07 -0800
From: Ian Lance Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
In-reply-to: [EMAIL PROTECTED] (message from Bruce
Momjian on Fri, 3 Nov 2000 15:35:01 -0500 (EST))
Subject: Re: [HACKERS] 7.0.3 branded
References:  [EMAIL