Modularize verdi profile delete#2151
Merged
giovannipizzi merged 1 commit intoJan 14, 2019
Merged
Conversation
Member
|
I guess this is still not ready to merge, right? I added [WIP] in the title (and added some comments to #2121) |
9794a44 to
e8a356a
Compare
e7aa941 to
69f0a13
Compare
Modularized the code to delete a profile by splitting it into functions that have been moved to `aiida.manage.configuration.setup` module. Then, three new options are added to `verdi profile delete` * `--include-db/--skip-db` * `--include-repository/--skip-repository` * `--include-config/--skip-config` The unittest for `verdi profile delete` now makes use of `--skip-db` such that the test no longer prompts for a sudo password locally. The full functionality is tested on Travis in `.ci/test_profile.py`.
69f0a13 to
c0be528
Compare
verdi profile delete
Contributor
|
I fixed the remaining open to do checkpoint and rebased onto |
Member
Author
|
thanks a lot @sphuber |
giovannipizzi
approved these changes
Jan 14, 2019
Member
Contributor
|
No problem whatsoever, just rebasing and fixing merge problems, hardly deserves attribution |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #2121
To do: