[jira] [Created] (LIBCLOUD-978) Libcloud issues tracker: list of releases needs updating

2018-01-26 Thread Adam Wight (JIRA)
Adam Wight created LIBCLOUD-978:
---

 Summary: Libcloud issues tracker: list of releases needs updating
 Key: LIBCLOUD-978
 URL: https://issues.apache.org/jira/browse/LIBCLOUD-978
 Project: Libcloud
  Issue Type: Bug
Reporter: Adam Wight


The list of releases in Jira is about 4 years out of date.  This makes the 
project look stale when it's not, and makes it impossible to fill out the 
"affects version" and "fix version" fields correctly.

See 
[https://issues.apache.org/jira/projects/LIBCLOUD?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page=unreleased]

Fixing will require someone with Jira permissions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LIBCLOUD-977) Implement DigitalOcean's rebuild and resize commands

2018-01-26 Thread Adam Wight (JIRA)

 [ 
https://issues.apache.org/jira/browse/LIBCLOUD-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Wight updated LIBCLOUD-977:

Affects Version/s: (was: 0.15.1)

> Implement DigitalOcean's rebuild and resize commands
> 
>
> Key: LIBCLOUD-977
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-977
> Project: Libcloud
>  Issue Type: New Feature
>  Components: Compute
>Reporter: Adam Wight
>Priority: Minor
>  Labels: pull-request-available
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> I'd like to add "ex_" driver functions for DigitalOcean's rebuild and resize 
> APIs, because I've switched to using libcloud and these are part of my 
> workflow.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (LIBCLOUD-977) Implement DigitalOcean's rebuild and resize commands

2018-01-26 Thread Adam Wight (JIRA)

 [ 
https://issues.apache.org/jira/browse/LIBCLOUD-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Wight updated LIBCLOUD-977:

 Flags: Patch
Labels: pull-request-available  (was: )

PR is ready for review:

https://github.com/apache/libcloud/pull/1169

> Implement DigitalOcean's rebuild and resize commands
> 
>
> Key: LIBCLOUD-977
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-977
> Project: Libcloud
>  Issue Type: New Feature
>  Components: Compute
>Affects Versions: 0.15.1
>Reporter: Adam Wight
>Priority: Minor
>  Labels: pull-request-available
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> I'd like to add "ex_" driver functions for DigitalOcean's rebuild and resize 
> APIs, because I've switched to using libcloud and these are part of my 
> workflow.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LIBCLOUD-977) Implement DigitalOcean's rebuild and resize commands

2018-01-26 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/LIBCLOUD-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341372#comment-16341372
 ] 

ASF GitHub Bot commented on LIBCLOUD-977:
-

GitHub user adamwight opened a pull request:

https://github.com/apache/libcloud/pull/1169

[LIBCLOUD-977] Adds rebuild and resize commands for DigitalOcean

Implement the following DigitalOcean APIs as driver-specific extensions,
* https://developers.digitalocean.com/documentation/v2/#rebuild-a-droplet
* https://developers.digitalocean.com/documentation/v2/#resize-a-droplet

Smoke tests locally.

## Changes Title (replace this with a logical title for your changes)

### Description

Replace this with the PR description (mention the changes you have made, why
you have made them, provide some background and any references to the 
provider
documentation if needed, etc.).

For more information on contributing, please see 
[Contributing](http://libcloud.readthedocs.org/en/latest/development.html#contributing)
section of our documentation.

### Status

Replace this: describe the PR status. Examples:

- work in progress
- done, ready for review

### Checklist (tick everything that applies)

- [ ] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/adamwight/libcloud do_rebuild_resize

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/libcloud/pull/1169.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1169


commit 64c485b20cc73d32cfcd19296734f521ce6b78d5
Author: Adam Wight 
Date:   2018-01-26T18:02:41Z

Adds rebuild and resize commands for DigitalOcean

Implement the following DigitalOcean APIs as driver-specific extensions,
* https://developers.digitalocean.com/documentation/v2/#rebuild-a-droplet
* https://developers.digitalocean.com/documentation/v2/#resize-a-droplet

Smoke tests locally.




> Implement DigitalOcean's rebuild and resize commands
> 
>
> Key: LIBCLOUD-977
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-977
> Project: Libcloud
>  Issue Type: New Feature
>  Components: Compute
>Affects Versions: 0.15.1
>Reporter: Adam Wight
>Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> I'd like to add "ex_" driver functions for DigitalOcean's rebuild and resize 
> APIs, because I've switched to using libcloud and these are part of my 
> workflow.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] libcloud pull request #1169: [LIBCLOUD-977] Adds rebuild and resize commands...

2018-01-26 Thread adamwight
GitHub user adamwight opened a pull request:

https://github.com/apache/libcloud/pull/1169

[LIBCLOUD-977] Adds rebuild and resize commands for DigitalOcean

Implement the following DigitalOcean APIs as driver-specific extensions,
* https://developers.digitalocean.com/documentation/v2/#rebuild-a-droplet
* https://developers.digitalocean.com/documentation/v2/#resize-a-droplet

Smoke tests locally.

## Changes Title (replace this with a logical title for your changes)

### Description

Replace this with the PR description (mention the changes you have made, why
you have made them, provide some background and any references to the 
provider
documentation if needed, etc.).

For more information on contributing, please see 
[Contributing](http://libcloud.readthedocs.org/en/latest/development.html#contributing)
section of our documentation.

### Status

Replace this: describe the PR status. Examples:

- work in progress
- done, ready for review

### Checklist (tick everything that applies)

- [ ] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/adamwight/libcloud do_rebuild_resize

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/libcloud/pull/1169.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1169


commit 64c485b20cc73d32cfcd19296734f521ce6b78d5
Author: Adam Wight 
Date:   2018-01-26T18:02:41Z

Adds rebuild and resize commands for DigitalOcean

Implement the following DigitalOcean APIs as driver-specific extensions,
* https://developers.digitalocean.com/documentation/v2/#rebuild-a-droplet
* https://developers.digitalocean.com/documentation/v2/#resize-a-droplet

Smoke tests locally.




---


[jira] [Created] (LIBCLOUD-977) Implement DigitalOcean's rebuild and resize commands

2018-01-26 Thread Adam Wight (JIRA)
Adam Wight created LIBCLOUD-977:
---

 Summary: Implement DigitalOcean's rebuild and resize commands
 Key: LIBCLOUD-977
 URL: https://issues.apache.org/jira/browse/LIBCLOUD-977
 Project: Libcloud
  Issue Type: New Feature
  Components: Compute
Affects Versions: 0.15.1
Reporter: Adam Wight


I'd like to add "ex_" driver functions for DigitalOcean's rebuild and resize 
APIs, because I've switched to using libcloud and these are part of my workflow.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] libcloud pull request #1153: fix path for profitbricks list_snapshots() meth...

2018-01-26 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/libcloud/pull/1153


---


[2/2] libcloud git commit: Add changes for #1153

2018-01-26 Thread quentinp
Add changes for #1153

Closes #1153


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/aaf15742
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/aaf15742
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/aaf15742

Branch: refs/heads/trunk
Commit: aaf15742f4efac7947a2f47e6e140303dc8ec2d2
Parents: 6a53f35
Author: Quentin Pradet 
Authored: Fri Jan 26 15:48:29 2018 +0400
Committer: Quentin Pradet 
Committed: Fri Jan 26 15:48:29 2018 +0400

--
 CHANGES.rst | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/aaf15742/CHANGES.rst
--
diff --git a/CHANGES.rst b/CHANGES.rst
index 8537c4a..d71af12 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -125,6 +125,9 @@ Compute
 - [ProfitBricks] Update driver and add support for the new API v4. 
(GITHUB-1103)
   [Nurfet Becirevic]
 
+- [ProfitBricks] Fix list_snapshots() method (GITHUB-1153)
+  [Chad Phillips]
+
 - [UpCloud] New driver for UpCloud (LIBCLOUD-938, GITHUB-1102)
   [Mika Lackman, Ilari Mäkelä]
 



[GitHub] libcloud pull request #1168: Add support for DigitalOcean Spaces sgp1 region...

2018-01-26 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/libcloud/pull/1168


---


[1/2] libcloud git commit: Add support for DigitalOcean Spaces sgp1 region.

2018-01-26 Thread quentinp
Repository: libcloud
Updated Branches:
  refs/heads/trunk ecfde67c4 -> ff5b5a344


Add support for DigitalOcean Spaces sgp1 region.

Signed-off-by: Quentin Pradet 


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/d649a2be
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/d649a2be
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/d649a2be

Branch: refs/heads/trunk
Commit: d649a2be5b3f28d5921f5e8a826d20edd3e6b45e
Parents: ecfde67
Author: Andrew Starr-Bochicchio 
Authored: Thu Jan 25 17:42:23 2018 -0500
Committer: Quentin Pradet 
Committed: Fri Jan 26 15:42:08 2018 +0400

--
 libcloud/storage/drivers/digitalocean_spaces.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d649a2be/libcloud/storage/drivers/digitalocean_spaces.py
--
diff --git a/libcloud/storage/drivers/digitalocean_spaces.py 
b/libcloud/storage/drivers/digitalocean_spaces.py
index cdd95cc..5e49ce2 100644
--- a/libcloud/storage/drivers/digitalocean_spaces.py
+++ b/libcloud/storage/drivers/digitalocean_spaces.py
@@ -23,7 +23,8 @@ __all__ = [
 ]
 
 DO_SPACES_HOSTS_BY_REGION = {'nyc3': 'nyc3.digitaloceanspaces.com',
- 'ams3': 'ams3.digitaloceanspaces.com'}
+ 'ams3': 'ams3.digitaloceanspaces.com',
+ 'sgp1': 'sgp1.digitaloceanspaces.com'}
 DO_SPACES_DEFAULT_REGION = 'nyc3'
 DEFAULT_SIGNATURE_VERSION = '2'
 S3_API_VERSION = '2006-03-01'



[2/2] libcloud git commit: Add changes for #1168

2018-01-26 Thread quentinp
Add changes for #1168

Closes #1168


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/ff5b5a34
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/ff5b5a34
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/ff5b5a34

Branch: refs/heads/trunk
Commit: ff5b5a34482dbcb4e6f8b1248aec02dce198c6e5
Parents: d649a2b
Author: Quentin Pradet 
Authored: Fri Jan 26 15:42:50 2018 +0400
Committer: Quentin Pradet 
Committed: Fri Jan 26 15:42:50 2018 +0400

--
 CHANGES.rst | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/ff5b5a34/CHANGES.rst
--
diff --git a/CHANGES.rst b/CHANGES.rst
index 2775535..8537c4a 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -149,6 +149,9 @@ Storage
 - [Digital Ocean Spaces] Add support for AMS3 region (GITHUB-1142)
   [Andrew Starr-Bochicchio]
 
+- [Digital Ocean Spaces] Add support for SGP1 region (GITHUB-1168)
+  [Andrew Starr-Bochicchio]
+
 - Fix a bug / regression which resulted in increased memory consumption when
   using ``download_object`` method. This method would store whole object
   content in memory even though there was no need for that.



[3/3] libcloud git commit: Add changes for #1167

2018-01-26 Thread quentinp
Add changes for #1167

Closes #1167


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/ecfde67c
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/ecfde67c
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/ecfde67c

Branch: refs/heads/trunk
Commit: ecfde67c4cc91bec49dfc8baf00f397e28fec5e1
Parents: b49357d
Author: Quentin Pradet 
Authored: Fri Jan 26 14:17:48 2018 +0400
Committer: Quentin Pradet 
Committed: Fri Jan 26 14:17:48 2018 +0400

--
 CHANGES.rst | 3 +++
 1 file changed, 3 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/ecfde67c/CHANGES.rst
--
diff --git a/CHANGES.rst b/CHANGES.rst
index 84581e6..2775535 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -9,6 +9,9 @@ Changes in Apache Libcloud in development
   drop support: two of our test dependencies no longer support them.
   [Quentin Pradet]
 
+- Made pytest-runner optional (GITHUB-1167)
+  [Vlad Glagolev]
+
 Common
 ~~
 



[1/3] libcloud git commit: Made pytest-runner optional

2018-01-26 Thread quentinp
Repository: libcloud
Updated Branches:
  refs/heads/trunk 91257d533 -> ecfde67c4


Made pytest-runner optional

Signed-off-by: Quentin Pradet 


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2ec85aa1
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2ec85aa1
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2ec85aa1

Branch: refs/heads/trunk
Commit: 2ec85aa144b3fd293e40abbc84d54c1ce39573f6
Parents: 91257d5
Author: Vlad Glagolev 
Authored: Thu Jan 25 11:19:36 2018 -0500
Committer: Quentin Pradet 
Committed: Thu Jan 25 22:11:02 2018 +0400

--
 setup.py | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2ec85aa1/setup.py
--
diff --git a/setup.py b/setup.py
index 2b54296..d752fc1 100644
--- a/setup.py
+++ b/setup.py
@@ -125,6 +125,9 @@ install_requires = ['requests']
 if PY2_pre_279:
 install_requires.append('backports.ssl_match_hostname')
 
+needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
+pytest_runner = ['pytest-runner'] if needs_pytest else []
+
 setup(
 name='apache-libcloud',
 version=read_version_string(),
@@ -141,7 +144,7 @@ setup(
 package_data={'libcloud': get_data_files('libcloud', parent='libcloud')},
 license='Apache License (2.0)',
 url='http://libcloud.apache.org/',
-setup_requires=['pytest-runner'],
+setup_requires=pytest_runner,
 tests_require=TEST_REQUIREMENTS,
 cmdclass={
 'apidocs': ApiDocsCommand,



[2/3] libcloud git commit: PEP8++

2018-01-26 Thread quentinp
PEP8++

Signed-off-by: Quentin Pradet 


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b49357d5
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b49357d5
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b49357d5

Branch: refs/heads/trunk
Commit: b49357d510bc0cf746c078f9b016b9703ad8feaa
Parents: 2ec85aa
Author: Vlad Glagolev 
Authored: Thu Jan 25 11:24:04 2018 -0500
Committer: Quentin Pradet 
Committed: Thu Jan 25 22:11:03 2018 +0400

--
 setup.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b49357d5/setup.py
--
diff --git a/setup.py b/setup.py
index d752fc1..383fd98 100644
--- a/setup.py
+++ b/setup.py
@@ -167,5 +167,6 @@ setup(
 'Programming Language :: Python :: 3.5',
 'Programming Language :: Python :: 3.6',
 'Programming Language :: Python :: Implementation :: CPython',
-'Programming Language :: Python :: Implementation :: PyPy']
-)
+'Programming Language :: Python :: Implementation :: PyPy'
+]
+)



[GitHub] libcloud pull request #1167: Made pytest-runner optional

2018-01-26 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/libcloud/pull/1167


---