
      ALT Linux alterator 2.0.

1:  .

1. .

                    ,   .
            :         .  , frontend  backend.
,                            .

Alterator  frontend  backend  ݣ   -  ,        ,  , ,       .         .

2.     Alterator.

, alterator   ң ϣ.      ,      .            .

   ,       .
    ͣ            ( )    ͣ     ף (  ).
        -     ,      ͣ   .   .
:
 * /users - .         (   -   ).        .
 * /ldap/users -    LDAP.  ldap   ͣ,  users  
 * /ldap/users/test -  test   ldap. ldap  ͣ, users -  , test -   . ldap  users - , test - .
 * /local/users -      (/etc/passwd).
 * /services/ -  
 * /services/cups -   .

  : < > <>=<> <>=<> ... 

       .   backend     action    ң  :
 * new -  
 * delete -  
 * read -    
 * write - /   .

 :
 * /users/test chpasswd=123  -     test   "123" (  ,       ).
 * /ldap/users/test action=new uid=123 -    test  uid=123.
 * /services/cups action=delete -    cups.
 
 ,      ,          :    -  WOO,   backend -  HOO.

      ,        WOO  HOO.  WOO  HOO        - ӣ    .

     ,       .         .  "action=read" Σ          .         .      , ,   .

              :
  "/users/test action=read"   "/users/test uid=123"

   ,   ,      ,   "/users action=read"  :
/users/test1
/users/test2
/users/test3

    /ctrl/,   ͣ     alterator.

     /error/  /error?/ -      .         ,      ,     .

3.  Alterator.

      Alterator. Σ    :

3.1 Look

Look -    ,    .   - , ,  http.
        ,        .        .   ,      -      ,        WOO.        -   . ,  listbox       WOO: /users action=read.        ,     .
           /ctrl/look.   :
* /ctrl/look action="view" id="viewid" -       id.
* /ctrl/look action="file" name="filename" -        filename.

  ӣ     , ݣ  ""  .

3.2 WooCache

  Look    WOO.    ,      ,       .     :
 * /ctrl/cache action="reset" -  
 * /ctrl/cache action="ignore" -    ()   .
  :
 count -   
 id - id ,    .
 * /ctrl/cache action="unignore" -  "ignore".

  ̣ ,       .
  "action"  "write"  "delete" (    ),       "action"  "read".

ݣ  ,         .   ݣ       ģ,     woocache   ۣ.

3.3 Chooser

Chooser -    ,    .
 ,       WOO,    HOO       .      -,      .
    ,         , ģ ,      LDAP.
     "/users action=read"     "/local/users action=read"  "/ldap/users action=read".           ,    .  "/local/users/test1"  "/ldap/users/test2"   "/users/test1"  "/users/test2".       ,          .

ݣ  ,    .       ,       .       ,      .
  chooser  "/users/test action=write passwd1=132 passwd2=234"           "/users/test action=write passwd=123"  "/error/users/test action=write reason='passwords mismatch'" .

3.4 Brook

  Chooser      HOO,          .  ,        Samba  ,     :
     :
"   "
    samba :
"    "
"    samba".

        . Brook    ,       .
     ,      -   .          .

     Brook,     .

3.5 Backend.

  ݣ        Backend ̣   ,    .
      ,        .

             - admfs.         .

  Alterator   ,   backend        .   ݣ      :
*             Alterator.
*        Alterator,        
*        ,  CVS,     ,        .  CVS   ݣ    -    WOO.    ,                    .       ģ  ,              .   -      .
*         ,     (  ģ  ).

            .

3.6 WooBus

ݣ   Alterator,        ,      .

  Alterator: Look,Cache,Chooser,Brook,Backend         WooBus.
WooBus -   (   ) ,             Σ   . /              .

      ,     . ,       ,    Backend       .
                   .  ң ,    Chooser            .     ;)

WooBus       /   . ,   ,  Cache  Chooser.    ,        ,     Look  Backend       Chooser.

    Ctrl-C      .      .
 :
load -    
append/insert -  
remove -  
help -    
exit -   .
status -     
start -  
stop -  

 Ctrl-D     .


