Download All Eclipse Bug Data [message #1694185] |
Fri, 01 May 2015 17:25  |
Eclipse User |
|
|
|
Hi everybody. I want to know if its possible to download all eclipse bug data into a csv file. I only can search 10000 bugs, but I want all FIXED, RESOLVED, VERIFIED and CLOSED bugs. I want for my master degree research. Thanks!
|
|
|
Re: Download All Eclipse Bug Data [message #1694188 is a reply to message #1694185] |
Fri, 01 May 2015 17:46   |
Eclipse User |
|
|
|
#!/bin/bash
cd /path/to/all/bug/data
I=0
while [ $I -lt 50000 ]; do
wget -O /tmp/in.xml -q https://bugs.eclipse.org/bugs/show_bug.cgi?ctype=xml&id=$I
ISOPEN=$(egrep -c "bug_status>([NEW|ASSIGNED|REOPENED])" /tmp/in.xml)
if [ $ISOPEN -eq 0 ]; then
mv /tmp/in.xml $I.xml
fi
# sleep a second to be kind to Eclipse servers
sleep 1
done
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04413 seconds