Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📚 DOCS: finalize rename of verdi database migrate #5246

Conversation

giovannipizzi
Copy link
Member

verdi database migrate was renamed to verdi storage migrate in a few places
but a number of commands still mentioned the old command in their output.
In addition, udpating tests to use the new command.

Finally, the redirect from the deprecated verdi database migrate
has an import error since it invokes a command that has changed name.
(Not sure why this was not caught by the precommit tests?)

Fixes #5245

`verdi database migrate` was renamed to `verdi storage migrate` in a few places
but a number of commands still mentioned the old command in their output.
In addition, udpating tests to use the new command.

Finally, the redirect from the deprecated `verdi database migrate`
has an import error since it invokes a command that has changed name.
(Not sure why this was not caught by the precommit tests?)
@giovannipizzi
Copy link
Member Author

@ramirezfranciscof I made a draft PR because I tested it locally (by migrating my profile) but didn't run all tests yet.
If all tests run you can convert to a proper PR and review it!

@codecov
Copy link

codecov bot commented Dec 6, 2021

Codecov Report

Merging #5246 (3c50f26) into develop (e3651e0) will increase coverage by 0.01%.
The diff coverage is 33.34%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5246      +/-   ##
===========================================
+ Coverage    81.38%   81.38%   +0.01%     
===========================================
  Files          529      529              
  Lines        37008    37008              
===========================================
+ Hits         30116    30117       +1     
+ Misses        6892     6891       -1     
Flag Coverage Δ
django 76.88% <33.34%> (ø)
sqlalchemy 75.80% <33.34%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aiida/backends/manager.py 69.70% <ø> (ø)
aiida/cmdline/commands/cmd_database.py 92.86% <0.00%> (ø)
aiida/cmdline/commands/cmd_status.py 84.85% <100.00%> (ø)
aiida/transports/plugins/local.py 81.66% <0.00%> (+0.26%) ⬆️

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 e3651e0...3c50f26. Read the comment docs.

@giovannipizzi giovannipizzi marked this pull request as ready for review December 6, 2021 13:56
Copy link
Member

@chrisjsewell chrisjsewell left a comment

Choose a reason for hiding this comment

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

cheers

@chrisjsewell
Copy link
Member

I'll fix the doc link in a separate PR

@chrisjsewell chrisjsewell changed the title FIX: finalize rename of verdi database migrate 📚 DOCS: finalize rename of verdi database migrate Dec 6, 2021
@chrisjsewell chrisjsewell merged commit 52a9e45 into aiidateam:develop Dec 6, 2021
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.

verdi database migrate still mentioned in a few places (instead of verdi storage migrate)
2 participants