[Dehs-devel] IDEAS for new dehs
Bluefuture
dehs-devel@lists.alioth.debian.org
Mon, 02 May 2005 16:19:04 +0200
Il giorno lun, 02-05-2005 alle 08:24 +0200, Filippo Giunchedi ha
scritto:
> Hi,
> I wrote some ideas that could be useful to better understand were we are and in
> which direction we should go WRT dehs
>
> in pseudo-code:
> -------
> download_diff(package)
> if watch_exists(package)
> record_output_uscan(package)
> else
> if copyright_exists(package)
> if guess_url(package)
> record_output_uscan(package)
> else
> unable_to_create_watch(package)
> else
> unable_to_create_watch(package)
> -------
>
> output:
>
> package | debian version | upstream version | watch file | uscan output | status
>
> status includes:
> no problem (watch file present and working)
> has watch but it is not working
> has copyright but guess_url failed
> has copyright and guess_url succeded
> has no copyright
>
> output will be ((x)html static) pages (sorted by package name):
> - packages without watch file (but including guessed watch)
> - packages with watch file but not working
> - per-package page /hash/package_name/summary.html (hash is like in the PTS,
> lib if name.startswith("lib"), name[0] otherwise)
> - watch file /hash/package_name/watch (guessed or downloaded)
> - uscan output /hash/package_name/uscan
> (also copyright file if present)
> - output data in some format for use with qa and/or PTS
>
And for use with Synaptic. Actually there is also the maintainers
summary page.
> every page should be regenerated (using a flag?) when either a new diff is
> downloaded or uscan output changes
>
> dynamic page can be filter_by_regexp on package name
>
>
>
We would go from a database driven to an xml driven system?
> comments are welcome,
> filippo
I would know what Lucas has already wrote.
Lucas had u time to post something to the list about what u have already
done?
Cheers,
Stefano