swingbit / jira2gitlab

Migrate Jira projects into a Gitlab instance
MIT License
20 stars 11 forks source link

Logging changes + new user with forced random password #28

Open kontza opened 4 months ago

kontza commented 4 months ago

Hi,

What do you say to this? I changed print statements to use logging via Rich package.

Also, new user creation does not use the changeMe password as my Gitlab 17 did not accept that being too simple, so I added the force_random_password flag to the new user creation call.

swingbit commented 3 months ago

@kontza Thank you for this.

The reason I'm not merging it yet is that the PR contains a lot of writing style changes mixed to the actual changes, which I don't want to pull in. Also, I specifically wanted to avoid relying on existing modules for interacting with Gitlab, just API calls.

So, I'll apply your changes, but I need to find the time to cherry-pick from them.

kontza commented 1 month ago

Hi, again.

I just managed to finally migrate our big Jira project with its 3000 issues over to our self-hosted Gitlab instance. Related to that, I made a few further changes to jira2gitlab:

And a very big thank you for making this script!