forked from MetricsGrimoire/Bicho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
149 lines (91 loc) · 4.67 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Description
-------------
Bicho is a command line based tool used to parse bug/issue tracking
systems. It gets all the information associated to issues and store
them in a relation database.
Currently it supports:
- Bugzilla
- Sourceforge.net (abandoned)
- Jira (unstable)
- Launchpad
- Allura (unstable)
- Github (unstable)
- Google Code (unstable)
- Redmine (unstable, no changes)
This version is a fork of the original code for ALERT project.
The original project can be found in http://metricsgrimoire.github.com/Bicho
License
---------
Bicho is licensed under GNU General Public License (GPL), version 2 or later.
Download
----------
* git://github.com/AlertProject/Bicho.git
* https://github.com/AlertProject/Bicho.git
Requirements
------------
* Python >= 2.4
* Python Storm. Depending on the database driver to be used you'll also need
one of the following python libraries:
- mysqldb or psycopg2 or pysqlite2 (unstable with PostgreSQL; MySQL is recommended - default engine should be set to MYISAM)
- python-launchpadlib (for Launchpad backend)
* Beautiful Soup library: error-tolerant HTML parser for Python
* python-feedparser
Installation
-------------
You can install bicho running the setup.py script:
# python setup.py install
For the impatients:
$ bicho --help
Running Bicho
--------------
It is very important to use a delay, if you run Bicho against big sites with a
delay between bug petitions your IP address could be banned!
E1. Getting information from a project that uses Bugzilla, like Bicho ;)
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] -d 15 -b bg -u https://bugzilla.libresoft.es/buglist.cgi?product=bicho
E2. Getting information from a project hosted in sourceforge.net
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] -d 15 -b sf -u "http://sourceforge.net/tracker/?atid=516295&group_id=66938"
E3. Getting information from a project using JIRA
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] -d 15 -b jira -u http://support.petalslink.com/browse/PETALSMASTER
E4. Getting information from a project using Launchpad
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] -d 15 -b lp -u https://bugs.launchpad.net/openstack
E5. Getting information from a project using Allura
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] -d 15 -b allura -u http://sourceforge.net/rest/p/allura/tickets
E6. Getting information from a project using Github
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] -b github -u https://api.github.com/repos/composer/composer/issues --backend-user=[GITHUB USER] --backend-password=[GITHUB PASS]
E7. Getting information from a project using Google Code
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] -d 15 -b googlecode -u https://code.google.com/feeds/issues/p/apv
E8. Getting information from a project using Redmine
$ bicho --db-user-out=[DB USER] --db-password-out=[DB PASS] --db-database-out=[DB NAME] --backend-user=[REDMINE USER] --backend-password=[REDMINE PASSWORD] -d 1 -b redmine -u https://www.bitergia.net/issues.json
Analysis
---------
[To be written]
Improving Bicho
----------------
Source code, wiki and ITS available on Github:
* https://github.com/MetricsGrimoire/Bicho
Please write to the developers mailing at
* libresoft-tools-devel _at_ lists.morfeo-project.org
If you want to receive updates about new versions, and keep in touch
with the development team, consider subscribing to the list. It is a
very low traffic list (< 1 msg a day):
* https://lists.libresoft.es/listinfo/metrics-grimoire
Credits
--------
Bicho has been originally developed by the GSyC/LibreSoft group at the
Universidad Rey Juan Carlos in Mostoles, near Madrid (Spain). It is
part of a wider research on libre software engineering, aimed to gain
knowledge on how libre software is developed and maintained.
FAQ
----
F1. Bicho crashed with 'UnicodeEncodeError' exception
UnicodeEncodeError appears when it is not possible to write the data in the
database with the encoding used by this one, to avoid that set your database to
use UTF-8. For instance:
CREATE DATABASE [DB NAME] CHARACTER SET utf8 COLLATE utf8_unicode_ci;
F2. What is the database schema?
There is a nice PNG schema in the directory /doc/database
F3. How can I create a new backend?
Tell us through the contact information above that you want to create a new
backend, we'll try to give you as much information as possible.
F4. How can I submit a bug?
Use our bugzilla at http://bugzilla.libresoft.es/