Warm tip: This article is reproduced from serverfault.com, please click

Is possible to store repository issues in the git repository?

发布于 2013-11-12 19:51:14

Is possible to store the project issues in its git repository?

I know that git doesn't support this feature and the issues are stored in the provider site (eg. Bitbucket, Github).


I would like to develop a project as a free private repository on Bitbucket, and when it is finished to make it open source moving it to Github. The problem is that the issues reported in the Bitbucket repo will not be available in the Github repo, because they are stored in the Bitbucket databases.


Which is the best solution?

Questioner
Ionică Bizău
Viewed
0
Ben Straub 2013-11-13 03:57:49

Issues are kind of orthogonal to code (i.e. they transcend version snapshots), so it's useful to have a separate system for them. As such, git has no built-in system for issue tracking.

Since BitBucket and GitHub both have APIs for issues, there are easy ways to migrate the issues across. Searching for "migrate bitbucket issues to github" produces at least one script to do exactly that.