smbjorklund / cellproject

Consortium on Electronic Literature (CELL) Drupal installation
http://cellproject.net
0 stars 0 forks source link

Verify and update/remove composer manager config #12

Closed steinmb closed 3 years ago

steinmb commented 5 years ago

Live site have enabled the composer integration manager https://www.drupal.org/project/composer_manager - It is not currently working since the production server use a outdated PHP version but when we move to PHP 5.6 or newer is activate.

Running composer install inside sites/cellproject.net/files/composer

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 5 installs, 0 updates, 0 removals
  - Installing caseyamcl/phpoaipmh (2.2): Downloading (100%)
  - Installing react/promise (v2.2.0): Downloading (100%)
  - Installing guzzlehttp/streams (3.0.0): Downloading (100%)
  - Installing guzzlehttp/ringphp (1.0.6): Downloading (connDownloading (100%)
  - Installing guzzlehttp/guzzle (5.2.0): Downloading (connecting...)
Downloading (100%)
Generating autoload files

Not sure this is right. We need to verify config and update/remove if needed.

composer.json
{
    "require": {
        "php": ">=5.3.0",
        "caseyamcl/phpoaipmh": "~2.0",
        "guzzlehttp/guzzle": "~5.0"
    },
    "config": {
        "autoloader-suffix": "ComposerManager",
        "vendor-dir": "../../libraries/composer"
    }
}
steinmb commented 3 years ago

Re-testet in new infrastructure. Looks OK. Closing