2017 © Pedro Peláez
 

silverstripe-module silverstripe-composer-update-checker

Checks if any composer packages can be updated.

image

spekulatius/silverstripe-composer-update-checker

Checks if any composer packages can be updated.

  • Monday, July 11, 2016
  • by spekulatius
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,669 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 2 Forks
  • 1 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

SilverStripe Composer update checker

Build Status Scrutinizer Code Quality codecov SilverStripe supported module Latest Stable Version Latest Unstable Version Total Downloads License, (*1)

Checks if any of your Composer dependencies needs to be updated, and tracks the available and latest versions that can be updated to., (*2)

This module only runs the actual checks and saves the information into fields on the Package DataObject. The fields are also added to the report that the SilverStripe Maintenance module provides., (*3)

The bulk of the heavy lifting here is done using the Composer PHP API, which mimics the behaviour of using Composer on the command line to install or update PHP packages., (*4)

Requirements

  • bringyourownideas/silverstripe-maintenance ^2
  • composer/composer ^2
  • silverstripe/framework ^4

Compatibility

The 1.x release line of this module is compatible with SilverStripe ^3.2, and the 2.x release line is compatible with SilverStripe ^4.0., (*5)

The 2.x release line of the module is compatible with composer v1, and this 3.x release line is compatible with composer v2, (*6)

Installation

Run the following command to install this package:, (*7)

composer require bringyourownideas/silverstripe-composer-update-checker ^2

vendor/bin/sake dev/build flush=1
vendor/bin/sake dev/tasks/UpdatePackageInfoTask

Note for private repositories

Please note that if your project has modules that are stored in private repositories, the server running the BuildTask will need to have the necessary permissions to access the private VCS repositories in order for the report to include update information about necessary updates to the module., (*8)

If the process looking for available updates fails (for example, due to an authentication failure against a private repository) the process will fail gracefully and allow the rest of the report generation to continue., (*9)

Users on the Common Web Platform will currently not be able to retrieve information about updates to private repositories., (*10)

Documentation

Please see the user guide section of the SilverStripe Maintenance module., (*11)

Terminology

The "Available" version will show the latest available version for a Package that can be installed, given the package's semver constraint. If the version is the same as that which is already installed, the column will be empty in the report., (*12)

The "Latest" version is the latest available version regardless of the package's semver constraint., (*13)

When tracking available and latest versions, the current, available and latest version hashes are also stored against the Package. This is to help with showing whether updates are available within a branch alias (for example: 1.x-dev)., (*14)

Contributing

Please see the contributing guide., (*15)

The Versions

14/02 2016
13/12 2015

0.2.0

0.2.0.0

Checks if any composer packages can be updated.

  Sources   Download

MIT

The Requires

 

composer update check

19/10 2015

0.1.2

0.1.2.0

Checks if any composer packages can be updated.

  Sources   Download

MIT

The Requires

 

composer update check

03/10 2015

0.1.1

0.1.1.0

Checks if any composer packages can be updated.

  Sources   Download

MIT

The Requires

 

composer update check

15/09 2015

0.1.0

0.1.0.0

Checks if any composer packages can be updated.

  Sources   Download

MIT

The Requires

 

composer update check