This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository python-x2go. from 7646426 Drop unit test framework. Never really used (though we should have). (Fixes: #1259). new a2e69d5 Update docs/source/*.rst. Non-used unit tests removed from source code. new f89baa4 x2go/client.py: Add with_command option to list_sessions() method. new 63a003f version bump to 0.5.99.1, due to slightly changed API The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 4 ++-- docs/source/x2go.rst | 1 - docs/source/x2go.tests.rst | 18 ------------------ docs/source/x2go.tests.runalltests.rst | 7 ------- docs/source/x2go.tests.test_printing.rst | 7 ------- python-x2go.spec | 2 +- x2go/__init__.py | 2 +- x2go/client.py | 10 ++++++++++ 8 files changed, 14 insertions(+), 37 deletions(-) delete mode 100644 docs/source/x2go.tests.rst delete mode 100644 docs/source/x2go.tests.runalltests.rst delete mode 100644 docs/source/x2go.tests.test_printing.rst -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit a2e69d5fecb68b4dc937a97040418e80054242e5 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat Mar 10 11:44:53 2018 +0100 Update docs/source/*.rst. Non-used unit tests removed from source code. --- docs/source/x2go.rst | 1 - docs/source/x2go.tests.rst | 18 ------------------ docs/source/x2go.tests.runalltests.rst | 7 ------- docs/source/x2go.tests.test_printing.rst | 7 ------- 4 files changed, 33 deletions(-) diff --git a/docs/source/x2go.rst b/docs/source/x2go.rst index b2bddc7..6e689be 100644 --- a/docs/source/x2go.rst +++ b/docs/source/x2go.rst @@ -7,7 +7,6 @@ Subpackages .. toctree:: x2go.backends - x2go.tests Submodules ---------- diff --git a/docs/source/x2go.tests.rst b/docs/source/x2go.tests.rst deleted file mode 100644 index c897457..0000000 --- a/docs/source/x2go.tests.rst +++ /dev/null @@ -1,18 +0,0 @@ -x2go.tests package -================== - -Submodules ----------- - -.. toctree:: - - x2go.tests.runalltests - x2go.tests.test_printing - -Module contents ---------------- - -.. automodule:: x2go.tests - :members: - :undoc-members: - :show-inheritance: diff --git a/docs/source/x2go.tests.runalltests.rst b/docs/source/x2go.tests.runalltests.rst deleted file mode 100644 index dafa7e2..0000000 --- a/docs/source/x2go.tests.runalltests.rst +++ /dev/null @@ -1,7 +0,0 @@ -x2go.tests.runalltests module -============================= - -.. automodule:: x2go.tests.runalltests - :members: - :undoc-members: - :show-inheritance: diff --git a/docs/source/x2go.tests.test_printing.rst b/docs/source/x2go.tests.test_printing.rst deleted file mode 100644 index a78ef8f..0000000 --- a/docs/source/x2go.tests.test_printing.rst +++ /dev/null @@ -1,7 +0,0 @@ -x2go.tests.test_printing module -=============================== - -.. automodule:: x2go.tests.test_printing - :members: - :undoc-members: - :show-inheritance: -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit f89baa4e4c810f3f1b30e8ce080769d0f996fb43 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat May 12 23:31:35 2018 +0200 x2go/client.py: Add with_command option to list_sessions() method. --- x2go/client.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/x2go/client.py b/x2go/client.py index 83746f5..98deb67 100644 --- a/x2go/client.py +++ b/x2go/client.py @@ -127,6 +127,7 @@ import copy import sys import types import os +import re # Python X2Go modules from .registry import X2GoSessionRegistry @@ -2580,6 +2581,7 @@ class X2GoClient(object): no_cache=False, refresh_cache=False, update_sessionregistry=True, register_sessions=False, + with_command=None, raw=False): """\ Use the X2Go session registered under ``session_uuid`` to @@ -2654,6 +2656,14 @@ class X2GoClient(object): self.session_registry.register_available_server_sessions(profile_name=self.get_session_profile_name(session_uuid), session_list=_session_list) + # filter out sessions that are not of a given command + if with_command: + _filtered_session_list = copy.deepcopy(_session_list) + for _session in list(_session_list.keys()): + if not re.match('.*_stD{cmd}_dp.*'.format(cmd=with_command), _session): + del _filtered_session_list[_session] + _session_list = _filtered_session_list + return _session_list __list_sessions = list_sessions -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit 63a003fed146af76ab9e833ce5ad2f14f983c54e Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat May 12 23:32:32 2018 +0200 version bump to 0.5.99.1, due to slightly changed API --- debian/changelog | 4 ++-- python-x2go.spec | 2 +- x2go/__init__.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3719199..34fbc0e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,7 @@ -python-x2go (0.5.99.0-0x2go1) UNRELEASED; urgency=medium +python-x2go (0.5.99.1-0x2go1) UNRELEASED; urgency=medium [ Mike Gabriel ] - * New upstream version (0.5.99.0): + * New upstream version (0.5.99.1): - Support Python2 and Python3 alike. - Build API doc with Sphinx. - Drop unit test framework. Never really used (though we should have). diff --git a/python-x2go.spec b/python-x2go.spec index 8537ad8..276e435 100644 --- a/python-x2go.spec +++ b/python-x2go.spec @@ -3,7 +3,7 @@ #endif Name: python-x2go -Version: 0.5.0.7 +Version: 0.5.99.1 Release: 0.0x2go1%{?dist} Summary: Python module providing X2Go client API diff --git a/x2go/__init__.py b/x2go/__init__.py index fec2432..77d6c1b 100644 --- a/x2go/__init__.py +++ b/x2go/__init__.py @@ -183,7 +183,7 @@ Contact """ __NAME__ = 'python-x2go' -__VERSION__ = '0.5.99.0' +__VERSION__ = '0.5.99.1' __AUTHOR__ = 'Mike Gabriel' __package__ = 'x2go' -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git