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

Taught export to produce, and import to understand, a table-of-conten… #794

Merged
merged 1 commit into from
Jul 24, 2020

Conversation

ggainey
Copy link
Contributor

@ggainey ggainey commented Jul 19, 2020

…ts (toc) file.

Emitted 'next to' the export file or files, named -toc.json.

Consists of keys "meta" and "files". "files" is a dictionary of export-file/checksums.
"meta" contains the "file", "chunk_size", and "global_hash" of the export.

Added toc= to import. Import will find and validate the checksums of any chunk_files,
reassemble them into a single .tar.gz, and pass that along to the rest of the
import process. Deletes chunks as it goes, to minimize disk-space.

Updated import-export docs to describe TOC file and its use.

closes #6737

@pulpbot
Copy link
Member

pulpbot commented Jul 20, 2020

Attached issue: https://pulp.plan.io/issues/6737

@daviddavis daviddavis self-requested a review July 21, 2020 13:56
Copy link
Contributor

@daviddavis daviddavis left a comment

Choose a reason for hiding this comment

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

LGTM. One small comment.

pulpcore/app/tasks/importer.py Show resolved Hide resolved
…ts (toc) file.

Emitted 'next to' the export file or files, named <export-file>-toc.json.

Consists of keys "meta" and "files". "files" is a dictionary of export-file/checksums.
"meta" contains the "file", "chunk_size", and "global_hash" of the export.

Added toc= to import. Import will find and validate the checksums of any chunk_files,
reassemble them into a single .tar.gz, and pass that along to the rest of the
import process. Deletes chunks as it goes, to minimize disk-space.

Updated import-export docs to describe TOC file and its use.

closes #6737
@daviddavis daviddavis merged commit 40f7cc3 into pulp:master Jul 24, 2020
@ggainey ggainey deleted the 6737_import_chunks branch April 27, 2021 13:22
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