Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-05 | main: add a white space to the elapsed time output | Ryo Nakamura | |
It adjusts the position of XX:XX in elapsed timeou output. | |||
2023-04-05 | main: print elapsed time instead ETA at the end | Ryo Nakamura | |
2023-03-26 | Merge branch 'main' of github.com:upa/mscp | Ryo Nakamura | |
2023-03-25 | fix error handling when scan thread failed. | Ryo Nakamura | |
set chunk pool to fill to invoke copy threads when scan failed. | |||
2023-03-22 | test: add sleep -1 before ssh-keyscan | Ryo Nakamura | |
2023-03-22 | fix invalid return sem | Ryo Nakamura | |
2023-03-22 | test: set min_chunk_sz to 32768 on test_min_chunk | Ryo Nakamura | |
Page size of arm mac is 16384. | |||
2023-03-19 | bump version to 0.0.8 | Ryo Nakamura | |
2023-03-16 | do not sem_close() for unnamed semaphore | Ryo Nakamura | |
2023-03-16 | fix semaphore handling for macOS | Ryo Nakamura | |
2023-03-15 | add sem_create(), wrappign sem_init() for linux and sem_open() for macOS | Ryo Nakamura | |
2023-03-15 | linux also needs stdlib.h for random() | Ryo Nakamura | |
2023-03-15 | test: add __repr__ to File | Ryo Nakamura | |
2023-03-15 | macOS does not support sem_init. use sem_open instead | Ryo Nakamura | |
2023-03-15 | fix readme | Ryo Nakamura | |
2023-03-15 | test: add invalid kwargs test | Ryo Nakamura | |
2023-03-15 | add comment to mscp_scan(), why usleep(100) | Ryo Nakamura | |
2023-03-15 | rename mscp_prepare to mscp_scan | Ryo Nakamura | |
2023-03-15 | set m->tid_prepare 0 to avoid duble join | Ryo Nakamura | |
2023-03-15 | mscp: add -u max_startups option. | Ryo Nakamura | |
pymscp also accepts keyword 'max_startups' (int). | |||
2023-03-15 | fix: when msg_fd is 0, use STDOUT_FILENO | Ryo Nakamura | |
2023-03-15 | do not fdopen(msg_fd) if msg_fd < 0 | Ryo Nakamura | |
2023-03-15 | introduce semaphore for concurrent connecting ssh | Ryo 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-15 | cleanup message print functions | Ryo Nakamura | |
2023-03-14 | rename ssh_connect_flag to ssh_estab_queue | Ryo Nakamura | |
2023-03-14 | implement ssh_connect_flag | Ryo Nakamura | |
Each copy thread establishes SSH/SFTP connection to remote host. A delay is inserted between SSH connecting to the remote. | |||
2023-03-14 | cleanup mscp_prepare-related code | Ryo Nakamura | |
2023-03-13 | mscp_prepare() scans source paths in a thread. | Ryo Nakamura | |
This commit runs mscp_prepare() in a pthread. mscp copy threads run aysnchronously with mscp_prepare(). So, when mscp_prepare() has not finished yet (due to too many source files), we can start to copy files. | |||
2023-03-13 | revise walk_src_path. | Ryo Nakamura | |
In new walk_src_path, resolve dst path and resolve chunks are invoked when adding a path. | |||
2023-03-13 | Update README.md | Ryo Nakamura | |
2023-03-13 | bump version to 0.0.7 | Ryo Nakamura | |
2023-03-13 | fix mscp.py | Ryo Nakamura | |
2023-03-13 | fix install libmscp.dylib to python package dir in macOS | Ryo Nakamura | |
2023-03-12 | remove VERSION from package file names | Ryo Nakamura | |
This change enables downloading latest packages from URL https://github.com/upa/mscp/releases/latest/download/PACKAGE | |||
2023-03-12 | test: add test_python.py for testing python-mscp | Ryo Nakamura | |
Dockerfiles also adapt themselvs for testing python-mscp bindings. | |||
2023-03-12 | little cleanup for python bindings | Ryo Nakamura | |
2023-03-12 | fix cleanup | Ryo Nakamura | |
2023-03-12 | setup.py: read version from VERSION file | Ryo Nakamura | |
2023-03-12 | add destructor to mscp class to call mscp_free() | Ryo Nakamura | |
2023-03-12 | mscp copy via python bindings works. | Ryo Nakamura | |
ToDo: memory for struct instance in pymscp.c is not released until mscp.free() is called. It is memory leak in a typical pyhotn usage. Use python extension refcnt instead. | |||
2023-03-11 | add mscp and pymscp python modules. | Ryo Nakamura | |
pymscp is a C Python wrapper for libmscp functions. mscp module provides simple (?) Python API. | |||
2023-03-11 | add note to mscp_cleanup() and mscp_free() | Ryo Nakamura | |
mscp_join() must be called before mscp_cleanup() and mscp_free() are called. Need fix. | |||
2023-03-11 | move direction from mscp_opts to mscp_init argument | Ryo Nakamura | |
2023-03-11 | start to implement pymscp.c | Ryo Nakamura | |
2023-03-10 | remove numpy from test, and fix compiling single binary mscp | Ryo Nakamura | |
2023-03-10 | fix uninitialized dst_path_is_dir bool | Ryo Nakamura | |
2023-03-10 | add include GNUInstallDirs | Ryo Nakamura | |
2023-03-10 | now make install installs libmscp | Ryo Nakamura | |
2023-03-10 | fix CMakeLists to build libmscp on ubnutu 22.04 | Ryo Nakamura | |
2023-03-10 | merge main into lib | Ryo Nakamura | |