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

Bugfix for upgrading deps of umbrella apps #1219

Merged
merged 3 commits into from
Jun 6, 2016
Merged

Conversation

ferd
Copy link
Collaborator

@ferd ferd commented Jun 4, 2016

When the operation for an unlock takes place in the config of a umbrella
application, the unlock provider does not see the dependency in the
deps value of the config (since it only includes the deps at the root
of the project) and ignores these.

Ref: #1193

ferd added 2 commits June 3, 2016 23:43
When the operation for an unlock takes place in the config of a umbrella
application, the `unlock' provider does not see the dependency in the
`deps' value of the config (since it only includes the deps at the root
of the project) and ignores these.
@ferd ferd changed the title WIP: Bugfix for upgrading deps of umbrella apps Bugfix for upgrading deps of umbrella apps Jun 4, 2016
@tsloughter
Copy link
Collaborator

I don't think you need the TopDeps variable, everything should be in {deps, default}.

@ferd
Copy link
Collaborator Author

ferd commented Jun 4, 2016

That was my initial assumption, but It doesn't appear so, at least half the tests were failing where data was in deps but not in {deps, default}

The previous iteration of the patch worked somewhat by accident. After
digging in and figuring out why the two dep sources are the way they
are, the patch is now properly working with a well-documented
explanatiion inline.
@ferd
Copy link
Collaborator Author

ferd commented Jun 6, 2016

@tsloughter last commit explains the format and solution now that I get it.

@tsloughter
Copy link
Collaborator

Cool, good docs, i think this is good now.

@ferd ferd merged commit cfa0a7e into erlang:master Jun 6, 2016
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.

None yet

2 participants