exp show: add --rev option#3187
Conversation
91e2736 to
a79c375
Compare
a79c375 to
fb69d23
Compare
fb69d23 to
76e9129
Compare
jorgeorpinel
left a comment
There was a problem hiding this comment.
Based on texts discussed in https://github.com/iterative/dvc/pull/7245/files
|
@karajan1001 please remember to use branches directly on this repo instead of your repo fork so the PRs are automatically deployed to review apps, and so maintainers can commit suggestions. Maybe delete your fork to avoid future confusion? Thanks |
--rev flag exp showexp show: add --rev option
|
OK so I approved #3228 which is a correctly formatted version of this PR. But I'm not sure we want to merge it yet. Is the
|
|
We can wait until |
|
Looks like there's an even deeper question around If you don't mind merging branch |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
0f63876 to
b862f68
Compare
b862f68 to
230cd03
Compare
230cd03 to
0eed2c1
Compare
| - `-n <num>`, `--num <num>` - show experiments from the previous `num` commits | ||
| (before the `--rev` baseline). For example `-n -2` includes experiments from | ||
| `HEAD` and its 2 first ancestors. |
There was a problem hiding this comment.
The info about negative values seems wrong here after all (sorry I was confused). The text should be closer to treeverse/dvc#7245 (review), right? Please double check the suggestion, thanks!
| - `-n <num>`, `--num <num>` - show experiments from the previous `num` commits | |
| (before the `--rev` baseline). For example `-n -2` includes experiments from | |
| `HEAD` and its 2 first ancestors. | |
| - `-n <num>`, `--num <num>` - show experiments from the `--rev` baseline and | |
| from `num` commits before it (first parents). Give a negative value to include | |
| all first-parent commits (similar to `git log -n`). |
There was a problem hiding this comment.
But TBH I'm not sure why this is being changed here if there's no change for --num in the related core PR, treeverse/dvc#7204 🤷🏼
There was a problem hiding this comment.
Does this PR also depend on treeverse/dvc#7245 ? Marked as waiting for core merge for now.
There was a problem hiding this comment.
But TBH I'm not sure why this is being changed here if there's no change for
--numin the related core PR, iterative/dvc#7204 🤷🏼
I just forgot to update the doc in treeverse/dvc#7204.
|
Both of the dependency PRs seem to be merged, could we merge this now? @karajan1001 |
1. add a new flag `--rev` to `dvc exp show` command. related to treeverse/dvc#7204 Co-authored-by: Jorge Orpinel <jorgeorpinel@users.noreply.github.com> Co-authored-by: Dave Berenbaum <dave.berenbaum@gmail.com>
0263218 to
06ba918
Compare
jorgeorpinel
left a comment
There was a problem hiding this comment.
Thanks @karajan1001 @dberenbaum
|
Please merge when you think it's appropriate @karajan1001 @dberenbaum (guessing the feature isn't released yet). |
fix: treeverse#7444 from the discussion treeverse/dvc.org#3187 (comment) 1. Update the help message of `-n`
|
fix: #7444 from the discussion treeverse/dvc.org#3187 (comment) 1. Update the help message of `-n`
1. add a new flag `--rev` to `dvc exp show` command. related to treeverse/dvc#7204 Co-authored-by: Jorge Orpinel <jorgeorpinel@users.noreply.github.com> Co-authored-by: Dave Berenbaum <dave.berenbaum@gmail.com> Co-authored-by: Jorge Orpinel <jorgeorpinel@users.noreply.github.com> Co-authored-by: Dave Berenbaum <dave.berenbaum@gmail.com>
Related to treeverse/dvc#7204