Re: [Dwai-developers] TODOs
Status: Beta
Brought to you by:
lucrus
|
From: Lucio C. <lu...@su...> - 2006-03-30 21:16:04
|
Davide Corio wrote: > Il giorno gio, 30/03/2006 alle 00.34 +0200, Lucio Crusca ha scritto: > > 1 - provide tools for DEWmasters to help them build the XML DF file given > > Are you thinking something similar to dpkg-scanpackages? I didn't know dpkg-scanpackages until now. I've took a look at its manpages and it seems it does a work similar to what our script should do. In order to make it clear what I have in mind, I give an example, where dewmaster is the name of our script jul...@ww...:~/debs$ ls wine-0.9.10-2.deb jul...@ww...:~/debs$ dewmaster --interactive Gimme deb package file plz: wine-0.9* Do u want to include sources.list stuff in XML? y Gimme comma separated sources plz: deb http://... D'ya need preferences by any chance? n Designed for? Sid Output file name? wine.dwai That's all, building wine.dwai XML file. Extracting dependecies from wine-0.9.10-2.deb... done. Your dwai file is ready. You probably want to move it under /var/www jul...@ww...:~/debs$ su -c mv wine.dwai /var/www/download/dew/ Needless to say, dewmaster script must be able to work also in non interactive batch mode, taking all the input from a configuration file and/or command line. Now the question is: what should we use to write the dewmaster script? |