Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After #2242947: Integrate Symfony Console component to natively support command line operations is fixed, we can start porting the shell scripts in ./core/scripts to console commands. This issue keeps track of which scripts are to be ported and how far along the ports are.
Script | Issue |
---|---|
./core/scripts/dump-database-d6.sh | |
./core/scripts/dump-database-d7.sh | |
./core/scripts/generate-d6-content.sh | |
./core/scripts/generate-d7-content.sh | |
./core/scripts/password-hash.sh | #2289409: Port password-hash.sh to a console command |
./core/scripts/rebuild_token_calculator.sh | #2289447: Port rebuild_token_calculator.sh to a console command |
./core/scripts/run-tests.sh | |
./core/scripts/transliteration_data.php.txt | |
./core/scripts/update-countries.sh | #2289611: Port update-countries.sh to a console command |
Comments
Comment #1
XanoComment #2
larowlanCan I bags one?
Comment #3
Damien Tournoud CreditAttribution: Damien Tournoud commentedSo feature freeze is absolutely meaningless?
Comment #4
XanoWhich means?
Damien, please stop being sarcastic. Nobody said this has to go into 8.0. There are always later minor versions we can add this to. Add the very least, converting the scripts allows us to increase test coverage. We can also port the code without breaking BC, if we want to.
Comment #5
larowlanCan I bags one = I want to claim one, keen
Comment #6
larowlanAdded rebuild token calculator
Comment #7
jibranI think we should move all the work to a sandbox so that it can all be merged at once when core committers are ready to merge it.
Comment #8
XanoWhat would be the advantage of that? AFAIK sandboxes are commonly used to work on large features that must go into core as a whole, but that are too big to add in one patch. These are a number of smaller features that bear no relationship to each other. In other words: we can decide to add only a few of them without consequences. I'd rather avoid the 'obscurity' of a sandbox (they are harder to find than issues).
Comment #9
jibranMy idea was to combine all the above patches and #2242947: Integrate Symfony Console component to natively support command line operations and post it here or to a sandbox. Because it is a feature request and we are in feature freeze until 8.1.x atleast and when issue is ready for commit we can pull up a patch and be done with it.
Comment #10
XanoComment #11
jmolivas CreditAttribution: jmolivas at Blink Reaction (now part of FFW) commentedSince we have been working on this contributed project http://drupalconsole.com/ there is already code that could be reused on core or contributed space to facilitate the use of Console component in order to enable Drupal users to create commands easily.
Feel free to ping me or any console maintainers for help writing this commands.
Comment #12
Fabianx CreditAttribution: Fabianx for Acquia commentedThis is 8.1 material.
Comment #14
Chi CreditAttribution: Chi commentedComment #18
pingwin4egFixed link for update-countries.sh.
I suppose this is postponed on the integration issue.
Comment #20
jibranAdded #655178: Rename run-tests.sh to run-tests.php to IS.
Comment #21
andypostThis should be opened again cos there are commands implemented already, few ones are in progress like #2911319: Provide a single command to install & run Drupal
As I see here is commands that depends on bootstrap & ones like install that don't
The question of error output handling & exit codes #2242947-98: Integrate Symfony Console component to natively support command line operations is not the same in current commands - needs separate issue to decide
Better to discus it here instead of issue that has 100 comments with patches that no longer "integration issue"
Comment #22
Mile23