Skip to content

(CODEMGMT-659) Change to use minitar entry's full_name #27

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

Conversation

andersonmills
Copy link
Contributor

This commit changes from using the name field of minitar's entry to
full_name. name has a 100 character limit and caused incomplete file
names to be extracted.

@@ -52,12 +52,13 @@ def validate_files(tarfile)
file_lists = {:valid => [], :invalid => [], :symlinks => []}
Archive::Tar::Minitar.open(tarfile).each do |entry|
flag = entry.typeflag
#require 'pry'; binding.pry
Copy link
Contributor

Choose a reason for hiding this comment

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

vestigial breakpoint

@andersonmills andersonmills force-pushed the bug/master/CODEMGMT-659-minitar_call_for_full_name branch 2 times, most recently from 9561434 to 8e42eb9 Compare March 10, 2016 21:43
This commit changes from using the name field of minitar's entry to
full_name. name has a 100 character limit and caused incomplete file
names to be extracted.
@andersonmills andersonmills force-pushed the bug/master/CODEMGMT-659-minitar_call_for_full_name branch from 8e42eb9 to e16b61a Compare March 10, 2016 21:54
@scotje
Copy link
Contributor

scotje commented Mar 10, 2016

👍

scotje added a commit that referenced this pull request Mar 10, 2016
…itar_call_for_full_name

(CODEMGMT-659) Change to use minitar entry's full_name
@scotje scotje merged commit e8b907c into puppetlabs:master Mar 10, 2016
npwalker added a commit to npwalker/pe_code_manager_webhook that referenced this pull request Mar 11, 2016
Prior to this commit, the full path that r10k needed to untar was
more than 100 characters for the classifier settings function

After this commit, it should be just short of 100 characters
so it works around PUP-5994 before we can get the resolution in
puppetlabs/forge-ruby#27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants