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

--update flow result in not showing old version of images in report #527

Open
raDiesle opened this issue Feb 14, 2025 · 0 comments
Open

Comments

@raDiesle
Copy link

raDiesle commented Feb 14, 2025

Is your feature request related to a problem? Please describe.

Common use case:

  • I want to compare images and if there is a diff to see the results, afterwards update old with new images by --update
  • old version of images should be overidden at the same time to compare next time ( git versioned)
  • when opening the report, I want to see the old and new images for comparison, but instead only the diff image and new image is shown, because old images had been overridden

Describe the solution you'd like

when using --update it should not just create diff images in report folder, but also copy the old images automatically for the ones with diff

Describe alternatives you've considered

a) call reg-cli twice, 1. to generate report 2. to only update
b) copy files manual after report is generated
c) call report without --update, then read report.json and copy diff old image files manual to override. also somehow tell report new location with new image locations

Additional context

Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant