Ryo Nakamura
71efeaa4ba
fix type of id for sftp_async_write
2022-11-18 20:33:50 +09:00
Ryo Nakamura
9193911e6b
Merge branch 'main' of github.com:upa/sscp
2022-11-18 20:21:11 +09:00
Ryo Nakamura
5e7aa774ca
fix when copy multiple sources and various tiny fixes
...
* when copying multiple sources, target must be directory
* add multi-src copy test and parametrize src/dst prefixes
* cleanup REAMDE (s/sessions/connections/g)
* make error output in copy functions simple
2022-11-18 20:20:19 +09:00
Ryo Nakamura
c92a5f71d4
fix copy multiple files and various tiny fixes
...
* when coping multiple files, target must be directory
* add multi-src copy test and parametrize src/dst prefixes
* cleanup REAMDE (s/sessions/connections/g)
* make error output in copy functions simple
2022-11-18 14:42:23 +09:00
Ryo Nakamura
b8d58b1fba
tiny fix
...
- set ssh nonblocking before closing sftp session
- fix pprint for core mask
2022-11-18 13:47:24 +09:00
Ryo Nakamura
5ede4dc122
fix async handling
2022-11-17 23:46:51 +09:00
Ryo Nakamura
2d66f4ca14
fix idx increment (typo) and async write improves copy speed!
2022-11-17 22:09:59 +09:00
Ryo Nakamura
fb2f0b2e45
fix typo
2022-11-17 21:48:39 +09:00
Ryo Nakamura
d448f9eb8a
implement local-to-remote copy with async_write
2022-11-17 21:46:21 +09:00
Ryo Nakamura
a2b4a4c7b3
update README for building mscp with patched libssh
2022-11-17 20:54:24 +09:00
Ryo Nakamura
06c27b96f4
add libssh to .gitignore
2022-11-17 20:42:40 +09:00
Ryo Nakamura
7f1b7ec762
remove libssh git submodule
2022-11-17 20:42:00 +09:00
Ryo Nakamura
4d3c37382c
add libssh as submodule and LIBSSH_PATH to build mscp with static built
...
libssh.
2022-11-17 20:29:39 +09:00
Ryo Nakamura
41da0c5cfe
check invalid coremask
2022-11-16 01:57:27 +09:00
Ryo Nakamura
a69115a4dc
add -m coremask option
2022-11-15 19:57:53 +09:00
Ryo Nakamura
0421172778
bump up version: 0.0.1
v0.0.1
2022-11-13 18:23:55 +09:00
Ryo Nakamura
3bd72beb83
Update README.md
2022-11-13 18:17:52 +09:00
Ryo Nakamura
b8e204ae41
update README
2022-11-13 18:14:06 +09:00
Ryo Nakamura
613961b71d
run mscp -h last on ci build
2022-11-13 17:57:50 +09:00
Ryo Nakamura
8719b35694
add rocky 8.6 support
2022-11-13 17:53:46 +09:00
Ryo Nakamura
e9d5ceb462
add memory barrier to notify monitor thread of copy threads finished
2022-11-13 15:33:45 +09:00
Ryo Nakamura
81a7fbd2d8
add -a nr_ahead option
2022-11-13 15:31:12 +09:00
Ryo Nakamura
cfbbae860c
little trick to make progress bar stable
2022-11-12 17:45:08 +09:00
Ryo Nakamura
756e0759f9
fix buf size in remote to local copy.
...
Too large buffer size for sftp_async_read causes unfinished copy:
sftp_async_read returns 0 althrough data remains.
2022-11-12 17:30:51 +09:00
Ryo Nakamura
71d827d613
fix some thread handling
2022-11-12 16:11:20 +09:00
Ryo Nakamura
73e884f9c5
use sftp_async_read for remote to local copy
2022-11-12 15:30:01 +09:00
Ryo Nakamura
8eb9e69c1c
fix incorrect ret handling for read/write
2022-11-08 10:06:30 +00:00
Ryo Nakamura
04488f258c
fix docker/README.md
2022-11-07 02:26:35 +09:00
Ryo Nakamura
c6e469ff3e
add install from homebrew tap to README
2022-11-06 20:25:32 +09:00
Ryo Nakamura
e202939f9e
update README for install
2022-11-06 19:39:20 +09:00
Ryo Nakamura
d19a54b0f0
add release.yml to automate releasing by tag
v0.0.0
2022-11-06 19:20:53 +09:00
Ryo Nakamura
5bfe6e542e
fix test status badge url
2022-11-06 16:07:30 +09:00
Ryo Nakamura
df404ec3c6
cleanup docker files and build/test procedure
2022-11-06 16:03:47 +09:00
Ryo Nakamura
15dbb564c8
add test on ubuntu badge to README and tiny fixes
2022-11-06 14:36:02 +09:00
Ryo Nakamura
2efffc21f4
add test.yml to test mscp inside docker on ubuntu
2022-11-06 14:31:35 +09:00
Ryo Nakamura
867e7f0540
run install-build-deps.sh in codeql
2022-11-06 00:47:32 +09:00
Ryo Nakamura
f2a101b93a
Create codeql.yml
2022-11-06 00:43:47 +09:00
Ryo Nakamura
ffb1c45d0f
remove accidentally added Makefile
2022-11-06 00:20:32 +09:00
Ryo Nakamura
b23133ad52
add Dockerfile-test for test container
2022-11-06 00:13:14 +09:00
Ryo Nakamura
243bf1fa57
add -H option to disable host key check
...
tests use this option.
2022-11-05 22:46:02 +09:00
Ryo Nakamura
8cb5c81fcf
do not install libssh and cmake from homebrew
...
because they are already installed on the macos-latest runner.
2022-11-05 22:26:48 +09:00
Ryo Nakamura
6d6c29680b
change build status badges to new actions
2022-11-05 22:16:59 +09:00
Ryo Nakamura
1518291109
add ci to build on macos
2022-11-05 22:11:47 +09:00
Ryo Nakamura
e02c08f417
add CMAKE_PREFIX_PATH for macOS and use find_package for libssh
2022-11-05 22:05:00 +09:00
Ryo Nakamura
59d49c0c95
add build status badge
2022-11-05 21:42:55 +09:00
Ryo Nakamura
4bf30e13cb
remove test from build steps in github actions
2022-11-05 21:36:46 +09:00
Ryo Nakamura
edb4bfd10f
Create cmake.yml
...
add build test by github actions
2022-11-05 21:34:59 +09:00
Ryo Nakamura
6f7f564315
update README for test
2022-11-05 21:29:26 +09:00
Ryo Nakamura
fc56c53d04
add install-build-deps.sh and fix docker build procedure
2022-11-05 21:26:34 +09:00
Ryo Nakamura
6e6e5066c7
create file at the remote although file size is 0
2022-11-05 19:13:53 +09:00