aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update README.mdHEADmasterJoseph Hunkeler2022-03-191-2/+2
|
* Update CMakeLists.txt (#5)P. L. Lim2021-06-211-1/+1
|
* Bug fixes:Joseph Hunkeler2021-06-201-13/+20
| | | | | * Allocate enough memory to handle a long host group name * Move "already_inside" check before host_group parsing
* Missing colon in READMEJoseph Hunkeler2021-06-171-1/+1
|
* Add missing 'then'Joseph Hunkeler2021-06-171-1/+1
|
* Updated output text and wording related to shell initialization scriptsJoseph Hunkeler2021-06-171-5/+6
|
* Remove messages related to parsing configuration filesJoseph Hunkeler2021-06-171-3/+2
| | | | * Remove word "new" from creation message
* Update README.mdJoseph Hunkeler2021-06-171-34/+143
|
* Update README.mdJoseph Hunkeler2021-06-161-3/+3
|
* Fix host_group parser (#4)Joseph Hunkeler2021-06-161-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 Hunkeler2021-06-168-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.mdJoseph Hunkeler2021-06-111-1/+1
|
* Update README.mdJoseph Hunkeler2021-06-111-2/+2
|
* Update README.mdJoseph Hunkeler2021-06-111-3/+4
|
* Refactor headers and relocate testsJoseph Hunkeler2020-09-115-82/+119
|
* Add strip_domainname to test_mainJoseph Hunkeler2020-09-041-2/+16
|
* Update README.mdJoseph Hunkeler2020-09-031-1/+1
|
* Add Actions status badgeJoseph Hunkeler2020-09-031-0/+2
|
* Remove circleci badgeJoseph Hunkeler2020-09-031-2/+0
|
* Remove copied commentsJoseph Hunkeler2020-09-031-5/+2
|
* Remove CircleCI:Joseph Hunkeler2020-09-031-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 Hunkeler2020-09-031-11/+40
|
* Create cmake.yml (#2)Joseph Hunkeler2020-09-031-0/+91
| | | * Create cmake.yml
* Clean up find_programJoseph Hunkeler2020-09-031-3/+5
|
* find_program() returns the absolute path if it begins with "./"Joseph Hunkeler2020-09-031-9/+19
|
* Add strip_domainname function; Add missing @param for copy functionJoseph Hunkeler2020-09-031-10/+26
|
* Improvements:Joseph Hunkeler2020-09-021-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 duplicationsJoseph Hunkeler2020-09-021-1/+9
| | | | * Added COPY_UPDATE define for updated copy() signature
* Update README.mdJoseph Hunkeler2020-09-021-2/+7
|
* Add .circleci/config.yml (#1)Joseph Hunkeler2020-09-022-0/+49
|
* Update README.mdJoseph Hunkeler2020-09-011-1/+1
|
* Update README.mdJoseph Hunkeler2020-09-011-1/+1
|
* Update README.mdJoseph Hunkeler2020-09-011-1/+35
|
* Remove newlineJoseph Hunkeler2020-09-011-1/+0
|
* Use HOME_OLD set by the init script for update mode instead. More robustJoseph Hunkeler2020-09-011-10/+7
|
* set new path to old path in update modeJoseph Hunkeler2020-09-011-1/+8
|
* Actually ignore empty linesJoseph Hunkeler2020-09-011-1/+1
|
* Implement update modeJoseph Hunkeler2020-09-011-10/+33
|
* Update README.mdJoseph Hunkeler2020-09-011-2/+2
|
* Update README.mdJoseph Hunkeler2020-09-011-27/+78
|
* Get basename from program entrypoint instead of hardcoding the program nameJoseph Hunkeler2020-09-011-2/+6
|
* Implement find_programJoseph Hunkeler2020-09-011-9/+52
|
* And populate buf otherwiseJoseph Hunkeler2020-09-011-0/+2
|
* Only call realpath when path is relativeJoseph Hunkeler2020-09-011-3/+5
|
* Optimize abspath generationJoseph Hunkeler2020-09-011-6/+1
|
* Fix NULL hostnameJoseph Hunkeler2020-08-311-1/+1
|
* Fix empty multihome.config_transfer pathJoseph Hunkeler2020-08-311-1/+20
|
* Comment init scriptJoseph Hunkeler2020-08-311-1/+5
|
* Wrap test code in #ifdef/#endifJoseph Hunkeler2020-08-311-1/+10
|
* Disable line buffering; Implement basic tests; Fix mkdirs bug: do not ↵Joseph Hunkeler2020-08-312-18/+114
| | | | prepend "/" to path