├── .drone.yml ├── .editorconfig ├── .github └── workflows │ └── build-release.yml ├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── MANUAL.md ├── README.md ├── cmake ├── compatibility.cmake ├── compilerflags.cmake ├── linktimeoptimization.cmake └── packages.cmake ├── console ├── CMakeLists.txt ├── msync.cpp ├── new_account.cpp ├── new_account.hpp ├── optionparsing │ ├── CMakeLists.txt │ ├── parse_options.cpp │ ├── parse_options.hpp │ └── selection_types.hpp ├── utf8_console.cpp └── version.hpp.in ├── external └── zlib │ └── include │ ├── zconf.h │ └── zlib.h ├── lib ├── accountdirectory │ ├── CMakeLists.txt │ ├── account_directory.cpp │ └── account_directory.hpp ├── constants │ ├── CMakeLists.txt │ └── constants.hpp.in ├── entities │ └── entities.hpp ├── exception │ ├── CMakeLists.txt │ └── msync_exception.hpp ├── filebacked │ └── file_backed.hpp ├── filesystem │ ├── CMakeLists.txt │ ├── FindFilesystem.cmake │ └── filesystem.hpp ├── fixlocale │ ├── CMakeLists.txt │ ├── fix_locale.cpp │ └── fix_locale.hpp ├── net │ ├── CMakeLists.txt │ ├── net.cpp │ └── net.hpp ├── netinterface │ └── net_interface.hpp ├── options │ ├── CMakeLists.txt │ ├── global_options.cpp │ ├── global_options.hpp │ ├── option_enums.cpp │ ├── option_enums.hpp │ ├── option_file.cpp │ ├── option_file.hpp │ ├── user_options.cpp │ └── user_options.hpp ├── postfile │ ├── CMakeLists.txt │ ├── outgoing_post.cpp │ └── outgoing_post.hpp ├── postlist │ ├── CMakeLists.txt │ ├── post_list.cpp │ └── post_list.hpp ├── printlog │ ├── CMakeLists.txt │ ├── print_logger.cpp │ └── print_logger.hpp ├── queue │ ├── CMakeLists.txt │ ├── queue_list.cpp │ ├── queue_list.hpp │ ├── queues.cpp │ └── queues.hpp ├── sync │ ├── CMakeLists.txt │ ├── deferred_url_builder.cpp │ ├── deferred_url_builder.hpp │ ├── read_response.cpp │ ├── read_response.hpp │ ├── recv.hpp │ ├── recv_helpers.hpp │ ├── send.hpp │ ├── send_helpers.cpp │ ├── send_helpers.hpp │ └── sync_helpers.hpp └── util │ ├── CMakeLists.txt │ ├── entities.c │ ├── utc.cpp │ ├── util.cpp │ └── util.hpp ├── scripts ├── make_man_page.sh ├── msync_complete.sh └── quickpost.sh └── tests ├── CMakeLists.txt ├── account_directory.cpp ├── deferred_url_builder.cpp ├── exception.cpp ├── global_options.cpp ├── https_and_gzip.cpp ├── main.cpp ├── mock_network.hpp ├── option_enums.cpp ├── option_file.cpp ├── outgoing_post.cpp ├── parse_description_options.cpp ├── parse_options.cpp ├── post_list.cpp ├── print_logger.cpp ├── queue_list.cpp ├── queues.cpp ├── read_response.cpp ├── read_response_json.hpp ├── recv.cpp ├── send.cpp ├── sync_test_common.hpp ├── test_helpers.cpp ├── test_helpers.hpp ├── to_chars_patch.hpp ├── user_options.cpp └── util.cpp /.drone.yml: -------------------------------------------------------------------------------- 1 | kind: pipeline 2 | type: docker 3 | name: ARM build and release (install) 4 | 5 | platform: 6 | os: linux 7 | arch: arm64 8 | 9 | steps: 10 | - name: build 11 | image: ubuntu:focal 12 | environment: 13 | DEBIAN_FRONTEND: noninteractive 14 | TZ: America/Los_Angeles 15 | commands: 16 | - apt update && apt install -y --no-install-recommends build-essential cmake libcurl4-openssl-dev git ca-certificates 17 | - cmake -E make_directory build 18 | - cd build 19 | - cmake .. -DCMAKE_BUILD_TYPE=Release -DMSYNC_USER_CONFIG=ON -DMSYNC_FILE_LOG=OFF 20 | - cmake --build . --config Release --parallel 21 | - strip --strip-unneeded msync 22 | - ./msync 23 | - ./msync version 24 | - ./msync yeehaw 25 | - ctest -C Release --output-on-failure --schedule-random -j 8 26 | - mkdir ../dist 27 | - mv msync ../dist/msync-${DRONE_TAG}-install-linux-arm64-gcc 28 | - ls ../dist 29 | 30 | - name: wait to publish 31 | image: ubuntu:focal 32 | commands: 33 | - apt install -y curl 34 | - > 35 | bash -s <