-
Notifications
You must be signed in to change notification settings - Fork 20
Git: .tar.gz only contains metadata.json if downloaded before #11
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
Comments
Thanks for the report. I've reproduced this. |
drrb
added a commit
that referenced
this issue
Jul 16, 2014
Checking out from local clone of remote Git repositories wasn't working as expected. The first time, the working copy would be updated from the tag because the clone would be checking out the tag. Subsequent times, with a different (empty) working directory, Git would treat all the files as deleted in the working copy, and not update them. Using `git checkout -f <tag>` instead of `git checkout <tag>` fixed this, but highlights a race condition that probably existed for reading from local Git clones. Synchronized read access to Git repositories for now, until we can work out how to use Git properly for this.
drrb
added a commit
that referenced
this issue
Jul 16, 2014
Avoid moving HEAD around in Git mirrors: see #11
Fixed in v0.17.0. |
Awesome - thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried to run the gem versions 0.16.0, 0.15.0 and a checkout of master.
I configured puppet-library the following way:
The first time the module is downloaded (/modules/jfryman-nginx-0.0.9.tar.gz), everything is working fine. Any subsequent downloaded .tar.gz file only contains the file metadata.json.
Some output from the log file:
The text was updated successfully, but these errors were encountered: