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

Re: tetex in CVS -- suggestion



On Tue, Nov 26, 2002 at 08:04:43AM +0000, Julian Gilbey wrote:
> To release a package, we unpack the upstream and export the
> repository:
> 
> tar zxpvf tetex-bin_1.0.2+blah.orig.tar.gz
> cd tetex-bin-1.0.2+blah
> cvs export tetex-bin-debian -d debian  (or "-d ." perhaps)
> 
> and then we can just do a dpkg-buildpackage or debuild.
> 
> When we're ready to release, we can do cvs tag
> debian_version_1_0_2_blah-3 or whatever in a checked-out CVS
> repository.

Actually, even easier.  For a given upstream source, we can do the
following:

(1) Unpack it, say into tetex-bin-1.0.2+blah (with
    tetex-bin_1.0.2+blah.orig.tar.gz sitting in the same directory)
(2) cd tetex-bin-1.0.2+blah
(3) cvs co -d {debian|.} tetex-bin-debian
(4) Work there, and to check in changes to the debian/ directory, cd
    into it and cvs commit there
(5) When ready to release, simply cd to the top directory and do a
    dpkg-buildpackage/debuild.  Also may be worth tagging the debian/
    directory for reference

When upgrading the upstream source:

(1) Enter the old tetex-bin-1.0.2+blah directory
(2) cd debian
(3) cvs release .
(4) can then delete the entire old tetex-bin-1.0.2+blah directory if
    it's no longer needed

and then repeat the above procedure for the new version.

The only disadvantage is that the .diff.gz will contain the CVS files,
but that seems bearable given the advantages that this will bring.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

        Julian Gilbey, website: http://www.polya.uklinux.net/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
     Visit http://www.thehungersite.com/ to help feed the hungry



Reply to: