Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update README.mdHEADmaster | Joseph Hunkeler | 2022-03-19 | 1 | -2/+2 |
| | |||||
* | Update CMakeLists.txt (#5) | P. L. Lim | 2021-06-21 | 1 | -1/+1 |
| | |||||
* | Bug fixes: | Joseph Hunkeler | 2021-06-20 | 1 | -13/+20 |
| | | | | | * Allocate enough memory to handle a long host group name * Move "already_inside" check before host_group parsing | ||||
* | Missing colon in README | Joseph Hunkeler | 2021-06-17 | 1 | -1/+1 |
| | |||||
* | Add missing 'then' | Joseph Hunkeler | 2021-06-17 | 1 | -1/+1 |
| | |||||
* | Updated output text and wording related to shell initialization scripts | Joseph Hunkeler | 2021-06-17 | 1 | -5/+6 |
| | |||||
* | Remove messages related to parsing configuration files | Joseph Hunkeler | 2021-06-17 | 1 | -3/+2 |
| | | | | * Remove word "new" from creation message | ||||
* | Update README.md | Joseph Hunkeler | 2021-06-17 | 1 | -34/+143 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2021-06-16 | 1 | -3/+3 |
| | |||||
* | Fix host_group parser (#4) | Joseph Hunkeler | 2021-06-16 | 1 | -29/+56 |
| | | | | | * Do not segfault on invalid input * Report syntax errors * Ignore comments and inline comments | ||||
* | Add shell init scripts and host_groups (#3) | Joseph Hunkeler | 2021-06-16 | 8 | -76/+270 |
| | | | | | | | | | | | | | | | | | | | * Add shell init scripts (templates) * Check for additional symbols * Handle missing PATH_MAX declaration (e.g. Ubuntu) * Install shell scripts into $PREFIX/share/init * Replace _INIT declaration with HOST_GROUP * Add scripts_dir and config_host_group struct elements to global 'multihome' * Fix count_substrings() returning wrong type * Refactor RSYNC_BIN to MULTIHOME_RSYNC_BIN * get_timestamp() no longer accepts a buffer as an argument * write_init_script() now uses scripts in $PREFIX/share/init/ to generate output files * Add user_host_group(), which allows grouping systems to a single home directory by way of regex pattern matching * strip_domainname() returns modified pointer, not new storage * Fix strip_domainname test * Create configuration directory if it does not exist * CI needs to install multihome and use the correct script * Always resolve argv[0] to absolute path | ||||
* | Update README.md | Joseph Hunkeler | 2021-06-11 | 1 | -1/+1 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2021-06-11 | 1 | -2/+2 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2021-06-11 | 1 | -3/+4 |
| | |||||
* | Refactor headers and relocate tests | Joseph Hunkeler | 2020-09-11 | 5 | -82/+119 |
| | |||||
* | Add strip_domainname to test_main | Joseph Hunkeler | 2020-09-04 | 1 | -2/+16 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Add Actions status badge | Joseph Hunkeler | 2020-09-03 | 1 | -0/+2 |
| | |||||
* | Remove circleci badge | Joseph Hunkeler | 2020-09-03 | 1 | -2/+0 |
| | |||||
* | Remove copied comments | Joseph Hunkeler | 2020-09-03 | 1 | -5/+2 |
| | |||||
* | Remove CircleCI: | Joseph Hunkeler | 2020-09-03 | 1 | -47/+0 |
| | | | | | * No access to build logs without Github+OAuth * https://discuss.circleci.com/t/open-source-project-build-log-requires-authentication-to-view/37287 | ||||
* | Add get_timestamp function; Find program handles paths to files too; | Joseph Hunkeler | 2020-09-03 | 1 | -11/+40 |
| | |||||
* | Create cmake.yml (#2) | Joseph Hunkeler | 2020-09-03 | 1 | -0/+91 |
| | | | * Create cmake.yml | ||||
* | Clean up find_program | Joseph Hunkeler | 2020-09-03 | 1 | -3/+5 |
| | |||||
* | find_program() returns the absolute path if it begins with "./" | Joseph Hunkeler | 2020-09-03 | 1 | -9/+19 |
| | |||||
* | Add strip_domainname function; Add missing @param for copy function | Joseph Hunkeler | 2020-09-03 | 1 | -10/+26 |
| | |||||
* | Improvements: | Joseph Hunkeler | 2020-09-02 | 1 | -21/+38 |
| | | | | | | | | * Added field_type and field_where to user_transfer() to make visually inspecting code easier * Applied new MULTIHOME_* defines * Generate blank transfer config during first-run * Change wording "inject" -> "pull" * Show path to transfer config | ||||
* | Add MULTIHOME_* defines to reduce string duplications | Joseph Hunkeler | 2020-09-02 | 1 | -1/+9 |
| | | | | * Added COPY_UPDATE define for updated copy() signature | ||||
* | Update README.md | Joseph Hunkeler | 2020-09-02 | 1 | -2/+7 |
| | |||||
* | Add .circleci/config.yml (#1) | Joseph Hunkeler | 2020-09-02 | 2 | -0/+49 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2020-09-01 | 1 | -1/+1 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2020-09-01 | 1 | -1/+1 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2020-09-01 | 1 | -1/+35 |
| | |||||
* | Remove newline | Joseph Hunkeler | 2020-09-01 | 1 | -1/+0 |
| | |||||
* | Use HOME_OLD set by the init script for update mode instead. More robust | Joseph Hunkeler | 2020-09-01 | 1 | -10/+7 |
| | |||||
* | set new path to old path in update mode | Joseph Hunkeler | 2020-09-01 | 1 | -1/+8 |
| | |||||
* | Actually ignore empty lines | Joseph Hunkeler | 2020-09-01 | 1 | -1/+1 |
| | |||||
* | Implement update mode | Joseph Hunkeler | 2020-09-01 | 1 | -10/+33 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2020-09-01 | 1 | -2/+2 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2020-09-01 | 1 | -27/+78 |
| | |||||
* | Get basename from program entrypoint instead of hardcoding the program name | Joseph Hunkeler | 2020-09-01 | 1 | -2/+6 |
| | |||||
* | Implement find_program | Joseph Hunkeler | 2020-09-01 | 1 | -9/+52 |
| | |||||
* | And populate buf otherwise | Joseph Hunkeler | 2020-09-01 | 1 | -0/+2 |
| | |||||
* | Only call realpath when path is relative | Joseph Hunkeler | 2020-09-01 | 1 | -3/+5 |
| | |||||
* | Optimize abspath generation | Joseph Hunkeler | 2020-09-01 | 1 | -6/+1 |
| | |||||
* | Fix NULL hostname | Joseph Hunkeler | 2020-08-31 | 1 | -1/+1 |
| | |||||
* | Fix empty multihome.config_transfer path | Joseph Hunkeler | 2020-08-31 | 1 | -1/+20 |
| | |||||
* | Comment init script | Joseph Hunkeler | 2020-08-31 | 1 | -1/+5 |
| | |||||
* | Wrap test code in #ifdef/#endif | Joseph Hunkeler | 2020-08-31 | 1 | -1/+10 |
| | |||||
* | Disable line buffering; Implement basic tests; Fix mkdirs bug: do not ↵ | Joseph Hunkeler | 2020-08-31 | 2 | -18/+114 |
| | | | | prepend "/" to path |