Skip to content

Homogenize the interface of verdi quicksetup and verdi setup#1797

Merged
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_969_homogenize_verdi_setup_quicksetup
Jul 26, 2018
Merged

Homogenize the interface of verdi quicksetup and verdi setup#1797
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_969_homogenize_verdi_setup_quicksetup

Conversation

@sphuber
Copy link
Copy Markdown
Contributor

@sphuber sphuber commented Jul 25, 2018

Fixes #969

These two commands should essentially provide the exact same interface
to the user, as the only difference is that verdi quicksetup will
try to guess most of the required variables to setup a profile.
However, the functionality once all required variables are defined
should be identical for the two commands.

  • Both commands now have the same options and arguments
  • All options and arguments are defined once as Overridable*
  • All options now have a help string

@sphuber sphuber requested review from DropD and ltalirz July 25, 2018 13:19
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 25, 2018

Codecov Report

Merging #1797 into develop will increase coverage by 0.02%.
The diff coverage is 99.05%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1797      +/-   ##
===========================================
+ Coverage    66.56%   66.59%   +0.02%     
===========================================
  Files          314      314              
  Lines        32318    32333      +15     
===========================================
+ Hits         21512    21531      +19     
+ Misses       10806    10802       -4
Impacted Files Coverage Δ
aiida/transport/plugins/ssh.py 68.64% <ø> (ø) ⬆️
aiida/cmdline/params/arguments/__init__.py 100% <100%> (ø) ⬆️
aiida/cmdline/commands/cmd_setup.py 100% <100%> (ø) ⬆️
aiida/control/postgres.py 91.77% <100%> (+0.86%) ⬆️
aiida/cmdline/commands/cmd_quicksetup.py 86.41% <100%> (+3.46%) ⬆️
aiida/cmdline/params/options/__init__.py 100% <100%> (ø) ⬆️
aiida/control/profile.py 81.63% <75%> (-0.66%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85a2adc...c05d2cb. Read the comment docs.

These two commands should essentially provide the exact same interface
to the user, as the only difference is that `verdi quicksetup` will
try to guess most of the required variables to setup a profile.
However, the functionality once all required variables are defined
should be identical for the two commands.

 * Both commands now have the same options and arguments
 * All options and arguments are defined once as Overridable*
 * All options now have a help string
@sphuber sphuber force-pushed the fix_969_homogenize_verdi_setup_quicksetup branch from c34b124 to c05d2cb Compare July 26, 2018 13:52
Copy link
Copy Markdown
Contributor

@DropD DropD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@sphuber sphuber merged commit 64ee2d0 into aiidateam:develop Jul 26, 2018
@sphuber sphuber deleted the fix_969_homogenize_verdi_setup_quicksetup branch July 26, 2018 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants