Add minimum required dependencies#5537
Closed
drupol wants to merge 3 commits intodrush-ops:11.xfrom
drupol:add-minimum-required-dependencies
Closed
Add minimum required dependencies#5537drupol wants to merge 3 commits intodrush-ops:11.xfrom drupol:add-minimum-required-dependencies
drupol wants to merge 3 commits intodrush-ops:11.xfrom
drupol:add-minimum-required-dependencies
Conversation
5 tasks
Member
|
We have not supported standalone Drush for years. I think you want drush launcher - . https://github.com/drush-ops/drush-launcher. Folks interested in the error mentioned here can follow #5156 |
Contributor
Author
|
Fair enough, thank you for your response. Based on the current situation, it seems appropriate to deprecate standalone usage of Drush within the Nix distribution, as it is not functioning as intended. However, users will still be able to use it within their Drupal installations as expected. This change will only affect standalone usage. |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dear maintainers,
I am currently working on updating the
drushpackage for the Nix based distribution. The primary goal of the related PR is to replace all PHAR-based software with their respective source distributions. While most of the software packages have been successfully migrated, I am encountering an issue with Drush, which prompted this pull request.The
composerinstallation process includes the--no-devflag to prevent installing development dependencies when usingdrushas a standalone tool, unattached to any Drupal installation. Unfortunately, with this flag in place, running thedrushcommand results in a failure. I have included the log from runningcomposer install --no-devin the collapsed section below.Details
To resolve this issue, I have opened this PR to propose the necessary minimal modifications to the
composer.jsonfile. These changes will ensure thatdrushcan function properly without requiring the installation of development dependencies.Thank you for your attention to this matter, and I look forward to your feedback.