Commit Graph

77 Commits

Author SHA1 Message Date
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
Ryo Nakamura
24126c927d mv LICENSE.md to LICENSE 2022-11-01 02:07:55 +09:00
Ryo Nakamura
b8ee960732 add test_transfer_zero_bytes 2022-11-01 00:34:40 +09:00
Ryo Nakamura
d62fc2cddd do not print progress when total bytes transferred is 0 2022-10-31 15:30:42 +00:00
Ryo Nakamura
7039b84c4f capture retval from copy threads 2022-11-01 00:17:05 +09:00
Ryo Nakamura
07b9d8ca55 add ctest to run pytest 2022-11-01 00:02:34 +09:00
Ryo Nakamura
93b02300d5 add (not complete) end-to-end test with pytest 2022-10-31 23:27:28 +09:00
Ryo Nakamura
44ed580f4d add rename-logic.py 2022-10-31 22:55:43 +09:00
Ryo Nakamura
926688e849 rename dirname if dst dir does not exist
`scp remote:srcdir dstdir` renames srcdir to dstdir if dstdir does
not exist. If dstdir exists, it creates dstdir/srcdir.
This commit imitates this behavior.
2022-10-31 22:51:39 +09:00
Ryo Nakamura
77651305fd add custom_target to build mscp in contaners through cmake 2022-10-31 02:40:54 +09:00
Ryo Nakamura
a67dd1957d update README 2022-10-31 00:11:13 +09:00
Ryo Nakamura
3de70300f7 update README. add rhel instruction and fix build steps 2022-10-30 23:51:53 +09:00
Ryo Nakamura
548565d888 add docker files 2022-10-30 23:37:10 +09:00
Ryo Nakamura
6f37260411 update CMakeLists.txt for build at centos 2022-10-30 23:30:54 +09:00
Ryo Nakamura
db8dba23f2 use /etc/os-release instead of lsb_release 2022-10-30 22:55:57 +09:00
Ryo Nakamura
02eef1be92 wrap build options inside if 2022-10-30 22:02:47 +09:00
Ryo Nakamura
e997d692c2 set nr_threads to # of chunks if # of chunks is small 2022-10-30 12:27:58 +00:00
Ryo Nakamura
453e8f27ce add cpack to build debian package 2022-10-30 12:17:17 +00:00
Ryo Nakamura
2bcbdd2292 add install to cmake 2022-10-30 17:58:56 +09:00
Ryo Nakamura
abd6bf2bbf Merge branch 'main' of github.com:upa/mscp 2022-10-30 07:41:58 +00:00
Ryo Nakamura
96c10a700a fix on debug compile 2022-10-30 07:41:49 +00:00
Ryo Nakamura
0fb0284ff9 fix typo 2022-10-30 16:34:16 +09:00
Ryo Nakamura
7e65006e22 Create LICENSE.md 2022-10-30 16:08:10 +09:00
Ryo Nakamura
6e37331b4a add README 2022-10-30 15:57:24 +09:00
Ryo Nakamura
b9f44bb030 Merge branch 'main' of github.com:upa/mscp 2022-10-30 15:22:17 +09:00
Ryo Nakamura
c495f6b89b rename sscp to mscp 2022-10-30 15:20:05 +09:00
Ryo Nakamura
65bdbdaede little refactoring for param names 2022-10-30 06:13:02 +00:00
Ryo Nakamura
5d848ccab1 fix int overflow 2022-10-30 05:47:21 +00:00
Ryo Nakamura
37c37990f5 use sftp_get_ssh_error 2022-10-30 00:02:21 +09:00
Ryo Nakamura
c76fa3141d change indent from space to tab 2022-10-29 23:48:50 +09:00
Ryo Nakamura
ff697aa514 fix path handling 2022-10-29 23:36:12 +09:00
Ryo Nakamura
47f6983148 wrap print progress in pprint 2022-10-25 01:47:39 +09:00
Ryo Nakamura
c83927cd5a add copy start and done output
These fputs should be wrapped in a function and protected by a lock. todo.
2022-10-25 00:14:47 +09:00