Skip to content
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

[Feature]: Possibility to show in trace the VCS commands called by TCR #245

Closed
1 task done
mengdaming opened this issue Feb 7, 2023 · 0 comments
Closed
1 task done
Assignees
Labels
enhancement New feature or request murex Items related to using TCR at Murex perforce Perforce related issues S Small

Comments

@mengdaming
Copy link
Contributor

Contact Details

damien.menanteau@gmail.com

Feature Request

Provide a way to see what VCS commands are triggered by TCR.

  • We currently need this in order to fine tune TCR integration with Perforce.
  • This could also be helpful later on when updating or evolving TCR or investigating issues encountered by some users

Feature Description

Add a new command line option allowing to turn on trace for specific components or functionalities. The current need is only for VCS commands, but this will be done in such a way that it can be extended to other components / functionalities.

New command line option: --trace <value> or -T <value>

  • By default will be set to none
  • If set to vcs, all VCS command calls will be traced along with other usual TCR traces. They will be reported as warnings (yellow) in order to clearly differentiate them from the rest of TCR trace

This setting will be saved in .tcr/config.yml so that the user does not have to use the command line argument every time. It will be saved under config.tcr.trace.

Later on, we could extend the use of this parameter to activate multiple traces (for example tcr -trace vcs -trace toolchain)

Alternatives

N/A

Additional Context

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mengdaming mengdaming added the enhancement New feature or request label Feb 7, 2023
@mengdaming mengdaming self-assigned this Feb 7, 2023
@mengdaming mengdaming added the S Small label Feb 7, 2023
@mengdaming mengdaming added perforce Perforce related issues murex Items related to using TCR at Murex labels Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request murex Items related to using TCR at Murex perforce Perforce related issues S Small
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant