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 "Rick Hillegas (JIRA)" <ji...@apache.org> on 2010/11/02 16:54:27 UTC

[jira] Commented: (DERBY-4857) Utilize the SOAP API to fetch JIRA issue list for release notes generation

    [ https://issues.apache.org/jira/browse/DERBY-4857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927472#action_12927472 ] 

Rick Hillegas commented on DERBY-4857:
--------------------------------------

Thanks, Kristian. What is checked in works well. A couple small issues:

1) After running the genrelnotes target, I expected to see RELEASE-NOTES.html checked out in my code client. It was. That's good. However, "svn status" also showed the following artifact. I think that the ignore bit needs to be set on this artifact:

?      tools/release/jirasoap/target

2) The genrenotes target is less chatty. That's good. However, maven is still coughing up a long list of numbers and question marks. These don't mean much to me. Can they be suppressed too? See the output included below.

-----------

Here is the new script which I use to drive release notes generation:

#! /bin/bash
#
# generate release notes
#
# $1  jira password
# $2  filter id
# $3  release version
#
# E.g.:
#
# generateReleaseNotes blahblah 12314683 10.7.1.0
#

echo If the script hangs, you may need to get off your company VPN.

jiraUser=rhillegas
jiraPassword=$1
filterID=$2
releaseVersion=$3
reportDir=$HOME/junk/$releaseVersion-relnotes


cd $BRANCH/tools/release

ant -Djira.user=$jiraUser -Djira.password=$jiraPassword -Djira.filter.id=$filterID -Drelease.version=$releaseVersion -Drelnotes.src.reports=$reportDir genrelnotes

-------------------------

Here is the output of running that script:

If the script hangs, you may need to get off your company VPN.
Buildfile: build.xml

check-properties:

missing-properties:

maven-exec-windows:

maven-exec-unix:

genrelnotes:
     [exec] Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.4.1/mail-1.4.1.pom
     [exec] 995/?
     [exec]      Downloading: http://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.pom
     [exec] 1058/?
     [exec]       Downloading: http://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.jar
     [exec] Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.4.1/mail-1.4.1.jar
     [exec] 497/?
     [exec] 1008/?1520/?2032/?2544/?3056/?3568/?4072/?4584/?5095/?5607/?6118/?6630/?7142/?7654/?8164/?8676/?9187/?9699/?9859/?10371/?10882/?11394/?11906/?12451/?13053/?13710/?14222/?14734/?15287/?15836/?16348/?16711/?17165/?17392/?17933/?18446/?18998/?19552/?20063/?20575/?21086/?21601/?22158/?22730/?23275/?23786/?24298/?24811/?25356/?25899/?26428/?26997/?27556/?28151/?28711/?29258/?29769/?30281/?30793/?31304/?31816/?32327/?32887/?33433/?33944/?34398/?34910/?35421/?35933/?36445/?36893/?37443/?37953/?38530/?39077/?39625/?40237/?40795/?41306/?41846/?42358/?42869/?43381/?43893/?44404/?44915/?45474/?46030/?46554/?47116/?47578/?48140/?48707/?49188/?49755/?50330/?50914/?51010/?51574/?52084/?52596/?53158/?53728/?54293/?54853/?55365/?55973/?56560/?57127/?57683/?58290/?58802/?59313/?59825/?60336/?60848/?61360/?61576/?62088/?62599/?63111/?63623/?64135/?64471/?64982/?65497/?66008/?66520/?67031/?67543/?68054/?68567/?69026/?69539/?70051/?70563/?71075/?71587/?72103/?72616/?73127/?73639/?74151/?74662/?75174/?75686/?76232/?76744/?77255/?77487/?77999/?78555/?79067/?79620/?80133/?80471/?80983/?81495/?82006/?82518/?83031/?83542/?84054/?84470/?84982/?85495/?85951/?86463/?86976/?87488/?87999/?88511/?89023/?89534/?90047/?90593/?91104/?91659/?92172/?92760/?93272/?93592/?94145/?94658/?95171/?95683/?96194/?96530/?97041/?97553/?98065/?98578/?99089/?99601/?100112/?100626/?100874/?101386/?101899/?102355/?102866/?103378/?103889/?104401/?104913/?105424/?105936/?106479/?106990/?107540/?108052/?108603/?109114/?109664/?110176/?110687/?111283/?111795/?112385/?112898/?113410/?113922/?114497/?115009/?115520/?115666/?116220/?116776/?117287/?117775/?118286/?118638/?119151/?119607/?120118/?120638/?121183/?121694/?122249/?122760/?123316/?123827/?124339/?124851/?125363/?125918/?125990/?126502/?127060/?127573/?128085/?128598/?129110/?129621/?130133/?130646/?131159/?131672/?132183/?132695/?133207/?133719/?134230/?134743/?135254/?135765/?136224/?136735/?137255/?137774/?138286/?138798/?139310/?139821/?140334/?140846/?141358/?141870/?142382/?142470/?142982/?143548/?144060/?144617/?145130/?145642/?146215/?146423/?146728/?147239/?147751/?148263/?148775/?149334/?149846/?150358/?150957/?151468/?152030/?152542/?152998/?153554/?153825/?154387/?154899/?155192/?155707/?156264/?156775/?157337/?157952/?158463/?158975/?159486/?159998/?160510/?161021/?161532/?162044/?162595/?163106/?163662/?164224/?164736/?165311/?165822/?166386/?166898/?167409/?167954/?168511/?169023/?169570/?170122/?170634/?171229/?171776/?172289/?172802/?173313/?173824/?174336/?174849/?175360/?175871/?176384/?176897/?177408/?177922/?178434/?178946/?179242/?179754/?180267/?180483/?180684/?181196/?181710/?182262/?182817/?183329/?183840/?184352/?184864/?185375/?185887/?186399/?186854/?187402/?187914/?187986/?188496/?189042/?189465/?190019/?190530/?191139/?191651/?192208/?192719/?193053/?193594/?194106/?194617/?195165/?195677/?196189/?196741/?197253/?197803/?198314/?198474/?199020/?199530/?200036/?200548/?201100/?201540/?202051/?202563/?203075/?203587/?204040/?204553/?205065/?205577/?206130/?206642/?207154/?207666/?208178/?208729/?209282/?209794/?210306/?210818/?211330/?211842/?212387/?212900/?213412/?213924/?214435/?214644/?214644/? 503/?214644/? 1015/?214644/? 1527/?214644/? 2038/?214644/? 2550/?214644/? 3062/?214644/? 3573/?214644/? 4077/?215155/? 4077/?215667/? 4077/?216090/? 4077/?216602/? 4077/?217149/? 4077/?217616/? 4077/?218232/? 4077/?218744/? 4077/?219256/? 4077/?219768/? 4077/?220280/? 4077/?220615/? 4077/?221068/? 4077/?221612/? 4077/?222181/? 4077/?222734/? 4077/?223245/? 4077/?223757/? 4077/?224315/? 4077/?224876/? 4077/?225440/? 4077/?225996/? 4077/?226508/? 4077/?226654/? 4077/?227167/? 4077/?227680/? 4077/?228192/? 4077/?228705/? 4077/?229217/? 4077/?229730/? 4077/?230243/? 4077/?230755/? 4077/?231266/? 4077/?231777/? 4077/?232289/? 4077/?232801/? 4077/?233313/? 4077/?233824/? 4077/?234336/? 4077/?234848/? 4077/?235361/? 4077/?235874/? 4077/?236386/? 4077/?236802/? 4077/?237313/? 4077/?237764/? 4077/?238277/? 4077/?238789/? 4077/?239300/? 4077/?239812/? 4077/?240362/? 4077/?240906/? 4077/?241417/? 4077/?241928/? 4077/?242466/? 4077/?242990/? 4077/?243502/? 4077/?244014/? 4077/?244086/? 4077/?244597/? 4077/?245109/? 4077/?245621/? 4077/?246184/? 4077/?246696/? 4077/?247208/? 4077/?247232/? 4077/?247744/? 4077/?248347/? 4077/?248858/? 4077/?249406/? 4077/?249961/? 4077/?250472/? 4077/?251037/? 4077/?251595/? 4077/?252153/? 4077/?252720/? 4077/?253281/? 4077/?253794/? 4077/?254317/? 4077/?254813/? 4077/?255324/? 4077/?255872/? 4077/?256427/? 4077/?256939/? 4077/?257450/? 4077/?257962/? 4077/?258473/? 4077/?258985/? 4077/?259497/? 4077/?260053/? 4077/?260564/? 4077/?261125/? 4077/?261637/? 4077/?262131/? 4077/?262131/? 4588/?262131/? 5100/?262131/? 5612/?262131/? 6164/?262131/? 6839/?262131/? 7351/?262131/? 7862/?262131/? 8419/?262131/? 8971/?262131/? 9489/?262131/? 10000/?262131/? 10160/?262642/? 10160/?263153/? 10160/?263716/? 10160/?264228/? 10160/?264740/? 10160/?265075/? 10160/?265657/? 10160/?266247/? 10160/?266670/? 10160/?267208/? 10160/?267786/? 10160/?268210/? 10160/?268625/? 10160/?269164/? 10160/?269715/? 10160/?270257/? 10160/?270769/? 10160/?271311/? 10160/?271819/? 10160/?272277/? 10160/?272788/? 10160/?273329/? 10160/?273874/? 10160/?274385/? 10160/?274896/? 10160/?275408/? 10160/?275919/? 10160/?276432/? 10160/?276943/? 10160/?277455/? 10160/?277965/? 10160/?278518/? 10160/?279072/? 10160/?279615/? 10160/?280172/? 10160/?280717/? 10160/?281261/? 10160/?281773/? 10160/?282284/? 10160/?282795/? 10160/?283375/? 10160/?283931/? 10160/?284484/? 10160/?284995/? 10160/?285561/? 10160/?286102/? 10160/?286614/? 10160/?287161/? 10160/?287747/? 10160/?288258/? 10160/?288853/? 10160/?289351/? 10160/?289862/? 10160/?290443/? 10160/?290954/? 10160/?291540/? 10160/?292099/? 10160/?292659/? 10160/?293209/? 10160/?293721/? 10160/?294233/? 10160/?294745/? 10160/?295257/? 10160/?295768/? 10160/?296310/? 10160/?296860/? 10160/?297410/? 10160/?297960/? 10160/?298510/? 10160/?299022/? 10160/?299572/? 10160/?299852/? 10160/?300434/? 10160/?300945/? 10160/?301369/? 10160/?301881/? 10160/?302392/? 10160/?302816/? 10160/?303327/? 10160/?303839/? 10160/?304262/? 10160/?304774/? 10160/?305284/? 10160/?305708/? 10160/?306220/? 10160/?306672/? 10160/?307184/? 10160/?307695/? 10160/?308207/? 10160/?308749/? 10160/?309261/? 10160/?309772/? 10160/?310333/? 10160/?310906/? 10160/?311418/? 10160/?311930/? 10160/?312442/? 10160/?312953/? 10160/?313492/? 10160/?314069/? 10160/?314582/? 10160/?315093/? 10160/?315606/? 10160/?316116/? 10160/?316629/? 10160/?317140/? 10160/?317459/? 10160/?317459/? 10672/?317459/? 11184/?317459/? 11695/?317459/? 12207/?317459/? 12719/?317459/? 13231/?317459/? 13795/?317459/? 14366/?317459/? 14878/?317459/? 15389/?317459/? 15901/?317459/? 16459/?317459/? 16875/?317459/? 17329/?317459/? 17545/?317971/? 17545/?318481/? 17545/?319092/? 17545/?319653/? 17545/?320252/? 17545/?320809/? 17545/?321320/? 17545/?321918/? 17545/?322469/? 17545/?323084/? 17545/?323647/? 17545/?323753/? 17545/?324359/? 17545/?324915/? 17545/?325525/? 17545/?326037/? 17545/?326605/? 17545/?327010/? 17545/?327561/? 17545/?328072/? 17545/?328616/? 17545/?329135/? 17545/?329646/? 17545/?330201/? 17545/?330712/? 17545/?331223/? 17545/?331774/? 17545/?332335/? 17545/?332615/? 17545/?333126/? 17545/?333637/? 17545/?334194/? 17545/?334706/? 17545/?335217/? 17545/?335729/? 17545/?336240/? 17545/?336752/? 17545/?337264/? 17545/?337775/? 17545/?338287/? 17545/?338798/? 17545/?339310/? 17545/?339822/? 17545/?340334/? 17545/?340906/? 17545/?341418/? 17545/?341930/? 17545/?342453/? 17545/?343003/? 17545/?343515/? 17545/?344026/? 17545/?344539/? 17545/?345050/? 17545/?345562/? 17545/?346109/? 17545/?346621/? 17545/?347132/? 17545/?347645/? 17545/?348157/? 17545/?348716/? 17545/?349228/? 17545/?349741/? 17545/?350252/? 17545/?350764/? 17545/?351309/? 17545/?351821/? 17545/?352334/? 17545/?352846/? 17545/?353358/? 17545/?353870/? 17545/?354382/? 17545/?354894/? 17545/?355406/? 17545/?355919/? 17545/?356431/? 17545/?356943/? 17545/?357455/? 17545/?357908/? 17545/?358419/? 17545/?358974/? 17545/?359533/? 17545/?360046/? 17545/?360559/? 17545/?361071/? 17545/?361583/? 17545/?362096/? 17545/?362608/? 17545/?363120/? 17545/?363631/? 17545/?364142/? 17545/?364657/? 17545/?365170/? 17545/?365682/? 17545/?366194/? 17545/?366707/? 17545/?367219/? 17545/?367730/? 17545/?368242/? 17545/?368795/? 17545/?369307/? 17545/?369819/? 17545/?370331/? 17545/?370842/? 17545/?371354/? 17545/?371864/? 17545/?372378/? 17545/?372891/? 17545/?373403/? 17545/?373914/? 17545/?373914/? 18057/?373914/? 18568/?373914/? 19167/?373914/? 19679/?373914/? 20191/?373914/? 20702/?373914/? 21268/?373914/? 21822/?373914/? 22334/?373914/? 22846/?373914/? 23357/?373914/? 23869/?373914/? 24433/?373914/? 24945/?373914/? 25555/?373914/? 26066/?373914/? 26594/?374374/? 26594/?374885/? 26594/?375476/? 26594/?375991/? 26594/?376503/? 26594/?377015/? 26594/?377609/? 26594/?378121/? 26594/?378632/? 26594/?379143/? 26594/?379655/? 26594/?380167/? 26594/?380692/? 26594/?381204/? 26594/?381715/? 26594/?382226/? 26594/?382738/? 26594/?383250/? 26594/?383761/? 26594/?384273/? 26594/?384785/? 26594/?385297/? 26594/?385809/? 26594/?386320/? 26594/?386832/? 26594/?387381/? 26594/?387892/? 26594/?388405/? 26594/?388509/? 26594/?389108/? 26594/?389673/? 26594/?390146/? 26594/?390642/? 26594/?391188/? 26594/?391710/? 26594/?392222/? 26594/?392733/? 26594/?393077/? 26594/?393588/? 26594/?394100/? 26594/?394611/? 26594/?395122/? 26594/?395633/? 26594/?395969/? 26594/?396481/? 26594/?397030/? 26594/?397493/? 26594/?398004/? 26594/?398604/? 26594/?399028/? 26594/?399036/? 26594/?399615/? 26594/?400171/? 26594/?400720/? 26594/?401232/? 26594/?401782/? 26594/?402306/? 26594/?402844/? 26594/?403397/? 26594/?403950/? 26594/?404462/? 26594/?405019/? 26594/?405577/? 26594/?406092/? 26594/?406645/? 26594/?406701/? 26594/?407263/? 26594/?407786/? 26594/?408238/? 26594/?408722/? 26594/?409272/? 26594/?409689/? 26594/?410236/? 26594/?410793/? 26594/?411346/? 26594/?411852/? 26594/?412407/? 26594/?412910/? 26594/?413512/? 26594/?414061/? 26594/?414612/? 26594/?415164/? 26594/?415671/? 26594/?416222/? 26594/?416807/? 26594/?417365/? 26594/?417873/? 26594/?418377/? 26594/?418935/? 26594/?419498/? 26594/?420055/? 26594/?420458/? 26594/?420963/? 26594/?421467/? 26594/?421886/? 26594/?422390/? 26594/?423060/? 26594/?424324/? 26594/?426211/? 26594/?428286/? 26594/?430130/? 26594/?432072/? 26594/?434052/? 26594/?436028/? 26594/?437834/? 26594/?439600/? 26594/?440147/? 26594/?440147/? 27106/?440147/? 27657/?440147/? 28168/?440147/? 28720/?440147/? 29319/?440147/? 29696/?440147/? 30250/?440147/? 30763/?440147/? 31274/?440147/? 31786/?440147/? 32298/?440147/? 32809/?440147/? 33321/?440147/? 33832/?440147/? 34080/?440147/? 34577/?440147/? 35193/?440147/? 35617/?442262/? 35617/?444290/? 35617/?446386/? 35617/?447676/? 35617/?                36128/?
     [exec] 36683/?37233/?37743/?38297/?38633/?39145/?39657/?40081/?40594/?41106/?41618/?42130/?42645/?43156/?43668/?44217/?44729/?45241/?45755/?46307/?46818/?47330/?47842/?48400/?48943/?49454/?49965/?50477/?50988/?51428/?51762/?52324/?52833/?53343/?53889/?54450/?55012/?55577/?56086/?56649/?57206/?57760/?58268/?58833/?60364/?62983/?       
[jirasoapclient] getting JIRA service
[jirasoapclient] logging in as 'rhillegas'
[jirasoapclient] fetching versions
[jirasoapclient] fetching issues from filter (id = 12314683)
[jirasoapclient] persisting issues (filter matched 145 issues)
[jirasoapclient] wrote 104 issues, 5 with release notes, 41 issues disqualified
[jirasoapclient] dump file: /Users/rh161140/junk/10.7.1.0-relnotes/fixedBugsList.txt
[generateReleaseNotes] setting summary file name to:/Users/rh161140/derby/mainline/trunk/releaseSummary.xml previousReleaseID: 10.6.2.1 excludeReleaseIDList.size():0
[generateReleaseNotes] --- Creating Jira issue list
[generateReleaseNotes] // Produced on Tue Nov 02 08:42:16 PDT 2010
[generateReleaseNotes] // Release version: 10.7.1.0
[generateReleaseNotes] // Previous release: 10.6.2.1
[generateReleaseNotes] // Derived ancestry chain
[generateReleaseNotes] //   10.6.2.1
[generateReleaseNotes] //   10.6.1.0
[generateReleaseNotes] //   10.5.3.0
[generateReleaseNotes] //   10.5.2.0
[generateReleaseNotes] //   10.5.1.1
[generateReleaseNotes] //   10.4.2.0
[generateReleaseNotes] //   10.4.1.3
[generateReleaseNotes] //   10.3.2.1
[generateReleaseNotes] // Filter id: 12314683, user id rhillegas
[generateReleaseNotes] // Filter issue count: 145
[generateReleaseNotes] // Issues written: 104
[generateReleaseNotes] // Issues disqualified: 41
[generateReleaseNotes] // Issues with release note: 5
     [echo] Release notes written to /Users/rh161140/derby/mainline/trunk/RELEASE-NOTES.html

BUILD SUCCESSFUL
Total time: 45 seconds


> Utilize the SOAP API to fetch JIRA issue list for release notes generation
> --------------------------------------------------------------------------
>
>                 Key: DERBY-4857
>                 URL: https://issues.apache.org/jira/browse/DERBY-4857
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.7.1.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-4857-1a-jirasoap_relnotes.diff, derby-4857-1a-jirasoap_relnotes.stat, derby-4857-2a-jirasoap_maven_client.diff, derby-4857-2a-jirasoap_maven_client.stat, derby-4857-3a-jirasoap_relnotesgen_changes.diff, derby-4857-3a-jirasoap_relnotesgen_changes.stat, derby-4857-3b-jirasoap_relnotesgen_changes.diff, derby-4857-4a-jirasoap_ant_integration.diff, derby-4857-4a-jirasoap_ant_integration.stat, derby-4857-4b-jirasoap_ant_integration.diff, RELEASE-NOTES.html
>
>
> Somewhat simplified, the release manager (RM) must currently perform the following manual steps to feed the release note generate the data it needs:
>  a) Create manual JIRA filter to select issues addressed by the release.
>  b) Save the filter result to disk as XML.
>  c) Write/modify the XML parser to be able to parse the report.
>  d) Determine and record all JIRA release note attachment ids for the issues requiring a release note.
> By using the current version of the SOAP API (3.13.5), steps (b) to (d) can be removed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.