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

Profiles may be overwriten without warning #282

Open
JiriPavela opened this issue Jan 29, 2025 · 0 comments
Open

Profiles may be overwriten without warning #282

JiriPavela opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels

Comments

@JiriPavela
Copy link
Collaborator

Perun currently does not warn the user when a profile is about to be overwritten, e.g., during back-to-back imports or when a --profile-name parameter is supplied. Perun should instead:

  • warn the user when a profile is about to be overwritten, unless some form of force parameter is provided;
  • allow the user to supply a new name, fallback to an automatically generated name, or abort the operation.

Moreover, in cases when overwriting a profile is indeed the intended behaviour, the old profile label should be overwritten as well, if supplied. Currently, the old profile label is not overwritten by a new label.

@JiriPavela JiriPavela added the bug label Jan 29, 2025
@JiriPavela JiriPavela self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant