Closed (fixed)
Project:
CMIS API
Version:
8.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2017 at 19:30 UTC
Updated:
7 Aug 2020 at 09:04 UTC
Jump to comment: Most recent
Hi, I see that there is code in the 8.x-2.x branch which allows for compatibility with the latest php-cmis-client (and guzzle 6). I am unable to install this via composer as it keeps picking up 1.x. Would it be possible to release 2.x for use?
Comments
Comment #2
socialnicheguru commentedI get the following:
- Installation request for drupal/cmis 1.x-dev -> satisfiable by drupal/cmis[1.x-dev].
- Conclusion: remove guzzlehttp/guzzle 6.3.3
- drupal/cmis 1.x-dev requires dkd/php-cmis ^1.0 -> satisfiable by dkd/php-cmis[1.0.1, 1.0.x-dev, v1.0.0].
- dkd/php-cmis 1.0.1 requires guzzlehttp/guzzle ~5.0 -> satisfiable by guzzlehttp/guzzle[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.x-dev].
- dkd/php-cmis 1.0.x-dev requires guzzlehttp/guzzle ~5.0 -> satisfiable by guzzlehttp/guzzle[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.x-dev].
- dkd/php-cmis v1.0.0 requires guzzlehttp/guzzle ~5.0 -> satisfiable by guzzlehttp/guzzle[5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.x-dev].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.0.0].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.0.1].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.0.2].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.0.3].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.1.0].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.2.0].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.3.0].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.3.1].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.3.2].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.3.3].
- Can only install one of: guzzlehttp/guzzle[6.3.3, 5.3.x-dev].
- Installation request for guzzlehttp/guzzle (installed at 6.3.3) -> satisfiable by guzzlehttp/guzzle[6.3.3].
Comment #3
socialnicheguru commentedAny update on making the 2.x version available?
Comment #4
jncrucesThey must create a new release to get the 2.x-dev version.
Instead you can add a repository to read from git directly:
And then you can use composer normally:
$ composer require drupal/cmis
Greetings
Comment #5
digitalcatalyst commentedI found I had to make a slight change to my composer, with drupal 8.8.2 version, note the "cmis" : { with in the repositories segment
after this change i could run composer require drupal/cmis and i get the correct version. after that cd into the modules/contrib/cmis folder and run composer require dkid/phpcmis to install the php cmis client. after that apply patch from https://www.drupal.org/project/cmis/issues/3059528
and use the the browser binding url https://********/alfresco/api/-default-/public/cmis/versions/1.1/browser in the cmis connection.
this was tested against 6.1.2-ga
Comment #6
prudloff commentedHere is a cleaner way to require the 2.x branch (without having to require an exact commit):
And then:
Comment #7
grimreaperHello,
Now that the 8.x-2.x-dev development release exists and is published. Only
composer require drupal/cmis:2.x-devis required.Regards,
Comment #8
grimreaper