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

Issue #1753 remove non CE features #1759

Merged

Conversation

kaspersorensen
Copy link
Member

Fixes #1753

This is a rather aggressive cleanup in our codebase to remove non-CE relevant code. Here's a listing of stuff I removed (got my hands proper dirty this time so I hope I remember all):

  • DataCloud and remote components
  • DC Monitor
  • ExtensionSwap
  • UsageLogger
  • Old org.eobjects component interfaces
  • A lot of "various" deprecated classes
  • Some tests that would fail after cleaning up because they tried to deserialize deleted/deprecated items

@LosD LosD self-assigned this Oct 25, 2017
@LosD
Copy link
Contributor

LosD commented Oct 25, 2017

Whoah, that's a LOOOOT of code removed. I'll start digging :)

(I should probably check the branch out for the code review, so I can see the tree properly. I guess it looks more crazy in list form, because whole modules has been nuked, and those I can essentially ignore completely as long as I agree with the module removal itself)

@LosD
Copy link
Contributor

LosD commented Oct 25, 2017

Just curious: Any reason for the fork instead of a branch (same with the other PR), just habit? :)

@kaspersorensen
Copy link
Member Author

With OSS projects I like to use forks so as to not needlessly exercise my administrative privileges, but rather go through the "contributor" experience ;-)

@LosD
Copy link
Contributor

LosD commented Oct 25, 2017

Hmmmm... My internal pedant wants to point out that it's not administrative privileges, but makes sense :)

@LosD
Copy link
Contributor

LosD commented Oct 25, 2017

Do we really want to get rid of the ExtensionSwap? I realize that it'll need to be reworked with an internal UI (e.g. using something like a simple GitHub-pages hosted JSON that links to the extensions, which could in most cases simply be release files in GitHub), but it seems like a bit of a shame to completely lose it.

OTOH, if anyone does that work, s/he'd probably have to start all over anyway, and we still have the base extension loading, so it's probably all good.

BTW, you left in the "Browse the ExtensionSwap" menu item in options/Extensions, was that on purpose?

Copy link
Contributor

@LosD LosD left a comment

Choose a reason for hiding this comment

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

Two minor issues, otherwise LGTM.

@@ -32,7 +32,6 @@
import org.apache.commons.lang.ArrayUtils;
import org.apache.metamodel.util.Action;
import org.datacleaner.actions.DownloadFilesActionListener;
import org.datacleaner.actions.PublishResultToMonitorActionListener;
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a reference to this class in the JavaDoc below

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

* needed.
*/
@Deprecated
public static <K, V> ConcurrentMap<K, V> createCacheMap() {
Copy link
Contributor

Choose a reason for hiding this comment

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

ConcurrentMap is now an unused import

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@LosD LosD assigned kaspersorensen and unassigned LosD Oct 25, 2017
@LosD
Copy link
Contributor

LosD commented Oct 26, 2017

LGTM!

@LosD LosD merged commit 4dcdfaf into datacleaner:master Oct 26, 2017
@kaspersorensen kaspersorensen deleted the feature/1753-remove-non-ce-features branch November 9, 2017 05:10
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