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

new import/export comand #92

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

new import/export comand #92

wants to merge 14 commits into from

Conversation

KarolNet
Copy link
Contributor

@KarolNet KarolNet commented Nov 25, 2024

The new exporter and importer use a different file format, which means the old format—where each object was stored in a separate file—is no longer supported. In the new format, a single file contains multiple objects, resulting in faster disk operations.

The --json-output option has been removed from both the exporter and importer, and if an incorrect number of arguments is provided, you will no longer be prompted interactively to correct them.

New Importer:

  • Works faster
  • Handles dependencies between objects effortlessly
  • Prevents image upload conflicts
  • Disables webhooks during the import process and re-enables them upon completion

@KarolNet KarolNet marked this pull request as ready for review November 26, 2024 09:44
default: false,
demandOption: false,
})
.option("only-definitions", {
Copy link
Contributor

@WHLukasz WHLukasz Dec 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only-definitions flag is not working anymore. We should either add suport for it in new exporter, or remove it from here & from readme

@CiotkaCierpienia
Copy link
Contributor

The importer is not fixing featuredImage of CTDs after uploading media objects

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.

3 participants