Moving to Gitlab

From OTBWiki
Jump to: navigation, search

Migration of Mantis bugs

We keep only: title + description + a link to the original Mantis page.

The tags should be applied as follows:

    "category_labels": {
      "Application engine": "app",
      "Application wrappers": "app",
      "General": "api",
      "OTB-lib": "api",
      "OTB-applications": "app",
      "OTB-wrapping": "app",
      "OTB-Packaging": "packaging",
      "OTB-Qgis": "qgis",
      "Monteverdi": "monteverdi",
      "Monteverdi2": "monteverdi",
      "Documentation": "documentation"
      },

    # Don't transfer priority label if we use milestone
    #    "priority_labels": {
    #        "10": "priority:later",
    #    "20": "priority:low",
    #       "30": "priority:medium",
    #        "40": "priority:high",
    #    "50": "priority:urgent",
    #        "60": "priority:immediate"
    #    },

    "severity_labels": {
      "10": "feature",
      "20": "bug",
      "30": "bug",
      "40": "bug",
      "50": "bug",
      "60": "bug",
      "70": "bug",
      "80": "bug"
      },

Actions for the Gitlab migration

TODO general:

  • Rename group "otb" into "orfeotoolbox"
  • Remove legacy repos (monteverdi, monteverdi2, otb-applications, otb-wrapping, ice,otb-qgis-plugins)
  • Add CONTRIBUTING.md (Victor)
  • Add Gitlab templates (by Julien) to the current OTB repo (OTB/.gitlab)
  • Draft a migration guide for users/developers ?
  • Draft an update of contribution workflow and PSC rules

TODO on migration day:

  • Tag release 6.4 in sources (part of HowToRelease 6.4)
  • OTB-DevUtils : switch URLs to Gitlab (Guillaume)
  • 'grep git.orfeo-toolbox.org' in OTB source tree and replace. (Guillaume)
  • Repository on git.orfeo-toolbox.org: set to ReadOnly
  • Synchronize Gitlab repos
  • Import Mantis bugs (see section above)
  • Mantis:
    • Set to ReadOnly
    • Redirect base URL to Gitlab, but leave links to issues unchanged
  • JIRA -> ReadOnly ?
  • GitHub mirror : switch to Gitlab
  • Update website:
    • Update links (Mantis, JIRA, ...)
    • Update content

TODO at Day+1

  • Update documentation (SG + CB) (not ready yet)