{"id":19677920,"url":"https://github.com/donquixote/drupal-drux","last_synced_at":"2025-04-29T03:31:12.118Z","repository":{"id":13252901,"uuid":"15937869","full_name":"donquixote/drupal-drux","owner":"donquixote","description":"Dependency manager for Drush (Drupal bash/commandline)","archived":false,"fork":false,"pushed_at":"2018-02-19T19:01:32.000Z","size":179,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"7.x-1.x","last_synced_at":"2025-04-05T12:51:13.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donquixote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-15T14:44:07.000Z","updated_at":"2023-06-21T18:48:32.000Z","dependencies_parsed_at":"2022-09-01T08:41:06.615Z","dependency_job_id":null,"html_url":"https://github.com/donquixote/drupal-drux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donquixote%2Fdrupal-drux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donquixote%2Fdrupal-drux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donquixote%2Fdrupal-drux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donquixote%2Fdrupal-drux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donquixote","download_url":"https://codeload.github.com/donquixote/drupal-drux/tar.gz/refs/heads/7.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251426829,"owners_count":21587658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T17:35:40.933Z","updated_at":"2025-04-29T03:31:09.281Z","avatar_url":"https://github.com/donquixote.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"drupal-drux\n===========\n\nDependency manager for Drush (Drupal bash/commandline)\n\nThe goal of this script is to sync enabled modules on different deployments (local, dev, staging, production).\n\n\n## Installation\n\n    cd ~/.drush\n    git clone git@github.com:donquixote/drupal-drux.git\n    drush cc drush\n\n\n## Idea\n\nThe idea is that you create one or more \"seed\" modules which list the other enabled modules as dependencies in their info files.\nThere could be one seed module to share between all deployments. But there can be specific seed modules that are only for development, or only for your local installation.\nThe seed modules can be created with features, but you could also just create a basic custom module where you edit the *.info file manually.\n\nAn enabled module is considered \"obsolete\" with respect to one or more seed modules, if it could be safely disabled without disabling any of the seed modules.\nThe way to deal with obsolete modules is to either disable them, or to add them as a dependency.\n\n\n## Commands\n\n    drush drux-find-obsolete module1 module2 module3\n    \nFinds all enabled modules that are not direct or indirect dependencies of the specified seed modules.\nIn other words: It finds all modules that could be safely disabled without disabling any of the specified seed modules.\n\n\n    drush drux-generate module1 module2 module3\n\nGenerate of dependencies[] = .. lines for \"obsolete\" modules as above, to copy + paste into a module info file.\n\n\n    drush drux-list-dependencies\n    \nFinds disabled or missing modules that are required by any of the enabled modules on the site. E.g. if you pull from git, and one of your enabled modules suddenly gets new dependencies, this command will help you to identify the modules that need to be enabled.\n\n\n    drush drux-enable-dependencies\n    \nEnables and potentially downloads modules that are required by enabled modules.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonquixote%2Fdrupal-drux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonquixote%2Fdrupal-drux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonquixote%2Fdrupal-drux/lists"}