Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Conversation

Aclrian
Copy link
Contributor

@Aclrian Aclrian commented Nov 21, 2022

Closes #1118.

Summary of Changes

adding file package_parser/processing/migration/mapping.py including the method map_api, which returns a map from old api elements to new api elements. This mapping is represented in the classes One/ManyToOne/ManyMapping. Two mapping objects can be merged (merge_mappings method) as well as a list of mappings (_merge_similar_mappings and _merge_mappings_with_same_elements).

Testing Instructions

run test_mapping.py

Aclrian and others added 30 commits November 12, 2022 20:21
switching to an other pc - migth not working
<3 to xorg
 from classes, and (global) functions
with included license
and hopefully the error disapperears
@Aclrian Aclrian changed the title feat: mapping api elements between versions feat: map api elements between versions Nov 23, 2022
@Aclrian Aclrian force-pushed the 1118-map-list-of-old-api-elements-to-list-of-new-api-elements branch from c4befe8 to bc4d25a Compare November 26, 2022 13:34
@Aclrian Aclrian marked this pull request as ready for review November 26, 2022 13:43
…iffer

# Conflicts:
#	package-parser/package_parser/processing/migration/_differ.py
… 1118-map-list-of-old-api-elements-to-list-of-new-api-elements
…-new-api-elements

# Conflicts:
#	package-parser/package_parser/processing/migration/__init__.py
@lars-reimann lars-reimann merged commit 3cac0fa into main Dec 1, 2022
@lars-reimann lars-reimann deleted the 1118-map-list-of-old-api-elements-to-list-of-new-api-elements branch December 1, 2022 09:01
@github-actions
Copy link

github-actions bot commented Dec 1, 2022

🎉 This PR is included in version 1.72.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Included in a release label Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Map list of old API elements to list of new API elements

2 participants