remoto.git
6 years agodoc: update the changelog v0.0.30
Alfredo Deza [Wed, 5 Jul 2017 19:29:18 +0000 (15:29 -0400)]
doc: update the changelog

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
6 years agobump the version to 0.0.30
Alfredo Deza [Wed, 5 Jul 2017 19:29:05 +0000 (15:29 -0400)]
bump the version to 0.0.30

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
6 years agoMerge pull request #31 from ktdreyer/tests-py3
Alfredo Deza [Wed, 5 Jul 2017 12:29:39 +0000 (08:29 -0400)]
Merge pull request #31 from ktdreyer/tests-py3

tests: use absolute import for fake_module

6 years agotests: use absolute import for fake_module
Ken Dreyer [Mon, 3 Jul 2017 21:37:00 +0000 (15:37 -0600)]
tests: use absolute import for fake_module

Prior to this change, Python 3 raised an ImportError on the relative
import here. Switch to an absolute import to resolve this.

6 years agoMerge pull request #30 from andrewschoen/issue-29
Alfredo Deza [Mon, 3 Jul 2017 17:21:56 +0000 (13:21 -0400)]
Merge pull request #30 from andrewschoen/issue-29

removes the ability to vendor execnet

6 years agoremoves the ability to vendor execnet
Andrew Schoen [Mon, 3 Jul 2017 16:44:50 +0000 (11:44 -0500)]
removes the ability to vendor execnet

Fixes https://github.com/alfredodeza/remoto/issues/29

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #28 from ktdreyer/tests-packaging
Alfredo Deza [Fri, 30 Jun 2017 12:13:19 +0000 (08:13 -0400)]
Merge pull request #28 from ktdreyer/tests-packaging

better packaging for tests

6 years agotests: add __init__.py
Ken Dreyer [Thu, 29 Jun 2017 20:44:06 +0000 (14:44 -0600)]
tests: add __init__.py

Prior to this change, "python setup.py build" would not copy the tests
to the build location ("build/").

Debian's Pybuild system expects to be able to run the tests from the
"build/" directory. In other words, this change makes it easier to
package remoto for Debian.

6 years agoRevert "include tests in distribution package tarball"
Ken Dreyer [Thu, 29 Jun 2017 20:38:30 +0000 (14:38 -0600)]
Revert "include tests in distribution package tarball"

This reverts commit 3de87bc296991375a0ba2e777bc5a14fdae3cf51.

This solution can accidentally capture files we don't want (like
py3's __pycache__ directories). Also, it doesn't make "python setup.py
build" copy the tests to the destination "build/" directory.

7 years agoMerge pull request #27 from tone-zhang/issue16
Alfredo Deza [Tue, 5 Jul 2016 11:52:03 +0000 (07:52 -0400)]
Merge pull request #27 from tone-zhang/issue16

enhance log

7 years agoenhance log
tone-zhang [Fri, 1 Jul 2016 03:16:09 +0000 (03:16 +0000)]
enhance log

In some special case, the termianl will add extra return at the
end of line. The update code will remove it.

7 years agoupdate the changelog 0.0.29
Alfredo Deza [Fri, 17 Jun 2016 18:18:09 +0000 (14:18 -0400)]
update the changelog

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
7 years agobump to 0.0.29
Alfredo Deza [Fri, 17 Jun 2016 18:13:38 +0000 (14:13 -0400)]
bump to 0.0.29

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
7 years agoMerge pull request #25 from BlaXpirit/python-versions
Alfredo Deza [Thu, 16 Jun 2016 15:31:25 +0000 (11:31 -0400)]
Merge pull request #25 from BlaXpirit/python-versions

Clarify the error when Python is missing on a remote host

7 years agoClarify the error when Python is missing on a remote host
Oleh Prypin [Thu, 9 Jun 2016 20:01:53 +0000 (23:01 +0300)]
Clarify the error when Python is missing on a remote host

Signed-off-by: Oleh Prypin <oleh@pryp.in>
7 years agoMerge pull request #24 from BlaXpirit/python-versions
Alfredo Deza [Tue, 7 Jun 2016 12:31:06 +0000 (08:31 -0400)]
Merge pull request #24 from BlaXpirit/python-versions

Allow selecting the remote Python version (or choose automatically)

7 years agoConfigure execnet to not convert Python2 str (bytes) to Python3 str (unicode)
Oleh Prypin [Mon, 6 Jun 2016 20:32:41 +0000 (23:32 +0300)]
Configure execnet to not convert Python2 str (bytes) to Python3 str (unicode)

Signed-off-by: Oleh Prypin <oleh@pryp.in>
7 years agoAllow selecting remote Python interpreter
Oleh Prypin [Mon, 6 Jun 2016 20:32:06 +0000 (23:32 +0300)]
Allow selecting remote Python interpreter

Automatically selects e. g. 'python2' or 'python3' based on the current version
but also allows overriding to a different name

Signed-off-by: Oleh Prypin <oleh@pryp.in>
7 years agoupdate the changelog 0.0.28
Alfredo Deza [Wed, 11 May 2016 18:02:29 +0000 (14:02 -0400)]
update the changelog

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
7 years agoversion 0.0.28
Alfredo Deza [Wed, 11 May 2016 17:54:35 +0000 (13:54 -0400)]
version 0.0.28

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
7 years agoMerge pull request #23 from BlaXpirit/fix-splitlines
Alfredo Deza [Fri, 6 May 2016 18:07:05 +0000 (14:07 -0400)]
Merge pull request #23 from BlaXpirit/fix-splitlines

Fix output splitting for Python 3

7 years agoFix output splitting for Python 3
Oleh Prypin [Fri, 6 May 2016 11:35:58 +0000 (14:35 +0300)]
Fix output splitting for Python 3

8 years agoavoid doing a bare return
Alfredo Deza [Tue, 22 Mar 2016 13:03:02 +0000 (09:03 -0400)]
avoid doing a bare return

clients will expect a three-item tuple

8 years agoMerge pull request #22 from ktdreyer/readme-logging-typo
Alfredo Deza [Fri, 11 Mar 2016 13:51:29 +0000 (08:51 -0500)]
Merge pull request #22 from ktdreyer/readme-logging-typo

README: typo in logging.basicConfig

8 years agoREADME: typo in logging.basicConfig
Ken Dreyer [Fri, 11 Mar 2016 13:48:56 +0000 (06:48 -0700)]
README: typo in logging.basicConfig

basiConfig -> basicConfig

8 years agoMerge pull request #21 from LaoQi/master
Alfredo Deza [Tue, 5 Jan 2016 12:05:50 +0000 (07:05 -0500)]
Merge pull request #21 from LaoQi/master

fix option exit at process.check

8 years agofix option exit at process.check
LaoQi [Tue, 5 Jan 2016 07:36:55 +0000 (15:36 +0800)]
fix option exit at process.check

8 years agoupdate the changelog
Alfredo Deza [Tue, 22 Dec 2015 18:47:00 +0000 (13:47 -0500)]
update the changelog

8 years agobump to 0.0.27 0.0.27
Alfredo Deza [Tue, 22 Dec 2015 18:40:52 +0000 (13:40 -0500)]
bump to 0.0.27

8 years agodefine both err_read and out_read before looping over descriptors
Alfredo Deza [Tue, 22 Dec 2015 18:24:54 +0000 (13:24 -0500)]
define both err_read and out_read before looping over descriptors

8 years agobump the version 0.0.26
Alfredo Deza [Tue, 15 Dec 2015 19:38:13 +0000 (14:38 -0500)]
bump the version

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agoupdate the changelog
Alfredo Deza [Tue, 15 Dec 2015 19:37:18 +0000 (14:37 -0500)]
update the changelog

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agocheck both out and error for output before quiting
Alfredo Deza [Tue, 15 Dec 2015 19:31:28 +0000 (14:31 -0500)]
check both out and error for output before quiting

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agospecify that the sudo detection is for remote commands on the Connection class
Alfredo Deza [Tue, 21 Apr 2015 20:54:20 +0000 (16:54 -0400)]
specify that the sudo detection is for remote commands on the Connection class

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agodocument ssh detection
Alfredo Deza [Tue, 21 Apr 2015 20:47:51 +0000 (16:47 -0400)]
document ssh detection

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agomake examples from the README work
Alfredo Deza [Tue, 21 Apr 2015 20:19:10 +0000 (16:19 -0400)]
make examples from the README work

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agoMerge pull request #18 from alfredodeza/issue13
Alfredo Deza [Tue, 21 Apr 2015 17:57:42 +0000 (13:57 -0400)]
Merge pull request #18 from alfredodeza/issue13

`import_module` should return the module as well

8 years agomake import_module return the module as well
Alfredo Deza [Tue, 21 Apr 2015 17:56:25 +0000 (13:56 -0400)]
make import_module return the module as well

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agocreate tests for the import_module method
Alfredo Deza [Tue, 21 Apr 2015 17:55:28 +0000 (13:55 -0400)]
create tests for the import_module method

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agoupdate the changelog with the process.run fix 0.0.25
Alfredo Deza [Tue, 21 Apr 2015 16:43:35 +0000 (12:43 -0400)]
update the changelog with the process.run fix

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agobump the version to 0.0.25
Alfredo Deza [Tue, 21 Apr 2015 16:43:18 +0000 (12:43 -0400)]
bump the version to 0.0.25

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
8 years agoMerge pull request #16 from alfredodeza/issue15
Alfredo Deza [Tue, 21 Apr 2015 16:40:42 +0000 (12:40 -0400)]
Merge pull request #16 from alfredodeza/issue15

Loop around stdout and stderr descriptors until they are exhausted

8 years agoLoop around stdout and stderr descriptors until they are exhausted
Alfredo Deza [Tue, 21 Apr 2015 13:54:28 +0000 (09:54 -0400)]
Loop around stdout and stderr descriptors until they are exhausted

Even though process.poll() may indicate the process is done.

Fixes issue #15

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoMerge pull request #12 from ktdreyer/0.0.24-changelog
Alfredo Deza [Mon, 19 Jan 2015 15:05:57 +0000 (10:05 -0500)]
Merge pull request #12 from ktdreyer/0.0.24-changelog

add changelog for 0.0.24

9 years agoadd changelog for 0.0.24
Ken Dreyer [Mon, 5 Jan 2015 19:34:08 +0000 (12:34 -0700)]
add changelog for 0.0.24

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agobump to 0.0.24 0.0.24
Alfredo Deza [Mon, 5 Jan 2015 16:45:54 +0000 (11:45 -0500)]
bump to 0.0.24

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoMerge pull request #11 from ktdreyer/include-tests-in-dist
Alfredo Deza [Mon, 5 Jan 2015 16:41:38 +0000 (11:41 -0500)]
Merge pull request #11 from ktdreyer/include-tests-in-dist

include tests in distribution package tarball

9 years agoinclude tests in distribution package tarball
Ken Dreyer [Mon, 5 Jan 2015 16:32:46 +0000 (09:32 -0700)]
include tests in distribution package tarball

Prior to this change, the "remoto/tests/" directory was present in Git,
but not present in the release tarballs we shipped on PyPI.

Discussed this with Travis and Alfredo in #ceph-devel today. Alfredo
pointed out that the reason the remoto tarball does not include the
tests directory is that there is no __init__.py file there for distutils
to find.

The solution Alfredo recommends is to add the directory to MANIFEST.in.
With this change, the tests directory is present in the source package
tarball.

The purpose of including the tests in the distribution is to 1) be
consistent with what we're doing with the ceph-deploy package, and 2)
make the tests easily available to run during the RPM builds.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #9 from ktdreyer/license-in-manifest
Alfredo Deza [Mon, 5 Jan 2015 16:31:52 +0000 (11:31 -0500)]
Merge pull request #9 from ktdreyer/license-in-manifest

ship the LICENSE file in the distribution

9 years agoship the LICENSE file in the distribution
Ken Dreyer [Fri, 2 Jan 2015 22:07:16 +0000 (15:07 -0700)]
ship the LICENSE file in the distribution

In the case of remoto's MIT license, all derivative copies of remoto are
required to contain the disclaimer text within the MIT license (as
described in the sentence "The above copyright notice and this
permission notice shall be included in all copies or substantial
portions of the Software.") So in order to ease development and
distribution of remoto, it makes sense to simply include this text in
the python package.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoupdate the changelog 0.0.23
Alfredo Deza [Tue, 28 Oct 2014 14:29:59 +0000 (10:29 -0400)]
update the changelog

9 years agobump the version
Alfredo Deza [Tue, 28 Oct 2014 14:27:59 +0000 (10:27 -0400)]
bump the version

9 years agobe faithful about stderr and stdout remote output order
Alfredo Deza [Tue, 28 Oct 2014 14:26:07 +0000 (10:26 -0400)]
be faithful about stderr and stdout remote output order

Fixes #8.

9 years agobump the version to 0.0.22 0.0.22
Alfredo Deza [Wed, 24 Sep 2014 21:05:51 +0000 (17:05 -0400)]
bump the version to 0.0.22

9 years agocreate a sudo detection method to help better detect a need for sudo
Alfredo Deza [Wed, 24 Sep 2014 21:04:47 +0000 (17:04 -0400)]
create a sudo detection method to help better detect a need for sudo

Closes #7

9 years agocreate tests for the new sudo detection method
Alfredo Deza [Wed, 24 Sep 2014 21:03:53 +0000 (17:03 -0400)]
create tests for the new sudo detection method

9 years agoupdate the changelog 0.0.21
Alfredo Deza [Tue, 9 Sep 2014 20:00:47 +0000 (16:00 -0400)]
update the changelog

9 years agobump version to 0.0.21
Alfredo Deza [Tue, 9 Sep 2014 19:59:33 +0000 (15:59 -0400)]
bump version to 0.0.21

9 years agodo not clear all environment variables to set the $PATH
Alfredo Deza [Tue, 9 Sep 2014 19:04:49 +0000 (15:04 -0400)]
do not clear all environment variables to set the $PATH

Closes #6

9 years agotests for the new helper in process.py
Alfredo Deza [Tue, 9 Sep 2014 19:03:13 +0000 (15:03 -0400)]
tests for the new helper in process.py

9 years agobump the version 0.0.20
Alfredo Deza [Fri, 5 Sep 2014 16:09:42 +0000 (12:09 -0400)]
bump the version

9 years agobump the changelog
Alfredo Deza [Fri, 5 Sep 2014 16:09:31 +0000 (12:09 -0400)]
bump the changelog

9 years agoadd tests for the needs_ssh fix
Alfredo Deza [Fri, 5 Sep 2014 15:47:50 +0000 (11:47 -0400)]
add tests for the needs_ssh fix

9 years agodetect fqdn hosts against fqdn hosts
Alfredo Deza [Fri, 5 Sep 2014 15:43:04 +0000 (11:43 -0400)]
detect fqdn hosts against fqdn hosts

Closes #5

9 years agofix foobared v 0.0.18 by using right execnet tag 0.0.19
Alfredo Deza [Thu, 10 Jul 2014 20:28:09 +0000 (16:28 -0400)]
fix foobared v 0.0.18 by using right execnet tag

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agofix py33 error in setup.py
Alfredo Deza [Wed, 9 Jul 2014 14:04:24 +0000 (10:04 -0400)]
fix py33 error in setup.py

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agobump the version to 0.0.18 0.0.18
Alfredo Deza [Wed, 9 Jul 2014 13:31:39 +0000 (09:31 -0400)]
bump the version to 0.0.18

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agouse the new fix in remoto
Alfredo Deza [Wed, 9 Jul 2014 13:30:35 +0000 (09:30 -0400)]
use the new fix in remoto

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoupdate vendor.py so we can call it on the cli
Alfredo Deza [Fri, 27 Jun 2014 12:52:57 +0000 (08:52 -0400)]
update vendor.py so we can call it on the cli

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoremove commented out code
Alfredo Deza [Fri, 27 Jun 2014 12:49:45 +0000 (08:49 -0400)]
remove commented out code

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoupdate the changelog
Alfredo Deza [Thu, 26 Jun 2014 19:29:11 +0000 (15:29 -0400)]
update the changelog

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agobump the version 0.0.17
Alfredo Deza [Thu, 26 Jun 2014 19:28:07 +0000 (15:28 -0400)]
bump the version

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoremove execnet from source
Alfredo Deza [Thu, 26 Jun 2014 19:26:05 +0000 (15:26 -0400)]
remove execnet from source

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agomess with sys.path so we can import vendor libraries
Alfredo Deza [Thu, 26 Jun 2014 19:25:46 +0000 (15:25 -0400)]
mess with sys.path so we can import vendor libraries

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agofix to use relative imports in init
Alfredo Deza [Thu, 26 Jun 2014 19:24:27 +0000 (15:24 -0400)]
fix to use relative imports in init

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agouse better metadata search in setup.py
Alfredo Deza [Thu, 26 Jun 2014 19:24:01 +0000 (15:24 -0400)]
use better metadata search in setup.py

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoadd ignores for execnet
Alfredo Deza [Thu, 26 Jun 2014 19:23:38 +0000 (15:23 -0400)]
add ignores for execnet

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agoensure we are testing remoto tests only in tox.ini
Alfredo Deza [Thu, 26 Jun 2014 19:23:03 +0000 (15:23 -0400)]
ensure we are testing remoto tests only in tox.ini

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agopy3 compat in vendor.py
Alfredo Deza [Thu, 26 Jun 2014 19:21:48 +0000 (15:21 -0400)]
py3 compat in vendor.py

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agomake sure vendor.py is included
Alfredo Deza [Thu, 26 Jun 2014 19:20:37 +0000 (15:20 -0400)]
make sure vendor.py is included

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
9 years agofallback on vendored libraries
Alfredo Deza [Thu, 26 Jun 2014 15:59:01 +0000 (11:59 -0400)]
fallback on vendored libraries

Signed-off-by: Alfredo Deza <alfredo@deza.pe>