info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enforcing comments when checking in


From: Mark D. Baushke
Subject: Re: enforcing comments when checking in
Date: Tue, 06 Jan 2004 09:50:30 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Purushotham Komaravolu <address@hidden> writes:

> It is working for from wincvs and command line, but not from IDE(Eclipse).
> So I think its an IDE problem.

You may wish to report a bug to the eclipse maintiners.
https://bugs.eclipse.org/bugs/

> > Note: cvs 1.11.2 is old and has a few security bugs. cvs 1.11.11 is the
> > latest version.
> > 
> Will update it ASAP.

This is a good idea. It is too bad that Redhat does not have a bugfix
available. If you are a supported customer, you may wish to consider
opening a bug with them.

> > > Its not showing me a prefilled telmplate when I am trying to checkin the
> > > file.
> > >
> > > /////////////////////////
> > > rcsinfo file
> > > DEFAULT /data/cvs/repository/CVSROOT/templates/qmdc.template
> > 
> > If you do a fresh checkout of any module in an empty directory, do you
> > see a CVS/Template file? What happens if you install the .src.rpm file
> > and cd /usr/src/redhat/BUILD/cvs-1.11.2/src and run
> > 
> >     sh ./sanity.sh -r /usr/bin/cvs info
> 
> I do see a CVS/Template file. I have no priviledges to install rpm's
> so will not be able to install src rpm, but i have requested for
> permissions.

It is possible to have private installs of rpm files by creating a
~/.rpmmacros file and your own rpmbuild directory. You do it something
like this:

  cd $HOME
  echo "%_topdir $HOME/rpmbuild" >$HOME/.rpmmacros
  mkdir rpmbuild
  cd rpmbuild
  mkdir BUILD RPMS SOURCES SPECS SRPMS
  cd SOURCES
  wget http://ftp.cvshome.org/release/stable/cvs-1.11.11/cvs-1.11.11.tar.bz2
  cd $HOME
  tar -jxvf $HOME/rpmbuild/SOURCES/cvs-1.11.11.tar.bz2 cvs-1.11.11/cvs.spec
  rpmbuild -ba cvs-1.11.11/cvs.spec

The above steps should give you the files:

  $HOME/rpmbuild/SRPMS/cvs-1.11.11-1.src.rpm 
  $HOME/rpmbuild/RPMS/i386/cvs-1.11.11-1.i386.rpm
  $HOME/rpmbuild/RPMS/i386/cvs-krb5-1.11.11-1.i386.rpm

you could then have your system administrator consider installing those
files for you, but in the mean time you could copy the
$HOME/rpmbuild/BUILD/cvs-1.11.11/src/cvs file into a directory in your
path and try using it via an :ext: connection (the :pserver: connection
needs to have the xinetd.conf file reference the version of cvs you want
as a server).

If you need/want to look at what Redhat distributed, you could do
something like this:

  rpm -ivh /mnt/cdrom/SRPMS/cvs-1.11.2-10.src.rpm
  rpmbuild -bp $HOME/rpmbuild/SPECS/cvs.spec

to create a $HOME/rpmbuild/BUILD/cvs-1.11.2 directory that is fully
patched with the sources from the redhat distribution.

If you wanted to run the sanity script that comes with the original cvs
distribution against the cvs on your machine, you might do the following
step in addition to the above:

  sh $HOME/rpmbuild/BUILD/cvs-1.11.2/src/sanity.sh.bs /usr/bin/cvs

(the .bs file is the backup which actually works instead of the crippled
version that just does an 'exit 0').

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/+vVm3x41pRYZE/gRAqDKAJ9Lsr+1lsP5ZZnB9PYdaaq120EDFACgnfbX
hzJW9+GRK9DcaD6779og1ZU=
=AKVO
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]