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

Make Patrol CLI aware of Patrol package version #2330

Open
zoskar opened this issue Sep 6, 2024 · 0 comments
Open

Make Patrol CLI aware of Patrol package version #2330

zoskar opened this issue Sep 6, 2024 · 0 comments
Labels
feature New feature request package: patrol_cli Related to the patrol_cli package

Comments

@zoskar
Copy link

zoskar commented Sep 6, 2024

Use case

When new Patrol CLI version is released, users receive prompt for updating it whenever they run any patrol command.

Update available! 3.0.1 → 3.1.0
Run patrol update to update

It can lead to some problems:

  1. New CLI might not be compatible with used patrol version (it recently happened for CLI 3.1.0 which introduced tags). Users might unknowingly update the CLI, which could break tests locally.
  2. Users have to be aware of compatibility table
  3. It's difficult to manage projects with multiple automation engineers as they have to sync they CLI updates (kind of)

Proposal

In earlier discussions it was decided that CLI should be aware of patrol package version. This would allow the Update available prompt to include compatibility information. (for example warn users for packages version mismatch or list minimum patrol package version for the latest CLI version). We should keep in mind that some developers work on multiple projects using different Patrol versions. Because of that, maybe patrol downgrade should be considered (or some other way to switch versions more conveniently)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request package: patrol_cli Related to the patrol_cli package
Projects
None yet
Development

No branches or pull requests

1 participant