Skip to content
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

feat(collection): add import subcommand for collection command #580

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

constantinius
Copy link
Member

@constantinius constantinius commented Feb 21, 2025

The collection command now has an import subcommand, allowing to import from other collections, product types or coverage types.

@constantinius constantinius marked this pull request as ready for review February 22, 2025 21:26
@constantinius
Copy link
Member Author

Further improvements might be necessary. When importing from a collection or from types, no consistency checks are applied, only when the objects are inserted into the collection. When an object is inserted into a collection and it has an unsupported type an exception is raised, reverting the whole transaction/import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant