Commit Graph
100 Commits
Author SHA1 Message Date
Roy Ivy III df3c3f31e1 fix/CI ~ re-enable artifact deployment for version tagged commits 2024-04-24 14:06:02 -05:00
Roy Ivy III 8db76c900c Revert "CI: change publish step condition"
This reverts commit da0b580504.
2024-04-24 14:06:02 -05:00
Roy Ivy IIIandDaniel Hofstetter 97a369c755 deny.toml: remove MPL license from allow list 2023-07-13 10:25:16 +02:00
Roy Ivy IIIandDaniel Hofstetter af64bde92b fix/touch ~ time crate usage errors 2023-07-03 14:15:15 +02:00
Roy Ivy IIIandDaniel Hofstetter 9aef5ac35b deps ~ change from 'humantime_to_duration' to 'parse_datetime' 2023-07-03 13:53:52 +02:00
Roy Ivy III 9b440dfab6 maint/CICD ~ refactor var names 2023-01-21 23:39:05 -06:00
Roy Ivy III f4086f237f maint/CICD ~ re-label bash script steps for easier review 2023-01-21 23:39:05 -06:00
Roy Ivy III 6f5f3736ce docs ~ update spell-checker exceptions 2023-01-21 23:39:05 -06:00
Roy Ivy III f0ce605f4b maint/CICD ~ improve/update outputs() function 2023-01-21 23:39:05 -06:00
Roy Ivy III 0b4ef62eed maint/CICD ~ refactor to standard use of outputs() 2023-01-21 23:39:05 -06:00
Roy Ivy III 80a9eaf8ab maint/CICD ~ normalize to use expanded 10 digit SHAs 2023-01-21 23:39:05 -06:00
Roy Ivy IIIandGitHub 3977ef608e Merge pull request #4287 from tertsdiepraam/fix-publish-script
util: fix publish order of uucore_procs and uucore
2023-01-21 23:37:52 -06:00
Roy Ivy IIIandGitHub ea3c83e273 Merge pull request #4290 from sylvestre/platform-info
uname: use the same version of platform-info as arch
2023-01-21 20:40:36 -06:00
Roy Ivy III 03e55d2ecb docs ~ update spell-checker exceptions 2023-01-14 22:53:26 -06:00
Roy Ivy III ead457171b refactor/uname ~ rename vars to standards 2023-01-14 22:53:26 -06:00
Roy Ivy III 759f32fe4f fix/uname ~ correct --all help description 2023-01-14 22:53:25 -06:00
Roy Ivy III b5eaa8822f fix/uname ~ strip any trailing NUL(s) from nodename() (from bug in platform-info) 2023-01-14 22:53:25 -06:00
Roy Ivy III b4e3e66236 test/uname ~ test for invisible characters in output (ie, NULs) 2023-01-14 22:16:41 -06:00
Roy Ivy III cfdbaca6c1 test/uname ~ update tests for expected platform-v1.0.2 outputs 2023-01-14 22:16:41 -06:00
Roy Ivy III 27d20129fe fix/dd ~ correct usage error display text 2023-01-13 22:14:48 -06:00
Roy Ivy III 3d93e25160 fix/touch ~ correct usage error display text 2023-01-13 22:14:48 -06:00
Roy Ivy III d78e1e7399 tests: revise/standardize usage error testing (for dd, install, mktemp, rm, seq, and touch) 2023-01-13 22:14:48 -06:00
Roy Ivy III 4eb5bc1d2f update Cargo.lock 2023-01-13 22:13:26 -06:00
Roy Ivy III 10f35fc282 refactor/uname ~ use platform_info-v1.0.2 2023-01-13 22:13:26 -06:00
Roy Ivy III c3c7054155 build: feature cleanup 2023-01-08 12:42:37 -06:00
Roy Ivy III 5abeb012e8 fix/sleep: improve match of error output to GNU practices 2023-01-08 12:10:32 -06:00
Roy Ivy III f8b545d6f8 test/sleep: add and refine sleep test cases 2023-01-08 12:10:32 -06:00
Roy Ivy III 737271de96 test/expr: add regex tests 2022-12-29 23:22:13 -06:00
Roy Ivy III 8753fb95c3 fix/expr: EXIT_CODE=1 for any return output parsable to 0 (or empty) 2022-12-29 22:49:02 -06:00
Roy Ivy III 812d811ff6 test/expr: add simple value and EXIT_CODE tests 2022-12-29 22:49:02 -06:00
Roy Ivy III fe954e5825 fix/expr: repair off-by-1 index operator error 2022-12-29 22:49:02 -06:00
Roy Ivy III be37e033be test/expr: add more index testing of unicode strings 2022-12-29 22:49:02 -06:00
Roy Ivy III 8e7dbb0bf6 test/expr: add 'index' operator tests 2022-12-29 22:48:55 -06:00
Roy Ivy III 9b27cd8cb3 build: uname is WinOS-compatible; move to 'Tier1' feature 2022-12-27 10:55:34 -06:00
Roy Ivy IIIandSylvestre Ledru bed7dc5a29 maint/CICD ~ (GnuTests) support local bespoke repo default branch 2022-03-31 23:39:11 +02:00
Roy Ivy IIIandSylvestre Ledru 8518fff0fd maint/CICD ~ (util) improve error reporting clarity 2022-03-31 23:32:51 +02:00
Roy Ivy IIIandSylvestre Ledru a6e3564c5d fix/CICD ~ (GnuTests) be more precise about failing/passing tests 2022-03-31 23:32:28 +02:00
Roy Ivy IIIandSylvestre Ledru cbe6396149 docs ~ (GnuTests) add reference and notes re GNU coreutils testing processes 2022-03-31 23:32:00 +02:00
Roy Ivy IIIandSylvestre Ledru baaa1639e1 fix/CICD ~ (GnuTests) disable factor tests 2022-03-31 23:31:48 +02:00
Roy Ivy IIIandSylvestre Ledru a46521bb8f fix/CICD ~ (GnuTests) polish and revise factor test mutator 2022-03-31 23:31:41 +02:00
Roy Ivy III d6424bb354 maint/util ~ remove extra/redundant factor tests for 'debug' builds
- avoids "Terminated" timeout errors when using longer running 'debug' `factor`
2022-02-17 15:14:52 -06:00
Roy Ivy III 0af2c9bafb maint/CICD ~ (GnuTests) display sub-step test comparison failures more prominently 2022-02-17 15:14:51 -06:00
Roy Ivy III dc223309e7 maint/util ~ (run-gnu-tests) increase timeout to allow for longer 'debug' test runs 2022-02-12 15:27:00 -06:00
Roy Ivy III 988fd658ae maint/util ~ (run-gnu-tests/docs) fix incorrect comment 2022-02-12 15:26:59 -06:00
Roy Ivy III 02aa5ea784 maint/util ~ (build-gnu) fix missing 'b3sum' for *sum binary creation 2022-02-12 15:26:59 -06:00
Roy Ivy III 40b9ebf90e docs ~ (util) remove outdated GNULIB comments 2022-02-12 15:26:59 -06:00
Roy Ivy III 38ac68ff33 maint/CICD ~ (GnuTests) remove unneeded GNULIB references 2022-02-12 15:26:59 -06:00
Roy Ivy III ba2bf79099 maint/dev ~ (VSCode) update cspell settings 2022-02-12 15:26:59 -06:00
Roy Ivy III c2e17e5f37 maint/util ~ improve/refactor 'build-gnu' & 'run-gnu-test'
- add more logging for better fault tracking
- generalize for use in either RELEASE or DEBUG build mode (default to 'release')
- improve variable naming precision/specificity
2022-02-12 15:26:59 -06:00
Roy Ivy III 29679ba337 maint/CICD ~ (GnuTests) refactor GnuTests GHA config
- combine gnu/gnulib into single repository checkout
- code consolidation
- DRY changes
- variable consolidation and renaming
- job/step naming normalization
2022-02-12 15:26:59 -06:00
Roy Ivy III b7676c07e9 maint/refactor ~ (util) minor refactoring of util shell scripts 2022-02-12 15:26:59 -06:00
Roy Ivy III f477a41aee maint/dev ~ add *empty* rustfmt configuration prompt devs to use cargo fmt 2022-02-12 15:26:59 -06:00
Roy Ivy III f75cfbdebc docs ~ (CICD/util) add/revise spell-checker exceptions 2022-02-12 15:26:59 -06:00
Roy Ivy III a970c8d45d maint/util ~ fix shellcheck complaints 2022-02-12 15:26:59 -06:00
Roy Ivy III fdd11e0637 maint/polish ~ (util) shfmt -w -i=4 -ci 2022-02-12 15:26:59 -06:00
Roy Ivy III 3a13857dc3 maint/util ~ add dwr (for interactive removal of workflow runs from CLI) 2022-02-12 15:26:59 -06:00
Roy Ivy III 0b8f54b739 maint/dev ~ (VSCode) add shell script formatter to recommendations 2022-02-12 15:26:59 -06:00
Roy Ivy III 1711ea0f5b maint/dev ~ update EditorConfig 2022-02-12 15:26:59 -06:00
Roy Ivy III fb4b523353 maint/CICD ~ (GnuTests) add 'repo_default_branch' to VARs 2022-02-12 15:26:59 -06:00
Roy Ivy III ee40e99437 maint/CICD ~ (GnuTests) use last 'completed' GnuTests on default branch as reference 2022-02-12 15:26:59 -06:00
Roy Ivy III 578e5c8aba maint/CICD ~ implement 'GnuTests' workflow fixes/refactor
- consolidate configuration
- DRY improvements
- improve flexibility/robustness in the face of missing reference test info
- add reference test info IDs and additional logging to help diagnose testing failures
- includes parallel refactor of 'util/run-gnu-test.sh'
2022-02-05 14:21:15 -06:00
Roy Ivy III cc61ea807e docs/CICD ~ add spell-checker exceptions 2022-02-05 14:21:15 -06:00
Roy Ivy III f01c3ef46a maint/polish ~ whitespace normalization 2022-02-03 15:00:05 -06:00
Roy Ivy III caad4db712 maint/CICD ~ add MSRV check for '.clippy.toml' 2022-02-03 15:00:05 -06:00
Roy Ivy III 2e251f91f1 0.0.12 2022-01-19 05:35:00 -06:00
Roy Ivy III 7a760cae99 refactor/polish ~ re-normalize whitespace
* minimize inconsistent/invisible whitespace

- consistent indentation (either spaces-only, tabs, *or* tabs with following spaces [for indentation])
- no internal/invisible tabs
- no trailing whitespace
- EOF EOLNs
2022-01-09 21:35:39 -06:00
Roy Ivy III bb25129a48 maint/dev ~ update test-repo-whitespace.BAT dev utility 2022-01-09 21:34:22 -06:00
Roy Ivy IIIandGitHub d33efd8efc Merge pull request #2857 from rivy/change.rm-vendor
change ~ remove (now unneeded) vendored 'nix'
2022-01-09 21:16:31 -06:00
Roy Ivy III 05a2f0ca70 update 'Cargo.lock' 2022-01-09 18:57:25 -06:00
Roy Ivy III d6b93e42c9 update ~ pin 'retain_mut' to v0.1.2 (with MinSRV maint ToDO)
- v0.1.5 uses const generics which aren't stable until rust v1.51.0
2022-01-09 18:57:25 -06:00
Roy Ivy III d22f3e239c change ~ remove (now unneeded) vendored nix-v0.23.1-patched 2022-01-09 18:57:25 -06:00
Roy Ivy III 774e72551b change ~ relax 'nix' version and remove 'nix' patch
- code coverage compilation on MacOS latest (MacOS-11+) now works with newer 'nix' versions
2022-01-09 18:57:25 -06:00
Roy Ivy III cd79bc49bc maint/CICD ~ ignore 'vendor' for CodeCov 2022-01-01 17:50:30 -06:00
Roy Ivy III 7e06ddaa92 fix/tee ~ repair 'unstable_name_collisions' compiler warning 2021-11-19 21:40:22 -06:00
Roy Ivy III 790884b177 maint/CICD ~ add dependencies between CI job steps (using 'needs')
- the build and test steps won't run until/unless Dependency and MSRV checks pass
- code coverage won't run until/unless the build steps all pass

## [why]

This helps make more efficient use of CI resources and can help more easily visualize
build issues from the resultant GHA dashboard flow diagram.
2021-11-19 18:04:55 -06:00
Roy Ivy III ae05bffbab docs/spell ~ add 'vendor' directory exception for spell-checker 2021-11-19 18:04:55 -06:00
Roy Ivy III 7784a252f2 fix/yes ~ revise to match 'nix' changes 2021-11-19 18:04:53 -06:00
Roy Ivy III 7834d9ffaf update Cargo.lock 2021-11-19 17:55:03 -06:00
Roy Ivy III 03e0cbb020 update 'nix' within workspace to force patched version 2021-11-19 17:55:03 -06:00
Roy Ivy III 8b7f2b44f6 change ~ use patched/vendor'ed 'nix' crate until fixed at source
- a PR has been submitted to 'nix'; ref: <https://github.com/nix-rust/nix/pull/1590>
2021-11-19 17:55:02 -06:00
Roy Ivy III 39a6e6c75b maint/CICD ~ (GHA) normalize setup sub-step ordering 2021-11-19 17:55:02 -06:00
Roy Ivy III f07a1749a1 fix spell-check errors 2021-11-19 17:55:02 -06:00
Roy Ivy III 7133efd0a5 tests ~ fix cargo clippy complaint (clippy::needless_return) 2021-11-19 17:55:02 -06:00
Roy Ivy III 047c17dd31 maint/CICD - (GHA) standardize job step ordering (install, vars, prereq, toolchain, ...) 2021-11-19 17:55:02 -06:00
Roy Ivy III 0b10e69f56 maint/CICD ~ (GHA) repair broken cspell by pinning it to version v4.2.8
## [why]

`cspell` in CI started mysteriously failing mid-2021. Tracking down the
error took some time as it was not obvious from `cspell` feedback where
the issue lay. Ultimately, it was discovered that `cspell` had deprecated
use on NodeJS versions < v12 for `cspell` v5+.

`cspell` is now pinned to v4.2.8, with a maintenance note to allow an
upgrade to the `cspell` version when a version of NodeJS >= v12 is being
used in the CI.

An issue requesting better tool feedback for similar situations was also
opened on the `cspell` repo.[*]

[*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](https://github.com/streetsidesoftware/cspell/issues/1984)
2021-11-19 17:55:02 -06:00
Roy Ivy III aba1c8f596 maint/CICD ~ (GHA) disable tool cache use for 'action-rs/install'
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
2021-11-19 17:55:02 -06:00
Roy Ivy III f20aa49821 maint/CICD ~ (GHA) fix cargo-udeps false positives (add 'ignore' exceptions to sub-crates) 2021-11-19 17:55:02 -06:00
Roy Ivy III 12419b3ee2 maint/CICD ~ (GHA) reform 'unused dependency check' (cargo udeps ...) into a style warning 2021-11-19 17:55:02 -06:00
Roy Ivy III a6635d62c7 maint/CICD ~ (GHA) use 'feat_os_unix' consistently for ubuntu jobs 2021-11-19 17:55:01 -06:00
Roy Ivy III 37a3c68f3a maint/CICD ~ (GHA) add style fault configurability (fail vs warn)
- add individual job-step control for 'style' step faults (build failure vs only a warning)
2021-11-19 17:55:01 -06:00
Roy Ivy III c951806e70 maint/CICD ~ (GHA) fix cargo clippy lint
- fixes conversion of new `cargo clippy` output style to GHA annotations

## [why]

`cargo clippy` output formatting changed, using relative instead of absolute paths.
2021-11-19 17:55:01 -06:00
Roy Ivy III 36c6ccde0d maint/dev ~ prefer less visible tool configuration files 2021-11-19 17:55:01 -06:00
Roy Ivy III 363453f5e4 tests ~ (factor) refactor divisor() to return quickcheck::TestResult
- return standard quickcheck results
- drop `a == 0 && b == 0` from test domain via TestResult::discard()
- avoid divide by zero panics
- ref: #1589
2021-11-13 14:18:23 -06:00
Roy Ivy III 740d8e9bc5 docs/factor ~ (BENCHMARKING.md) fix formatting, returning missing newlines 2021-11-13 11:07:02 -06:00
Roy Ivy IIIandMichael Debertol 38f3d13f7f maint/CICD ~ pin code coverage utility grcov at v0.8.0 (v0.8.1 uses unstable take()) 2021-08-14 14:01:34 +02:00
Roy Ivy IIIandMichael Debertol 4da46d93c7 tests ~ fix tests for new execution_phrase!() and usage phrasing 2021-08-14 14:01:34 +02:00
Roy Ivy IIIandMichael Debertol c0854000d1 refactor ~ use execution_phrase!() for usage messaging 2021-08-14 14:01:33 +02:00
Roy Ivy IIIandMichael Debertol 318f366ace change/uucore ~ add execution_phrase!() macro for use with usage messages 2021-08-14 13:58:45 +02:00
Roy Ivy IIIandMichael Debertol f56fc5bf44 refactor/uucore ~ use uucore args for executable macros 2021-08-14 13:58:45 +02:00
Roy Ivy IIIandMichael Debertol 69ce4dc8e5 refactor/uucore ~ align return values for executable/util macros 2021-08-14 13:58:45 +02:00