This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New application proposal - git-core SCM - Include Perl Module


On Wed, 2 Nov 2005, Tim O'Callaghan wrote:

> On Wed, Nov 02, 2005 at 02:31:47AM -0800, Yitzchak Scott-Thoennes wrote:
> > On Wed, Nov 02, 2005 at 09:38:56AM +0100, Tim O'Callaghan wrote:
> > > On Tue, Nov 01, 2005 at 07:49:57PM +0100, Reini Urban wrote:
> > > > $ cpan String::ShellQuote
> > > > works out of the box.
> > > > $ pmq String::ShellQuote
> > > > 1.03    /usr/lib/perl5/site_perl/5.8/String/ShellQuote.pm
> > > >
> > > > cygwin doesn't package each and every perl package.
> > > >
> > >
> > > Fair enough. I'll add this to the the git post-install script.
> >
> > Not sure that's a good idea, since "cpan String::ShellQuote" will
> > fetch files from the internet (are there other post-installs that do
> > this?).  Also, if cpan has never been used before, it will go into
> > a lengthy configuration dialog to set up CPAN::Config.
> >
> > It would be better to include with your package a git-core-config
> > script and document that it needs to be run before using git-core.
>
> Ok, I'll look into local install and uninstall with the git setup
> scripts.

Or you could package the necessary modules in a separate package that
follow the installation structure of the Cygwin perl package (like
perl-libwin32 did), and then make the git package depend on that.  We've
done this with some of our prerequisites for an internal project -- works
quite well (incidentally, we needed String::Escape, among other things).
Debian uses this model too, IIRC.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]