Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 68348
Status: open
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: ruz [...] bestpractical.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: optionaly required modules inlisted in META.yml depending on author's system
Date: Fri, 20 May 2011 20:50:21 +0400
To: bug-Module-Install [...] rt.cpan.org
From: Ruslan Zakirov <ruz [...] bestpractical.com>
Example from a CPAN distribution: features( 'Lower case API' => [ -default => 0, 'capitalization' => '0.03', ], 'Schema generation' => [ -default => 1, 'DBIx::DBSchema' => '', 'Class::Accessor' => '', ], ); auto_install(); If capitalization module is not installed on author's system then it's not listed in META.yml and listed if installed. MYMETA is not affected. -- Best regards, Ruslan.
Subject: Re: [rt.cpan.org #68348] optionaly required modules inlisted in META.yml depending on author's system
Date: Tue, 24 May 2011 20:36:50 +1000
To: bug-Module-Install [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
This is intentional, and it the precise reason why META.yml is considered advisory and MYMETA.yml is considered authorative when it comes to dependencies. Adam K On 21 May 2011 02:50, Ruslan Zakirov via RT <bug-Module-Install@rt.cpan.org> wrote: Show quoted text
> Fri May 20 12:50:31 2011: Request 68348 was acted upon. > Transaction: Ticket created by ruz@bestpractical.com >       Queue: Module-Install >     Subject: optionaly required modules inlisted in META.yml depending on author's system >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: ruz@bestpractical.com >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68348 > > > > Example from a CPAN distribution: > > features( >        'Lower case API' => [ >                -default => 0, >                'capitalization' => '0.03', >        ], >        'Schema generation' => [ >          -default => 1, >          'DBIx::DBSchema' => '', >          'Class::Accessor' => '', >        ], > ); > auto_install(); > > If capitalization module is not installed on author's system then it's > not listed in META.yml and listed if installed. > MYMETA is not affected. > > -- > Best regards, Ruslan. > >
Subject: Re: [rt.cpan.org #68348] optionaly required modules inlisted in META.yml depending on author's system
Date: Tue, 24 May 2011 15:24:31 +0400
To: bug-Module-Install [...] rt.cpan.org
From: Ruslan Zakirov <ruz [...] bestpractical.com>
Hello Adam, May be I was not clear. Problem I was describing is that content of META.yml file depends on configuration of author's system. Don't mind module X to be listed in META.yml even if it's optional requirement. I just believe it should be there all the time even if author has no this module at the moment. On Tue, May 24, 2011 at 2:37 PM, Reserved Local Account via RT <bug-Module-Install@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68348 > > > This is intentional, and it the precise reason why META.yml is > considered advisory and MYMETA.yml is considered authorative when it > comes to dependencies. > > Adam K > > On 21 May 2011 02:50, Ruslan Zakirov via RT > <bug-Module-Install@rt.cpan.org> wrote:
>> Fri May 20 12:50:31 2011: Request 68348 was acted upon. >> Transaction: Ticket created by ruz@bestpractical.com >>       Queue: Module-Install >>     Subject: optionaly required modules inlisted in META.yml depending on author's system >>   Broken in: (no value) >>    Severity: (no value) >>       Owner: Nobody >>  Requestors: ruz@bestpractical.com >>      Status: new >>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68348 > >> >> >> Example from a CPAN distribution: >> >> features( >>        'Lower case API' => [ >>                -default => 0, >>                'capitalization' => '0.03', >>        ], >>        'Schema generation' => [ >>          -default => 1, >>          'DBIx::DBSchema' => '', >>          'Class::Accessor' => '', >>        ], >> ); >> auto_install(); >> >> If capitalization module is not installed on author's system then it's >> not listed in META.yml and listed if installed. >> MYMETA is not affected. >> >> -- >> Best regards, Ruslan. >> >>
> >
-- Best regards, Ruslan.
Subject: Re: [rt.cpan.org #68348] optionaly required modules inlisted in META.yml depending on author's system
Date: Wed, 1 Jun 2011 13:06:28 +1000
To: bug-Module-Install [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
This is indeed intentional. Because configuration via Makefile.PL is turing-complete, there's absolutely nothing that can be done to avoid differing dependencies. For example, some modules need different modules on Windows and Unix, the dep for the author will be the only one included. There's no good way to fix this, hence the need for MYMETA.yml. I think we are content with this situation to continue at the moment. Adam K On 24 May 2011 21:24, Ruslan Zakirov via RT <bug-Module-Install@rt.cpan.org> wrote: Show quoted text
>       Queue: Module-Install >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68348 > > > Hello Adam, > > May be I was not clear. Problem I was describing is that content of > META.yml file depends on configuration of author's system. Don't mind > module X to be listed in META.yml even if it's optional requirement. I > just believe it should be there all the time even if author has no > this module at the moment. > > On Tue, May 24, 2011 at 2:37 PM, Reserved Local Account via RT > <bug-Module-Install@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=68348 > >> >> This is intentional, and it the precise reason why META.yml is >> considered advisory and MYMETA.yml is considered authorative when it >> comes to dependencies. >> >> Adam K >> >> On 21 May 2011 02:50, Ruslan Zakirov via RT >> <bug-Module-Install@rt.cpan.org> wrote:
>>> Fri May 20 12:50:31 2011: Request 68348 was acted upon. >>> Transaction: Ticket created by ruz@bestpractical.com >>>       Queue: Module-Install >>>     Subject: optionaly required modules inlisted in META.yml depending on author's system >>>   Broken in: (no value) >>>    Severity: (no value) >>>       Owner: Nobody >>>  Requestors: ruz@bestpractical.com >>>      Status: new >>>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68348 > >>> >>> >>> Example from a CPAN distribution: >>> >>> features( >>>        'Lower case API' => [ >>>                -default => 0, >>>                'capitalization' => '0.03', >>>        ], >>>        'Schema generation' => [ >>>          -default => 1, >>>          'DBIx::DBSchema' => '', >>>          'Class::Accessor' => '', >>>        ], >>> ); >>> auto_install(); >>> >>> If capitalization module is not installed on author's system then it's >>> not listed in META.yml and listed if installed. >>> MYMETA is not affected. >>> >>> -- >>> Best regards, Ruslan. >>> >>>
>> >>
> > > > -- > Best regards, Ruslan. > >