-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dist-git: refresh pyrpkg.Commands after import_srpm
in case of importing, the content of directory in `reponame` changes. To update the state of `Commands` class isn't an easy process - look how much logic pyrpkg.cli.cliClient.load_cmd has and the logic is written for context in cliClient, not for Commands which we are using. Considering this wouldn't be an easy task for pyrpkg to implement, we can refresh the Commands class after every import - even if it is not elegant note: if https://pagure.io/rpkg/issue/690 is resolved, you may delete this
- Loading branch information
Showing
2 changed files
with
34 additions
and
22 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