This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository python-x2go. from 5bf0169 no xconfig_config_file on non-Windows systems new 8204e4b Fix detection of matching path names in X2GoIniFiles. new e630ea6 Make sure X2GoClientXConfig config file really gets written to disk (after we changed the internas of X2GoIniFile for this new major release). The 2 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 | 3 +++ x2go/inifiles.py | 1 + x2go/xserver.py | 14 ++++++++++++++ 3 files changed, 18 insertions(+) -- Alioth's /srv/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 8204e4b3ea3427713f71975df5f889fadae65833 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon Apr 14 16:38:35 2014 +0200 Fix detection of matching path names in X2GoIniFiles. --- debian/changelog | 1 + x2go/inifiles.py | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7b4b6c9..9e215ab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,7 @@ python-x2go (0.5.0.0-0x2go1) UNRELEASED; urgency=low - Allow user interaction via a HOOK if broker connection problems occur. - Handle broker setups that don't require credentials. Connection can be established simply by leaving the password (and authid) empty. + - Fix detection of matching path names in X2GoIniFiles. * debian/control: + Add dependencies: python-requests, python-simplejson. * python-x2go.spec: diff --git a/x2go/inifiles.py b/x2go/inifiles.py index 6b0b81e..ea554a1 100644 --- a/x2go/inifiles.py +++ b/x2go/inifiles.py @@ -98,6 +98,7 @@ class X2GoIniFile(object): _create_file = False for file_name in self.config_files: + file_name = os.path.normpath(file_name) if file_name.startswith(_current_home): if not os.path.exists(file_name): utils.touch_file(file_name) -- Alioth's /srv/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 e630ea606b085cb7e9f09560f813de24e7e95443 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon Apr 14 16:39:18 2014 +0200 Make sure X2GoClientXConfig config file really gets written to disk (after we changed the internas of X2GoIniFile for this new major release). --- debian/changelog | 2 ++ x2go/xserver.py | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/changelog b/debian/changelog index 9e215ab..fc101a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -26,6 +26,8 @@ python-x2go (0.5.0.0-0x2go1) UNRELEASED; urgency=low - Handle broker setups that don't require credentials. Connection can be established simply by leaving the password (and authid) empty. - Fix detection of matching path names in X2GoIniFiles. + - Make sure X2GoClientXConfig config file really gets written to disk + (after we changed the internas of X2GoIniFile for this new major release). * debian/control: + Add dependencies: python-requests, python-simplejson. * python-x2go.spec: diff --git a/x2go/xserver.py b/x2go/xserver.py index 7118836..190e3d9 100644 --- a/x2go/xserver.py +++ b/x2go/xserver.py @@ -91,6 +91,20 @@ class X2GoClientXConfig(inifiles.X2GoIniFile): self.write_user_config = True self.write() + def write(self): + """\ + Store the Xserver configuration to the storage backend (i.e. on disk). + + For writing the first of the C{config_files} specified on instance construction + that is writable will be used. + + @return: C{True} if the user config file has been successfully written, C{False} otherwise. + @rtype: C{bool} + + """ + self._write_user_config = self.write_user_config + self._X2GoIniFile__write() + def get_xserver_config(self, xserver_name): """\ Retrieve the XServer configuration (from the xconfig file) for the given XServer application. -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git