Skip to main content

Scout out for transitive versions of Drupal modules for the upgrade of the core.

Project description

Drupal Scout

Search for Drupal module entries with transitive core version requirements to help to upgrade the Drupal Core

Installation

  pip install drupal-scout

Features

  • Use multithreading to speed up the process of searching for the Drupal module entries with transitive core version requirements.
  • Choose between three output formats: table, json, and suggest.
    • table format will output the data in the table format.
      Example: Table format example
    • json format will output the raw data in the json format.
    • suggest format will output the suggested composer.json file with the updated module version requirements.
      It will also dump the suggested composer.json file to the specified path if the --save-dump argument is used.

Limitations

  • The application will only work with Composer-based (Composer v2) Drupal 8+ projects.

Usage/Examples

drupal-scout [-h] [-d DIRECTORY] [-n] [-t THREADS] [-f {table,json,suggest}] [-s]

Arguments

-h, --help show this help message and exit
-d DIRECTORY, --directory DIRECTORY Directory of the Drupal installation
-n, --no-lock Do not use the composer.lock file to determine the installed versions of the modules
-t THREADS, --threads THREADS The number of threads to use for the concurrent requests and data parsing. By default, the application will use the number of all available threads.
-f {table,json,suggest}, --format {table,json,suggest} The output format. By default, the application will use the table format.
-s, --save-dump Use in pair with --format suggest to dump the suggested composer.json file to the specified path.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drupal-scout-1.0.2.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

drupal_scout-1.0.2-py3-none-any.whl (14.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page