Skip to content

Make shared funcs for lockfile usage #489

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

Merged
merged 2 commits into from
Jun 23, 2016

Conversation

heewa
Copy link
Contributor

@heewa heewa commented Jun 23, 2016

Lightly refactor some lockfile logic into shared functions, so callers inside & outside glide do things the same way.

Personally I need this to create a glide plugin (as requested in PR #266), for which I need to read the lockfile, and turn those Lock structs into Dependency structs. These helper funcs will ensure that if anything changes in glide, my (and others') plugin will keep up.

(Also moving the LoadLockfile func has been a TODO in the code for a while)

@mattfarina mattfarina merged commit 316fc17 into Masterminds:master Jun 23, 2016
@mattfarina
Copy link
Member

@heewa thanks for the contribution!

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