Skip to content

Commit a755185

Browse files
author
Jeroen Baten
committed
work in progress
1 parent 4be65d5 commit a755185

5 files changed

+880
-850
lines changed

README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# bugzilla2github
2+
Code to migrate Bugzilla (version 4.0.2) to GitHub issues
3+
4+
# Introduction
5+
For years all bugs have been managed using Bugzilla on bugs.libreplan.org
6+
For several reasons this however is coming to an end.
7+
8+
The succesor is going to be GitHub Issues.
9+
10+
This means all current issues need to be transfered to GitHub Issues.
11+
12+
For this GitHub has a special REST API
13+
14+
# How to go from Bugzilla to GitHub Issues
15+
There are several steps to consider
16+
- How to retrieve from Bugzilla: we chose to use a direct database connection
17+
- How to upload issues to GitHub: we chose to use a special GitHub API
18+
- How to handle assignees: Chosen to reset to empty
19+
- How to handle attachments: Since the GitHub API does not support adding attachments there are several options:
20+
- It is possible to manually upload attachments to issues. At over 500 attachments this was not a really an option.
21+
- There is an unmaintained ruby script to upload files to GitHub. Decided not to use it.
22+
- Since the migration is only done once we can dump all attachments to a subdirectory, upload that to a repo and generate a link to the file in the issue comments. So that is what we will first try to do.
23+
24+
25+
# Sources of inspiration
26+
GitHub description of API: https://gist.github.com/jonmagic/5282384165e0f86ef105
27+
28+
Inspired by the work of Andriy Berestovskyy
29+
who wrote Bugzilla XML File to GitHub Issues Converter
30+
https://github.com/semihalf-berestovskyy-andriy/tools/blob/master/bugzilla2github
31+
Elaborate description
32+
https://www.theozimmermann.net/2017/10/bugzilla-to-github
33+
34+
35+
example: http://bugs.libreplan.org/attachment.cgi?id=212
36+
hoort bij ticket 635
37+
38+
moet handmatig geupload naar github.com en attachment toevoegen aan notitie.
39+

0 commit comments

Comments
 (0)