perl6-internals
[Top] [All Lists]

[perl #44315] [TODO] Enable scripting of an entire configuration session

Subject: [perl #44315] [TODO] Enable scripting of an entire configuration session
From: "James Keenan via RT" <parrotbug-followup@parrotcode.org>
Date: Fri, 29 Aug 2008 09:53:49 -0700
Cc: perl6-internals@perl.org
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-internals@perl.org
Delivered-to: perl6-internals@perl.org
In-reply-to: <rt-3.6.HEAD-29759-1220026297-186.44315-15-0@perl.org>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-internals.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
Managed-by: RT 3.6.HEAD (http://www.bestpractical.com/rt/)
References: <RT-Ticket-44315@perl.org> <RT-Ticket-43190@perl.org> <ACAFA045-23F5-4A58-AFDF-27DD17AECEF9@verizon.net> <rt-3.6.HEAD-23341-1185844288-697.43190-15-0@perl.org> <1d9a3f400707311939p6614ab91w38a260165e4b1803@mail.gmail.com> <rt-3.6.HEAD-23341-1185936033-977.43190-74-0@perl.org> <D33C3476-C4BF-4B7E-9887-5FC673F52295@verizon.net> <rt-3.6.HEAD-29762-1219976934-1113.44315-15-0@perl.org> <a45468e30808290911n522ee1b8y606e785766877903@mail.gmail.com> <rt-3.6.HEAD-29759-1220026297-186.44315-15-0@perl.org>
Reply-to: parrotbug-followup@parrotcode.org
Rt-originator: jkeen@verizon.net
Rt-ticket: perl #44315
On Fri Aug 29 09:11:37 2008, coke wrote:
> 
> If I want to run my config based on the contents of a file, how do I
> get the ordered lists of steps to run? Can I assume a sane default or
> must I be explicit?
> 

In this first version of file-based configuration, you have to be
explicit, i.e., you copy-and-paste the list of steps from
lib/Parrot/Configure/Step/List.pm and edit to suit your taste.

> If the file/list is coming from a configure run, is there a way to
> cope with the order of steps changing between various versions of
> Configure? or will I have to manually re-apply my changes if that
> happens? (easier to avoid if there are sane defaults)
> 

In a subsequent version of file-based configuration (and different RT),
we can explore some way of telling the user/editor of a particular
config file, "Hey!  Since you last edited this file, the canonical list
of config steps in P::C::Step::List has changed."  But that would be a
new requirement and involve considerable new code.  My recommendation is
to offer people this version for now and see how real-world use shapes
our future needs.

HTH

Thank you very much.
kid51




<Prev in Thread] Current Thread [Next in Thread>