-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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-745 Make plugin-svn build & run in Che #758
Conversation
Will we have svn support in Che enabled? |
Seems like a good idea. |
} | ||
|
||
private void refreshNodes(String forPath) { | ||
// appContext.getCurrentProject().getCurrentTree().getNodeByPath(forPath, new AsyncCallback<TreeNode<?>>() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this code is outdated to the new codebase in 4.x and need to be rewritten
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deprecated code should be removed.
Can you confirm legal origin of all source code and images? |
Especially due to use of crypto algorithms |
*******************************************************************************/ | ||
package org.eclipse.che.api.crypt.server; | ||
|
||
public interface EncryptTextServiceRegistry { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
javadoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm adding the javadoc.
About the "legal origin" I guess that you want to be sure that the whole code was written by us and does not contain some copy/paste code. I asked Mickael (who created this encryption code) and he confirm that the whole code is from him. Not copy/paste. So no legal issue.
About copyright on images they were already double checked when we added them originally.
95% of this code is the same as the original SVN plugin that we had in Che 3. The other 5% is what I refactored to make the plugin compliant with Che 4.x. And I added no image or "critical" code. |
/** | ||
* The encryption services. | ||
*/ | ||
private final Map<Integer, EncryptTextService> registry = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better no create in constructor with known size
e5b0d6f
to
8d12599
Compare
@skabashnyuk @sleshchenko I applied changes related to your comments + other needed changes like creating separate submodules for server, ide and shared parts. |
Ok. to go after 4.0 |
|
||
/** | ||
* Extension adding <a href="http://subversion.apache.org">Subversion</a> support to the | ||
* <a href="http://codenvy.com">Codenvy</a> IDE. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewrite comment without Codenvy
* Interface providing access to localization constants. | ||
* <p/> | ||
* These are loaded from | ||
* src/resources/org/eclipse/che/plugin/svn/SubversionExtensionLocalizationConstants.properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove or rewrite this outdated comment. For now it locates in package org/eclipse/che/plugin/svn/ide
I prefer to remove it.
44901d5
to
251e1a8
Compare
Signed-off-by: Stéphane Tournié <stephane.tournie@serli.com>
ok |
This Pull Request:
See epic for details.