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
feat(core): add dataset entries to renku log #2633
Conversation
1d1546e
to
0fa5218
Compare
e37be04
to
0ea47a6
Compare
0ea47a6
to
1b23ffb
Compare
@cmdoret Right now it's set to
|
Deleted entries now show up. I've also added a new file, https://github.com/SwissDataScienceCenter/renku-python/blob/f2d55bcf7692cb891e5b80de4662639056d14994/renku/cli/utils/color.py that defines the terminal color palette we use. Except for yellow it just uses the default (user-defined) colors, but we're free to come up with our own color scheme and replace the colors with our RGB values (maybe ask our designer?), and changing it in this file will change it everywhere. But the yellow should now be readable on both light and dark backgrounds. |
Thanks! deleted datasets show as expected and it looks much better on renkulab, perfectly readable. 👌 EDIT: the new Steps to reproduce: renku dataset edit -t 'demodata' clopidogrel_therapy_foll
renku log Traceback
|
It seems to be due to importing a dataset with no keywords setting them to |
Everything seems to work now ! Looks good to me :) |
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
Thanks @Panaetius this is looking great! A couple of comments:
|
Yes it's the default (I like it more than the tabular output)
Well it works with the tabular output like other methods we have.
No none of it works with a git sha and it would even work if changes weren't committed, only written to disk. it purely uses our metadata and git is not involved. |
I know none of it is using |
Can't we say in the help text that it's the default at least? I assumed I wasn't looking at the detailed output and was surprised that the flag didn't do anything |
Theoretically there can be more than one change in a commit, like a migration adding a dataset to the DB and then making a derivation from it in a single commit. And in the past we thought about allowing to run commands without a commit and then committing when you're happy with it. We could just from the database id get the path to the file it maps to and check what the last commit was that if was changed in. Though I'm a bit scared of the performance of that. Maybe with a dedicated flag in a follow up issue?
Yes I can do that |
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.
🚀
…aScienceCenter/renku-python into feature/2406-datasets-renku-log
Adds dataset entries to renku log.
Closes #2406
Closes #2576
For testing clone/fork https://dev.renku.ch/gitlab/ralf.grubenmann/test_renku_log
Then
Output looks like