delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/12/10:14:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <183c528b0712120713i62155dd2v9ec0a638308b5a@mail.gmail.com>
Date: Wed, 12 Dec 2007 10:13:29 -0500
From: "Brian Mathis" <brian DOT mathis AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Stop turning CPAN modules into Cygwin packages
In-Reply-To: <1ff86f510712120704w5f175db9md89d05d936d535ed@mail.gmail.com>
MIME-Version: 1.0
References: <1ff86f510712120704w5f175db9md89d05d936d535ed AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Dec 12, 2007 10:04 AM, Jerry D. Hedden <jdhedden AT cpan DOT org> wrote:
> Eric Blake wrote:
> > A new package, perl-Error-0.17010-1, is now available for use.
> >
> > NEWS:
> > =====
> > This is a new package, providing the Error module for perl.
>
> What is the point of making this a Cygwin package?  There
> are no Cygwin specific changes, and it it can be installed
> directly from CPAN using:
>     cpan -i Error
>
> This seems to be becoming a trend.  So far there are 8 CPAN
> modules that have been made into Cygwin packages.  Only 3
> have Cygwin specific changes that would justify them being
> made into package:
>     perl-Locale-gettext
>     perl-Tk
>     perl-libwin32
>
> The other 5 have no Cygwin specific changes:
>     perl-Error
>     perl-ExtUtils-Depends
>     perl-ExtUtils-PkgConfig
>     perl-Module-Build
>     perl-Win32-GUI
>
> This seems like a bad practice.  It adds a maintenance
> burden on the Cygwin system (because the packages will need
> to be updated when the modules are updated), they needlessly
> take up storage on the Cygwin servers, and turning them into
> Cygwin packages adds no value over obtaining the modules
> directly from CPAN.
>
> Just because you can turn a CPAN module into a Cygwin
> package doesn't mean that you should unless there are Cygwin
> specific changes that need to be made.  Even then, a better
> approach is to send the appropriate patches to the module's
> maintainer so that they can be integrated into the code and
> uploaded to CPAN.
>

Because when you package something using a distro's packaging system,
you can start to have other programs that depend on it install them
automatically using the package system.  Also, installing from CPAN,
while very easy to do, does not keep track or even know about a
distro's package management system.  So if you wanted to remove it
later, it is not easy to do, and you could easily run into problems
where you have installed one version from CPAN, then another package
requires that module, but because you installed via CPAN it doesn't
know that, and will then install an older version, overwriting your
CPAN-installed version.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019