Commit Graph

322 Commits

Author SHA1 Message Date
Ryo Nakamura
4129a47a3a add ignore dirty for libssh 2022-11-20 15:38:25 +09:00
Ryo Nakamura
7079ff6542 add libssh 0.10.4 as submodule 2022-11-20 15:37:15 +09:00
Ryo Nakamura
8e266517da use list(LENGTH) to iterate DIST_ lists 2022-11-20 02:02:43 +09:00
Ryo Nakamura
8395c05d67 fix CMakeLists.txt
* install mscp from package at docker build phase.
* add docker-*-all custom targets.
2022-11-20 00:37:01 +09:00
Ryo Nakamura
04b7ec3e4b cleanup docker-related commands in cmake
TODO: add bruild procedure for async_write
2022-11-19 23:40:29 +09:00
Ryo Nakamura
e3c9c82bb8 Merge branch 'async-write' 2022-11-18 22:33:13 +09:00
Ryo Nakamura
dca0241824 add O_TRUNC when the first open() for a file 2022-11-18 22:30:34 +09:00
Ryo Nakamura
f4d04b848e don't stop on macos whem -m coremask is set 2022-11-18 22:24:46 +09:00
Ryo Nakamura
7f9c63fa92 add patch/README.md 2022-11-18 22:06:07 +09:00
Ryo Nakamura
fe8101ed51 add patch/README.md 2022-11-18 22:04:50 +09:00
Ryo Nakamura
2c66652f74 update README 2022-11-18 21:54:42 +09:00
Ryo Nakamura
04ae5ee1dc remove pr_warn debug 2022-11-18 21:52:58 +09:00
Ryo Nakamura
e1bddb85bd cleanup CMakeLists.txt
* now mscp with async write is compilable on both macos and ubuntu
2022-11-18 21:51:43 +09:00
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