Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fc15897fb9c3604fbca4192093c45f056242f158)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fc15897fb9c3604fbca4192093c45f056242f158)
  • Date: Fri, 4 May 2018 20:06:18 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 9 +++++++++
python-pypi/ansible/DEPENDS | 1 +
python-pypi/ansible/DETAILS | 1 +
python-pypi/ansible/HISTORY | 6 ++++++
python-pypi/ansible/PRE_BUILD | 3 +++
python-pypi/ansible/auto_remove.patch | 20 ++++++++++++++++++++
python-pypi/backports.ssl_match_hostname/DEPENDS | 2 ++
python-pypi/backports.ssl_match_hostname/DETAILS | 14 ++++++++++++++
python-pypi/backports.ssl_match_hostname/HISTORY | 2 ++
python-pypi/docker-py/DEPENDS | 10 ++++++++++
python-pypi/docker-py/DETAILS | 16 ++++++++++++++++
python-pypi/docker-py/HISTORY | 2 ++
python-pypi/docker-pycreds/DEPENDS | 3 +++
python-pypi/docker-pycreds/DETAILS | 14 ++++++++++++++
python-pypi/docker-pycreds/HISTORY | 2 ++
python-pypi/websocket-client/DEPENDS | 3 +++
python-pypi/websocket-client/DETAILS | 16 ++++++++++++++++
python-pypi/websocket-client/HISTORY | 2 ++
18 files changed, 126 insertions(+)

New commits:
commit fc15897fb9c3604fbca4192093c45f056242f158
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

ansible: add Docker support

commit 648aa6c06a660e6bea1c45b370373b0bca0f73b4
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

docker-py: new spell, Python library for the Docker Engine API

commit 1a8d9a304abd1a1d521cf678a7057e73fbb8989d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

docker-pycreds: new spell, Python bindings for the docker credentials
store API

commit f3132717ff959525458c348c3c1d57d5bfd1248a
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

backports.ssl_match_hostname: new spell, ssl.match_hostname() function
from Python 3.5

commit 24f5e2c5f84fe1fab64de1a56503d094ba4883d0
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

websocket-client: new spell, WebSocket client for Python

diff --git a/ChangeLog b/ChangeLog
index 9f6d7d6..b093f5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-05-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * python-pypi/websocket-client: new spell, WebSocket client for Python
+ * python-pypi/backports.ssl_match_hostname: new spell,
+ ssl.match_hostname() function from Python 3.5
+ * python-pypi/docker-pycreds: new spell, Python bindings for the
docker
+ credentials store API
+ * python-pypi/docker-py: new spell, Python library for the Docker
+ Engine API
+
2018-05-01 Treeve Jelbert <treeve AT sourcemage.org>
* archive/zchunk: delta compression utility

diff --git a/python-pypi/ansible/DEPENDS b/python-pypi/ansible/DEPENDS
index d05fb7e..5846fac 100755
--- a/python-pypi/ansible/DEPENDS
+++ b/python-pypi/ansible/DEPENDS
@@ -14,6 +14,7 @@ suggest_depends python-memcached "" "" "for memcached fact
cache support" &&

suggest_depends libcloud "" "" "for Google Cloud Platform support" &&
suggest_depends boto3 "" "" "for Amazon Web Services support" &&
+suggest_depends docker-py "" "" "for Docker support" &&

suggest_depends psutil "" "" "for wait_for module" &&
suggest_depends xmpppy "" "" "for jabber module" &&
diff --git a/python-pypi/ansible/DETAILS b/python-pypi/ansible/DETAILS
index 90befac..dda66e4 100755
--- a/python-pypi/ansible/DETAILS
+++ b/python-pypi/ansible/DETAILS
@@ -2,6 +2,7 @@
VERSION=2.5.2
BRANCH=`echo ${VERSION}|cut -d. -f1,2`
SECURITY_PATCH=1
+ PATCHLEVEL=1
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_URL[0]=http://releases.ansible.com/${SPELL}/${SOURCE}
SOURCE_URL[1]=https://pypi.io/packages/source/a/${SPELL}/${SOURCE}
diff --git a/python-pypi/ansible/HISTORY b/python-pypi/ansible/HISTORY
index b26a912..0cde6d3 100644
--- a/python-pypi/ansible/HISTORY
+++ b/python-pypi/ansible/HISTORY
@@ -1,3 +1,9 @@
+2018-05-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * DEPENDS: added docker-py suggest dependency
+ * PRE_BUILD: apply patch
+ * auto_remove.patch: added, to fix idempotency for docker_container
+
2018-04-26 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.5.2

diff --git a/python-pypi/ansible/PRE_BUILD b/python-pypi/ansible/PRE_BUILD
index 26f5342..8093d94 100755
--- a/python-pypi/ansible/PRE_BUILD
+++ b/python-pypi/ansible/PRE_BUILD
@@ -1,6 +1,9 @@
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&

+# Fix docker_container idempotency
+patch -p0 < "${SPELL_DIRECTORY}/auto_remove.patch" &&
+
# This one is tracked here: https://github.com/ansible/ansible/pull/19231
# until we get official support for the init system
if [[ ${ANSIBLE_SIMPLEINIT_MSB} == y ]]; then
diff --git a/python-pypi/ansible/auto_remove.patch
b/python-pypi/ansible/auto_remove.patch
new file mode 100644
index 0000000..512d85f
--- /dev/null
+++ b/python-pypi/ansible/auto_remove.patch
@@ -0,0 +1,20 @@
+--- lib/ansible/modules/cloud/docker/docker_container.py.orig
++++ lib/ansible/modules/cloud/docker/docker_container.py
+@@ -1310,7 +1310,6 @@
+
+ # Map parameters to container inspect results
+ config_mapping = dict(
+- auto_remove=host_config.get('AutoRemove'),
+ expected_cmd=config.get('Cmd'),
+ domainname=config.get('Domainname'),
+ hostname=config.get('Hostname'),
+@@ -1360,6 +1359,9 @@
+ working_dir=host_config.get('WorkingDir')
+ )
+
++ if HAS_DOCKER_PY_2 or HAS_DOCKER_PY_3:
++ config_mapping.update(auto_remove=host_config.get('AutoRemove'))
++
+ differences = []
+ for key, value in config_mapping.items():
+ self.log('check differences %s %s vs %s' % (key,
getattr(self.parameters, key), str(value)))
diff --git a/python-pypi/backports.ssl_match_hostname/DEPENDS
b/python-pypi/backports.ssl_match_hostname/DEPENDS
new file mode 100755
index 0000000..bc66e00
--- /dev/null
+++ b/python-pypi/backports.ssl_match_hostname/DEPENDS
@@ -0,0 +1,2 @@
+depends python &&
+depends setuptools
diff --git a/python-pypi/backports.ssl_match_hostname/DETAILS
b/python-pypi/backports.ssl_match_hostname/DETAILS
new file mode 100755
index 0000000..912c3e0
--- /dev/null
+++ b/python-pypi/backports.ssl_match_hostname/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=backports.ssl_match_hostname
+ VERSION=3.5.0.1
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://pypi.org/packages/source/b/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:414c2b6f302a4655c3db3ef09e1dca4916ae4e8c4aa69e43c63bbb920303ea4b2618150c2c35d8a2e1e1283b1d65ccd10a350888fd771addda533c19c20b7e82
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://bitbucket.org/brandon/backports.ssl_match_hostname
+ LICENSE[0]=PYTHON
+ ENTERED=20180504
+ KEYWORDS=""
+ SHORT="ssl.match_hostname() function from Python 3.5"
+cat << EOF
+The ssl.match_hostname() function from Python 3.5.
+EOF
diff --git a/python-pypi/backports.ssl_match_hostname/HISTORY
b/python-pypi/backports.ssl_match_hostname/HISTORY
new file mode 100644
index 0000000..00edc31
--- /dev/null
+++ b/python-pypi/backports.ssl_match_hostname/HISTORY
@@ -0,0 +1,2 @@
+2018-05-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS: created spell, version 3.5.0.1
diff --git a/python-pypi/docker-py/DEPENDS b/python-pypi/docker-py/DEPENDS
new file mode 100755
index 0000000..47bbb48
--- /dev/null
+++ b/python-pypi/docker-py/DEPENDS
@@ -0,0 +1,10 @@
+. "${SECTION_DIRECTORY}/PY_DEPENDS" &&
+
+depends six &&
+depends requests &&
+depends websocket-client &&
+depends docker-pycreds &&
+
+if is_depends_enabled ${SPELL} python; then
+ depends backports.ssl_match_hostname
+fi
diff --git a/python-pypi/docker-py/DETAILS b/python-pypi/docker-py/DETAILS
new file mode 100755
index 0000000..0cd3848
--- /dev/null
+++ b/python-pypi/docker-py/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=docker-py
+ VERSION=1.8.1
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://pypi.org/packages/source/d/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:3442b6b25a61f07f17ef84c8b1e0c3115601cfe83b69e70ae6662c7bbb354404069cb2c9ee51b2a0beabb311f99cab0210d206ff312069cf62aca5da86be8567
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS=""
+ WEB_SITE=https://docker-py.readthedocs.io/
+ LICENSE[0]=APACHE
+ ENTERED=20180504
+ KEYWORDS=""
+ SHORT="Python library for the Docker Engine API"
+cat << EOF
+A Python library for the Docker Engine API. It lets you do anything the
docker
+command does, but from within Python apps.
+EOF
diff --git a/python-pypi/docker-py/HISTORY b/python-pypi/docker-py/HISTORY
new file mode 100644
index 0000000..2e48ce6
--- /dev/null
+++ b/python-pypi/docker-py/HISTORY
@@ -0,0 +1,2 @@
+2018-05-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS: created spell, version 1.8.1
diff --git a/python-pypi/docker-pycreds/DEPENDS
b/python-pypi/docker-pycreds/DEPENDS
new file mode 100755
index 0000000..db79fd0
--- /dev/null
+++ b/python-pypi/docker-pycreds/DEPENDS
@@ -0,0 +1,3 @@
+. "${SECTION_DIRECTORY}/PY_DEPENDS" &&
+
+depends six
diff --git a/python-pypi/docker-pycreds/DETAILS
b/python-pypi/docker-pycreds/DETAILS
new file mode 100755
index 0000000..d5d4fd0
--- /dev/null
+++ b/python-pypi/docker-pycreds/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=docker-pycreds
+ VERSION=0.2.3
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://pypi.org/packages/source/d/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:d4199a48a0bda29ac6126ca9a196c0722667a744998b5f81b360066d48f1bd1f9e6e423df2b53e37117316f3dada6fa47e956c6d2c7d90f851d97a434dcb595f
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/shin-/dockerpy-creds
+ LICENSE[0]=APACHE
+ ENTERED=20180504
+ KEYWORDS=""
+ SHORT="Python bindings for the docker credentials store API"
+cat << EOF
+Python bindings for the docker credentials store API.
+EOF
diff --git a/python-pypi/docker-pycreds/HISTORY
b/python-pypi/docker-pycreds/HISTORY
new file mode 100644
index 0000000..001288f
--- /dev/null
+++ b/python-pypi/docker-pycreds/HISTORY
@@ -0,0 +1,2 @@
+2018-05-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS: created spell, version 0.2.3
diff --git a/python-pypi/websocket-client/DEPENDS
b/python-pypi/websocket-client/DEPENDS
new file mode 100755
index 0000000..db79fd0
--- /dev/null
+++ b/python-pypi/websocket-client/DEPENDS
@@ -0,0 +1,3 @@
+. "${SECTION_DIRECTORY}/PY_DEPENDS" &&
+
+depends six
diff --git a/python-pypi/websocket-client/DETAILS
b/python-pypi/websocket-client/DETAILS
new file mode 100755
index 0000000..eeac9c5
--- /dev/null
+++ b/python-pypi/websocket-client/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=websocket-client
+ SPELLX=${SPELL/-/_}
+ VERSION=0.47.0
+ SOURCE=${SPELLX}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://pypi.org/packages/source/w/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:0d384e96be66877ba0c24e7194e2f3d554f818c2e2f107b054e07034fa7678946738c2b08c68cd71ebe0237fa507fade319273c492871fbd0ad7085b87cf0a54
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
+ WEB_SITE=https://github.com/websocket-client/websocket-client
+ LICENSE[0]=LGPL
+ ENTERED=20180504
+ KEYWORDS=""
+ SHORT="WebSocket client for Python"
+cat << EOF
+websocket-client module is WebSocket client for Python. This provides the low
+level APIs for WebSocket. All APIs are the synchronous functions.
+EOF
diff --git a/python-pypi/websocket-client/HISTORY
b/python-pypi/websocket-client/HISTORY
new file mode 100644
index 0000000..957decd
--- /dev/null
+++ b/python-pypi/websocket-client/HISTORY
@@ -0,0 +1,2 @@
+2018-05-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS: created spell, version 0.47.0



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fc15897fb9c3604fbca4192093c45f056242f158), Vlad Glagolev, 05/04/2018

Archive powered by MHonArc 2.6.24.

Top of Page