-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sweep cleanup in rosbag2 recorder CLI args verification code (#1633)
* Remove outdated checks that only one option out of others can be used Signed-off-by: Michael Orlov <[email protected]> * Move arguments checks to a separate method Signed-off-by: Michael Orlov <[email protected]> * Fix wrong limitation on arguments in recorder CLI help section - On Jazzy and Rolling we have relaxed limitations in topic filter, and it is ok to apply --exclude-topics above --topics or --exclude-services above --services. Also --all, --all-topics or --all-services overrides --regex. Signed-off-by: Michael Orlov <[email protected]> * Add warning that --all will override --topics and --services - Also adjust integration tests to check that --all, --all-topics and --all-services are allowed to be used together with --topics and --services CLI arguments. Signed-off-by: Michael Orlov <[email protected]> * Add check for "len(args.services) > 0" per code review Signed-off-by: Michael Orlov <[email protected]> * Add extra checks for arguments' validation and test coverage Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]>
- Loading branch information
1 parent
e01e1ef
commit ef66ee1
Showing
3 changed files
with
196 additions
and
78 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
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