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

Add "cached_name" option for net fetcher #837

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

legal90
Copy link
Contributor

@legal90 legal90 commented May 2, 2018

Fixes #836

I've added cached_name option for Software#source allowing to specify a custom filename for the source file when it is stored in the local cache. So that it could be used to work aroung a name collision issue described in #836

@legal90
Copy link
Contributor Author

legal90 commented Nov 19, 2018

Is anyone interested in this fix?

@tas50
Copy link
Contributor

tas50 commented Nov 19, 2018

Ping @scotthain

Copy link
Contributor

@scotthain scotthain left a comment

Choose a reason for hiding this comment

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

Looks good - do you mind rebasing @legal90 ?

It is needed to work around possible name collisions of filename in local cache.

Signed-off-by: Mikhail Zholobov <legal90@gmail.com>
@legal90
Copy link
Contributor Author

legal90 commented Nov 19, 2018

@scotthain Sure! Done :)

@scotthain scotthain merged commit 629a44e into chef:master Nov 19, 2018
@legal90 legal90 deleted the fix-fname-collision branch November 19, 2018 19:54
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