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

MCPClient: check uploadDIP/ dir in Store DIP (Fixes #729) #741

Merged
merged 1 commit into from
Oct 11, 2017

Conversation

jrwdunham
Copy link
Contributor

@jrwdunham jrwdunham commented Oct 3, 2017

If the user chooses "Do not upload DIP" at the "Upload DIP?" choice point, then the DIP will not be moved to the uploadedDIPs/ directory but will stay in its original location in uploadDIP/. However, the "Store DIP" micro-service expects the DIP to be in the uploadedDIPs/ directory. This changes the storeAIP.py micro-services so that if the aip_path does not exist, the path is modified so that the first uploadedDIPs/ directory in the AIP path is replaced by uploadDIP. Not the most elegant solution, but it works. Fixes #729.

@qubot qubot force-pushed the dev/issue-11476-store-dip-failing branch from c79dee9 to ba97914 Compare October 3, 2017 01:05
@jrwdunham jrwdunham mentioned this pull request Oct 3, 2017
@kellyannewithane
Copy link

@nickwilkinson Can you find someone to CR this?

@nickwilkinson nickwilkinson requested review from jraddaoui and removed request for nickwilkinson October 4, 2017 17:27
@qubot qubot force-pushed the dev/issue-11476-store-dip-failing branch from ba97914 to b82a9d9 Compare October 5, 2017 14:37
@sevein
Copy link
Member

sevein commented Oct 5, 2017

I've rebased.

Copy link
Member

@sevein sevein left a comment

Choose a reason for hiding this comment

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

@jrwdunham, I'ves tested it and it's working. 👍

I think the commit message could include the same description that you've added to the pull request, don't you think? I'd also like to ask you to change the subject line. We normally use the imperative mode and prefix the commit with the component being modified (e.g. MCPClient: ...).

@qubot qubot force-pushed the dev/issue-11476-store-dip-failing branch 2 times, most recently from 740f98f to 28ec05a Compare October 5, 2017 16:15
@jrwdunham jrwdunham changed the title Fixes #729: Store DIP now works MCPClient: check uploadDIP/ dir in Store DIP (Fixes #729) Oct 5, 2017
@jrwdunham
Copy link
Contributor Author

@sevein I changed the commit msg and the PR title and initial comment. Are we good to merge or were there changes requested on the code?

If the user chooses "Do not upload DIP" at the "Upload DIP?" choice
point, then the DIP will not be moved to the uploadedDIPs/ directory but
will stay in its original location in uploadDIP/. However, the "Store
DIP" micro-service expects the DIP to be in the uploadedDIPs/ directory. This
changes the storeAIP.py micro-services so that if the aip_path does not exist,
the path is modified so that the first uploadedDIPs/ directory in the
AIP path is replaced by uploadDIP. Not the most elegant solution, but it works.
Fixes #729.
@qubot qubot force-pushed the dev/issue-11476-store-dip-failing branch from 28ec05a to 62bf2e9 Compare October 11, 2017 14:47
@sevein
Copy link
Member

sevein commented Oct 11, 2017

Rebased. I'm planning to merge.

@qubot qubot merged commit 62bf2e9 into qa/1.x Oct 11, 2017
@qubot qubot deleted the dev/issue-11476-store-dip-failing branch October 11, 2017 14:50
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.

4 participants