harness / harness-migrate

Harness CI migration utility
https://www.harness.io/products/continuous-integration
Apache License 2.0
9 stars 4 forks source link

SCM connector should accept custom URL, and be at the namespace level #111

Open jimsheldon opened 1 year ago

jimsheldon commented 1 year ago

Currently when import is run without --repo-connector so the connector is created, the URL does not reflect a potential custom URL passed (github, gitlab, bitbucket).

Also, the connector URL is created at the root level. Since this tool runs per namespace, the connector URL should contain the namespace. This will solve a separate problem where repoName in downgraded yaml currently contains only the repository name (which breaks cloning, since the connector is at the root level).