[Anthill-pro] Reports
Yanko, Curtis
curt_yanko at uhc.com
Mon Jan 14 12:31:03 CST 2008
Ok, I cranked out Build by Month and by Quarter. Now how about something
like a abr graph where total equals builds and then instead of failed,
some other color for Dev deploys, qa...
Also, some kind of year-to-date Builds, deploys would be nice
How do I get metrics on total number of users? Files? Commits?
Repo triggered vs manaual?
===
-Curt
W: 860.702.9059
M: 860.881.2050
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Eric
Minick
Sent: Monday, January 14, 2008 12:08 PM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Reports
Try this one as an example as well:
http://bugs.urbancode.com/browse/AHPSCRIPTS-12
It's a bit more specific than what you're looking to do and generating a
different sort of report, but it shows how to set up per-month and
per-project dropdown lists for reports with options on the projects to
take all.
All the scripts and reports that we've gathered up to share are
available here:
http://bugs.urbancode.com/browse/AHPSCRIPTS
-- Eric
Yanko, Curtis wrote:
> This seems to be working
>
> //Set our Date range
> Date startDate = new java.util.Date(108, 0, 1); Date endDate = new
> java.util.Date(108, 11, 31);
>
> // Get workflows
> BuildLifeWorkflowCaseSummary[] summaries =
> DashboardFactory.getInstance().getBuildLifeWorkflowSummaries(null,
> startDate, endDate);
>
>
> ===
> -Curt
> W: 860.702.9059
> M: 860.881.2050
>
> -----Original Message-----
> From: anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan
> Smith
> Sent: Monday, January 14, 2008 11:33 AM
> To: AnthillPro user and support list.
> Cc: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] Reports
>
> Curtis,
>
> Unfortunately, that method requires the project id. I'm looking for
> one that works across all projects but I'm not seeing one yet.
>
>
> Ryan
>
>
> Yanko, Curtis wrote:
>
>> Tried this but no joy:
>>
>> BuildLifeWorkflowCaseSummary[] summaries =
>> DashboardFactory.getInstance().getBuildLifeWorkflowSummaries(null,
>> new
>>
>
>
>> java.util.Date(2008, 1, 2), new java.util.Date(2008, 12, 31));
>>
>> ===
>> -Curt
>> W: 860.702.9059
>> M: 860.881.2050
>>
>>
>> ---------------------------------------------------------------------
>> -
>> --
>> *From:* anthill-pro-bounces at lists.urbancode.com
>> [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of
>> *Yanko,
>>
>
>
>> Curtis
>> *Sent:* Monday, January 14, 2008 11:09 AM
>> *To:* AnthillPro user and support list.; AnthillPro user and support
>>
> list.
>
>> *Subject:* RE: [Anthill-pro] Reports
>>
>> Ok, in remoting I see this:
>>
>>
>>
>> getBuildLifeWorkflowSummaries
>>
>> public BuildLifeWorkflowCaseSummary
>>
> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urba
> nc ode/anthill3/dashboard/BuildLifeWorkflowCaseSummary.html>[]
> *getBuildLifeWorkflowSummaries*(java.lang.Long projectId,
>
> java.lang.Integer start,
>
> java.lang.Integer count)
>
>> throws
>> PersistenceException
>> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urb
>> a ncode/anthill3/domain/persistent/PersistenceException.html>
>>
>> *Throws:*
>> |PersistenceException
>>
>> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urb
>> a ncode/anthill3/domain/persistent/PersistenceException.html>|
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>>
>> getBuildLifeWorkflowSummaries
>>
>> public BuildLifeWorkflowCaseSummary
>>
> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urba
> nc ode/anthill3/dashboard/BuildLifeWorkflowCaseSummary.html>[]
> *getBuildLifeWorkflowSummaries*(java.lang.Long projectId,
>
> java.util.Date startDate,
>
> java.util.Date endDate)
>
>> throws
>> PersistenceException
>> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urb
>> a ncode/anthill3/domain/persistent/PersistenceException.html>
>>
>> *Throws:*
>> |PersistenceException
>>
>> <http://ahpstage.uhc.com/tools/remoting/anthill3-remoting/api/com/urb
>> a ncode/anthill3/domain/persistent/PersistenceException.html>|
>>
>> ||
>> ||
>> |So I'm guessing that the Days-of-the-week script just gets the last
>> |100
>> build lifes??? and I should use this second approach and set my dates
>> from Jan 1 to Dec 31 of 2008.|
>> ||
>> |What's the synatax fpor that? Would I set in the Meta-data script?|
>> ||
>>
>> ===
>> -Curt
>> W: 860.702.9059
>> M: 860.881.2050
>>
>>
>> ---------------------------------------------------------------------
>> -
>> --
>> *From:* anthill-pro-bounces at lists.urbancode.com
>> [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of
>> *Yanko,
>>
>
>
>> Curtis
>> *Sent:* Monday, January 14, 2008 10:55 AM
>> *To:* AnthillPro user and support list.
>> *Subject:* RE: [Anthill-pro] Reports
>>
>> Ok, first crack at Builds by Month:
>>
>> It essentially works but I am only getting builds for January ( and
>> probably not all of it even).
>>
>> I did a modify job on the Days-of-the-week report and this line is
>> where I think I'm running into trouble:
>>
>> // Get workflows for the last 7 days for the right project
>> BuildLifeWorkflowCaseSummary[] summaries =
>> DashboardFactory.getInstance().getBuildLifeWorkflowSummaries(null,
>> null, new Integer(100));
>>
>> I didn't modify it but the comment and that integer 100 are scaring
>>
> me.
>
>>
>> Now, ideally I'd like to limit this to 2008 and have a seperate
>> report
>>
>
>
>> for 2007 (which I'm willing to hard code into the script)
>>
>> Thoughts on approach?
>>
>> ===
>> -Curt
>> W: 860.702.9059
>> M: 860.881.2050
>>
>>
>>
>>
>> This e-mail, including attachments, may include confidential and/or
>> proprietary information, and may be used only by the person or entity
>> to which it is addressed. If the reader of this e-mail is not the
>> intended recipient or his or her authorized agent, the reader is
>> hereby notified that any dissemination, distribution or copying of
>> this e-mail is prohibited. If you have received this e-mail in error,
>> please notify the sender by replying to this message and delete this
>>
> e-mail immediately.
>
>> This e-mail, including attachments, may include confidential and/or
>> proprietary information, and may be used only by the person or entity
>> to which it is addressed. If the reader of this e-mail is not the
>> intended recipient or his or her authorized agent, the reader is
>> hereby notified that any dissemination, distribution or copying of
>> this e-mail is prohibited. If you have received this e-mail in error,
>> please notify the sender by replying to this message and delete this
>>
> e-mail immediately.
>
>> This e-mail, including attachments, may include confidential and/or
>> proprietary information, and may be used only by the person or entity
>> to which it is addressed. If the reader of this e-mail is not the
>> intended recipient or his or her authorized agent, the reader is
>> hereby notified that any dissemination, distribution or copying of
>> this e-mail is prohibited. If you have received this e-mail in error,
>> please notify the sender by replying to this message and delete this
>>
> e-mail immediately.
>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>
>
> --
> ===========================================================
> Ryan Smith. 2044 Euclid Ave., Suite 600
> Lead Developer Cleveland, Ohio 44115
> Urbancode, Inc.
> email: rws at urbancode.com
> web: www.urbancode.com phone: 216-858-9000
> web: www.anthillpro.com fax: 216-858-9602
> ===========================================================
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the
> intended recipient or his or her authorized agent, the reader is
> hereby notified that any dissemination, distribution or copying of
> this e-mail is prohibited. If you have received this e-mail in error,
> please notify the sender by replying to this message and delete this
e-mail immediately.
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
More information about the Anthill-pro
mailing list