Hello,

I'm working on wpkg.js as you saw, I know Rainer Meier want to
restructure the code for 1.2 and before going forward I want to submit
my TODO list for review.

Regards.
-- 
Daniel Dehennin
RAIP de l'Orne

                          Things to do [0/2]
                          ==================

Author: Daniel Dehennin
Date: 2010-05-17 13:44:58 CEST


Table of Contents
=================
1 Factorize host informations [0/4] 
    1.1 Use an host "associative" array [0/8] 
        1.1.1 getHostname 
        1.1.2 getDomainName 
        1.1.3 getHostGroups 
        1.1.4 getHostsApplying => avoid local variable in read-only access 
        1.1.5 setHostname 
        1.1.6 parseArguments 
        1.1.7 getIPAddresses 
        1.1.8 getProfileList 
    1.2 Define function gatherHostInfos [0/1] 
        1.2.1 initialize gather all the host informations 
    1.3 Define functions getHostInfo(attribute) and setHostInfo(attribute, 
value) [0/7] 
        1.3.1 getDomainName => use getHostInfo("name") 
        1.3.2 getHostGroups => use getHostInfo("name") and 
getHostInfo("domainname") 
        1.3.3 parseArguments => use setHostInfo 
        1.3.4 initialize => use getHostInfo("name") or "associative" array 
directly 
        1.3.5 notify => use getHostInfo("name") or "associative" array directly 
        1.3.6 Remove useless getHostname 
        1.3.7 Remove useless setHostname 
    1.4 getDomainName => setDomainName [0/2] 
        1.4.1 getHostGroups => use getHostInfo("domainname") 
        1.4.2 gatherHostInfos => use getHostInfo("domainname") 
2 Factorize getPackageCmd* [0/2] 
    2.1 Define getPackageCmd(packageNode, cmd) [0/2] 
        2.1.1 removePackage => use getPackageCmd(packageNode, "remove") 
        2.1.2 installPackage => use getPackageCmd(packageNode, 
"upgrade"|"install"|"downgrade") 
    2.2 Remove useless getPackageCmdDowngrade, getPackageCmdInstall and 
getPackageCmdRemove 

Attachment: pgpXbR5gGX2VC.pgp
Description: PGP signature

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to