Download the PHP package bluecadet/bc_drupal_package_manager without Composer
On this page you can find all versions of the php package bluecadet/bc_drupal_package_manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bluecadet/bc_drupal_package_manager
More information about bluecadet/bc_drupal_package_manager
Files in bluecadet/bc_drupal_package_manager
Package bc_drupal_package_manager
Short Description Adds functionality to check for updates for custom Drupal modules built by Bluecadet.
License GPL-2.0-or-later
Informations about the package bc_drupal_package_manager
Bluecadet Drupal Module/Package Manager
Adds functionality to check for updates for custom Drupal modules built by Bluecadet.
EX.
Release status metadata
Tag whichever release currently has the highest version with an extra block in its composer.json, naming supported/recommended/security-fixing versions per branch. Since older tags can't be edited after the fact, Checker always reads this from the single highest-versioned release across the whole package, so it must be kept up to date whenever any actively-maintained branch cuts a release:
minimum_supported— the floor version for every branch still receiving fixes, whether or not it's actively recommended.recommended— a subset of the above: the branches you actively want people to move to.security— a running, cumulative history of every release that ever shipped a security fix (including from branches no longer listed above). Never edit old entries out — just keep appending as new fixes ship.
Checker matches a site's existing_version to these lists by major.minor branch (falling back to the highest entry sharing the same major if there's no exact minor match), and:
- overrides the automatic "highest stable release in the current major" pick with the matching
recommendedentry, if any; - adds a Drupal-native
extraadmin notice ifexisting_versionis below the matchingminimum_supportedentry; - marks any release listed in
securitywith'terms' => ['Release type' => ['Security update']](the shapeDrupal\update\ProjectRelease::isSecurityRelease()expects) and surfaces it viasecurity updates.
Testing
Coding standards
This package follows Drupal's coding standards (via drupal/coder), even though it isn't a Drupal module itself:
TODO
- Caching: Packagist responses are currently fetched live on every call to
getUpdates(). Since this package isn't a Drupal module and shouldn't assume\Drupalis bootstrapped, add support for injecting a cache backend (rather than hard-coding Drupal's Cache API) so repeated update checks don't re-fetch from Packagist every time. - Logging:
Checkercurrently logs warnings via PHP'serror_log(). Add support for injecting a PSR-3LoggerInterface, which a caller could satisfy with a Drupal logger channel (\Drupal::logger(...)), Monolog, or any other PSR-3 logger.
All versions of bc_drupal_package_manager with dependencies
ext-curl Version *
drupal/core Version ^10.1 || ^11
z4kn4fein/php-semver Version ^3.0