Re: perl @INC (paths) again

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

 



On Wed, Feb 2, 2011 at 11:43 AM, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
[snip]
> I don't really see any great harm in installing modules to perl/core
> directories rather than vendor directories. I also like this nice,
> simple set of paths.
>
> However, the plan envisages third-party repositories sticking with
> vendor directories and I'm not sure that's going to happen. If I need a
> module for my own repository and Fedora already has some version of it,
> I just grab that version, update it as necessary and built it. So I'll
> inherit the use of the perl/core directories unless I explicitly revert
> back to vendor directories. Other repositories might also want to
> maintain as close compatibility with Fedora as possible and would use
> that as justification for using perl/core too.

I agree. Marcela's proposal is fine in principle, but unlikely to
achieve much in practice. There are also tools like cpanspec to
consider: presumably we'll want our cpanspec to use perl/core
directories by default, so anyone else using it for packaging will end
up doing the same as well.

> I thought the conventional structure of having modules bundled with perl
> (the perl core) going to perl/core directories and everything else
> that's packaged (including dual lived modules) going to vendor
> directories made good, intuitive sense, and I think that's what upstream
> intended too. Moreover, it seems to be widespread policy elsewhere:

I really don't see a good reason for users/3rd parties to need to
install RPMs using a different path. The only conceivable reason I can
think of would be to override a dual-life part-of-perl-rpm core module
with a newer version; but even in that case, I'd much rather see the
module split into a sub-package so that it can be replaced as normal
by a newer RPM using vendor dirs.

> So overall I'm in favour of using the F-15 set of paths (assuming the
> typos are fixed) but sticking with the vendor directories for everything
> apart from the perl core.

+1 to that.

-- 
Iain.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux