[Dwai-developers] Easter news
Status: Beta
Brought to you by:
lucrus
|
From: Lucio C. <lu...@su...> - 2007-04-08 21:08:19
|
So you thought DWAI had died? Wrong. It was just sleeping.
News:
* I've uploaded the latest sources onto SVN at sourceforge
This means that you can now track the development through SVN. If someone is
interested in write access to the repository, please let me know.
* command line syntax of dewmaster has changed
The last stable version of dewmaster (0.2.2) undestands only a single
parameter on the command line: the path to the deb file to use to make the
corresponding .dwai file. The current SVN code does not understand that
single path anymore but understands three options instead:
-d path/to/debs
You can specify a singe deb or a bunch, like '/srv/*.deb' (use single
quotes or otherwise escape the * from bash). If '/srv/' contained any
subdirectories, they are recursively examined.
-u url/to/debs
You can specify a "wget valid" url to download deb files directly and
have dewmaster build the correspondig dwai files. Still alpha, it does
NOT work with wildcards through http (man wget tells us why).
-f config
You can specify a custom config file besides the default ones
(/etc/dwairc and ~/.dwairc). The default ones will be processed anyway
but any variable defined in the custom one will take precedence. This
is a powerful feature for cron based dewmaster calls that have to work
on different repositories.
* dewmaster can now handle several deb files in a single call
Look at the -d and -u options above: there's no more need to use dewmaster for
each deb, you can call it once for them all.
Next steps:
* Make globbing work for both ftp and http (now it works for ftp only).
* Add support for HTML templates in order to automatically create an HTML page
that links to the dwai file for each deb in input (so that you have your
website updated with a single run of dewmaster). The HTML page will include
the link to the dwai file and the description of the package taken directly
from the DEB file itself. Being a template it will fit perfectly in the
website of your choice, because it will be enough to create a template that
matches the site look and feel.
That'all folks!
--
Virtual Bit di Lucio Crusca
via Isonzo, 5
10069 - Villar Perosa (TO)
Italy
VAT No. IT09534960019
http://virtualbit.sulweb.org
|