Am 04.09.2013 20:40, schrieb Robert Jonsson:
> Hey Florian,
> 2013/9/3 Florian Jung <flo@...>:
>> Hi folks,
>> I've found and adapted a script which migrates our bugtracker to GitHub.
>> Examine the result under https://github.com/windfisch/test2/issues !
>> User information (who has created, who is assigned) cannot be imported
>> to GitHub (there will be text comments, however).
>> Time information cannot be imported. However, the time *order* is
>> preserved. (Of course, there will be text comments)
>> Tags and resolutions are preserved. Feature request items are tagged as
>> "enhancement", Bugs as "bug". I think everything else is preserved, too.
>> If you're curious:
>> the original script: https://github.com/ttencate/sf2github
>> with my adaptions: https://github.com/Windfisch/sf2github
>> This is going to be a really clean thing, ehehe :)
> I'm sure it will :)
> I looked at the issues you imported in the testproject, haven't really
> wrapped my head around how it's supposed to work though.
> You said assignment info isn't imported, does that mean there is no
> concept of assignment in the tracker?
There is the concept of assignment. Look at this:
Just the importer script didn't support converting it, but if this is
needed, I guess I can add this functionality. This requires all peoples
who might be assignees to tell me their GitHub account, however.
> What about the states of tickets, I can see open and closed, are there
> any states for working on it, e.g. Fixed, Pending, Wontfix, etc ?
GitHub doesn't have the concept of "states" like Fixed, Pending,
Wontfix. It has, however, the concept of "labels" you can attach to
issues: These labels can be created at your will, and can hold
information like "Fixed", "Pending" or "Wontfix"
If wished, I can attach a "fixed" label to fixed bugs, and a "pending"
label to pending bugs.
I just thought this was unneccessary, because every bug which is open is
"pending" actually, and every bug which is "just closed", without having
a label like "wontfix" etc. is "fixed" actually.
Have a look, I do have imported all other labels, like "invalid",
"worksforme" and "wontfix".
Here you can see how to attach labels to issues. (I'm not sure if this
works for you with test2, because it's *my* repo and not yours/ours.)
Tip: in the issues list, on the left side there's a list of labels. Just
click some of them, it will filter out only the matching commits.
E.g. you can easily list all commits which are closed-later, by clicking
the "Closed" tab and selecting the "later" label.
BTW, I've got an email about your recently opened issue, Robert. By
replying to that mail, I posted a comment. Great stuff.
I also recommend reading this:
Especially the commit-integration is great: When your commit message
contains "Fixes #123", then GitHub will automatically add a comment to
the issue #123, stating that commit abc123 has fixed this, and closes