Community help wikis per release
Adam Sommer
asommer70 at gmail.com
Tue Oct 23 18:49:43 UTC 2007
Another good idea Phil,
> The macro would read the entire list into a dict or a list. Then, it
> could go through the macro arguments one by one and try to match them to
> a row in the dict, outputting the version string which corresponds to
> that keyword. This would remove the need to import re too.
In version 5 I've reworked the code to parse a UbuntuVersions page that
looks like what you suggested. Basically this format:
feisty, Ubuntu 7.06 (Feisty Fawn);
gutsy, Ubuntu 7.10 (Gutsy Gibbon);
I also imported a text file of the UbuntuVersions I parsed for testing it
has all the misspellings I could think of... heh. The dictionary idea
worked great for me, but let me know what you think.
https://code.launchpad.net/~asommer70/+junk/misc
--
Party On,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20071023/f410cc36/attachment.html>
More information about the ubuntu-doc
mailing list