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

Ensure tidy's tar captures large numbers of files #8

Merged
merged 1 commit into from
Jan 25, 2019

Conversation

seanmil
Copy link
Contributor

@seanmil seanmil commented Jan 25, 2019

When a large number of files are being archived xargs might invoke
tar multiple times - overwriting the preceding tar archive. Using
the "--files-from" option to tar instead lets all files be correctly
archived.

@jarretlavallee
Copy link
Contributor

Looks good to me. The CI failures should be fixed with a PDK update.

@npwalker
Copy link
Contributor

Do we know if this will work on all Master platforms?

abottchen
abottchen previously approved these changes Jan 25, 2019
Copy link
Contributor

@abottchen abottchen left a comment

Choose a reason for hiding this comment

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

LGTM. Good catch!

@abottchen
Copy link
Contributor

I checked Ubuntu 14.04 and Centos 6 and it was there.

When a large number of files are being archived xargs might invoke
tar multiple times - overwriting the preceding tar archive. Using
the "--files-from" option to tar instead lets all files be correctly
archived.
@npwalker npwalker merged commit 786dfff into puppetlabs:master Jan 25, 2019
@npwalker
Copy link
Contributor

Thanks @seanmil !!

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

Successfully merging this pull request may close these issues.

5 participants