Score:0

How to conclude from Upgrade Status module if my website is ready to be upgraded from 9 to 10 in command line?

mp flag

How to conclude from Upgrade Status module if my website is ready to be upgraded from 9 to 10 in command line?

From the documentation I understand that I should run either of these commands:

  • vendor/bin/drush upgrade_status:analyze (us-a) --all
  • vendor/bin/drush upgrade_status:checkstyle (us-cs) --all

Is that correct or at least, Would you use more particular arguments?

My question is general and principal but my personal case is a primarily core 9.5.9 website with Redirect, Token and Asset Injector contrib modules.

id flag
To be clear the `(us-a)` and `(us-cs)` are the shortcut names for each subcommand. You would use `upgrade_status:analyze` or `us-a`, but not both. They are equivalent. This is how Drush works. That isn't particular to upgrade_status.
Score:1
id flag

From the documentation, upgrade_status:analyze produces ASCII style output whereas upgrade_status:checkstyle produces XML. That choice is your preference.

You can pass each command a list of projects to analyze, or use any of these options:

  --all                Analyze all projects.                                                                     
  --skip-existing      Return results from a previous scan of a project if available, otherwise start a new one. 
  --ignore-uninstalled Ignore uninstalled projects.                                                              
  --ignore-contrib     Ignore contributed projects.                                                              
  --ignore-custom      Ignore custom projects.

As you are using --all that should check every project, every time you execute the command.

id flag
For a more specific answer you will have to ask a specific question.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.