You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Closes#1124.
### Summary of Changes
- add migration for todo annotations to another version, with the
possibilities:
- If the annotation is mapped to only one api element, the annotation
will be migrated as expected.
- If the annotation is mapped from one api element to multiple api
elements, todo annotation will be created for all api elements in the
image for the mapping.
- If the annotation is mapped from multiple api element to multiple api
elements, a unsure todo annotation will be created for all api elements
in the image for the mapping.
Maybe inspect some details for the target of the annotation. E.g., its
type
### Testing Instructions
run the migrate command or view and run the test_migration.py file
comment="The @Rename Annotation with the new name 'TestA' from the previous version was at 'test/test.Test' and the possible alternatives in the new version of the api are: TestA, TestB",
110
+
comment="The @Rename Annotation with the new name 'TestA' from the previous version was at 'test/test.rename.Test' and the possible alternatives in the new version of the api are: TestA, TestB",
newTodo="The @Rename Annotation with the new name 'TestZ' from the previous version was at 'test/test.Test' and the possible alternatives in the new version of the api are: TestA, TestB",
164
+
newTodo="The @Rename Annotation with the new name 'TestZ' from the previous version was at 'test/test.rename.Test' and the possible alternatives in the new version of the api are: TestA, TestB",
165
165
)
166
-
annotationsv2_b=TodoAnnotation(
167
-
target="test/test.TestB",
166
+
annotationv2_b=TodoAnnotation(
167
+
target="test/test.rename.TestB",
168
168
authors=["testauthor", migration_author],
169
169
reviewers=[],
170
170
comment="",
171
171
reviewResult=EnumReviewResult.NONE,
172
-
newTodo="The @Rename Annotation with the new name 'TestZ' from the previous version was at 'test/test.Test' and the possible alternatives in the new version of the api are: TestA, TestB",
172
+
newTodo="The @Rename Annotation with the new name 'TestZ' from the previous version was at 'test/test.rename.Test' and the possible alternatives in the new version of the api are: TestA, TestB",
0 commit comments