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

Review all instances of whitelist/blacklist #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joshmoore
Copy link
Member

This does not try to maintain backwards compatibility
since the related methods and classes are internal. The
likeliest impact is that of the change in property name.
A redirecting property could be added here, but a nicer
choice is likely to automatically upgrade in omero-py.

see: ome/bioformats#3580

@pwalczysko
Copy link
Member

failed travis

This does _not_ try to maintain backwards compatibility
since the related methods and classes are internal. The
likeliest impact is that of the change in property name.
A redirecting property could be added here, but a nicer
choice is likely to automatically upgrade in omero-py.

see: ome/bioformats#3580
@joshmoore
Copy link
Member Author

Now omero-test-infra is failing. This touches Ice and is going to be harder than expected:

(base) /opt/omero-build/omero-blitz $git grep -E "(black|white)list"
src/main/slice/omero/FS.ice:         * @param whitelist list of files or extensions of interest (Ice::StringSeq).
src/main/slice/omero/FS.ice:         * @param blacklist list of directories, files or extensions that are not of interest (Ice::StringSeq).
src/main/slice/omero/FS.ice:                                Ice::StringSeq whitelist,
src/main/slice/omero/FS.ice:                                Ice::StringSeq blacklist,

cc: @sbesson

@sbesson
Copy link
Member

sbesson commented Jul 7, 2020

Very unfortunate. So even if the type/signature is identical, the name of the parameters in the .ice generating classes would need to be jointly renamed? If so, I wonder if this is something we want to test as we are about to cut release of the OMERO java components (and maybe deprecating the old method to prevent other breakages?)

@joshmoore
Copy link
Member Author

Yes to all. We could also deprecate the fields in Ice. Not sure we want add the new fields at this point or not.

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.

3 participants