-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add command to diff the inputs of 2 builds #120
Comments
@fho I've started putting some test case scenarios together for this work and I would appreciate your input. Data Setup
Test Cases
|
@StephenDiligent My usage description seemed to have been unclear. The syntax For example:
When an app or run-id that was specified as parameter does not exist, always print an error message and exit.
I had a format like the following in mind:
The
The We could color the lines according to the status on the console. What do you think? Thanks for your help 🎉. |
Thank you for your feedback, it all makes sense and should simply the implementation that I have been working on. |
We misunderstand regarding the caret ( That means for you examples:
The first implementation could also be done without the caret syntax. I would also suggest that was use different exit codes when baur exits because of an error and when |
@StephenDiligent btw, before you stumple over it: :-) |
Add a command that shows the list of inputs that are different between two builds:
The usage could be like:
baur diff inputs <APP-NAME>.<TASK-NAME>|<TASK-RUN-ID> <APP-NAME>.<TASK-NAME>|<TASK-RUN-ID>
Parameters to support:
--quiet
, do not show anything, exit with 0 if the inputs are the same, otherwise with 1--csv
if it fits with the format that we choose to display the diffOptional: support to specify a syntax like gits
HEAD^^
to show the last build or last-X build of an application.Idea:
<APP-NAME>.<TASK-NAME>
-> uses the inputs of the current files of the task in the filesystem,<APP-NAME>.<TASK-NAME>^
-> diffs with the last run of the task<APP-NAME>.<TASK-NAME>^^
diffs with the tasks before the last build,Source: #117 (comment)_
The text was updated successfully, but these errors were encountered: