Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # general >> Re: [VOTE] Release candidate 0.20.203.0-rc0


+
Arun C Murthy 2011-05-02, 20:07
+
Doug Cutting 2011-05-02, 20:40
+
Arun C Murthy 2011-05-02, 21:05
+
Doug Cutting 2011-05-02, 21:21
+
Arun C Murthy 2011-05-02, 21:33
+
Doug Cutting 2011-05-02, 21:48
+
Ian Holsman 2011-05-02, 21:49
+
Arun C Murthy 2011-05-02, 22:19
+
Doug Cutting 2011-05-02, 21:55
+
Doug Cutting 2011-05-04, 00:16
+
Arun C Murthy 2011-05-04, 01:01
Copy link to this message
-
Re: [VOTE] Release candidate 0.20.203.0-rc0
On 05/03/2011 06:01 PM, Arun C Murthy wrote:
> On May 3, 2011, at 5:17 PM, "Doug Cutting" <[EMAIL PROTECTED]> wrote:
>
>> On 05/02/2011 02:33 PM, Arun C Murthy wrote:
>>> Are you simply asking for someone to go through the 450 odd jiras and
>>> set 'fix-for' fields?
>>
>> Every other release we've made is well-correlated with Jira.  It should
>> not be difficult to achieve that for this one.  We could write a script
>> to take all 450 bug IDs from the change log and use Jira's command-line
>> tool to set the "fix-for" to be this 0.20+security release.  Would you
>> like help with that?
>>
>
> Yes please, that would be great. Thanks!

Please find below a script that will add a fix-version to issues.

Doug

#!/bin/bash

# reads bug ids from standard input
# and adds the fixVersion named on command line

if [ $# -eq 0 ]
then
  echo "Usage: $0 bugid"
  exit 1
fi

fix=$1
echo Setting fix version to $fix.

server=https://issues.apache.org/jira
jira=./jira-cli-2.0.0/jira.sh

set -e

echo -n "Jira username: "
read user
echo -n "Jira password: "
stty -echo
read password
stty echo

while read issue
do
    # first read the old fix versions
    old=`$jira -a getFieldValue --server $server \
         --password $password --user $user \
         --issue $issue --field fixVersions | \
tail -n 1 | sed 's/([0-9]*)//g' | sed s/\'//g`

    # now update, adding new value
    # jira will ignore if this value is already present
    $jira -a updateIssue --server $server \
     --password $password --user $user \
     --issue $issue --fixVersions "${old},${fix}"
done
+
Andrew Purtell 2011-05-02, 22:05
+
Andrew Purtell 2011-05-02, 22:14
+
Arun C Murthy 2011-05-02, 22:15
+
Eli Collins 2011-05-02, 22:19
+
Doug Cutting 2011-05-02, 22:25
+
Jake Cornelius 2011-05-02, 22:31
+
Konstantin Shvachko 2011-05-03, 08:39
+
Eli Collins 2011-05-03, 17:02
+
Todd Lipcon 2011-05-03, 23:58
+
Konstantin Shvachko 2011-05-08, 05:41
+
Owen OMalley 2011-05-11, 17:36
+
Ian Holsman 2011-05-11, 17:38
+
Konstantin Shvachko 2011-05-11, 18:40
+
Owen OMalley 2011-05-11, 22:10
+
Raghu Angadi 2011-05-11, 19:09
+
Owen OMalley 2011-05-04, 17:31
+
Eli Collins 2011-05-04, 19:17
+
Eric Baldeschwieler 2011-05-04, 20:26
+
Allen Wittenauer 2011-05-04, 20:17
+
Owen OMalley 2011-05-04, 23:19
+
Eli Collins 2011-05-04, 22:03
+
Suresh Srinivas 2011-05-04, 22:06
+
Eli Collins 2011-05-04, 22:24
+
Jakob Homan 2011-05-04, 22:29
+
Eli Collins 2011-05-04, 22:36
+
Tsz Wo \ 2011-05-04, 23:09
+
Eli Collins 2011-05-04, 23:11
+
Arun C Murthy 2011-05-04, 23:11
+
Todd Lipcon 2011-05-04, 23:44
+
Arun C Murthy 2011-05-04, 23:55
+
Eric Baldeschwieler 2011-05-05, 00:05
+
Eli Collins 2011-05-05, 00:22
+
Mahadev Konar 2011-05-05, 00:30
+
Eli Collins 2011-05-05, 00:39
+
Konstantin Boudnik 2011-05-05, 00:43
+
Eric Baldeschwieler 2011-05-05, 01:18
+
Eli Collins 2011-05-05, 01:24
+
Roy T. Fielding 2011-05-05, 01:56
+
Dhruba Borthakur 2011-05-05, 02:20
+
Nigel Daley 2011-05-05, 04:17
+
Jeff Hammerbacher 2011-05-05, 04:54
+
Eric Sammer 2011-05-05, 05:47
+
Matei Zaharia 2011-05-05, 06:21
+
Jane Chen 2011-05-05, 06:49
+
Lars Francke 2011-05-06, 10:07
+
Todd Lipcon 2011-05-04, 22:30
+
Suresh Srinivas 2011-05-04, 22:41
+
Eli Collins 2011-05-04, 22:51
+
Suresh Srinivas 2011-05-05, 19:02
+
Jakob Homan 2011-05-05, 20:56
+
Allen Wittenauer 2011-05-07, 00:49
+
Todd Papaioannou 2011-05-07, 01:43
+
Allen Wittenauer 2011-05-07, 02:31
+
Milind Bhandarkar 2011-05-07, 06:18
+
Allen Wittenauer 2011-05-07, 19:06
+
Konstantin Boudnik 2011-05-04, 23:32
+
Arun C Murthy 2011-05-04, 22:05
+
Mahadev Konar 2011-05-04, 23:29
+
Doug Cutting 2011-05-04, 22:17
+
Todd Lipcon 2011-05-04, 22:23
+
Devaraj Das 2011-05-05, 01:10
+
Milind Bhandarkar 2011-05-05, 01:30
+
Chris Douglas 2011-05-05, 01:12
+
Eli Collins 2011-05-05, 01:19
+
Jean-Daniel Cryans 2011-05-05, 01:24
+
Roy T. Fielding 2011-05-05, 02:22
+
Ian Holsman 2011-05-05, 03:34
+
Andrew Purtell 2011-05-05, 16:18
+
Steve Loughran 2011-05-06, 11:52
+
Andrew Purtell 2011-05-06, 18:30
+
Jean-Daniel Cryans 2011-05-05, 06:52
+
Roy T. Fielding 2011-05-05, 21:10
+
Sanjay Radia 2011-05-05, 06:32
+
Stack 2011-05-05, 18:33
+
Andrew Purtell 2011-05-05, 02:12
+
Tsz Wo \ 2011-05-06, 00:42
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB