Commit graph

3290 commits

Author SHA1 Message Date
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
Roy Ivy III
511f138e38 0.0.1 2020-04-13 18:19:01 -05:00
Sylvestre Ledru
101a5fd9d1
remove comment 2020-04-13 22:11:29 +02:00
Sylvestre Ledru
104629c97b
Update Cargo.toml
Co-Authored-By: Roy Ivy III <rivy.dev@gmail.com>
2020-04-13 22:10:30 +02:00
Sylvestre Ledru
64e2a779a8
Update Cargo.toml
Co-Authored-By: Roy Ivy III <rivy.dev@gmail.com>
2020-04-13 22:10:20 +02:00
Sylvestre Ledru
f82bc6f0bd
Merge pull request #1474 from sylvestre/rustfmt
rustfmt the tests
2020-04-13 22:09:04 +02:00
Sylvestre Ledru
cf35d75491 rustfmt the tests 2020-04-13 20:36:03 +02:00
Sylvestre Ledru
78624a53ee rustfmt rewrite_rules.rs 2020-04-13 20:33:33 +02:00
Sylvestre Ledru
d07ad40e8d Add some missing metadata 2020-04-13 20:03:26 +02:00
Roy Ivy III
08a2cd0fc8
Merge pull request #1449 from rivy/add.cicd
Improves build and maint; fixes all testing issues; adds GHA CICD; fixes a long list of lints
2020-04-13 10:12:24 -05:00
Roy Ivy III
6a18d7f7be update ~ (maint!) use fixed/patched uucore (v0.0.2); await upgrade upstream
- fixes musl (no-utmpx) build bug
- fixes failing windows real{link,path} tests
2020-04-12 22:39:55 -05:00
Roy Ivy III
7eeb58ae3a maint/docs ~ add spell-checker exceptions 2020-04-12 16:57:11 -05:00
Roy Ivy III
b8da0d7a8c maint/docs ~ add license notation to all workspace packages 2020-04-12 16:57:11 -05:00
Roy Ivy III
d704fb2b61 printf: refactor ~ remove redundant string allocation 2020-04-12 16:56:05 -05:00
Roy Ivy III
3e3dff3a57 ls: refactor ~ improve line bundling of imports 2020-04-12 16:56:05 -05:00
Roy Ivy III
84f05f209c expand: refactor/polish ~ simplify if condition 2020-04-12 16:56:04 -05:00
Roy Ivy III
ecb8f2873a refactor ~ change repair of 'fix cargo clippy complaints (fatal/same if clause)'
.# [why]

The initial refactoring/repair led to comments within if conditions which is
objectionable to some of the devs. So, this changes the refactor to completely split
the if clauses into separate if statements (with corresponding commentary).

Note: this refactor is "less mechanical" and does increase the risk of changing the
actual effect of the code. But the change is small and the tests are passing.
2020-04-12 16:56:04 -05:00
Roy Ivy III
156502a332 refactor ~ reduce excessive use of scope prefixes 2020-04-12 16:56:04 -05:00
Roy Ivy III
78d55f0e32 refactor/polish ~ fix cargo clippy complaints (fix/remove allow range_plus_one) 2020-04-12 16:56:04 -05:00
Roy Ivy III
1c97a29a56 maint/build ~ refactor dependency specifications (sorted, single lines) of 'Cargo.toml' 2020-04-12 16:56:04 -05:00
Roy Ivy III
ab9eb31156 maint/build ~ refactor dependencies into sorted order 2020-04-12 16:56:03 -05:00
Roy Ivy III
57ef582b46 maint/build ~ polish and comment 'features' 2020-04-12 16:56:03 -05:00
Roy Ivy III
97de0dfa9b maint/build ~ improve cargo-make build file organization and help text 2020-04-12 16:56:03 -05:00
Roy Ivy III
ab9da0aa63 maint/CICD ~ fix GITHUB_REF parsing 2020-04-12 16:56:03 -05:00
Roy Ivy III
4cf8487053 maint/CICD ~ improve tooling info display and include build dependency info 2020-04-12 16:56:03 -05:00
Roy Ivy III
05c829471e maint/CICD ~ generalize README and LICENSE matches for use in dpkg builds 2020-04-12 16:56:03 -05:00