0

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.

1
  • 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.
    – cilefen
    Jun 23, 2023 at 13:10

1 Answer 1

1

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.

1
  • 1
    For a more specific answer you will have to ask a specific question.
    – cilefen
    Jun 23, 2023 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.