-
Notifications
You must be signed in to change notification settings - Fork 25
99 import dataset from renku aware repo #765
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
99 import dataset from renku aware repo #765
Conversation
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.
Thanks for this PR! A couple of minor comments in the code and two main issues:
- when the remote repo is cloned, it is not done with
GIT_LFS_SKIP_SMUDGE=1
so all of the data is downloaded - I cannot manage to generate any triples for the files I add - I can't tell if this is an issue with the recent json-ld context changes or with this PR in particular - @Panaetius?
- This PR allows me to import single files, but what if I want to import an entire dataset? We should add a renku provider in addition to Zenodo and Dataverse probably. Perhaps that should be a separate PR.
1e12a04
to
fd2a35b
Compare
Using #782 this looks pretty good: There are two things I'm not sure about.
|
0be8bd0
to
69832ac
Compare
As we discussed, we need to use |
69832ac
to
867ac1a
Compare
@rokroskar please just review the last commit about re-raising exceptions. |
raise ParameterError( | ||
'Could not find paths/URLs: \n{0}'.format('\n'.join(urls)) | ||
) | ||
) from e |
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.
TIL raise...from
:)
IMPORTANT: Please do not create a Pull Request without creating an issue first.
Description
This PR enables copying metadata from other Renku projects when adding files to datasets. ATM, only
creator
is copied over from the original dataset's metadata.Moreover, if fixes some minor issues with
renku dataset add
andrenku dataset update
.Fixes #99
Fixes #763
Type of change
Please select relevant options.
Checklist
Do not create pull request unless you checked all points.
(https://github.com/SwissDataScienceCenter/documentation/wiki/files/SDSC_Contributor_License_Agreement_v1.0.pdf).
./run-tests.sh
locally.