My project moved to a new repository. What should I do?

If it’s possible, the best solution is to import all of the history from the old repository into the new repository, preserving a continuous timeline of ongoing development.

If you can’t do this, Open Hub does support multiple repositories per project. In this case, all of the activity from both repositories will be combined to make a single report. However, this doesn’t usually work out well because the old repository still contains a full copy of the code even though it has been duplicated in the new repository. This results in the project showing twice the actual number of lines of code. Unfortunately, Open Hub doesn’t have any current solution to this problem.

An alternative solution is to create a separate project for each repository and label them accordingly (for example, “My Project 1.0” and “My Project 2.0”).

Posted in: Source Control

About Rich Sands

I'm the Principal and Founder of RSands Consulting, a developer/FOSS strategy, product management, and marketing consultancy. Formerly Ohloh's PM, Black Duck is now a client of mine.