Skip to content

Make shared funcs for lockfile usage - #489

Merged
mattfarina merged 2 commits into
Masterminds:masterfrom
heewa:shared-lockfile-fns
Jun 23, 2016
Merged

Make shared funcs for lockfile usage#489
mattfarina merged 2 commits into
Masterminds:masterfrom
heewa:shared-lockfile-fns

Conversation

@heewa

@heewa heewa commented Jun 23, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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