Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] [1.x] OpenCloud adapter rewrite #533

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

nicolasmure
Copy link
Contributor

@nicolasmure nicolasmure commented Sep 21, 2017

Related to #497. Also applies propositions from #521.

Replaces the rackspace/php-opencloud SDK by the php-opencloud/openstack SDK.

TODO

  • do not create container automatically

Prevents merging

Todo when ready to merge

  • Squash commits

@nicolasmure
Copy link
Contributor Author

Well, tests are broken because of the Filesystem not handling the new implementation of the adapters (ie exceptions and void return functions).
I'll try to update the Filesystem too.

@nicolasmure nicolasmure changed the title [RFR] Feature/opencloud adapter exceptions [WIP] Feature/opencloud adapter exceptions Sep 22, 2017
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch from 1eb1a05 to e85f7d6 Compare September 22, 2017 14:23
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch 2 times, most recently from 27c0026 to a6cfe19 Compare January 14, 2018 16:33
@nicolasmure nicolasmure changed the title [WIP] Feature/opencloud adapter exceptions [WIP] [1.x] OpenCloud adapter rewrite Jan 14, 2018
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch 2 times, most recently from abb35bc to ed4c2bc Compare January 16, 2018 10:43
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch from 0787873 to 1f9e717 Compare February 5, 2018 09:15
spec/Gaufrette/Adapter/OpenStackSpec.php Show resolved Hide resolved
spec/Gaufrette/Adapter/OpenStackSpec.php Show resolved Hide resolved
spec/Gaufrette/FilesystemSpec.php Outdated Show resolved Hide resolved
src/Gaufrette/Adapter/OpenStack.php Outdated Show resolved Hide resolved
src/Gaufrette/Adapter/OpenStack.php Outdated Show resolved Hide resolved
src/Gaufrette/Adapter/OpenStack.php Outdated Show resolved Hide resolved
spec/Gaufrette/Adapter/OpenStackSpec.php Outdated Show resolved Hide resolved
spec/Gaufrette/Adapter/OpenStackSpec.php Outdated Show resolved Hide resolved
spec/Gaufrette/Adapter/OpenStackSpec.php Outdated Show resolved Hide resolved
src/Gaufrette/Adapter/OpenStack.php Show resolved Hide resolved
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch 2 times, most recently from c3f44df to 9f3eb09 Compare February 8, 2018 11:26
@nicolasmure nicolasmure changed the title [WIP] [1.x] OpenCloud adapter rewrite [RFR] [1.x] OpenCloud adapter rewrite Feb 8, 2018
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch from 9f3eb09 to 545cc7d Compare February 8, 2018 11:57
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch 5 times, most recently from 2a7b48a to 34aa848 Compare October 11, 2018 18:30
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch from 34aa848 to 03f6a04 Compare June 6, 2019 14:18
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch from 03f6a04 to bf7ef73 Compare June 6, 2019 14:51
@nicolasmure nicolasmure added this to the v1.0 milestone Jun 6, 2019
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch 5 times, most recently from f8024c3 to b9e17da Compare June 6, 2019 20:21
- php: '7.1'
- php: '7.2'
- php: '7.3'
- php: '7.1.29'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we require specific patch versions? IMHO we should always build using last patch version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Travis had issues with curl on its minor php versions. I tried to manually download a root certificate and to set a php option to point to this certificate but there was no changes.
Secifying the latest patch fixed the issue (see commit 9224c74 ).

I can try to always use the latest version instead of hardcoding it.

.env.dist Outdated Show resolved Hide resolved
src/Gaufrette/Adapter/OpenStack.php Outdated Show resolved Hide resolved
src/Gaufrette/Adapter/OpenStack.php Outdated Show resolved Hide resolved
@nicolasmure nicolasmure force-pushed the feature/opencloud-adapter-exceptions branch from 986c0f7 to 7c67d68 Compare June 28, 2019 13:29
@nicolasmure nicolasmure merged commit 15d250c into 1.x Jun 28, 2019
@nicolasmure nicolasmure deleted the feature/opencloud-adapter-exceptions branch June 28, 2019 13:41
@chadyred
Copy link

chadyred commented Jul 9, 2019

Very nice job guys !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants