Re: Get all issues with attached files
anatoly techtonik <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <CAPkN8xK7_UXpciGGr9_=CJrQj6pi5i=43TF_9sh1xs+XWYrTjA@mail.gmail.com> |
On Thu, Oct 2, 2014 at 10:14 AM, anatoly techtonik <[email protected]> wrote: > 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. Newer version: https://bitbucket.org/techtonik/python-stdlib/src/092af75da07cb264070115fb9a970e27b1e57f72/modstats.py?at=default Link to latest: https://bitbucket.org/techtonik/python-stdlib/src/tip/modstats.py?at=default ------------------------------------------------------------------------------ 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