[wpkg-users] Expanding variables

Rainer Meier r.meier at wpkg.org
Tue Oct 21 11:40:18 CEST 2008


Hi Daniel,

Daniel Dehennin wrote:
> Hello,
> 
> Reading wpkg.js I saw how logFilePattern is expanded and I think this
> treatment can be applied to more variables.
> 
> For example:
> - wpkg_base              = http://www.mydomaine.tld/wpkg/
> - web_packages_file_name = packages/[HOSTNAME].xml
> - web_profiles_file_name = profiles/[HOSTNAME].xml
> - web_hosts_file_name    = hosts/[HOSTNAME].xml
> 
> So, instead of loading maybe "huge" XML files, the web service can
> restrict them for the host only.
> 
> This may avoid the use of profiles and hosts files if the web service
> handle the profiles management and packages dependencies and hide them
> to the client.
> 
> So http://www.mydomaine.tld/wpkg/[HOSTNAME].xml can be just ready to
> be used.


Yes, such patterns are on my list of features already. Thanks for your
diff file. However in general I think a web service could probably
already "filter" the provided XML file by information provided in HTTP
header (client information) like IP-address. However it's still a nice
feature.

thanks,
Rainer



More information about the wpkg-users mailing list