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

Berksfile.lock versions *still* not followed #1158

Closed
jcam opened this issue Apr 24, 2014 · 4 comments
Closed

Berksfile.lock versions *still* not followed #1158

jcam opened this issue Apr 24, 2014 · 4 comments

Comments

@jcam
Copy link

jcam commented Apr 24, 2014

Two days ago, I built a Berksfile.lock by running berks install against a Berksfile.

Now, when I run berks install, it is picking up a newer version of apache2 and updating the lock file.
What is the point of a lock file if it is ignored? I need a way to consistently test all dependencies in a development environment before going to production, and as a result of this behavior I am unable to use berkshelf for cookbook management.

Is there a 'strict' option that will follow the lock file or die? Or will the .lock file simply never be strictly followed? This has been an issue since the 0.x versions, and it keeps getting labeled as fixed in the next version... 1.x was supposed to fix it, 2.x was supposed to fix it. 3.x has a completely new api-driven dependency graph generation that resolves this! (No, it doesn't, this occurred today with 3.0.1)
Related, or identical:
#637
#815

@reset
Copy link
Contributor

reset commented Apr 24, 2014

@jcam awesome, now upgrade to 3.1.1 to receive the bug fix.

@reset reset closed this as completed Apr 24, 2014
@reset
Copy link
Contributor

reset commented Apr 24, 2014

@jcam if you're using the ChefDK installer there should be a new release pretty soon which includes these updates

@jcam
Copy link
Author

jcam commented Apr 24, 2014

Wow you're quick, thanks Jamie!
We'll get it tested ASAP and update here if there's any problems
Also: I'm really really excited about the ChefDK, will be putting together a mini-presentation to hopefully convince my team to stop all of the really bad dev and test practices we've developed over the last couple years.

@reset
Copy link
Contributor

reset commented Apr 24, 2014

@jcam of course. Let me know if you are still having problems or if you need any info for your presentation

@berkshelf berkshelf locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants