You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2011/03/01 21:40:36 UTC

[jira] Created: (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Utilize JQL to fetch JIRA issue list for release notes generation
-----------------------------------------------------------------

                 Key: DERBY-5080
                 URL: https://issues.apache.org/jira/browse/DERBY-5080
             Project: Derby
          Issue Type: Improvement
          Components: Build tools
    Affects Versions: 10.8.0.0
            Reporter: Kristian Waagan
            Assignee: Kristian Waagan
            Priority: Minor


DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-5080:
-----------------------------------

    Attachment: derby-5080-3a-report_disqualifications_knob.diff

Attaching patch 3a, which makes it possible to specify -DreportDisqualifications=true when running ant genrelnotes to make the JIRA SOAP client report issues that are disqualified because they have already been included in a release ancestor. To be used primarily for debugging, and by the curious :)

Committed to trunk with revision 1129132.

> Utilize JQL to fetch JIRA issue list for release notes generation
> -----------------------------------------------------------------
>
>                 Key: DERBY-5080
>                 URL: https://issues.apache.org/jira/browse/DERBY-5080
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.8.1.2
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-5080-2a-utilize_jql.diff, derby-5080-2a-utilize_jql.stat, derby-5080-3a-report_disqualifications_knob.diff
>
>
> DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
> Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-5080:
-----------------------------------

    Attachment: derby-5080-2a-utilize_jql.diff
                derby-5080-2a-utilize_jql.stat

Attaching patch 2a, which makes the SOAP client use JQL to obtain the list of issues to include in the release notes.

The addition is backward compatible, that is you can continue to use manually created JIRA filters without any changes. The only thing required to make the tool use JQL is to specify a JIRA filter id of 0 (zero) when invoking the ant script (i.e. ant -Doption=X genrelnotes in tools/release). You can also use the SOAP client directly, but that's slightly more tedious. I'll see if I can add a README.

Patch ready for review.

> Utilize JQL to fetch JIRA issue list for release notes generation
> -----------------------------------------------------------------
>
>                 Key: DERBY-5080
>                 URL: https://issues.apache.org/jira/browse/DERBY-5080
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.8.1.2
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-5080-2a-utilize_jql.diff, derby-5080-2a-utilize_jql.stat
>
>
> DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
> Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan resolved DERBY-5080.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.9.0.0

Resolving issue.

I'm not sure if we should add a JIRA to verify that this functionality works, or if seeing the JQL and the resulting release notes (which is reviewed by the community) is enough...

> Utilize JQL to fetch JIRA issue list for release notes generation
> -----------------------------------------------------------------
>
>                 Key: DERBY-5080
>                 URL: https://issues.apache.org/jira/browse/DERBY-5080
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.8.1.2
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>             Fix For: 10.9.0.0
>
>         Attachments: derby-5080-2a-utilize_jql.diff, derby-5080-2a-utilize_jql.stat, derby-5080-3a-report_disqualifications_knob.diff
>
>
> DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
> Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-5080.
----------------------------------


Closing issue.

> Utilize JQL to fetch JIRA issue list for release notes generation
> -----------------------------------------------------------------
>
>                 Key: DERBY-5080
>                 URL: https://issues.apache.org/jira/browse/DERBY-5080
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.8.1.2
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>             Fix For: 10.9.0.0
>
>         Attachments: derby-5080-2a-utilize_jql.diff, derby-5080-2a-utilize_jql.stat, derby-5080-3a-report_disqualifications_knob.diff
>
>
> DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
> Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041097#comment-13041097 ] 

Kristian Waagan commented on DERBY-5080:
----------------------------------------

Thanks, Rick.

Committed patch 2a to trunk with revision 1129117.

I did generate the 10.8 release notes and compared them to what is checked in on the 10.8 branch. Besides from some unrelated formatting differences, the tool now adds a few additional issues because their JIRA status changed (i.e. marked as resolved after the 10.8 release notes were generated), and there was one issue that didn't make it (I assume the issue for the istat feature, DERBY-3788, was added manually?).

I hope I have addressed the issue where there are several release candidates, and I have also made the tool exclude higher versions with the same fix-pack as the release (that is, don't include 10.8.1.3 when generating release notes for 10.8.1.2).

Running the tool with release version 10.8.1.3 results in the delta between 10.8.1.3 and 10.8.1.2 (19 issues at time of writing). This requires that you change the value of previousRelease in releaseSummary.xml.

> Utilize JQL to fetch JIRA issue list for release notes generation
> -----------------------------------------------------------------
>
>                 Key: DERBY-5080
>                 URL: https://issues.apache.org/jira/browse/DERBY-5080
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.8.1.2
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-5080-2a-utilize_jql.diff, derby-5080-2a-utilize_jql.stat
>
>
> DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
> Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001106#comment-13001106 ] 

Kristian Waagan commented on DERBY-5080:
----------------------------------------

I updated the SOAP API service description to match JIRA 4.2 with revision 1076016.

> Utilize JQL to fetch JIRA issue list for release notes generation
> -----------------------------------------------------------------
>
>                 Key: DERBY-5080
>                 URL: https://issues.apache.org/jira/browse/DERBY-5080
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.8.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>
> DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
> Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DERBY-5080) Utilize JQL to fetch JIRA issue list for release notes generation

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040392#comment-13040392 ] 

Rick Hillegas commented on DERBY-5080:
--------------------------------------

Thanks, Kristian. The patch looks good to me. I have applied it and successfully generated release notes using a filter id of 0.

> Utilize JQL to fetch JIRA issue list for release notes generation
> -----------------------------------------------------------------
>
>                 Key: DERBY-5080
>                 URL: https://issues.apache.org/jira/browse/DERBY-5080
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.8.1.2
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-5080-2a-utilize_jql.diff, derby-5080-2a-utilize_jql.stat
>
>
> DERBY-4857 made it possible to use the JIRA SOAP API to fetch a list of issues fixed in a release. However, the release manager have to manually create a JIRA filter and feed the filter id to the tool.
> Now that the Apache JIRA instance has been updated to 4.x, we can use the JIRA Query Language (JQL) to avoid that manual step.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira