Safe-DS/API-Editor

Migrate `@move` annotations

Closed this issue ยท 1 comments

Is your feature request related to a problem?

After changes to an API we still want to use most of the @move annotations.

Desired solution

Migrate the @move annotations through a mapping from old api elements to new api elements. If there is not more than one similar api element, change the target of the annotation.
Otherwise, mark all similar api elements with an unsure (?) @move annotation.
If the element cannot be moved (e.g., function in a class), mark the element with a @todo annotation.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

Create the file package_parser/processing/migration/annotations/_migrate_move_annotation.py with a function to migrate an annotation with the related mapping.
See #1125.

๐ŸŽ‰ This issue has been resolved in version 1.78.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€