-
Notifications
You must be signed in to change notification settings - Fork 66
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
cli: allow listing and setting default of locations #236
Conversation
Fix multiple defaults upon creation Co-authored-by: Werner Gresshoff <gressho@uni-muenster.de>
Co-authored-by: Werner Gresshoff <gressho@uni-muenster.de>
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.
LGTM 👍
Fails due to broken imports from Werkzeug (coming from bablex). |
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.
Are the broken tests related to the Werkzeug issues?
Yes, coming from:
I bumped the minor version in all. However, |
@lnielsen tests are passing :) |
All good on my side. I am not authorized to merge though; someone else will have to do it. |
Changes:
--default
there were two defaults in DB and therefore failing the uploading of files.Duplicated of #235 Since the PR was from master branch I could not force push to squash commits.
Slight refactoring to fixt tests. (@wgresshoff sorry I had to take out the pretty print it is a nice addition but it requires a bigger refactor along invenio).
Warning it is not backwards compatible:
location
command is now a group to contain its related commandscreate
,list
andset_default
.Location.get_by_name()
returns nowone_or_none
instead ofone
and raising an exception if it does not exist.Requires
Closes #234
Closes #232