log

age author description
Sun, 29 Sep 2024 12:18:02 +0200 Franz Glasner FIX: docs: ".. program::" for ftjail-check-freebsd-update
Sat, 28 Sep 2024 19:12:05 +0200 Franz Glasner Implemented "ftjail check-freebsd-update": thorough check for preconditions to a successful run of "ftjail freebsd-update".
Sat, 28 Sep 2024 14:55:57 +0200 Franz Glasner ftjail: redirect stderr when determining the existence of a ZFS dataset snapshot
Sat, 28 Sep 2024 14:53:14 +0200 Franz Glasner ftjail: Use "zfs get" instead of "zfs list" to get just some properties; also explicitly check some return codes for code "1" also
Sat, 28 Sep 2024 14:51:25 +0200 Franz Glasner ftjail: quote all option expansions
Sat, 28 Sep 2024 14:09:38 +0200 Franz Glasner ftjail: Call "etcupdate" by its full absolute path
Sat, 28 Sep 2024 14:09:04 +0200 Franz Glasner ftjail: comment
Sat, 28 Sep 2024 12:11:04 +0200 Franz Glasner ftjail: check that a given argument is readable
Fri, 27 Sep 2024 22:45:45 +0200 Franz Glasner farray.sh: farray_istrue() and falist_istrue(): truth tests for arrays and alists.
Fri, 27 Sep 2024 21:23:19 +0200 Franz Glasner ftjail: Refactor the result checks for _get_jail_from_path
Fri, 27 Sep 2024 21:21:34 +0200 Franz Glasner common.subr: _get_jail_from_path() now just returns when the jail is dying.
Fri, 27 Sep 2024 20:35:34 +0200 Franz Glasner common.subr: Enhance parameter check for "_get_jail_from_path()".
Fri, 27 Sep 2024 19:17:21 +0200 Franz Glasner Implement "_check_no_open_files_on_filesystem()" as common function and use it in ftjail.
Fri, 27 Sep 2024 17:28:49 +0200 Franz Glasner common.subr: FIX: Remove unneeded comment that only has been meant to be a very temporary note
Fri, 27 Sep 2024 17:27:51 +0200 Franz Glasner common.subr: allow and handle a trailing shash in directory arg in "_get_mounts_at_directory()"
Fri, 27 Sep 2024 17:23:01 +0200 Franz Glasner Put the check for opened files with "procstat" into a subroutine and use it
Fri, 27 Sep 2024 17:07:57 +0200 Franz Glasner shellcheck: disable SC2034: VERSION appears unused...
Fri, 27 Sep 2024 16:52:28 +0200 Franz Glasner common.subr: FIX: trailing shashes should be only checked for absolute paths
Fri, 27 Sep 2024 14:40:49 +0200 Franz Glasner common.subr: FIX: Quote ${1-} where it is a directory/path argument
Fri, 27 Sep 2024 14:36:37 +0200 Franz Glasner common.subr: Enhance docs
Fri, 27 Sep 2024 13:22:11 +0200 Franz Glasner common.subr: Do not use $'...' where not needed
Fri, 27 Sep 2024 13:18:52 +0200 Franz Glasner common.subr: FIX: Use \t instead of \t+ as input field separator for awk
Fri, 27 Sep 2024 13:03:11 +0200 Franz Glasner common.subr: Use LC_ALL=C.UTF-8 where appropriate.
Thu, 26 Sep 2024 15:21:33 +0200 Franz Glasner common.subr: allow to overwrite the path to "jq": use : ${JQ=...} to init the variable if not yet done
Thu, 26 Sep 2024 11:58:44 +0200 Franz Glasner farray.sh: Also provide a strict posixly correct quoting alternative.
Wed, 25 Sep 2024 21:04:19 +0200 Franz Glasner Tests: More tests for quoting for eval
Tue, 24 Sep 2024 19:13:30 +0200 Franz Glasner ftjail: FIX: also quote the use of "_dir_basename"
Tue, 24 Sep 2024 19:10:41 +0200 Franz Glasner ftjail: FIX: quote the argument to "basename"
Tue, 24 Sep 2024 18:55:17 +0200 Franz Glasner common.subr: "_get_mounts_at_directory()" not accepts an optional "-r" option for reverse output
Tue, 24 Sep 2024 18:49:56 +0200 Franz Glasner ftjail: Replace "echo -n" by "printf".
Tue, 24 Sep 2024 18:47:45 +0200 Franz Glasner ftjail: remove useless "cat" and replace by input redirection
Tue, 24 Sep 2024 18:46:15 +0200 Franz Glasner Use the newly implemented "_get_zfs_mounts_for_dataset_tree()" where appropriate.
Tue, 24 Sep 2024 18:20:30 +0200 Franz Glasner common.subr: FIX: err() and fatal() now really out their output to stderr.
Tue, 24 Sep 2024 18:17:50 +0200 Franz Glasner common.subr: Implement _get_zfs_mounts_for_dataset_tree() to search for current mounts of a given ZFS dataset and its children
Tue, 24 Sep 2024 14:38:46 +0200 Franz Glasner fzfs: FIX: no numeric sort for fstab
Tue, 24 Sep 2024 14:23:03 +0200 Franz Glasner common.subr: docs
Sun, 22 Sep 2024 19:07:26 +0200 Franz Glasner Docs: Enhanced manuals
Sun, 22 Sep 2024 16:04:18 +0200 Franz Glasner Docs: as per the Sphinx docs: option argument names should be enclosed in angle brackets
Sun, 22 Sep 2024 15:35:03 +0200 Franz Glasner Docs: as per Sphinx docs: option argument names should be enclosed in angle brackets
Fri, 20 Sep 2024 21:48:18 +0200 Franz Glasner Manpages: note that ftjail datasets-tmpl does not automatically mount newly created datasets automatically
Fri, 20 Sep 2024 10:39:11 +0200 Franz Glasner >>>>> signature for changeset 2332c6fb975e
Fri, 20 Sep 2024 10:38:45 +0200 Franz Glasner >>>>> tag v0.27 for changeset 330ebeb57515
Fri, 20 Sep 2024 10:38:26 +0200 Franz Glasner +++++ v0.27 v0.27
Fri, 20 Sep 2024 00:27:05 +0200 Franz Glasner farray.sh: FIX: error message
Fri, 20 Sep 2024 00:24:09 +0200 Franz Glasner farray.sh: Implement falist_items(), falist_keys() and falist_values()
Thu, 19 Sep 2024 22:20:02 +0200 Franz Glasner farray.sh: Implement falist_update(): update an existing alist from another
Thu, 19 Sep 2024 20:03:29 +0200 Franz Glasner farray.sh: falist_create() and falist_set() now accept a sequence of key-value pairs.
Thu, 19 Sep 2024 18:29:57 +0200 Franz Glasner farray.sh: Implemented comparison (ordered and unordered) for alists
Thu, 19 Sep 2024 17:31:59 +0200 Franz Glasner farray.sh: Document that an alist preserves insertion order
Thu, 19 Sep 2024 17:19:35 +0200 Franz Glasner farray.sh: docs: more on farray_splice() (examples)
Thu, 19 Sep 2024 13:28:01 +0200 Franz Glasner farray.sh: docs
Thu, 19 Sep 2024 13:13:23 +0200 Franz Glasner farray.sh: Remove arithmetic expansion where it does more harm than good
Thu, 19 Sep 2024 12:21:58 +0200 Franz Glasner farray.sh: Generalized indices for falist_tryget_{item,key,value}_at_index()
Thu, 19 Sep 2024 12:15:33 +0200 Franz Glasner farray.sh: tests: add forgotten check for left artifacts (memory leaks)
Thu, 19 Sep 2024 11:52:42 +0200 Franz Glasner farray.sh: enhance unittests for alists
Wed, 18 Sep 2024 23:08:06 +0200 Franz Glasner farray.sh: Moved all currently existing tests for alists into cram tests.
Wed, 18 Sep 2024 22:06:45 +0200 Franz Glasner farray.sh: More unittests with regard to array parameter checks
Wed, 18 Sep 2024 22:06:19 +0200 Franz Glasner farray.sh: changed some error messages slightly
Wed, 18 Sep 2024 21:48:06 +0200 Franz Glasner farray.sh: Remove old array tests in _farray_test().
Wed, 18 Sep 2024 21:46:43 +0200 Franz Glasner farray.sh: Unittests for joining arrays
Wed, 18 Sep 2024 21:20:13 +0200 Franz Glasner farray.sh: farray_find(): Fixes in "start" and "end" param evaluation.
Wed, 18 Sep 2024 17:10:43 +0200 Franz Glasner farray.sh: FIX: docs
Wed, 18 Sep 2024 16:57:41 +0200 Franz Glasner farray.sh: _farr_array_get_meta(), farr_array_tryget_meta() and _farr_array_tryget_meta_nonfatal() now do not use arithmetic expansion to check for valid length values.
Wed, 18 Sep 2024 16:44:47 +0200 Franz Glasner farray.sh: farray_set() now accepts general indices
Wed, 18 Sep 2024 16:15:19 +0200 Franz Glasner Docs: wording
Wed, 18 Sep 2024 16:13:51 +0200 Franz Glasner farray.sh: farray_del() now accepts general index value
Wed, 18 Sep 2024 15:57:31 +0200 Franz Glasner farray.sh: farray_get() and farray_tryget() now uses the _farr_make_index() function.
Wed, 18 Sep 2024 15:56:47 +0200 Franz Glasner Style
Wed, 18 Sep 2024 14:51:45 +0200 Franz Glasner farray.sh: farray_splice() now uses the new _farr_make_index()
Wed, 18 Sep 2024 14:51:27 +0200 Franz Glasner farray.sh: Implement _farr_make_index().
Wed, 18 Sep 2024 13:13:26 +0200 Franz Glasner farray.sh: farray_splice() now checks the given index and length values
Wed, 18 Sep 2024 13:05:01 +0200 Franz Glasner farray.sh: implement _farr_is_decimal_number() to prepare for more thorough index checks
Wed, 18 Sep 2024 03:21:55 +0200 Franz Glasner Tests: activate the shell's "-u" for all the cram tests
Wed, 18 Sep 2024 03:18:15 +0200 Franz Glasner Tests: Thorough unittests for farray_splice()
Wed, 18 Sep 2024 01:25:25 +0200 Franz Glasner farray.sh: Implement an equality test in "farray_are_equal()"
Wed, 18 Sep 2024 01:23:57 +0200 Franz Glasner Tests: structure using headlines
Wed, 18 Sep 2024 00:46:17 +0200 Franz Glasner Begin unittests for farray.sh using "cram"
Tue, 17 Sep 2024 23:03:28 +0200 Franz Glasner farray.sh: implement farray_splice().
Tue, 17 Sep 2024 23:02:30 +0200 Franz Glasner WS
Sun, 15 Sep 2024 23:09:57 +0200 Franz Glasner farray.sh: more thorough index checks where needed.
Sun, 15 Sep 2024 22:35:37 +0200 Franz Glasner farray.sh: farray_contains() now accepts multiple search values and returns true if any of them is found within the array
Sun, 15 Sep 2024 21:58:33 +0200 Franz Glasner fzfs: make other "normal" properties an array and use eval with proper escaping.
Sun, 15 Sep 2024 21:57:11 +0200 Franz Glasner fzfs: Init local array and alist variables as recommented
Sun, 15 Sep 2024 21:56:21 +0200 Franz Glasner fzfs: Variable name confusion: use _propvalue everywhere -- as intended
Sun, 15 Sep 2024 21:26:55 +0200 Franz Glasner farray.sh: implement falist_tryget_item_at_index(): try to get a key-value item with one call
Sun, 15 Sep 2024 11:36:38 +0200 Franz Glasner .shellcheckrc: Comment on reasons: FreeBSD has this non-required features in POSIX shells
Sun, 15 Sep 2024 11:28:51 +0200 Franz Glasner farray.sh: quote whe using given names as params
Fri, 13 Sep 2024 23:05:01 +0200 Franz Glasner farray.sh: mark valid low-level error messages as such
Fri, 13 Sep 2024 23:04:17 +0200 Franz Glasner farray.sh: Implement falist_trydel() to remove a key/value from an alist
Fri, 13 Sep 2024 23:01:51 +0200 Franz Glasner farray.sh: FIX: error message: remove invalid word in message
Fri, 13 Sep 2024 21:30:13 +0200 Franz Glasner farray.sh: no need to redirect output twice when calling _farr_fatal()
Fri, 13 Sep 2024 21:15:03 +0200 Franz Glasner FIX: Docs
Fri, 13 Sep 2024 18:59:26 +0200 Franz Glasner farray.sh: another test for proper a proper farray_del() implementation
Fri, 13 Sep 2024 18:58:31 +0200 Franz Glasner farray.sh: simplify farray_del() somewhat: use less local variables
Thu, 12 Sep 2024 00:38:28 +0200 Franz Glasner farray.sh: use optimized quoting everywhere
Thu, 12 Sep 2024 00:28:41 +0200 Franz Glasner farray.sh: in farray_join_for_eval(): use dollar-single-quotes only of really needed.
Thu, 12 Sep 2024 00:01:46 +0200 Franz Glasner farray.sh: change the quoting responsibilities: the decoration is now provided by the called function also
Wed, 11 Sep 2024 22:03:46 +0200 Franz Glasner farray.sh: array_append() can now append multiple values at once.
Wed, 11 Sep 2024 18:19:41 +0200 Franz Glasner FIX: SC2295: expansions inside ${..} need to be quoted separately, otherwise they will match as a pattern.
Wed, 11 Sep 2024 16:49:17 +0200 Franz Glasner Call jls with its full path and require "no-locale" for text output also
Wed, 11 Sep 2024 14:23:20 +0200 Franz Glasner Instead of applying multiple invocations of "sed" call it one with multiple commands (many "-e <command>" params)
Wed, 11 Sep 2024 14:03:06 +0200 Franz Glasner Use "hg -i" instead of "hg -q" to retrieve the global revision
Wed, 11 Sep 2024 13:43:09 +0200 Franz Glasner ftjail: mounting and unmounting in freebsd-update now handles spaces in devices/datasets and mountpoints properly.
Wed, 11 Sep 2024 12:59:16 +0200 Franz Glasner ftjail: FIX: do not append to a fstab but overwrite completely
Wed, 11 Sep 2024 12:34:32 +0200 Franz Glasner Normalize the output of _get_mounts_at_directory() to use TABs as field separators only.
Wed, 11 Sep 2024 12:11:52 +0200 Franz Glasner common.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFS
Wed, 11 Sep 2024 12:09:48 +0200 Franz Glasner common.subr: Use printf instead of echo where appropriate
Wed, 11 Sep 2024 12:02:41 +0200 Franz Glasner common.subr: print the offending argument in error message of _ensure_no_options()
Tue, 10 Sep 2024 21:12:17 +0200 Franz Glasner Remove VERSIONTAG because it is not used any more
Tue, 10 Sep 2024 21:10:27 +0200 Franz Glasner Make the port really DATADIR and EXAMPLESDIR safe because the user may redefine DATADIR and EXAMPLESDIR.
Tue, 10 Sep 2024 19:48:07 +0200 Franz Glasner Changed description: remove the wording "private"
Tue, 10 Sep 2024 19:46:56 +0200 Franz Glasner Create package flavors: the default one, and local-bsdtools-alldeps with all runtime dependencies explicitely declared
Tue, 10 Sep 2024 16:24:37 +0200 Franz Glasner FIX: array.sh is gone, farray.sh is there: adjust Makefile and plist
Tue, 10 Sep 2024 10:42:44 +0200 Franz Glasner Using jq: the '.a.b.c.["d"]' syntax in chains is 1.7+: use the old syntax '.a.b.c["d"]' instead.
Tue, 10 Sep 2024 10:13:59 +0200 Franz Glasner When analyzing the output of "mount -p" check for proper parsing capability: no improper mixing of tabs and spaces.
Tue, 10 Sep 2024 01:54:42 +0200 Franz Glasner FIX: Reading from a tsv requires a TAB IFS
Tue, 10 Sep 2024 01:52:30 +0200 Franz Glasner Docs: add a return type where appropriate
Tue, 10 Sep 2024 01:50:20 +0200 Franz Glasner Use a new .shellcheckrc file for common configuration settings for shellcheck.
Mon, 09 Sep 2024 15:38:20 +0200 Franz Glasner For shellcheck commands: put a link to their website for an explanation
Mon, 09 Sep 2024 15:16:55 +0200 Franz Glasner Remove array.sh: now farray.sh is to be used