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

CHE-260 Rename some factory parameters #764

Merged
merged 1 commit into from
Apr 11, 2016
Merged

Conversation

mkuznyetsov
Copy link
Contributor

Rename the following project source parameters:
"project.source.parameters.keepDirectory" to "project.source.parameters.keepDir".
"project.source.parameters.remoteOriginFetch" to "project.source.parameters.fetch"

The old parameter names are not going to work anymore, so all existing workspaces with such projects should be updated

@garagatyi
Copy link

what about existing factories? will they work as expected?

@skabashnyuk
Copy link
Contributor

AFAIK we are going to provide mongo script for this cas?

@garagatyi
Copy link

for codenvy mongo script is OK, but Che users may have serialized workspaces. Will this PR broke these workspaces?

@mkuznyetsov
Copy link
Contributor Author

Mongo script is added to Codenvy issue.
however, there is no migration for serialized workspaces.

@TylerJewell
Copy link

What is the documentation that needs to be updated on docs.codenvy.com or eclipse.org/che?
What are the parameters that are being changed?

The GitHub PR needs to have a complete set of documents for the history so that future readers of this issue can understand what is being changed and the impact to their system.

@@ -127,12 +127,12 @@ public void keepDirectorySelected(boolean keepDirectory) {
view.enableDirectoryNameField(keepDirectory);

if (keepDirectory) {
projectParameters().put("keepDirectory", view.getDirectoryName());
projectParameters().put("keepDir", view.getDirectoryName());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to adapt GithubImporterPagePresenter, be carefully about that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx, fixed

@mkuznyetsov mkuznyetsov force-pushed the rename-parameters branch 4 times, most recently from 8442fbf to 25e3342 Compare April 11, 2016 14:07
@mkuznyetsov mkuznyetsov merged commit 2e41edd into master Apr 11, 2016
@mkuznyetsov mkuznyetsov deleted the rename-parameters branch April 22, 2016 13:41
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.

5 participants