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 asyncio concurrency to speed up the process of searching for Drupal module entries with transitive core version requirements.
- Quick self-diagnostic check of the environment and dependencies using the
infocommand. - Choose between three output formats: table, json, and suggest.
tableformat will output the data in the table format.
Example:jsonformat will output the raw data in the json format.suggestformat 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-dumpargument is used.
Limitations
- The application will only work with Composer-based (Composer v2) Drupal 8+ projects.
Usage/Examples
drupal-scout [-h] [-v] [-d DIRECTORY] [-n] [-l LIMIT] [-f {table,json,suggest}] [-s] [-c CORE] [-m MODULES [MODULES ...]] {info} ...
Arguments
‐ -h, --help show this help message and exit
– -v, --version show program's version number 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
– -l LIMIT, --limit LIMIT The concurrency limit for async requests and data parsing. By default, the application uses all available CPU cores.
– -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.
– -c CORE, --core CORE Optional core version override for targeted scans. If omitted with --modules, core is auto-detected from composer metadata in --directory.
– -m MODULES [MODULES ...], --modules MODULES [MODULES ...] Scan only specific modules. When used, full environment module discovery is skipped. If composer.lock exists and --no-lock is not set, installed versions are still used for downgrade protection.
Subcommands
– info - show diagnostic information about the tool and the current Drupal environment.
Targeted Scan Examples
Scan one specific module with explicit core version:
drupal-scout --core 10.0.0 --modules drupal/webform
Scan multiple specific modules and output JSON:
drupal-scout --core 10.0.0 --modules drupal/webform drupal/ctools --format json
Scan targeted modules with auto-detected core from local composer.lock/composer.json in directory:
drupal-scout --directory /path/to/drupal --modules drupal/webform
If core cannot be auto-detected, provide --core explicitly.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drupal_scout-3.0.0.tar.gz.
File metadata
- Download URL: drupal_scout-3.0.0.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0e2b4e80f34295a9cf4763d24ca0a8720cc2b32d7d4bd1ff73e15e6c937974a
|
|
| MD5 |
45a97fda05e145ce9e3893b54b04366a
|
|
| BLAKE2b-256 |
74778d81708c883a89915249cf8c2eb70499604173f7ca60303cf53c4a3a6335
|
Provenance
The following attestation bundles were made for drupal_scout-3.0.0.tar.gz:
Publisher:
release.yml on rtech91/drupal-scout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
drupal_scout-3.0.0.tar.gz -
Subject digest:
a0e2b4e80f34295a9cf4763d24ca0a8720cc2b32d7d4bd1ff73e15e6c937974a - Sigstore transparency entry: 1363040516
- Sigstore integration time:
-
Permalink:
rtech91/drupal-scout@34ea750bd946eb00aecf1f63e82a75a04d04e42b -
Branch / Tag:
refs/tags/v3.0.0 - Owner: https://github.com/rtech91
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@34ea750bd946eb00aecf1f63e82a75a04d04e42b -
Trigger Event:
push
-
Statement type:
File details
Details for the file drupal_scout-3.0.0-py3-none-any.whl.
File metadata
- Download URL: drupal_scout-3.0.0-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91163a13b695355f3d85e57487623aadf5e22f3dc567b66662f0d79d9c233dc1
|
|
| MD5 |
943ed6e7d6c3fade30f88b39c6cfff8d
|
|
| BLAKE2b-256 |
0558fd1bcd43ff880f53e538c213ab273246644c59241577742810ed6266e329
|
Provenance
The following attestation bundles were made for drupal_scout-3.0.0-py3-none-any.whl:
Publisher:
release.yml on rtech91/drupal-scout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
drupal_scout-3.0.0-py3-none-any.whl -
Subject digest:
91163a13b695355f3d85e57487623aadf5e22f3dc567b66662f0d79d9c233dc1 - Sigstore transparency entry: 1363040589
- Sigstore integration time:
-
Permalink:
rtech91/drupal-scout@34ea750bd946eb00aecf1f63e82a75a04d04e42b -
Branch / Tag:
refs/tags/v3.0.0 - Owner: https://github.com/rtech91
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@34ea750bd946eb00aecf1f63e82a75a04d04e42b -
Trigger Event:
push
-
Statement type: