forked from release-engineering/pubtools-pulp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --all-repos argument to deletion task [RHELDST-13644]
There are ocassions where we would like to remove a package from all repos its associated with. This can be tedious as every repo has to be listed out. This change adds a convenient --all-repos argument to address this issue.
- Loading branch information
1 parent
ef4cbcf
commit e159243
Showing
5 changed files
with
215 additions
and
14 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
1 change: 1 addition & 0 deletions
1
tests/logs/delete/test_delete_packages/test_delete_rpms_conflicting_repo_args.jsonl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
2 changes: 2 additions & 0 deletions
2
tests/logs/delete/test_delete_packages/test_delete_rpms_conflicting_repo_args.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[ ERROR] Arguments --repos and --all-repos are mutually exclusive. | ||
# Raised: 30 |
2 changes: 1 addition & 1 deletion
2
tests/logs/delete/test_delete_packages/test_no_repo_provided.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[ ERROR] Repository names in --repo is required | ||
[ ERROR] Repository names in --repo or --all-repos is required | ||
# Raised: 30 |