future of smart

Cliff Wells cliff at develix.com
Thu Jun 5 14:49:40 PDT 2008


On Thu, 2008-06-05 at 08:27 -0700, Grant McWilliams wrote:
>         
>         
>         
>         seems to address this adequately (at least for Fedora).
>         
>         Okay, well... I guess I'll take a look at adding variable
>         support to the
>         config file then =)  I could use a regex to do this but I'm
>         thinking of
>         using the string.Template module... this would require at
>         least Python
>         2.4... would there be any complaints about that?
>         
>         Cliff
>         
> 
> I wouldn't mind it just being handled like Yum does.  
> 
> mirrorlist="http://mirror.centos.org/centos/$releasever/centosplus/$basearch"
> 
> or
> 
> mirrorlist="http://mirror.centos.org/?release=$releasever&arch=
> $basearch&repo=$centosplus

Well, that's the goal.  The string.Template module allows for exactly
this type of string interpolation.

Cliff





More information about the Smart mailing list