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

Fix for replace stacks not working when agents was on multiline #7286

Merged
merged 1 commit into from
Nov 16, 2017

Conversation

JPinkney
Copy link
Contributor

@JPinkney JPinkney commented Nov 9, 2017

What does this PR do?

This PR fixes replace_stacks to work with agents that are in a flat list in the stacks json as well as multi line. The regression was introduced in 2e90ad6 due to a misunderstanding of sed as well as a misunderstanding of the use case.

What issues does this PR fix or reference?

Fixes replace_stacks to work with agents that are a flat list in the stacks json as well as multi line.

Previously it would not remove com.redhat.bayesian.lsp from something like https://github.com/redhat-developer/rh-che/blob/master/assembly/fabric8-stacks/src/main/resources/stacks.json#L542 but would work for something like https://github.com/redhat-developer/rh-che/blob/master/assembly/fabric8-stacks/src/main/resources/stacks.json#L184. This PR makes it work for both cases.

Release Notes

N/A

@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/bug Outline of a bug - must adhere to the bug report template. labels Nov 9, 2017
@codenvy-ci
Copy link

Can one of the admins verify this patch?

1 similar comment
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@benoitf
Copy link
Contributor

benoitf commented Nov 13, 2017

there is a conflict on the file

Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
@JPinkney
Copy link
Contributor Author

I believe the conflict should be fixed now

@benoitf benoitf requested a review from l0rd November 15, 2017 06:41
@l0rd l0rd merged commit 29beb98 into eclipse-che:master Nov 16, 2017
@l0rd l0rd removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Nov 16, 2017
@l0rd l0rd added this to the 5.21.0 milestone Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants