[Demo] Enhance and fix up the setup experience in prepare-dev.py.
Review Request #11951 — Created Jan. 21, 2022 and discarded
This modernizes the way we request input and display output on
prepare-dev.py
, utilizing more of rb-site'sConsoleUI
. This is a
better, more consistent way of displaying information and prompting for
information.The text has been updated to be more user-friendly, to offer
guidance for when things go wrong, and to provide next steps when the
environment is prepared.
Ran through
prepare-dev.py
with a brand-new clone and database, and also
with an existing one.Verified dependencies were installed.
Verified each new text string was correct and free from typos.
Summary | ID |
---|---|
e30f2fcf4418c1fd419ba7d034fbcabb3accca92 | |
e77f748462f8a4a61f0dca6076dfd58b00a308da |
Description | From | Last Updated |
---|---|---|
Typo in description: prepare-dev.ppy -> prepare-dev.py |
david | |
Can you flesh out the testing done? |
david | |
There needs to be a blank line between the description and the type. |
david | |
There's an extra space between "in" and "the" |
david | |
E126 continuation line over-indented for hanging indent |
reviewbot | |
If this is meant to set the global variable, you need global ui |
david | |
Please use single quotes instead of double. |
david | |
Please add a blank line between these. |
david | |
There's a missing space at the end of the first line. |
david |
- Change Summary:
-
- Fixed the typo in the description.
- Fleshed out the testing done.
- Added missing blank lines and removed unwanted spaces.
- Added the missing
global
. - Changed double quotes to single quotes.
- Description:
-
This modernizes the way we request input and display output on
~ prepare-dev.ppy
, utilizing more of rb-site'sConsoleUI
. This is a~ prepare-dev.py
, utilizing more of rb-site'sConsoleUI
. This is abetter, more consistent way of displaying information and prompting for information. The text has been updated to be more user-friendly, to offer
guidance for when things go wrong, and to provide next steps when the environment is prepared. - Testing Done:
-
~ Tested prepare-dev.py.
~ Ran through
prepare-dev.py
with a brand-new clone and database, and also+ with an existing one. + + Verified dependencies were installed.
+ + Verified each new text string was correct and free from typos.
- Commits:
-
Summary ID e30f2fcf4418c1fd419ba7d034fbcabb3accca92 e77f748462f8a4a61f0dca6076dfd58b00a308da - Diff:
-
Revision 2 (+16 -8)
Checks run (2 succeeded)
- Commits:
-
Summary ID e77f748462f8a4a61f0dca6076dfd58b00a308da e30f2fcf4418c1fd419ba7d034fbcabb3accca92 e77f748462f8a4a61f0dca6076dfd58b00a308da - Diff:
-
Revision 3 (+139 -49)