Re: Get all issues with attached files
anatoly techtonik <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <CAPkN8xJPMu5FeBnLDwJndUU5w1nhoKRceTeQBmzSVnd_zO6EvA@mail.gmail.com> |
On Mon, Sep 29, 2014 at 4:56 PM, Tom Ekberg <[email protected]> wrote: > > I think the easiest way to do this is to define a new boolean attribute in your issue schema called something like has_files. Then in issue.item.html initialize it to python:bool(context.files). Be sure to define a <input type="hidden"> for it so it gets saved with the form. ... > Of course, this only works with new issues and issues that have been edited after specifying the new code. You may have to use a shell script and roundup-admin to initialize the new issue schema attribute for the old issues. Patching tracker schema is not a solution. I am trying to build stats for bugs.python.org using XML-RPC - https://bitbucket.org/techtonik/python-stdlib/src/80347532f2a7bd49fc69738dc234120b86d61b51/modstats.py?at=default in a independent way. The boolean attribute won't be updated with XML-RPC API. ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk