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

deps pinning prototype 1 (#146) #147

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kkimdev
Copy link

@kkimdev kkimdev commented May 25, 2017

Maybe something like this? wdyt?

@kkimdev kkimdev mentioned this pull request May 25, 2017
@floooh
Copy link
Owner

floooh commented May 26, 2017

I'll try to set aside some time and play around with this early next week.

I think it would make sense to have a separate command to create a snapshot file (./fips pin or ./fips lock). And then may be when the imports are read (e.g. here: https://github.com/floooh/fips/blob/master/mod/dep.py#L99) it would check if such a snapshot file exists in the top level repository, and fix up any revs in the imports dictionary with the revs from this file...

This way fips fetch and fips update should automatically do the right thing... (at least that's the idea) ;)

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.

2 participants