[FFe] upgrade to php-opencloud 2.0.0

Bug #1543807 reported by Nish Aravamudan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-opencloud (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

The v1 version of the opencloud SDK depends on php-guzzle support, which I would like to remove from the archive. v2 of the SDK is in the RC process and depends on the more current php-guzzlehttp (already packaged for Ubuntu).

URL: https://github.com/php-opencloud/openstack
License: Unsure
Notes: If we decided to not update php-opencloud and aws-sdk-for-php (the former seems riskier), then we would need to do some work to bootstrap php-guzzle properly.

Nish Aravamudan (nacc)
summary: - [needs-packaging] php-opencloud
+ [needs-packaging] php-opencloud 2.0.0
Mathew Hodson (mhodson)
tags: added: upgrade-software-version
removed: needs-packaging
summary: - [needs-packaging] php-opencloud 2.0.0
+ upgrade to php-opencloud 2.0.0
Revision history for this message
Nish Aravamudan (nacc) wrote : Re: upgrade to php-opencloud 2.0.0
Revision history for this message
Steve Langasek (vorlon) wrote :

this did not make it before feature freeze, so would need an FFe.

Revision history for this message
Nish Aravamudan (nacc) wrote :

Feature Freeze Exception justification: php-opencloud 1.16.0 (currently in Xenial/universe) does not support PHP7.0 and relies on php-guzzle (deprecated and removed in Xenial). Upstream PHP7.0 support is targeted for 2.0.0 (currently at 2.0.0-RC3). Upstream maintainers are actively driving towards a 2.0.0 full release by next week. The goal for Xenial is to move to PHP7.0 only (ref: https://github.com/rackspace/php-opencloud/issues/655 and https://github.com/php-opencloud/openstack/issues/39).

I'm not exactly sure how to provide an appropriate diff of the upstream changelog, as the project has moved from https://github.com/rackspace/php-opencloud to https://github.com/php-opencloud/openstack.

Will attach the other requested files.

Revision history for this message
Nish Aravamudan (nacc) wrote :

I built the above using an orig.tar.gz generated from https://github.com/php-opencloud/openstack at cd025451.

The tests require the fix at https://github.com/php-opencloud/openstack/pull/41.

The debian tarball is attached.

summary: - upgrade to php-opencloud 2.0.0
+ [FFe] upgrade to php-opencloud 2.0.0
Revision history for this message
Nish Aravamudan (nacc) wrote :

The above built package does pass its own tests, as evidence in the build log.

Revision history for this message
Nish Aravamudan (nacc) wrote :

Ah, there is a bug in the control file (forgot to update bin dep to guzzlehttp and add a pkg-php-tools-overrides file). Rebuilding and testing now.

Revision history for this message
Nish Aravamudan (nacc) wrote :
Revision history for this message
Nish Aravamudan (nacc) wrote :
Revision history for this message
Nish Aravamudan (nacc) wrote :
Revision history for this message
Nish Aravamudan (nacc) wrote :

All tests during build and autopkgtests successfully build with this version.

Revision history for this message
Steve Langasek (vorlon) wrote :

The existing php-opencloud package in xenial is uninstallable because of its dependency of the removed php-guzzle. So this is definitely an update-or-remove scenario, which is adequate justification for an FFe. FFe granted, will sponsor shortly.

Revision history for this message
Steve Langasek (vorlon) wrote :

one problem, generating the upstream tarball with git archive gives me a package that has this lintian error:

E: php-opencloud source: source-is-missing doc/_templates/sphinx_rtd_theme/static/js/modernizr.min.js

This file already exists in the old version of the source, but for some reason lintian doesn't complain about it there. Please investigate the cause of this error.

Revision history for this message
Steve Langasek (vorlon) wrote :

Bear in mind that removing the leaf package php-opencloud instead of fixing this issue is still a viable solution for 16.04, and letting Debian sort it out for 16.10.

Martin Pitt (pitti)
Changed in php-opencloud (Ubuntu):
status: New → Triaged
Revision history for this message
Nish Aravamudan (nacc) wrote :

Filed removal in LP: #1547183.

Changed in php-opencloud (Ubuntu):
status: Triaged → Won't Fix
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.