Download the PHP package burdamagazinorg/update-tester without Composer

On this page you can find all versions of the php package burdamagazinorg/update-tester. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package update-tester

Still work in progress

Update Tester

This is helper tool for testing of Drupal 8 site updates with composer packaging. It's designed to be used in testing environment.

Getting Started

This project should be installed globally with composer. It provides functionality to test Drupal 8 site update.

Tester script will clone Drupal 8 site (files and database), after that new available versions will be fetched with and composer.json will be updated with new versions. On top of that will be executed to update packages and modules. Same script will execute Drupal 8 required update hooks and entity field updates on previously updated code for cloned site.

That will allow early discovery of possible breaking updates for Drupal 8 site.

Prerequisites

This project depends on composer and drush. They should be installed on system.

Ensure that composer can work without any interruption, that means:

Installing

To install project, just require it globally:

As dependency for this project package will be installed. And in order to run provided scripts, command has to be globally available. That's why it should be ensured that global composer scripts are available in command paths. If it's not already case, it sufficient to execute following command to add global composer scripts path in execution paths:

NOTE: If is used for project, it has to be ensured, that it's executed from project script path. For example:

Running the update test

To execute update test for your installed Drupal 8 site, you can execute following command:

Travis CI Integration

Ideally update tests should be executed once per day to check, if update still works and if not, what are problems.

In order to do that, Travis CI cron test triggering has to be enabled for branchs where you want to test updates (fe. master and develop). Next step is to use Travis CI environment variable to distinguish cron run from normal pull request or merge request run, since update tester should be executed only on cron run. After installation of site is finished or before running default site tests, update tester should be executed. That can be achieved with following statements in travis.yml file:

Possible improvements


All versions of update-tester with dependencies

PHP Build Version
Package Version
Requires php Version >7.3
composer/composer Version ^1.4
consolidation/robo Version ^1.0
symfony/filesystem Version ^3.2
drush/drush Version ~9.0||~10.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package burdamagazinorg/update-tester contains the following files

Loading the files please wait ....