[csw-devel] [csw-maintainers] IMPORTANT: Transition to mGAR

Dagobert Michelsen dam at opencsw.org
Thu Nov 27 23:52:46 CET 2008


Hi Frederic,,

Am 27.11.2008 um 11:48 schrieb Frederic Van De Velde:
> Very good work.
>
> I'm trying to add one package to the cpan tree.
> I followed the procedure on the wiki ( the one with partial repository
> checkout)  but can't manage to do it.

I guess the docs were a bit misleading. Now I put all in
the Makefile in pkg/, should be easier. The docs have been
updated accordingly.

> Let's take a concrete example, I have a directory /home/fred/mgar
> where I downloaded some existing packages into their subdirectories
> with this command:
>
> svn co https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/cpan/My-Perl-Module
>
> I have then: /home/fred/mgar/My-Perl-Module/[trunk/branches/tags]
>
> Now I want to add a new perl module, what's the procedure ?


Try this:

	• svn -N co https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/cpan
	• cd cpan
	• gmake newpkg-My-New-Module
	• cd My-New-Module/trunk
	• Edit the Makefile etc.
	• svn add <file> for everything valuable in your package
	• cd ../..
	• svn -m "cpan/My-New-Module: Initial commit" commit

Feedback as always welcome.

Best regards

   -- Dago





More information about the devel mailing list