Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
0ecba8f
Added pylibssh2 submodule
Jul 2, 2017
5539205
Updated libssh2 references for new package. Updated pssh logger to no…
Jul 8, 2017
771efde
Added openssh based embedded server for testing and test client keys.…
Jul 12, 2017
dced13b
Updated read from stdout logic, updated tests. Updated embedded opens…
Jul 20, 2017
e989709
Removed pylibssh submodule.
Aug 1, 2017
8e95e0d
Updated embedded openssh server, dev requirements.
Aug 30, 2017
9054b03
Updated requirements
Aug 30, 2017
0770576
Updated dev requirements, travis cfg
Aug 30, 2017
b2a7538
Temporarily disable flake check
Aug 30, 2017
a9695dd
fixup! Temporarily disable flake check
Aug 30, 2017
4ce9ca0
Updates for py3
Aug 30, 2017
7301b9c
WIP - updating tests and ssh2 client code
Aug 30, 2017
7ada938
Updated base test
Sep 1, 2017
688b28f
Added native code and functions using the ssh2-python C-API.
Sep 14, 2017
c5ef1ae
Added parallel session handshake and agent authentication native func…
Sep 15, 2017
5dd9537
Added parallel channel open, cleanups.
Sep 15, 2017
ad20b9b
Updated ssh2 clients and select timeout.
Sep 20, 2017
e671926
Updated parallel ssh2-python based tests.
Sep 21, 2017
d872561
Refactoring - added base pssh module and class, updated ssh2 class to…
Sep 22, 2017
555c8c8
Refactored paramiko parallel client to use base class.
Sep 23, 2017
a50d0dd
Updated native functions, setup.py
Sep 24, 2017
4a9716a
Updated base and paramiko parallel clients.
Sep 24, 2017
4361fab
Updated openssh server to fix directory permissions before start up.
Sep 24, 2017
97d4737
Added SFTP copy local and remote operations to ssh2 client.
Sep 26, 2017
6893315
Updated API docstrings for ssh2 single and parallel clients.
Sep 26, 2017
bf7d1fa
Added native sftp get and put functions, updated ssh2 client.
Sep 26, 2017
8283765
Added CI scripts for building system packages and binary wheels.
Sep 30, 2017
9963093
Cleaned up native functions
Sep 30, 2017
001d0be
Updated native ssh2 functions. Updated ssh2 client.
Oct 2, 2017
cc1f0a6
Added appveyor cfg for windows binary wheel builds.
Oct 3, 2017
6569221
Updated documentation and in code doc strings
Oct 4, 2017
f199ecd
Updated documentation and docstrings.
Oct 4, 2017
21e4865
Minor change in ssh2 client
Oct 4, 2017
c7751c1
Updated paramiko client SFTP remote path manipulation for cross platf…
Oct 4, 2017
91b7264
Updated documentation, requirements, setup.py
Oct 5, 2017
3c50a7b
Updated appveyor, travis cfg.
Oct 7, 2017
9809645
Fix ssh2 client sftp push/pull with absolute paths
Oct 7, 2017
1b5e7f8
Travis tests
Oct 7, 2017
04ede5f
fixup! Travis tests
Oct 7, 2017
7e589a1
fixup! fixup! Travis tests
Oct 7, 2017
21471cc
fixup! fixup! fixup! Travis tests
Oct 7, 2017
7332242
fixup! fixup! fixup! fixup! Travis tests
Oct 7, 2017
1bc4080
Updated ssh2 client sftp functions.
Oct 9, 2017
613209c
Updated travis cfg
Oct 9, 2017
13ba5ed
Added codecov cfg, updated cfgs. Code cleanup, more tests.
Oct 10, 2017
54f47b5
Clean up after paramiko client objects as they do not close correctly…
Oct 11, 2017
d5f1e11
Added get_last_output function and cmds attribute to parallel clients…
Oct 12, 2017
1bfd0e2
Updated ssh2 client for non-unix platforms.
Oct 12, 2017
5b6c8dd
Added tests
Oct 12, 2017
b5805e9
Added contribution guide, code of conduct, issue template.
Oct 13, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C %APPVEYOR_BUILD_FOLDER%\\ci\\appveyor\\run_with_env.cmd"
PYTHONUNBUFFERED: 1
PYPI_USER:
secure: 2m0jy6JD/R9RExIosOT6YA==
PYPI_PASS:
secure: x+dF0A8BZUf2IrPNRN1O0w==
matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
MSVC: "Visual Studio 9"

- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
MSVC: "Visual Studio 9"

- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4"
PYTHON_ARCH: "32"
MSVC: "Visual Studio 10"

- PYTHON: "C:\\Python34-x64"
PYTHON_VERSION: "3.4"
PYTHON_ARCH: "64"
MSVC: "Visual Studio 10 Win64"

- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "32"
MSVC: "Visual Studio 14"

- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
MSVC: "Visual Studio 14 Win64"

- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"
MSVC: "Visual Studio 14"

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
MSVC: "Visual Studio 14 Win64"

install:
# If there is a newer build queued for the same PR, cancel this one.
# The AppVeyor 'rollout builds' option is supposed to serve the same
# purpose but it is problematic because it tends to cancel builds pushed
# directly to master instead of just PR builds (or the converse).
# credits: JuliaLang developers.
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
throw "There are newer queued builds for this pull request, failing early." }
- ECHO "Installed SDKs:"
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""

# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""

# Upgrade to the latest version of pip to avoid it displaying warnings
# about it being out of date.
- "pip install --disable-pip-version-check --user --upgrade pip"

- git submodule update --init --recursive
- "%CMD_IN_ENV% ci\\appveyor\\build_ssh2.bat"
# Install the build dependencies of the project. If some dependencies contain
# compiled extensions and are not provided as pre-built wheel packages,
# pip will build them from source using the MSVC compiler matching the
# target Python version and architecture
- "%CMD_IN_ENV% pip install -r requirements.txt"
- "%CMD_IN_ENV% pip install -U wheel setuptools twine"

build_script:
# Build the compiled extension
- "%CMD_IN_ENV% python setup.py build_ext -i"

test_script:
- python -c "import pssh.native.ssh2"
- python -c "import pssh.pssh2_client"

after_test:
# If tests are successful, create binary packages for the project.
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- mv dist/* .

artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: "*.whl"

deploy_script:
- python ci/appveyor/pypi_upload.py *.whl
3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
- "embedded_server/.*"
- "tests/.*"
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ exclude_lines =
raise NotImplementedError
if __name__ == .__main__.:
logger.debug
continue
Loading