Skip to content

Conversation

@portante
Copy link
Member

As of PR #1289, specifically line 177, any invocation of pbench-move|copy-results that did not use both --user and --prefix always received an unwanted "user", and sometimes got the wrong "--prefix".

  • If you did not use either --user or --prefix, then your "user" was being set to "--prefix"

  • If you used only --user, then your "user" was correct, but your "prefix" was being set to "--xy-singled-threaded"

  • If you used only --prefix, then your "user" was being set to "--prefix", and your "prefix" was being ignored

If you used both --user and --prefix then your "user" and "prefix" were being set as expected.

This PR corrects the invocation of pbench-make-result-tb from pbench-move-results.

@portante portante added this to the v0.65 milestone Sep 26, 2019
@portante portante requested a review from ndokos September 26, 2019 19:01
@portante portante self-assigned this Sep 26, 2019
Copy link
Member

@ndokos ndokos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be right, but if so, I am really confused. Maybe we can discuss?

@portante portante force-pushed the fix-mv-res branch 2 times, most recently from 92052c4 to 7b9b669 Compare September 27, 2019 19:00
As of PR distributed-system-analysis#1289,
specifically line [177](https://github.com/distributed-system-analysis/pbench/pull/1289/files?file-filters%5B%5D=No+extension#diff-d7362c40121612a2669161b65d94590aR177),
any invocation of `pbench-move|copy-results` that did not use both
`--user` and `--prefix` always received an unwanted "`user`", and
sometimes got the wrong "`--prefix`".

 * If you did not use either `--user` or `--prefix`,
   then your "`user`" was being set to "`--prefix`"

 * If you used only `--user`, then your "`user`" was correct,
   but your "`prefix`" was being set to "`--xy-singled-threaded`"

 * If you used only `--prefix`, then your "`user`" was being set to
   "`--prefix`", and your "`prefix`" was being ignored

If you used both `--user` and `--prefix` then your "`user`" and "`prefix`"
were being set as expected.

This PR corrects the invocation of `pbench-make-result-tb` from
`pbench-move-results`, and ensures that empty arguments for `--user`
and `--prefix` are properly handled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants