#10979 Mini initiative: Pagure to GitLab importer
Closed: Initiative Worthy a year ago by zlopez. Opened a year ago by jflory7.

Summary

Provide a short-term basis migration tool to import Pagure repos, issues, and pull request history into a new GitLab project.

Ideal delivery date: By end of Q4

Background

Many teams are shifting from Pagure to GitLab. One common barrier raised across multiple team meetings is how to preserve historical discussion and decisions from issues and pull requests, in addition to the git repository itself. Currently, there is no clear pathway about how to take this history with us.

This is similar to a short-term initiative that Fedora Infrastructure ran in 2015 to 2016 when we moved from a hosted Trac system to Pagure. Many Pagure repositories include data and history that can sometimes be decades-old. This data is invaluable to the Fedora Project as a historical archive and should be preserved. In a similar way to how a CLI client was created to offer a self-service method for moving from Trac to Pagure, there is a strong need for such a mechanism for moving from Pagure to GitLab.

The key benefit of this mini initiative is that it unblocks adoption of GitLab for several teams. Data preservation would no longer be a cost associated to GitLab. Historical decisions are easily referenceable and discoverable in the new system, across several Fedora repositories and the wider GitLab ecosystem.

A possible downside of this mini initiative is that two account systems are being accessed (FAS and GitLab.com), and imperfect matches might be made. Is it possible to link a Pagure account to a Fedora-linked GitLab account? This would allow Fedora contributors to "import" their Fedora contributions to their GitLab profiles, but might come at an added cost for developing such a tool.

Details

A self-service tool is an effective option for CPE because it enables contributors to scratch their own itch without requiring human intervention to migrate a repository. The tool could be supported for a limited lifespan (e.g. 6-12 months) before it could be retired. This would allow a window of time for Fedora contributors to make a calculated jump and bring their repository history with them.

Completion by the end of 2022 would be helpful for teams to shift into the new year by adopting a new workflow, but this could happen on a longer timeline. If implemented, it would unblock some teams from adopting GitLab.

Outcome

  • Historical Fedora conversations, decisions, and issues are preserved from Trac/Pagure in GitLab
  • More Fedora teams and sub-projects adopt a GitLab workflow

@sarah-thornton has experience with the Red Hat GitLab and volunteered some time to explore how viable this project could be.

@jflory7 This look more like a full pledged initiative and not mini-initiative. Could you propose it on the correct tracker https://pagure.io/cpe/initiatives-proposal/issues

I'm closing this as initiative worthy

Metadata Update from @zlopez:
- Issue close_status updated to: Initiative Worthy
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata