Ryo Nakamura
020dadfbaf
bump version to 0.1.3
v0.1.3
2024-01-18 13:20:02 +09:00
Ryo Nakamura
16086ffdb3
import rpm pgp key before yum install in Alama
...
See https://cloudlinux.zendesk.com/hc/en-us/articles/12225072530204-yum-update-error-Error-GPG-check-FAILED
2024-01-18 13:17:57 +09:00
Ryo Nakamura
9bdbfe8487
add SPDX-License-Identifier to source files
2024-01-18 12:59:49 +09:00
Ryo Nakamura
bba53fab03
don't allocate char[PATH_MAX] for each file
...
This commit makes struct path allocation use strndup().
It reduices the memory footprint for struct path per file (issue #8 ).
2024-01-18 12:59:49 +09:00
Ryo Nakamura
5cbf3ad648
fix wrong dst path for source path under '/'
...
When a source file path is /FILE, its dest path would be dst/ILE.
This commit fixes this issue (#8 ).
2024-01-18 12:59:49 +09:00
Ryo Nakamura
4b34118a88
add a test case test_copy_file_under_root_to_dir
...
Coping a file under / (root) to a remote directory causes
corrupted remote path (Issue #8 ).
2024-01-18 12:59:49 +09:00
Ryo Nakamura
68a8f3724f
print warn messages when stat and opendir failed
...
during scanning src paths due to, e.g., too many levels of
symbolic links, too long path, and permission deineid.
2024-01-18 12:59:48 +09:00
Ryo Nakamura
1479607efe
add manpage for mscp
...
doc/mscp.rst is generate from mscp.1 by make generate-mscp-rst.
README is also updateded to reference doc/mscp.rst.
2024-01-14 18:07:17 +09:00
Ryo Nakamura
6f4038a480
bump libssh to libssh-0.10.6-2-g6f1b1e76
...
libssh 0.10.6 has a regression in IPv6 parsing, so we pick
stable-0.10 that includes the fixes.
https://gitlab.com/libssh/libssh-mirror/-/issues/227
2024-01-06 15:11:20 +09:00
Ryo Nakamura
71a0998e9b
bump libssh to 0.10.6
...
libssh 0.10.6 includes some security fixes, e.g., CVE-2023-48795.
2024-01-04 21:17:16 +09:00
Ryo Nakamura
e3484dbc05
update README
...
install mscp from ppa for ubuntu
2023-12-10 23:56:20 +09:00
Ryo Nakamura
a107681da0
fix Description in debian/control
2023-12-10 23:18:58 +09:00
Ryo Nakamura
e0f412722b
add debian directory
2023-12-10 22:14:45 +09:00
Ryo Nakamura
eb5a9e3035
dockerfile: do not run ldconfig in alpine
2023-12-10 21:17:31 +09:00
Ryo Nakamura
a6501a16bf
dockerfile: do ldconfig after pymscp installation
2023-12-10 20:56:38 +09:00
Ryo Nakamura
abe94897ae
cmake: add INSTALL_EXECUTABLE_ONLY option
2023-12-10 17:06:57 +09:00
Ryo Nakamura
260e39471d
rename setup.py to pysetup.py
...
to prevent dh_auto_build from automatically detecting setup.py.
2023-12-10 17:04:55 +09:00
Ryo Nakamura
2b71c4bf8c
add -P, equivalent to -p for just compatibility
...
and add a test case for -p and -P
2023-11-25 15:49:09 +09:00
Ryo Nakamura
0cf3acee20
add -I interval option
...
-I INTERVAL option inserts sleep for interval (seconds) between
SSH connection attempts (issue #7 ).
2023-11-25 15:17:33 +09:00
Ryo Nakamura
c292ce2b29
workflows: do apt-get update before running install-build-deps.sh
2023-11-11 16:51:00 +09:00
Ryo Nakamura
8e8e1b935d
codeql.yml: do apt-get update before running install-build-deps.sh
2023-11-11 16:47:25 +09:00
Ryo Nakamura
9611b4d077
bump version to 0.1.2
v0.1.2
2023-11-01 19:54:18 +09:00
Ryo Nakamura
2b9061f5f0
add --sysctl net.ipv6.conf.all.disable_ipv6=0 for docker run.
...
docker disables ipv6 on all interfaces inside containers by default,
even ::1 on lo. It causes testing mscp with IPv6 fails. Thus,
this commit disables disable_ipv6 via the --sysctl option.
2023-11-01 19:54:18 +09:00
Ryo Nakamura
8e590da322
fix parsing user@host:path.
...
This commit fixes issue #6 . Now mscp command correctly parses
[x::x] IPv6 address notation in hostname.
2023-11-01 19:54:18 +09:00
Ryo Nakamura
b298b2ec35
main: adopt rolling average of recent eight bps values to calculate ETA
2023-11-01 19:54:18 +09:00
Ryo Nakamura
05a7e96759
main: call only mscp_stop() when receives sigint
2023-11-01 19:54:18 +09:00
Ryo Nakamura
139ba12f1a
write total transferred bytes and number of files
...
at the end of output when serverity is notice.
2023-11-01 19:54:18 +09:00
Ryo Nakamura
cfbadebe6d
change msg: thread[%d] to thread:%d
2023-11-01 19:54:18 +09:00
Ryo Nakamura
d7365683a9
print 1st decimal point in the progress bar
2023-11-01 19:54:18 +09:00
Ryo Nakamura
53a560b130
fix test_e2e for ccalgo and tiny fix on test_dir_copy_single
2023-11-01 19:54:18 +09:00
Ryo Nakamura
bf74aa095a
add -g option to specify TCP cc algorithm
...
This commit introduce SSH_OPTIONS_CCALGO option to the libssh patch
and add -g CONGESTION option to mscp.
2023-11-01 19:54:18 +09:00
Ryo Nakamura
a88471fc43
Update README.md
...
add link to PEARC'23 paper
2023-09-11 19:56:33 +09:00
Ryo Nakamura
89e50453a8
bump version to 0.1.1
v0.1.1
2023-09-08 17:28:36 +09:00
Ryo Nakamura
bc1cf11cc1
enable github actions on the dev branch
2023-09-08 17:20:45 +09:00
Ryo Nakamura
72841ec12d
fix: use off_t for lseek
2023-09-08 17:19:13 +09:00
Ryo Nakamura
19704a7308
Update README.md
...
replace the demo mp4.
2023-09-07 15:38:45 +09:00
Ryo Nakamura
9227938297
bump version to 0.1.0
v0.1.0
2023-09-07 15:06:06 +09:00
Ryo Nakamura
ccc4dedf30
fix docker/alpine-3.17: no need to make install
...
because libmscp is installed by data_files.
2023-09-05 21:20:38 +09:00
Ryo Nakamura
49e8e26f2a
add jupyter example
...
ToDo: refactor state handling of pymscp
2023-09-02 17:23:57 +09:00
Ryo Nakamura
11e024c1da
fix libmscp python bindings.
...
- fix libmscp install path by setup.py with data_files
- fix return values of mscp_get_stats()
- add examples directory for mscp python binding
2023-08-30 21:24:00 +09:00
Ryo Nakamura
5466a8b9e1
setup.py: fix data_files to isntall libmscp to python library path
2023-08-30 20:35:27 +09:00
Ryo Nakamura
13ec652195
fix mscp_opendir, do not use tls_sftp, use sftp isntead.
...
The fixed issue causes mscp_opendir wrongly calls opendir() for
local when tls_sftp is NULL although sftp is not NULL.
2023-08-30 19:09:29 +09:00
Ryo Nakamura
6b45cf7c9c
update README: adjust to the current usage
2023-08-04 16:12:36 +09:00
Ryo Nakamura
58026790d9
fix usage: "none" is not supported for -F
2023-08-04 16:11:29 +09:00
Ryo Nakamura
23d9577bde
introduce git-based versioning
...
MSCP_BUILD_VERSION (`git describe --tags --dirty --match "v*"`) is
passed through include/mscp_version.h.in and cmake.
When git is failed, use VERSION file instead (for building from
source tar balls that excludes .git).
2023-08-04 16:07:37 +09:00
Ryo Nakamura
24c1bc9149
do not set O_TRUNC when opening destination file.
...
It prevents `mscp localhost:hoge ~/hoge` from truncating the source
file. See https://bugzilla.mindrot.org/show_bug.cgi?id=3431 .
https://github.com/upa/mscp/issues/1
2023-08-04 15:06:14 +09:00
Ryo Nakamura
16f2f88cc9
update README: adjust -h output to HEAD
2023-08-04 14:11:58 +09:00
Ryo Nakamura
2773c7b4d6
add test for specifying ssh_config
2023-08-04 14:04:46 +09:00
Ryo Nakamura
518aa42208
add -F ssh_config option
2023-08-04 13:31:10 +09:00
Ryo Nakamura
3b26c7c719
update README: glob is now supported
2023-08-04 01:53:48 +09:00