Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Test » Download All Eclipse Bug Data
Download All Eclipse Bug Data [message #1694185] Fri, 01 May 2015 17:25 Go to next message
Claudio Sousa is currently offline Claudio SousaFriend
Messages: 2
Registered: May 2015
Junior Member
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 Go to previous messageGo to next message
Denis Roy is currently offline Denis RoyFriend
Messages: 449
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

#!/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


Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Re: Download All Eclipse Bug Data [message #1694190 is a reply to message #1694188] Fri, 01 May 2015 18:06 Go to previous messageGo to next message
Claudio Sousa is currently offline Claudio SousaFriend
Messages: 2
Registered: May 2015
Junior Member
Hi Denis, thanks for your answer, but could you explain better? I dont understand, I need to run this code? where? how? Sorry for too much questions!
Re: Download All Eclipse Bug Data [message #1694191 is a reply to message #1694190] Fri, 01 May 2015 18:07 Go to previous message
Denis Roy is currently offline Denis RoyFriend
Messages: 449
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

Eclipse doesn't provide dumps of the Bugzilla database, so you'll have to be creative.

Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Previous Topic:I delete eclipse.exe, i need a new eclipse.exe
Next Topic:Test
Goto Forum:
  


Current Time: Sun Sep 23 10:14:54 GMT 2018

Powered by FUDForum. Page generated in 0.01474 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top