summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-08enable github actions on the dev branchRyo Nakamura
2023-09-08fix: use off_t for lseekRyo Nakamura
2023-09-07Update README.mdRyo Nakamura
replace the demo mp4.
2023-09-07bump version to 0.1.0Ryo Nakamura
2023-09-05fix docker/alpine-3.17: no need to make installRyo Nakamura
because libmscp is installed by data_files.
2023-09-02add jupyter exampleRyo Nakamura
ToDo: refactor state handling of pymscp
2023-08-30fix libmscp python bindings.Ryo Nakamura
- 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-30setup.py: fix data_files to isntall libmscp to python library pathRyo Nakamura
2023-08-30fix mscp_opendir, do not use `tls_sftp`, use `sftp` isntead.Ryo Nakamura
The fixed issue causes mscp_opendir wrongly calls opendir() for local when tls_sftp is NULL although sftp is not NULL.
2023-08-04update README: adjust to the current usageRyo Nakamura
2023-08-04fix usage: "none" is not supported for -FRyo Nakamura
2023-08-04introduce git-based versioningRyo Nakamura
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-04do not set O_TRUNC when opening destination file.Ryo Nakamura
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-04update README: adjust -h output to HEADRyo Nakamura
2023-08-04add test for specifying ssh_configRyo Nakamura
2023-08-04add -F ssh_config optionRyo Nakamura
2023-08-04update README: glob is now supportedRyo Nakamura
2023-08-03use pseudo glob/globfree for remote-glob when muslRyo Nakamura
musllibc does not implement GLOB_ALTDIRFUNC, so do not call glob for remote sides when libc is musl. test_e2e.py skips test_glob_src_path when running on alpine.
2023-08-03cmake: add docker-build no-cache targetRyo Nakamura
2023-08-03add glob for source pathsRyo Nakamura
https://github.com/upa/mscp/issues/3
2023-08-03cleanup wrappers for file operationsRyo Nakamura
Previously wrapper functions for open(), opendir(), and stat(), etc, are implemneted in path.h, and now they are in fileops.h and fileops.c. This commit is a reparation for remote glob.
2023-07-20bump version to 0.0.9Ryo Nakamura
2023-07-20drop centos8, add almalinux 8.8, update rocky to 8.8Ryo Nakamura
And cleanup Docker files
2023-05-07mscp: maintain mscp_thread structs in listRyo Nakamura
Instead of m->threads array, struct mscp_thread instanes are maintained in m->thread_list. This enables stable counter access via mscp_get_stats().
2023-04-05main: add a white space to the elapsed time outputRyo Nakamura
It adjusts the position of XX:XX in elapsed timeou output.
2023-04-05main: print elapsed time instead ETA at the endRyo Nakamura
2023-03-26Merge branch 'main' of github.com:upa/mscpRyo Nakamura
2023-03-25fix error handling when scan thread failed.Ryo Nakamura
set chunk pool to fill to invoke copy threads when scan failed.
2023-03-22test: add sleep -1 before ssh-keyscanRyo Nakamura
2023-03-22fix invalid return semRyo Nakamura
2023-03-22test: set min_chunk_sz to 32768 on test_min_chunkRyo Nakamura
Page size of arm mac is 16384.
2023-03-19bump version to 0.0.8Ryo Nakamura
2023-03-16do not sem_close() for unnamed semaphoreRyo Nakamura
2023-03-16fix semaphore handling for macOSRyo Nakamura
2023-03-15add sem_create(), wrappign sem_init() for linux and sem_open() for macOSRyo Nakamura
2023-03-15linux also needs stdlib.h for random()Ryo Nakamura
2023-03-15test: add __repr__ to FileRyo Nakamura
2023-03-15macOS does not support sem_init. use sem_open insteadRyo Nakamura
2023-03-15fix readmeRyo Nakamura
2023-03-15test: add invalid kwargs testRyo Nakamura
2023-03-15add comment to mscp_scan(), why usleep(100)Ryo Nakamura
2023-03-15rename mscp_prepare to mscp_scanRyo Nakamura
2023-03-15set m->tid_prepare 0 to avoid duble joinRyo Nakamura
2023-03-15mscp: add -u max_startups option.Ryo Nakamura
pymscp also accepts keyword 'max_startups' (int).
2023-03-15fix: when msg_fd is 0, use STDOUT_FILENORyo Nakamura
2023-03-15do not fdopen(msg_fd) if msg_fd < 0Ryo Nakamura
2023-03-15introduce semaphore for concurrent connecting sshRyo Nakamura
instead of ssh_estab_queue (delay-based approach). MaxStartups in sshd_config limits number of conccurent incoming ssh connections. mscp_opts->max_startups adjusts this value.
2023-03-15cleanup message print functionsRyo Nakamura
2023-03-14rename ssh_connect_flag to ssh_estab_queueRyo Nakamura
2023-03-14implement ssh_connect_flagRyo Nakamura
Each copy thread establishes SSH/SFTP connection to remote host. A delay is inserted between SSH connecting to the remote.