This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch release/0.0.3.x in repository x2gobroker. at 16c5590 Make hostname detection work for the default configuration (that defines localhost session profiles). This branch includes the following new commits: new f61909a src/*.c: Fix implicit declaration of execv(). new 096439c Makefile: Add check target (drop empty test target). new 03e0650 debian/rules: Enable unit tests at every package build. new 3d3a02c Makefile: Clean-up x2gobroker-ssh executable in clean-arch target. new 16c5590 Make hostname detection work for the default configuration (that defines localhost session profiles). The 5 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. -- Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/0.0.3.x in repository x2gobroker. commit f61909a41a73f11ea53936850fc9f0ef63bdc8dc Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Apr 5 21:11:35 2017 +0200 src/*.c: Fix implicit declaration of execv(). --- debian/changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/changelog b/debian/changelog index b6deec6..5d87d4e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -27,6 +27,7 @@ x2gobroker (0.0.3.2-0x2go1) unstable; urgency=medium of pam module (required for ABI/API changes upstream). * x2gobroker-testagent: - Fix setting up remote_agent[] dictionary. Follow-up fix for a9bc46b. + * src/*.c: Fix implicit declaration of execv(). [ Mihai Moldovan ] * New upstream version (0.0.3.2): -- Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/0.0.3.x in repository x2gobroker. commit 096439c880a68791920d09f529e07475746fda5d Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat Sep 23 16:39:30 2017 +0200 Makefile: Add check target (drop empty test target). --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecb7639..e127f37 100755 --- a/Makefile +++ b/Makefile @@ -69,7 +69,8 @@ clean_arch: clean_indep: -test: +check: + python3 test.py install: mkdir -p "${DESTDIR}/var/lib/x2gobroker" \ -- Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/0.0.3.x in repository x2gobroker. commit 03e0650116ccd17ab4b8b199083e5e1cd859ae0f Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat Sep 23 16:39:47 2017 +0200 debian/rules: Enable unit tests at every package build. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 506fece..70c0b96 100755 --- a/debian/rules +++ b/debian/rules @@ -26,8 +26,11 @@ export PREFIX=/usr include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk +DEB_MAKE_CHECK_TARGET = check + DEB_PYTHON_SYSTEM = $(shell test -f /usr/bin/dh_python2 && echo "" || echo "pysupport") DEB_PYTHON_INSTALL_ARGS_python-x2gobroker ?= --no-compile -O0 --install-layout=deb + include /usr/share/cdbs/1/class/python-distutils.mk # needed when building with pysupport (e.g. on Ubuntu lucid) -- Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/0.0.3.x in repository x2gobroker. commit 3d3a02c33d8a07d00caf1931de54a3257174d2eb Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun Sep 24 15:48:52 2017 +0200 Makefile: Clean-up x2gobroker-ssh executable in clean-arch target. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index e127f37..2d8a7b0 100755 --- a/Makefile +++ b/Makefile @@ -66,6 +66,7 @@ clean: clean_arch clean_indep clean_arch: $(RM_FILE) lib/x2gobroker-agent + $(RM_FILE) bin/x2gobroker-ssh clean_indep: -- Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/0.0.3.x in repository x2gobroker. commit 16c5590d34e6b33508ea4b9976485990efbc1cda Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun Sep 24 18:08:27 2017 +0200 Make hostname detection work for the default configuration (that defines localhost session profiles). --- x2gobroker/brokers/base_broker.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py index 2c6bbc2..938270e 100644 --- a/x2gobroker/brokers/base_broker.py +++ b/x2gobroker/brokers/base_broker.py @@ -27,6 +27,7 @@ __NAME__ = 'x2gobroker-pylib' # modules import types import copy +import socket import uuid import netaddr import random @@ -1355,6 +1356,14 @@ class X2GoBroker(object): while not selected_session and server_list: + # X2Go Server uses the system's hostname, so let's replace + # that here automatically, if we tested things via localhost... + for h in server_list: + if h == 'localhost': + server_list.remove(h) + server_list.append(socket.gethostname()) + + matching_server_names = None if session_list: matching_server_names = x2gobroker.utils.matching_hostnames(server_list, [ si.split('|')[3] for si in session_list ]) -- Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git