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

(PDK-728) Add default_template_ref handler. #377

Merged
merged 1 commit into from
Dec 6, 2017

Conversation

bmjen
Copy link
Contributor

@bmjen bmjen commented Dec 5, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 93.264% when pulling b24b0ab on bmjen:pdk-728 into 61a4e80 on puppetlabs:master.

else # TODO: Once we decide on a branching strategy for the pdk-module-template, this needs to be updated.
PDK::Util::Git.git('clone', path_or_url, '--branch', 'convert', temp_dir)
end
clone_result = PDK::Util::Git.git('clone', path_or_url, '--branch', PDK::Util.default_template_ref, temp_dir)
Copy link
Contributor

Choose a reason for hiding this comment

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

We should consider making this a clone and then reset --hard to the desired ref. clone --branch only supports branches and tags. This is probably fine for now though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably a good idea. Going to hold off on merging this and potentially breaking the vanagon build.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 to clone && reset

@bmjen bmjen changed the title (PDK-728) Add default_template_ref handler. {WIP}(PDK-728) Add default_template_ref handler. Dec 6, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 92.992% when pulling 0e68353 on bmjen:pdk-728 into 6f3faf8 on puppetlabs:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 92.992% when pulling 2e45a77 on bmjen:pdk-728 into 6f3faf8 on puppetlabs:master.

@bmjen bmjen changed the title {WIP}(PDK-728) Add default_template_ref handler. (PDK-728) Add default_template_ref handler. Dec 6, 2017
@rodjek rodjek merged commit 20555b6 into puppetlabs:master Dec 6, 2017
@bmjen bmjen deleted the pdk-728 branch December 6, 2017 23:21
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