Commit graph

3165 commits

Author SHA1 Message Date
Roy Ivy III
39cea3a159 maint/build ~ add 'action-spellcheck-codespell' cargo-make target; prelim to a 'spellcheck' target 2020-05-03 09:23:31 -05:00
Roy Ivy III
f16e2261fc maint/build ~ improve cargo make format to include test formatting 2020-05-03 09:23:31 -05:00
Roy Ivy III
969964aade maint/build ~ add cargo make install/uninstall targets 2020-05-03 09:23:31 -05:00
Roy Ivy III
d5368d9491 maint/build ~ add 'uutil' task as alias to 'util' for least surprise 2020-05-03 09:23:31 -05:00
Sylvestre Ledru
cb61eae709
Merge pull request #1493 from rivy/fix.ci-coverage
Fix CI coverage
2020-05-03 10:56:40 +02:00
Roy Ivy III
18e8bb822b maint/CICD ~ configure CodeCov to report but "allow-failure" 2020-05-02 23:26:37 -05:00
Roy Ivy III
7a64ad1ebc maint/CICD ~ add commentary for 'Style' warning output => annotation conversions 2020-05-02 23:12:50 -05:00
Roy Ivy III
a57214fa10 maint/CICD ~ change 'Style' job to a more robust, "allow-failure"-type, state
## [why]

Compiler and clippy warnings will change over time. To avoid build failures due to some
updated allow/warn categories for more future rust versions, the tests using the
toolchain utilities are converted to a form which will always "pass" but will push any
errors/warnings to the GHA UI as annotations.

Additional build-breaking tests utilizing more stable tools (or local scripts) can be
added at a later date if/when desired.

This should prevent CI failures for already known-working builds.
2020-05-02 17:02:25 -05:00
Roy Ivy III
312d9b9543 maint/CICD ~ fix coverage build failures by pinning to known-working nightly toolchain
## [why]

Code coverage must currently use some unstable features in nightly rust builds. The
nightly builds are, by definition, unstable and subject to frequent breaking changes.
To prevent CI build breakage, the toolchain is pinned to a specific known working set.

Note: (maint!) this will require periodic review until code coverage is more fully
implemented/integrated into Rust and moved into the stable channel.

- refs: <https://github.com/mozilla/grcov/issues/427>, <https://github.com/newsboat/newsboat/issues/916>
2020-05-02 16:53:08 -05:00
Roy Ivy III
dfc0617a2e maint/CICD ~ update x86_64-pc-windows-gnu build target to 'stable' (for use with rust v1.43.0+) 2020-05-02 16:44:36 -05:00
Sylvestre Ledru
6e8c901204 fix: typo fixes found by codespell 2020-05-01 23:36:33 +02:00
Sylvestre Ledru
df44af2321
Merge pull request #1486 from vladimyr/recursive-make
Use `$(MAKE)` variable for recursive invocations
2020-05-01 10:45:28 +02:00
Sylvestre Ledru
fbe7506fb3
Merge pull request #1483 from sylvestre/df
Implement df command
2020-04-29 09:17:17 +02:00
Sylvestre Ledru
2aed7cb035 fix(df): Fix Windows support
- add required handleapi feature for winapi crate
- remove unneeded 'unsafe' section
- remove unused import (GetDiskFreeSpaceExW)
- fix Windows df execution

Co-Authored-By: Roy Ivy III <rivy.dev@gmail.com>
2020-04-28 13:16:19 -05:00
Sylvestre Ledru
f9456e80c3 fix(df): Add support for freebsd 2020-04-28 13:11:22 -05:00
Sylvestre Ledru
8545f03e0f fix(df): Improve MacOSX support 2020-04-28 13:11:21 -05:00
Sylvestre Ledru
dd1a212550 style(df): Fix warnings + cargo fmt
Co-Authored-By: Roy Ivy III <rivy.dev@gmail.com>
2020-04-28 13:11:04 -05:00
Sylvestre Ledru
d5228b5a64 feat(df) add 'df' uutil 2020-04-28 13:05:55 -05:00
Dario Vladovic
3f03e5fa3c
Use $(MAKE) variable for recursive invocations 2020-04-28 05:11:19 +02:00
Roy Ivy III
f734d48405
Merge pull request #1485 from rivy/rf.features
feature reorganization and polish
2020-04-26 11:32:15 -05:00
Roy Ivy III
0ab6e6a19a maint/CICD ~ refactor MacOS feature use (aline with feature reorg) 2020-04-25 01:57:21 -05:00
Roy Ivy III
f4c4d0e635 maint/build ~ feature reorganization and polish
.## [why]

Reorganizing and minor renaming of features within *Cargo.toml* will hopefully
help to place new utilities into the best feature set, encouraging the
"universal" / cross-platform aspect of the project.

"feat_require_..." sets are used to segregate utilities with restrictions limiting
cross-platform availability and are annotated with the reasons for the limitations.
2020-04-23 14:49:22 -05:00
Sylvestre Ledru
3a9fb490a9
Merge pull request #1451 from sylvestre/cargo-update
Relax the dependencies
2020-04-19 23:11:19 +02:00
Sylvestre Ledru
c756ca6f06 maint/dev ~ relax the dev-dependencies 2020-04-19 00:06:33 +02:00
Roy Ivy III
129331cbda
Merge pull request #1480 from rivy/fix.cargo-tree-bug
Fix `cargo tree` bug + CICD issues
2020-04-15 13:16:09 -05:00
Sylvestre Ledru
4845ac77b4
Merge pull request #1445 from sylvestre/codecov
Add the codecov badge
2020-04-15 19:09:44 +02:00
Roy Ivy III
356fe85a3f maint/CICD ~ speedup CICD by decreasing redundant Travis CI workload
- 10 minutes to CI success/failure response from Travis CI (approx median time); down from 60 minutes

.# [why]

Most of the testing done on Travis CI is redundant with that done in the GHA:CICD.
With prior settings, Travis CI was taking about an hour (median) to report success/failure.
In contrast, the GHA:CICD workflow usually completes in about 13 minutes (median).

Travis CI job times are highly variable taking between 3 and 20 minutes per build.
Builds are run with some parallelism, and a report is submitted as soon as the
non-"allow failure" jobs are completed.
2020-04-15 12:01:35 -05:00
Roy Ivy III
ce632900e5 maint/CICD ~ speedup CICD by decreasing redundant AppVeyor CI workload
- 13 minutes to CI success/failure response from AppVeyor (approx median time); down from 45 minutes

.# [why]

Most of the testing done on AppVeyor is redundant with that done in the GHA:CICD.
With prior settings, AppVeyor was taking about 40 minutes to an hour (median ~ 45
minutes) to report success/failure. In contrast, the GHA:CICD workflow usually completes
in about 13 minutes (median).

AppVeyor job times are approximately 5 to 8 minutes per build and are done sequentially
with no report until all build jobs are complete (whether "allow failure" or not).
2020-04-15 12:01:35 -05:00
Roy Ivy III
7203f26576 maint/CICD ~ reconfigure CodeCov to be solely informational 2020-04-15 12:01:35 -05:00
Roy Ivy III
4813e97a71 maint/CICD ~ add work-around for absorption of cargo tree into cargo
- see [GH:rust-lang/cargo#8062](https://github.com/rust-lang/cargo/pull/8062) for more information
2020-04-15 10:10:40 -05:00
Roy Ivy III
0d355d1073 maint/CICD ~ enable testing for beta-x86_64-pc-windows-gnu to GHA:CICD 2020-04-15 10:09:48 -05:00
Roy Ivy III
58a0ed2a4f maint/CICD ~ show cargo tree tool version information during CICD 2020-04-15 10:08:30 -05:00
Roy Ivy III
24e7e12169
Merge pull request #1477 from sylvestre/uucore
Use uucore from uutils
2020-04-15 09:44:18 -05:00
Sylvestre Ledru
80f03d2f90
Merge pull request #1479 from daehyeok/fix_hashsum_link
Fix hashsum.rs links in README.md
2020-04-15 09:38:46 +02:00
Daehyeok Mun
d5817e7c05 README: fix broken links.
Change broken links to hashsum.rs

Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2020-04-15 00:22:15 -07:00
Sylvestre Ledru
fed240d817 Use uucore from uutils 2020-04-15 00:01:21 +02:00
Sylvestre Ledru
36e945d0d2
Merge pull request #1476 from rivy/rf.reorg-codecover
refactor ~ improve code coverage implementation
2020-04-14 23:28:51 +02:00
Roy Ivy III
ce6b425036 maint/build ~ enable executable permissions for util shell scripts 2020-04-14 13:52:08 -05:00
Roy Ivy III
f55fd8ab05 build/deps ~ checkpoint project dependencies 2020-04-14 13:52:08 -05:00
Roy Ivy III
7109e6c869 Merge 'rf.code-structure' into HEAD
- refactor ~ reorganize source file directory structure to avoid impairing code coverage
2020-04-14 13:50:46 -05:00
Roy Ivy III
15b2bfca18 change ~ fixup paths (within tests) 2020-04-14 13:46:19 -05:00
Roy Ivy III
5aa2b039a5 change ~ fixup paths (within workspace packages) to common code 2020-04-14 13:46:19 -05:00
Roy Ivy III
3e93e7c224 maint/build ~ add show-codecov utils 2020-04-14 13:46:18 -05:00
Roy Ivy III
78c362c8b5 change ~ fixup paths (within workspace packages) 2020-04-14 13:46:18 -05:00
Roy Ivy III
48dd6a2c81 maint/CICD ~ improve code coverage process and tooling 2020-04-14 13:46:18 -05:00
Roy Ivy III
6a284b1c91 change ~ fixup paths (within Cargo.toml) 2020-04-14 13:46:18 -05:00
Roy Ivy III
f0b0e3b867 change ~ reorganize code files 2020-04-14 13:46:18 -05:00
Sylvestre Ledru
84f205d5db
Merge pull request #1475 from rivy/add.fmt-tests
maint/CICD ~ add `cargo fmt` style testing of tests
2020-04-14 12:29:01 +02:00
Sylvestre Ledru
656215cb91
Merge pull request #1473 from sylvestre/metadata
Add some missing metadata
2020-04-14 10:00:05 +02:00
Roy Ivy III
aea98a40e0 maint/CICD ~ add cargo fmt style testing of tests 2020-04-14 00:07:00 -05:00