-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Discussion: Required steps for GitLab to LocalVC migration #8754
Comments
The migration from Bitbucket to LocalVC can be found in |
Why does the BitBucket to LocalVC Migration uses two extra keys for
@reschandreas can you maybe answer that questions, as the author of the BitBucket to LocalVC migration? |
Hi! I intentionally used different values to ensure that migration requires a deliberate action, preventing it from happening accidentally during updates. This way, the Artemis admin must consciously decide and update their configuration to migrate. |
@BaumiCoder I guess with our plan to trigger the migration by a class with a special profile this then serves the same purpose and the different configuration values are not required. |
Thanks @reschandreas, with this background information I agree with @b-fein. I moved to the existing values for the migration here (see 55836b7). |
The log message here claims that the URL will not be changed in the database, because the migration failed. In contrast to this the lines 344 and 345 are also executed in this case, so the URL is saved, isn't? @reschandreas Is that intended or a bug? |
looks like a bug to me. We changed the behaviour of the method several times (we weren't sure if we should keep the url or not), so this could have slipped through. I'm not aware of any issues during the migration though. |
I think we had some entries in the database with the old URL. I always said this should not happen ;-) so it's probably a bug in the migration |
Okay, I fixed that bug (13e0764). However, this bug would have led to an |
Another GitLab specific thing is in the Artemis Database. If tokens are used for the authentication of the users against GitLab, Artemis stores these tokens in the column
|
To make sure that the old tokens do not cause any trouble or became unnecessary data, the migration now removes the token data (da6b3b3). FYI: @SimonEntholzer |
I've also updated our Test Container (LocalVC + Jenkins): https://github.com/kit-sdq/Artemis-SAML2-Test-Docker/releases/tag/v7.4.2-lvc So this environment is ready to be used for testing as well :) |
Actual status:
Do we still need this issue here or should we close it? |
You are right, I think this can be closed as resolved. Thanks for the reminder. |
Is your feature request related to a problem?
Like the migration from BitBucket to LocalVC, a similar automatic migration should be possible for the migration from GitLab to LocalVC.
This issue serves as a collection/tracker to discuss required steps for this to be possible.
Relevant items that come to mind right now:
programming_exercise_details
table in the Artemis databaseThe text was updated successfully, but these errors were encountered: