Changes between Version 1 and Version 2 of Obsolete/Development/Code/PerlNamespaces


Ignore:
Timestamp:
Mar 21, 2010, 11:10:21 AM (14 years ago)
Author:
loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Obsolete/Development/Code/PerlNamespaces

    v1 v2  
    1919== Proposal ==
    2020
    21 # All quattor specific modules should move to a new Quattor:: namespace.
    22 # The "CCM" acronym can be renamed as "Profile".
    23 # The NCM and NCD namespaces could be merged.
    24 # The CAF namespace should be merged into the Quattor toplevel namespace. In other words, "perl-CAF" package should become "perl-Quattor", since it provides the base libraries for driving Quattor.
    25 # The LC package should be included within CAF/perl-Quattor. An explicit fork of the LC codebase.
     21 * All quattor specific modules should move to a new Quattor:: namespace.
     22 * The "CCM" acronym can be renamed as "Profile".
     23 * The NCM and NCD namespaces could be merged.
     24 * The CAF namespace should be merged into the Quattor toplevel namespace. In other words, "perl-CAF" package should become "perl-Quattor", since it provides the base libraries for driving Quattor.
     25 * The LC package should be included within CAF/perl-Quattor. An explicit fork of the LC codebase.
    2626
    2727This would give the following mapping:
    2828
    29 {|
    30 !From
    31 !To
    32 !Examples
    33 |-
    34 |EDG::WP4::CCM::
    35 |Quattor::Profile::
    36 |Quattor::Profile::Element, Quattor::Profile::CacheManager
    37 |-
    38 |NCM::
    39 |Quattor::Config::
    40 |Quattor::Config::Component::filecopy, Quattor::Config::Check::File
    41 |-
    42 |NCD::
    43 |Quattor::Config::
    44 |Quattor::Config::ComponentProxy
    45 |-
    46 |SPM::
    47 |Quattor::SPMA::
    48 |Quattor::SPMA::Package
    49 |-
    50 |CAF::
    51 |Quattor::
    52 |Quattor::Lock, Quattor::Log, Quattor::Process, Quattor::Reporter, etc.
    53 |-
    54 |LC::
    55 |Quattor::
    56 |Quattor::Check, Quattor::File, Quattor::Stat
    57 |}
     29|| '''From''' || '''To''' || '''Examples'''
     30||EDG::WP4::CCM:: || Quattor::Profile:: ||Quattor::Profile::Element, Quattor::Profile::CacheManager
     31||NCM:: || Quattor::Config:: ||Quattor::Config::Component::filecopy, Quattor::Config::Check::File
     32||NCD:: ||Quattor::Config:: ||Quattor::Config::ComponentProxy
     33||SPM:: ||Quattor::SPMA:: ||Quattor::SPMA::Package
     34||CAF:: || Quattor:: ||Quattor::Lock, Quattor::Log, Quattor::Process, Quattor::Reporter, etc.
     35||LC:: ||Quattor:: || Quattor::Check, Quattor::File, Quattor::Stat
    5836
    5937== Implementation Plan ==
     
    7654
    7755You can make a compatability later by playing tricks like the following:
    78 
     56{{{
    7957 package EDG::WP4::CCM::Element;
    8058 use base 'Quattor::Legacy::Factory';
    81 
     59}}}
    8260Where the legacy factory looks like:
     61{{{
    8362 package Quattor::Legacy::Factory;
    8463 use Carp;
     
    11291     $final->new(@_);
    11392 }
    114 
     93}}}
    11594
    11695=== Concerns ===