-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verdi code setup
: validate the uniqueness of label for local codes
In commit d25339d `verdi code setup` was improved to have a callback for the `label` option to check for its uniqueness. However, it only implemented this for "remote" computers, which have an associated `Computer` and so the uniqueness criterion is on the "full label", which is the `label@computer.label`. However, there are also "local" codes, which don't have an associated computer and so only have the label as the identifier that should be unique. The callback `validate_label_uniqueness` is now updated to distinguish between these two cases.
- Loading branch information
Showing
2 changed files
with
92 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters