id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author,launchpad_bug
4082,tap2rpm should read configuration from the .tac file it packages.,TimAllen,TimAllen,"I have a project which includes a .tac file, which I convert to an RPM with tap2rpm. Because the .tac file is part of the project, the maintainer, protocol, description and long description are the same every time I invoke tap2rpm - and often the version will be similar too. I could bundle a special build-script in my project that records these configuration variables, but it seems like a problem that nearly every tap2rpm user would encounter and thus should be solved once for everyone.

Currently twistd peeks into .tac files looking for a variable with the magic name ""application""; I propose tap2rpm (and tap2deb and a hypothetical tap2svc) should peek into .tac files looking for a variable with the magic name ""metadata"", looking something like this:
{{{
metadata = {
    'maintainer': 'John Doe <johndoe@example.com>',
    'protocol': 'htcpcp',
    'description': 'Daemon for servicing HTCPCP requests',
    'long_description': """"""
         Provides a TCP-based Hypertext Coffee Pot Control Protocol interface for all
         USB-connected beverage devices.
         """""",
    }
}}}",enhancement,new,normal,,core,,,,,,
