-
Notifications
You must be signed in to change notification settings - Fork 100
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
Introduce FsFile-based representation of checked paths and adjust destination of imported files. #669
Conversation
…asses. Move all FSlite unit tests into the same package.
@@ -1,5 +1,6 @@ | |||
/* | |||
* Copyright (C) 2012 Glencoe Software, Inc. All rights reserved. | |||
* Copyright (C) 2013 University of Dundee & Open Microscopy Environment. |
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.
Please don't change the copyright of files, and instead just update year ranges (e.g. 2012-2013
).
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.
Can I just leave it alone then? I can't see how, not actually having any relationship with Glencoe, I can possibly be claiming any rights for Glencoe for code I wrote.
Labeled as needs-fixes due to
in http://hudson.openmicroscopy.org.uk/job/OMERO-merge-develop/139/console |
Interesting, command-line import has been working for me, I'll try with the automatically imported set of files. |
I can import fine as root, the problem seems to come when running the First, we try to register Then, we try to register
|
One possible workaround until the logic for handling the user is put in, would be to put the timestamp at the top. |
Also make JDK5 fixes.
Hopefully this will allow the auto import to proceed well, with this latest commit it went okay for me locally. |
Closing see #671 |
It doesn't look like anything lately merged into develop conflicts with anything here. |
The overall design looks good. Code looks nicely separated into classes with single responsibilities. Good to merge. Two things worth looking at are failing tests in CheckedPathTest.java and ManagedRepositoryITest.java. Also the addition of AssumeNG in #642 would save @mtbc writing code to do conditional test execution (Windows/Unix). |
@mtbc: general comment. Missing java doc for several methods, it will also be good to describe what the test is about. |
It should be only unit tests that miss Javadoc; I was just following the pattern in the managed repository's unit tests. I can add Javadoc in the next PR though. I tried to make the method names and error string texts quite descriptive so each test's purpose should already be fairly clear. I was surprised that |
I usually do not like the fact that we only use the test's name to describe the test itself. |
Let's hope that people changing the tests change the Javadoc. (-: |
@mtbc: thanks... Let's hope so. |
@mtbc, done with reviewing all the commits. These are largely stylistic comments for future PRs. The only other issue that occurs to me is whether or not you want a commit from me to fix the failing unit tests (are there still any?) |
The only failing unit tests that I'm aware of, fail in the same way without this PR. Certainly we should probably look at them and decide what to do with them -- I would have fixed them myself if they were simple and obvious -- but I am happy to help out with actually fixing them. |
@mtbc, @joshmoore: happy to discuss. I tend to disagree with not adding doc in general regardless of the methods/tests. |
@mtbc: re-tests, ok. Couldn't remember if it was with or without the PR. Let's try to get that done when this is merged. @jburel: yup, we can discuss. But a comment on |
I am not talking about |
I was. 😄 (That's what my comment was on) |
So as to preserve the value of the review and testing of this PR, I've pushed only some easy fixes; acting on the other comments will be in a later PR so this one can be merged and others can more easily base their work against it. |
@mtbc, visually these look fine. If you want to try for a new build before Monday, just speak up in devteam. Otherwise, if this passes Monday morning, then let's merge. Thanks! |
This passed today's build. Merging so that we can start basing the rest of our work off of it. |
Introduce FsFile-based representation of checked paths and adjust destination of imported files.
No description provided.