-
Notifications
You must be signed in to change notification settings - Fork 14
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
global: empty records fix #33
Conversation
# If 'record' is not present, just create the PID | ||
if not dump.data.get('record'): | ||
try: | ||
PersistentIdentifier.get(pid_type='recid', |
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.
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.
Sorry, I actually have to use the PI.create instead of provider since I am providing the recid as pid_value
, which is forbidden in the provider: https://github.com/inveniosoftware/invenio-pidstore/blob/master/invenio_pidstore/providers/recordid.py#L53
Please someone silence the coveralls guy:
|
LGTM |
@krzysztof do you think it would be possible to add some tests? 😉 |
@egabancho The leftovers is the legacy dumping stuff |
Also, this is pinning Sphinx==1.4.4... |
@krzysztof usually it's caused by |
LGTM, ? |
@jirikuncar I think the issue with Sphinx comes from the fact that which is done outside of app context. This can be disabled by including |
Needs a rebase for fast-forward merge. |
* Creates PID for empty records with recid. Signed-off-by: Krzysztof Nowak <k.nowak@cern.ch>
* Adds migration for remote accounts, remote tokens and user identities. * Code refactoring for loaders CLI and tasks. Signed-off-by: Krzysztof Nowak <k.nowak@cern.ch>
* Moves package specific imports inside tasks to prevent import errors. Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
* FIX Takes into account case where user password is empty. (closes #39) Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
@lnielsen Should be ff-mergeable now. |
Closes #42 #40
Closes #36
Signed-off-by: Krzysztof Nowak k.nowak@cern.ch