You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/03/30 18:57:17 UTC

[libcloud-site] branch master updated (5db1551 -> 6504d9e)

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/libcloud-site.git.


    from 5db1551  Update readme.
     new e8606cd  Add info for v3.5.1 release.
     new 094a966  Add blog post for v3.5.1 release.
     new 6504d9e  Update stage script.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 scripts/stage-changes.sh                           | 18 ++++++
 ...ed.md => 2022-03-30-libcloud-3-5-1-released.md} | 27 ++++----
 source/downloads.md                                | 72 +++++++++++-----------
 source/index.html                                  |  2 +-
 4 files changed, 67 insertions(+), 52 deletions(-)
 copy source/_posts/{2022-03-12-libcloud-3-5-0-released.md => 2022-03-30-libcloud-3-5-1-released.md} (75%)

[libcloud-site] 01/03: Add info for v3.5.1 release.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/libcloud-site.git

commit e8606cd0a1335d86636ecc3fc4bd55fea37855b3
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Wed Mar 30 20:43:20 2022 +0200

    Add info for v3.5.1 release.
---
 source/downloads.md | 72 ++++++++++++++++++++++++++---------------------------
 source/index.html   |  2 +-
 2 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/source/downloads.md b/source/downloads.md
index e0b82aa..76030ef 100644
--- a/source/downloads.md
+++ b/source/downloads.md
@@ -10,28 +10,28 @@ This page contains link to the latest stable release of Libcloud. If you are
 interested in an older release, please visit the [archive page][15].
 
 <a name="latest-stable-release" id="latest-stable-release" markdown="1"></a>
-## Libcloud 3.5.0 (stable - Python 3.6+ only) - Released on March 11th, 2022
+## Libcloud 3.5.1 (stable - Python 3.6+ only) - Released on March 11th, 2022
 
 Files:
 
-* [apache-libcloud-3.5.0.tar.gz][32] [[asc][33]] [[sha256][34]] [[sha512][35]]
-* [apache-libcloud-3.5.0.tar.bz2][36] [[asc][37]] [[sha256][38]] [[sha512][39]]
-* [apache-libcloud-3.5.0.zip][40] [[asc][41]] [[sha256][42]] [[sha512][43]]
+* [apache-libcloud-3.5.1.tar.gz][32] [[asc][33]] [[sha256][34]] [[sha512][35]]
+* [apache-libcloud-3.5.1.tar.bz2][36] [[asc][37]] [[sha256][38]] [[sha512][39]]
+* [apache-libcloud-3.5.1.zip][40] [[asc][41]] [[sha256][42]] [[sha512][43]]
 
 Upgrade notes: [Click][16]
 
-<!--<a name="latest-33x-release" id="latest-33x-release"><h2 class="anchor">Libcloud 3.5.0 (bug fix only series - Python 3.5+) - Released on November 15th, 2021</h2></a>
+<!--<a name="latest-33x-release" id="latest-33x-release"><h2 class="anchor">Libcloud 3.5.1 (bug fix only series - Python 3.5+) - Released on November 15th, 2021</h2></a>
 
-NOTE: Libcloud v3.5.0 dropped support for Python 3.5. If you need to use
+NOTE: Libcloud v3.5.1 dropped support for Python 3.5. If you need to use
 Libcloud with Python 3.5 versions, you can use 3.4.x release series. Keep in
 mind that 3.3.x release series a bug-fix only. This means all the new features
 and improvements will only be added to the 3.5.x+ release series.
 
 Files:
 
-* [apache-libcloud-3.5.0.tar.gz][2] [[asc][3]] [[sha256][4]] [[sha512][5]]
-* [apache-libcloud-3.5.0.tar.bz2][6] [[asc][7]] [[sha256][8]] [[sha512][9]]
-* [apache-libcloud-3.5.0.zip][10] [[asc][11]] [[sha256][12]] [[sha512][13]]
+* [apache-libcloud-3.5.1.tar.gz][2] [[asc][3]] [[sha256][4]] [[sha512][5]]
+* [apache-libcloud-3.5.1.tar.bz2][6] [[asc][7]] [[sha256][8]] [[sha512][9]]
+* [apache-libcloud-3.5.1.zip][10] [[asc][11]] [[sha256][12]] [[sha512][13]]
 
 Upgrade notes: [Click][16]
 -->
@@ -193,37 +193,37 @@ is mentioned above.
 3.. Verify package with `.asc` signature file
 
 {% highlight bash %}
-gpg --verify apache-libcloud-3.5.0.tar.bz2.asc apache-libcloud-3.5.0.tar.bz2
+gpg --verify apache-libcloud-3.5.1.tar.bz2.asc apache-libcloud-3.5.1.tar.bz2
 gpg: Signature made Wed Oct  6 15:31:35 2010 CDT using DSA key ID 42721F00
 gpg: Good signature from "Paul Querna <...>"
 gpg:                 aka "Paul Querna <...>"
 gpg:                 ...</span>
 gpg: WARNING: This key is not certified with a trusted signature!
 gpg:          There is no indication that the signature belongs to the owner.
-Primary key fingerprint: 39F6 691A 0ECF 0C50 E8BB  849C F788 75F6 4273.5.00
+Primary key fingerprint: 39F6 691A 0ECF 0C50 E8BB  849C F788 75F6 4273.5.10
 {% endhighlight %}
 
 Example of a bad signature:
 
 {% highlight bash %}
-gpg --verify apache-libcloud-3.5.0.tar.bz2.asc apache-libcloud-3.5.0.tar.bz2
+gpg --verify apache-libcloud-3.5.1.tar.bz2.asc apache-libcloud-3.5.1.tar.bz2
 gpg: Signature made Wed Oct  6 15:31:35 2010 CDT using DSA key ID 42721F00
 gpg: BAD signature from "Paul Querna <...>"
 {% endhighlight %}
 
 [1]: {{ page.url }}
-[2]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.0.tar.gz
-[3]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.gz.asc
-[4]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.gz.sha256
-[5]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.gz.sha512
-[6]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.0.tar.bz2
-[7]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.bz2.asc
-[8]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.bz2.sha256
-[9]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.bz2.sha512
-[10]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.0.zip
-[11]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.zip.asc
-[12]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.zip.sha256
-[13]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.zip.sha512
+[2]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.1.tar.gz
+[3]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.gz.asc
+[4]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.gz.sha256
+[5]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.gz.sha512
+[6]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.1.tar.bz2
+[7]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.bz2.asc
+[8]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.bz2.sha256
+[9]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.bz2.sha512
+[10]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.1.zip
+[11]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.zip.asc
+[12]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.zip.sha256
+[13]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.zip.sha512
 [14]: https://www.apache.org/dist/libcloud/KEYS
 [15]: http://archive.apache.org/dist/libcloud/
 [16]: https://libcloud.readthedocs.org/en/stable/upgrade_notes.html
@@ -241,15 +241,15 @@ gpg: BAD signature from "Paul Querna <...>"
 [29]: https://www.apache.org/dist/libcloud/apache-libcloud-2.8.3.zip.asc
 [30]: https://www.apache.org/dist/libcloud/apache-libcloud-2.8.3.zip.sha256
 [31]: https://www.apache.org/dist/libcloud/apache-libcloud-2.8.3.zip.sha512
-[32]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.0.tar.gz
-[33]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.gz.asc
-[34]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.gz.sha256
-[35]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.gz.sha512
-[36]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.0.tar.bz2
-[37]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.bz2.asc
-[38]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.bz2.sha256
-[39]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.tar.bz2.sha512
-[40]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.0.zip
-[41]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.zip.asc
-[42]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.zip.sha256
-[43]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.0.zip.sha512
+[32]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.1.tar.gz
+[33]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.gz.asc
+[34]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.gz.sha256
+[35]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.gz.sha512
+[36]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.1.tar.bz2
+[37]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.bz2.asc
+[38]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.bz2.sha256
+[39]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.tar.bz2.sha512
+[40]: https://www.apache.org/dyn/closer.cgi/libcloud/apache-libcloud-3.5.1.zip
+[41]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.zip.asc
+[42]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.zip.sha256
+[43]: https://www.apache.org/dist/libcloud/apache-libcloud-3.5.1.zip.sha512
diff --git a/source/index.html b/source/index.html
index e43fd33..7d6ae1f 100644
--- a/source/index.html
+++ b/source/index.html
@@ -81,7 +81,7 @@ javascript_files:
     <div class="row section row-2">
       <div class="col-md-6">
         <h3>Installation</h3>
-        <p>Latest stable version (Python 3.5+ only): <a href="https://pypi.python.org/pypi/apache-libcloud/3.5.0" target="_blank">3.5.0</a> (March 11th, 2022)</p>
+        <p>Latest stable version (Python 3.5+ only): <a href="https://pypi.python.org/pypi/apache-libcloud/3.5.1" target="_blank">3.5.1</a> (March 30th, 2022)</p>
         <p>Latest bug-fix only version (Python 3.5+ only): <a href="https://pypi.python.org/pypi/apache-libcloud/3.4.1" target="_blank">3.4.1</a> (November 11th, 2021)</p>
         <p>Latest bug-fix only version (Python 2 and Python 3): <a href="https://pypi.python.org/pypi/apache-libcloud/2.8.3" target="_blank">2.8.3</a> (June 12th, 2020)</p>
         <p><code>pip install apache-libcloud</code></p>

[libcloud-site] 02/03: Add blog post for v3.5.1 release.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/libcloud-site.git

commit 094a96629cd4defa3cfa850f0dc5a6526cfbf37e
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Wed Mar 30 20:43:28 2022 +0200

    Add blog post for v3.5.1 release.
---
 .../_posts/2022-03-30-libcloud-3-5-1-released.md   | 81 ++++++++++++++++++++++
 1 file changed, 81 insertions(+)

diff --git a/source/_posts/2022-03-30-libcloud-3-5-1-released.md b/source/_posts/2022-03-30-libcloud-3-5-1-released.md
new file mode 100644
index 0000000..90ae9ea
--- /dev/null
+++ b/source/_posts/2022-03-30-libcloud-3-5-1-released.md
@@ -0,0 +1,81 @@
+---
+layout: post
+title: Libcloud 3.5.1 released
+author: Tomaz Muraus
+tags:
+  - news
+  - release announcement
+---
+
+We are happy to announce Libcloud v3.5.1.
+
+This release includes a small bug / fix improvement which allows HTTP retrying
+code to also retry failed "raw" requests. In addition to that, it also
+includes improvement in the GCE compute driver to retrieve some resources
+lazily on demand instead of inside the driver constructor.
+
+A list of all the changes can be found at
+<https://libcloud.readthedocs.io/en/latest/changelog.html#changes-in-apache-libcloud-3.5.1>.
+
+### Note on Python 3.5 support
+
+Libcloud v3.5.0 dropped support for Python 3.5.
+
+Python 3.5 has been EOL and non-supported for more than a year
+(<https://endoflife.date/python>) now and a lot of libraries (including some we
+depend on) have already dropped support for it.
+
+Last release which still supports Python 3.5 is Libcloud v3.4.1.
+
+### Note on code style change (developers only)
+
+To make formating and styling in our code base more consistent, we have
+re-formatted all the code with black (<https://github.com/psf/black>) and we will
+automatically enforce black code style (<https://black.readthedocs.io/en/stable/>)
+for all the new code going forward.
+
+This should make it easier to contribute and read the code since all the code
+will be using the same style.
+
+### Download
+
+The release can can be downloaded from
+<https://libcloud.apache.org/downloads.html> or installed using pip:
+
+<pre>
+pip install "apache-libcloud==3.5.1"
+</pre>
+
+### Upgrading
+
+If you have installed Libcloud using pip you can also use it to upgrade it:
+
+<pre>
+pip install --upgrade "apache-libcloud==3.5.1"
+</pre>
+
+### Upgrade notes
+
+A page which describes backward incompatible or semi-incompatible
+changes and how to preserve the old behavior when this is possible
+can be found at <https://libcloud.readthedocs.org/en/latest/upgrade_notes.html>
+
+### Documentation
+
+Regular and API documentation is available at <https://libcloud.readthedocs.org/en/v3.5.1/>
+
+### Bugs / Issues
+
+If you find any bug or issue, please report it on our issue tracker
+<https://github.com/apache/libcloud/issues>.
+
+Don't forget to attach an example and / or test which reproduces your
+problem.
+
+### Thanks
+
+Thanks to everyone who contributed and made this release possible! Full
+list of people who contributed to this release can be found in the
+[CHANGES file][1].
+
+[1]: https://libcloud.readthedocs.org/en/v3.5.1/changelog.html

[libcloud-site] 03/03: Update stage script.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/libcloud-site.git

commit 6504d9ec9fae792d1796ea5192df4b6c2eeca6ac
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Wed Mar 30 20:55:02 2022 +0200

    Update stage script.
---
 scripts/stage-changes.sh | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/scripts/stage-changes.sh b/scripts/stage-changes.sh
index d19a7eb..726662e 100755
--- a/scripts/stage-changes.sh
+++ b/scripts/stage-changes.sh
@@ -1,6 +1,24 @@
 #!/usr/bin/env bash
 set -e
+
 DESTINATION_BRANCH=$1
+
+if [ "${DESTINATION_BRANCH}" != "asf-site" ] && [ "${DESTINATION_BRANCH}" != "asf-staging" ]; then
+    echo "Usage: $0 <branch>"
+    echo ""
+    echo "For example:"
+    echo "  $0 asf-site for production branch"
+    echo "  $0 asf-staging for staging branch"
+    exit 2
+fi
+
+TEMP_OUTPUT_DIRECTORY=$(mktemp -d -t libcloud-site-output-XXXXX)
+trap "rm -rf \"${TEMP_OUTPUT_DIRECTORY}\"" EXIT
+
+echo $TEMP_OUTPUT_DIRECTORY
+mv output/ "${TEMP_OUTPUT_DIRECTORY}"
+
 git checkout "${DESTINATION_BRANCH}"
+cp -r ${TEMP_OUTPUT_DIRECTORY}/output/* output/
 git add output
 git commit -m "Re-generate website."