Skip to content

Add bash script to convert legacy project.json to ndjson tree

From issue gitlab-org/gitlab#208137 (closed)

While long term we want to deprecate legacy JSON export format in favor of ndjson format, there could be scenarios where legacy JSON still need to be supported:

  • A self-hosted customer has a legacy Gitlab version(3 months, or even 6 months older) installed. The customer wants to move to Gitlab.com.
  • A customer has a legacy format export file. They regularly use that file to do some testing in their system.
  • A customer reported a bug/issue in project import, where it used legacy format JSON export file. Our developer or customer support team wants to reproduce the issue in the new version Gitlab instance. Or, even, the customer wants to try it themselves.

An offline conversion tool will make this easier. The tool take the legacy JSON export as input and generate ndjson format archive. This then can be used to import into a new Gitlab instance

Merge request reports