rtcTo / rtc2gitcli

An IBM's RTC SCM tool extension to migrate an RTC repository into a Git repository
https://rtc.to
MIT License
28 stars 34 forks source link

Migration fails on directory links #40

Open ycon-company opened 7 years ago

ycon-company commented 7 years ago

I suspect the migration fails because of a symbolic link problem (on Windows machine) - when the RTC repository contains directory/file links.

Is there a solution for this scenario?

Thanks!

reinhapa commented 7 years ago

@ycon123 It seems to be a problem of JGit handling links. We did out migration using a Llinux/Docker environment based on the rtc2git-docker based image, because we had RTC 5.0.2 at the time and needed to use an older version of JGit. What version of RTC are you using?

ycon-company commented 7 years ago

I am executing the script with scmtools v5.0.2 (server v6.0.3) and EGit 4.1.1 installed on Eclipse (Mars)

reinhapa commented 7 years ago

@ycon123 I see, could a migration within a docker container be an option for you?

ycon-company commented 7 years ago
  1. Can't I just install the docker's git version on my environment?

  2. Just to make sure - the link issue doesn't recreate using the docker configuration?

reinhapa commented 7 years ago

@ycon123 it seems that I do not understand exactly what you want me to say.

I have no experiences with handling links during the migration from RTC to GIT jet, due the fact that we did not have such a scenario in our environment. I know, that handling links under Linux together with JGit could maybe working better than under Windows. It's just an assumption, not a proven fact.

I would recommend you to give it an try using a docker image and try to migrate within that to see if that would fit your needs. (We did our complete migration this way, even though we where using Windows in our day to day work) If you like you could join the RTC to Git Slack Channel to chat with me later on. Just sign up under https://rtc.to/#slack

ycon-company commented 7 years ago

Thanks!