gitlab import/export: add support for system note metadata
What does this MR do?
This MR adds support for exporting and importing system note metadata, which improves the quality of export/import functionality.
Risks: I made this change based upon !27816 (merged) and looking around in the files. I have tested it locally on a GitLab instance and it works fine without any errors. However, someone with more database knowledge should probably verify this to be safe.
Screenshots
Without this change, the icon of the note is empty:
With this change, the icon of the note is properly exported/imported, as it is part of metadata:
(Please ignore the username/owner of the note mismatch in the screenshots, this is due to testing for issue #19128 (closed) and unrelated.)
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
Someone with more database knowledge should check if this is proper, I am not familiar enough to declare these changes 100% safe though I did exclude the note_id
already, which should be the only thing required.
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
See #19128 (closed), in specific #19128 (comment 310060721).