Commit graph

  • 8ec5222a11 commands/check: Fix control flow to properly crash on package merge errors v0.7 jutty 2025-03-12 01:30:59 -03:00
  • 6fb95746b3 package/validator: Add Alpine pattern, add a default pattern jutty 2025-03-12 01:30:23 -03:00
  • babefc185e package/management: Split apk command due to use of cat for world jutty 2025-03-12 01:30:07 -03:00
  • 6b80fd475f tests: Add OS-specific arguments, improve logging jutty 2025-03-12 01:29:38 -03:00
  • 37e91cc500 tests: Refactor some variables for clarity jutty 2025-03-11 23:50:00 -03:00
  • df48130f29 Add Alpine support jutty 2025-03-05 18:09:08 -03:00
  • d982347664 tests: Extract supported OSs to an individual basis, add a summary log file jutty 2025-03-05 18:08:58 -03:00
  • 37464124dd Add a sanity check for running user and home directory jutty 2025-03-05 18:07:07 -03:00
  • 7e4f3b841c Make authorization command configurable and detectable jutty 2025-03-05 18:06:44 -03:00
  • 8f5e94041b Make argument parsing more explicit, add parameter support jutty 2025-02-02 20:45:28 -03:00
  • b3531f0039 Simplify entry point logic and reduce global state jutty 2025-02-02 20:43:57 -03:00
  • e705de8625 Add SC2102 to ShellCheck ignores jutty 2025-02-02 20:42:52 -03:00
  • 98106a9dda Add 'utilities' directory, add text.sh and move dialog.sh to it jutty 2025-02-02 20:42:42 -03:00
  • 825f4b58b3 Conditionally run tmux tests based on subset jutty 2025-02-01 20:42:47 -03:00
  • 2155c617f2 tests: Clean on setup jutty 2025-02-01 20:22:12 -03:00
  • 3326de26d6 Extract test output watcher jutty 2025-02-01 20:21:58 -03:00
  • f9297ac8d9 Fix newline bug on the list of differing files jutty 2025-02-01 20:20:44 -03:00
  • 3da9b3e038 Create config directory if it does not exist jutty 2025-02-01 18:09:37 -03:00
  • d4ae5f2c0b System paths gatherer inline output jutty 2025-02-01 18:08:50 -03:00
  • f2e2ac382f Fix tests clean function not splitting arguments jutty 2025-02-01 18:08:06 -03:00
  • 4679d8230d tests: Improve gather_system function readability jutty 2025-02-01 17:40:21 -03:00
  • 4cd093ff6f Send tests log output to stderr jutty 2025-02-01 17:39:57 -03:00
  • 145fec133c Simplify core paths check jutty 2025-02-01 17:37:32 -03:00
  • fa524d91e8 Update tests README jutty 2025-02-01 17:01:32 -03:00
  • c0b2cacfd8 Add run-ssh for remote testing jutty 2025-02-01 17:01:26 -03:00
  • 019c8afea1 Exit test FI01 after running all commands jutty 2025-02-01 17:01:08 -03:00
  • 5a8534a117 Remove xterm from test preset minimal-packages jutty 2025-02-01 17:00:41 -03:00
  • 87b8ce4e58 tests/common: Add path gathering functions jutty 2025-02-01 17:00:12 -03:00
  • bf083de52a tests: Add a cleanup function jutty 2025-02-01 16:59:37 -03:00
  • b0abd4ea7a tests: Extract tmux check to its own function jutty 2025-02-01 16:57:59 -03:00
  • 8367d3156a Automatically detect test names for logging jutty 2025-02-01 16:57:00 -03:00
  • 21f14dbe6e Move test PN01 to proper naming scheme jutty 2025-02-01 16:50:13 -03:00
  • 50de1afb19 tests/run.sh: Allow choosing what subset of tests to run jutty 2025-02-01 16:49:48 -03:00
  • 6bb0a5ea84 test FI01: Add TODO on replacing sleep calls jutty 2025-01-30 19:44:08 -03:00
  • a96ac63e88 Rename test function sum_local_from_canon to sum_from_canon jutty 2025-01-30 19:42:36 -03:00
  • 52bbf5967c Add an interactive test PoC using tmux jutty 2025-01-30 19:35:26 -03:00
  • ea5c4bc044 Rename non-interactive test directories jutty 2025-01-30 19:28:25 -03:00
  • efccd090c8 Add test suite P01: minimal package functionality jutty 2025-01-30 00:39:36 -03:00
  • 8c314ac39e Add log output to track_packages, add TODO on performance improvement jutty 2025-01-30 00:39:23 -03:00
  • 8a4a793570 Fix trailing comma in commands/check jutty 2025-01-30 00:18:49 -03:00
  • 12e4f00ec5 Add test suite F03: files with modifications jutty 2025-01-30 00:17:18 -03:00
  • ee37db6702 Split test checksum functions to allow for modifications mid-test jutty 2025-01-30 00:17:11 -03:00
  • ed73cb637f Extract common test code, add script to run all tests jutty 2025-01-29 22:50:44 -03:00
  • 5a9e174e2d Reintroduce package validation jutty 2025-01-29 18:41:41 -03:00
  • 4ce2d717e1 Fix package conflict resolution order parser not ignoring empty orders jutty 2025-01-29 14:52:51 -03:00
  • e900a86d5d Extract user input and global state from src/package to src/commands/check jutty 2025-01-29 01:44:03 -03:00
  • d07ad3ca75 Replace imperative file merging control flow with a data structure jutty 2025-01-27 04:10:45 -03:00
  • 8477747bfe Do not parse options on every set/unset check jutty 2025-01-27 04:09:25 -03:00
  • 9adce7b57f Simplify logging of OS detection jutty 2025-01-27 04:09:05 -03:00
  • b32377434c Drop prefer-config and prefer-system CLI options jutty 2025-01-27 04:08:31 -03:00
  • 989bc98582 Fix file/backup unset argument jutty 2025-01-27 04:06:46 -03:00
  • e310b6400c Add debug output after preparing core directories jutty 2025-01-26 01:15:34 -03:00
  • cd114d8036 [WIP] Rework file merger to use an orders variable jutty 2025-01-26 01:15:06 -03:00
  • 4a9e15caff Allow newlines in ui/dialog's ask function options jutty 2025-01-25 20:22:01 -03:00
  • 7120d83833 Allow specifying origin of log statement jutty 2025-01-22 13:07:37 -03:00
  • 7ddb8f2db9 Make 'no packages file' error less verbose jutty 2025-01-22 11:45:53 -03:00
  • 84c9024cb3 Fix local assignments shadowing errexit jutty 2025-01-22 11:45:06 -03:00
  • 09d46c8ab9 [WIP] Extract user imput from file merger to commands/check jutty 2025-01-18 22:19:41 -03:00
  • dfc9b6120f Make option parser idempotent, make check_option unaware of global state jutty 2025-01-18 22:19:07 -03:00
  • de05dcee07 Simplify file backup control flow jutty 2025-01-18 22:17:54 -03:00
  • 3793ba297d Add external-sources=true to shellcheckrc jutty 2025-01-18 22:17:32 -03:00
  • c88fb3591b Cleanup unused global state jutty 2025-01-18 22:17:24 -03:00
  • 7d70ec966d Update changelog and version string for v0.7 void-ports jutty 2025-01-18 03:59:43 -03:00
  • 4df6c40ddd Update src index jutty 2025-01-18 03:59:22 -03:00
  • 342f0e1a80 Plan for extraction of user input from file merging jutty 2025-01-18 03:41:50 -03:00
  • 9f0e36e216 Reorganize src file structure jutty 2025-01-18 02:41:55 -03:00
  • 98021b309f Port files test to FreeBSD jutty 2025-01-17 00:59:13 -03:00
  • 438a644dba Add testing jutty 2025-01-16 16:51:02 -03:00
  • c80e47dd8a Disable SC2002 in shellcheckrc jutty 2025-01-16 16:50:25 -03:00
  • 5ce97b1c29 Standardize indentation jutty 2025-01-16 02:02:27 -03:00
  • 8267f6cf4d Make package resolution aware of CLI options jutty 2025-01-16 01:50:34 -03:00
  • 43866a290b Minor style, spacing and logging tweaks jutty 2025-01-16 01:39:38 -03:00
  • 8156161ff5 Make file merging aware of CLI options jutty 2025-01-15 21:07:02 -03:00
  • 3d39c33660 Add previously supported commands to canonical options jutty 2025-01-15 17:46:04 -03:00
  • 52e36e35bd Add .shellcheckrc file jutty 2025-01-06 08:26:12 -03:00
  • 871afc45cd Drop bkp_files unused global variable, replace entry if with a case jutty 2025-01-06 08:26:05 -03:00
  • ee88ff8dbb Implement an argument parser for option flags jutty 2025-01-06 08:24:40 -03:00
  • 2db794739d Further decouple configuration processing functions jutty 2025-01-06 04:02:34 -03:00
  • 78479dc895 Remove needless quotes around command substitutions jutty 2025-01-06 03:35:35 -03:00
  • 9318658c40 Drop non-POSIX sed in-place editing from package_tracking.sh jutty 2025-01-02 06:03:40 -03:00
  • 9a05aeddf2 Show log level with log messages jutty 2025-01-02 05:41:56 -03:00
  • c3e0669ae7 Add Void package management support + several interop fixes jutty 2025-01-02 05:41:45 -03:00
  • d02f938b2c Do not exit if a packages file is not found jutty 2025-01-02 03:55:50 -03:00
  • 2973b01ff4 Improve handling of cases where file permissions lack but file exists jutty 2025-01-02 03:51:22 -03:00
  • 7fdeddd6e7 Update version number to v0.6.1 v0.6.1 jutty 2025-01-02 02:39:40 -03:00
  • 5856bcc695 Add Void to supported operating systems jutty 2025-01-02 01:03:04 -03:00
  • 633bcd7dac Drop pipefail from required shell options jutty 2025-01-02 00:59:32 -03:00
  • a28ca5055a Drop trivial DEBUG=DEBUG assignment jutty 2025-01-02 00:58:45 -03:00
  • caa040bb04 Fix regex syntax on DEBUG value validation jutty 2025-01-02 00:58:30 -03:00
  • 019acbcb45 Scaffold imperative command calls imperative-commands jutty 2024-09-13 21:57:46 -03:00
  • 5f650f7d17 Add file tracking status query function jutty 2024-09-13 21:57:31 -03:00
  • 690bee973b Merge 'Tree file management strategy and file backups' main Juno Takano 2024-09-03 17:14:38 +02:00
  • 67de45f5ba Update strings for v0.6.0 v0.6.0 jutty 2024-09-03 12:09:51 -03:00
  • e94e68540f Make file operations more permission-aware jutty 2024-09-03 12:09:40 -03:00
  • de634f3749 Handle permissions when reading and writing files jutty 2024-09-03 09:23:37 -03:00
  • 59e040d597 Extract authorization command to top level jutty 2024-09-03 08:57:55 -03:00
  • 4b6a956995 Implement backing up before overwriting files jutty 2024-09-01 22:48:34 -03:00
  • 7b2f1494b9 Refactor directory variable names for uniformity jutty 2024-09-01 22:23:28 -03:00
  • 005638bef4 Improve edge cases for handling empty inputs jutty 2024-09-01 22:22:34 -03:00
  • a0fdbe0149 Add an exit option to ask dialog jutty 2024-08-31 07:56:41 -03:00