Commit graph

295 commits

Author SHA1 Message Date
Clement Tsang
ce15731b77 ci: add codecov to docs, update workflow name (#609)
Adds a codecov badge for quick reference.
2021-11-25 20:45:08 -05:00
Clement Tsang
1f6a2a8391
ci: add codecov (#608)
Adds codecov to the workflow suite.
2021-11-25 20:40:13 -05:00
ClementTsang
4b49ddabe5 ci: add some documentation in the workflow files 2021-10-17 21:54:06 -04:00
ClementTsang
6c157fe1dd
ci: allow manual triggering of audit action 2021-10-17 21:32:08 -04:00
ClementTsang
4b705572c6 ci: forgot a -r 2021-10-10 18:17:20 -04:00
Clement Tsang
65d3dd7af5
ci: simplify python dependency step for release/doc pipeline (#596)
Slightly simplifies the whole Python dependency step for pipelines generating mkdocs.
2021-10-10 18:16:21 -04:00
Clement Tsang
a362b6c9dd
ci: Create release only if the entire pipeline passes (#595)
In a similar vein to #590, we only create a release after the entire pipeline is completed and succeeds. Also fixes some incorrect job names and adds some "/'s" after directory names in the nightly pipeline.
2021-10-09 02:29:17 -04:00
Clement Tsang
a1a33e0120
ci: parallelize ci better (#594)
Parallelizes the CI workflow better.
2021-10-03 17:49:29 -04:00
Clement Tsang
31072d1952
ci: revert previous i686 change (#593)
Reverts #592, this was done incorrectly, I changed the wrong thing and I also didn't need to change said thing.
2021-10-03 17:13:14 -04:00
Clement Tsang
3c51245d35
ci: Disable cross for i686 Windows, add multilib for i686 Linux for Nightly (#592)
Disables an unnecessary use of cross for i686 Windows, and add multilib for i686 Linux since apparently that's needed now.
2021-10-03 16:44:50 -04:00
Clement Tsang
9071e37283
ci: only create nightly release if build passes (#590)
Changes the nightly build workflow to delete/create a new release *only* if the entire build process passes. This avoids a potential case of a nightly build failing but having overwritten the old one, which has happened before.

After this change lands, similar changes will probably be made to the deployment script for releases.
2021-10-03 02:42:37 -04:00
Clement Tsang
caa4f38232
ci: add missing step for compressing completion files (#586) 2021-09-25 01:54:29 -04:00
Clement Tsang
e20057b97c
ci: move winget/msi and deb gen to separate steps (#585)
Moves debian and winget/msi generation to a separate job, so it can run in parallel to the other jobs.
2021-09-23 19:13:13 -04:00
Clement Tsang
b853aef752
ci: disable homebrew auto-gen (#584)
Disables homebrew CI file generation, since it's now handled by separate maintainers! See #578 for some more details.
2021-09-20 01:09:10 -04:00
Clement Tsang
7e9e18faac
ci: fix deploy script for completion directory copy (#577)
Adds an explicit mkdir to the completions directory. No idea why it was bugging out before though, it worked fine on nightly builds.
2021-09-12 16:16:05 -04:00
Clement Tsang
d6c69ea319
ci: specify package version for post-release docs 2021-09-04 15:59:47 -04:00
Clement Tsang
81873688bc
ci: specify package versions in doc pipeline 2021-09-04 15:57:52 -04:00
Clement Tsang
eeee395cc0
ci: make audit action weekly
It really doesn't need to run daily. It now runs every Monday.
2021-08-30 17:07:48 -04:00
Clement Tsang
80ec004304
github: update wording on the bug report template
Just a small little wording update.
2021-08-30 17:05:28 -04:00
Clement Tsang
ed07fbe1cc
other: Make the battery dependency/features optional (#570)
Allows disabling of the battery dependency through a feature flag. This also aims to disable all related features.
2021-08-19 22:16:44 -04:00
Clement Tsang
cb680dd12e
other: Add RISC-V to unofficially supported targets (#565)
Adds CI actions and documentation for RISC-V.
2021-07-31 16:24:16 -04:00
Clement Tsang
d1e672f263
ci: add caching to more jobs (#563)
More usage of the caching action to CI/deploy. Seems to save ~3-4 minutes on CI, not sure about deploy.
2021-07-27 18:59:17 -04:00
ClementTsang
758dfd2ee5 github: update bug report formatting 2021-07-25 22:09:15 -04:00
Clement Tsang
8aa1303b3c
ci: update winget template + deploy for more info (#554)
Adds a `ProductCode`, `Scope`, and `Commands` field to the template, as well as additional changes to the deploy process to determine + fill in the `ProductCode` automatically.
2021-07-21 22:02:00 -04:00
Clement Tsang
895e3cddce
ci: disable AUR packaging (#551)
Since Arch builds are now maintained by a TU in the community repo, I'll be disabling AUR packaging from this point forward. Yay!
2021-07-19 01:30:52 -04:00
Clement Tsang
7392b56364
ci: reduce the number of tests in CI (#540)
Seems like we have a few too many tests that aren't really needed for just asserting CI is passing.

The goal for CI (IMO) is just to ensure things still build on the various supported platforms after changes are made.  However, there were a few tested scenarios like Windows GNU or musl which I feel weren't really too important in this regard, and added extra time to an already long CI process.

Commented out the following tests since there aren't any architecture-specific features that require running these in addition to other already-existing tests:
- Windows GNU
- Linux musl (both x86 and x86_64)

Of course, should we add changes that directly affect these architectures, then we should add the tests back.
2021-07-12 23:02:48 -04:00
Clement Tsang
47629326e6
ci: Add post-release action for AUR repo (#531)
Adds an additional post-release action to trigger AUR PKGBUILD actions for https://github.com/ClementTsang/aur-bottom.
2021-06-30 22:46:02 -04:00
Clement Tsang
9e81e36ed5 ci: update pkgbuilds for ARM, fix bugs (#530)
Fixes some bugs in CI and updates PKGBUILD for ARM.
2021-06-29 18:15:33 -04:00
Clement Tsang
b43091cc9f github: update packaging template 2021-06-29 18:15:28 -04:00
ClementTsang
c628645816 docs: Fix typo 2021-06-27 20:55:39 -04:00
ClementTsang
df7d00d65b ci: remove nightly set in docs ci 2021-06-27 20:53:44 -04:00
Clement Tsang
a9b4d42eef
docs + ci: Update changelog and ignore some files in CI (#527) 2021-06-27 16:58:55 -04:00
ClementTsang
a626eee5a7 github: Fix incorrect line in post-release script 2021-06-26 16:11:40 -04:00
ClementTsang
357ef7de18 github: fix deploy script for 2-17 again... 2021-06-26 15:47:13 -04:00
ClementTsang
103ba5ba43 github: fix deploy script for 2-17 2021-06-26 15:37:20 -04:00
Clement Tsang
34541a4844
docs: update old documentation links (#522) 2021-06-24 00:13:24 -04:00
Clement Tsang
b67c928f2b
docs: Switch to mike for versioning (#521)
Switches to mike to add versioning to docs.
2021-06-23 23:34:39 -04:00
Clement Tsang
93b899e745
feature: add F9 as an alternative process kill key (#518)
Adds F9 as an alternative kill shortcut to dd.
2021-06-22 20:34:00 -04:00
Clement Tsang
2b4eba8f3c
github: add config.yml for issues 2021-06-22 20:33:03 -04:00
Clement Tsang
48065c4627
github: remove questions template, try disc. 2021-06-22 20:31:09 -04:00
Clement Tsang
8f365afc33
docs: add some links to the documentation (#517)
Adds some links to the docs in the README and feature request template.
2021-06-22 10:14:26 -04:00
ClementTsang
ccc8da2819 ci: ignore README and docs for ci action 2021-06-21 22:58:04 -04:00
Clement Tsang
fcfd02a3f9
ci: remove zip dependency for windows (#509)
Removes the zip dependency for nightly and deploy actions.
2021-06-21 19:56:59 -04:00
ClementTsang
b6f5d9dc0a github: add more details to bug report template 2021-06-21 01:50:17 -04:00
Clement Tsang
53296d11d9
ci: fix doc deploy action (#507)
Fix for simple mkdocs deploy action. I'll likely rewrite this if I add versioning, which I probably will.
2021-06-21 01:48:14 -04:00
Clement Tsang
06071d5abf
docs: migrate documentation over to mkdocs (#506)
A large migration of documentation over to mkdocs, and some rewrites. Some stuff (install information, basic supported systems, contributors, thanks) are still staying in README.md, and CONTRIBUTING.md is essentially duplicated right now. However, stuff like configuration and key/mouse bindings are now moved to mkdocs.

Some parts are still a bit WIP - it is definitely not done (documentation never seems to be...). However, it should be "good enough" for now, and I'm much happier working with the documentation in this form than trying to scroll through a giant endless README.md file. It also works much better for adding new documentation.
2021-06-21 01:40:58 -04:00
Clement Tsang
0c3f9daa56
ci: distribute completion files separately (#494) 2021-06-11 18:43:53 -04:00
ClementTsang
1346b4de3e docs: update README 2021-05-31 00:40:37 -04:00
Clement Tsang
60a759c416
github: update wording in question template 2021-05-31 00:34:28 -04:00
ClementTsang
b03c53d1ef github: update PR template 2021-05-22 22:58:16 -04:00
Clement Tsang
39c5ee991e
github: more CI tweaks (#483)
Tweak PR CI a bit more.  Remove complete step, change check name, add comments.
2021-05-15 21:30:30 -04:00
Clement Tsang
3f7f9d2ccc
github: fix nightly mocking (#481)
Hopefully fixes the mock build capabilities for nightly when testing.
2021-05-15 17:20:28 -04:00
ClementTsang
1eb3d3bc38 github: remove mocking from nightly 2021-05-15 13:43:27 -04:00
ClementTsang
1e7668fcaa github: make fail-fast false for rustfmt and clippy 2021-05-13 23:20:08 -04:00
Clement Tsang
3ba42fb0fc
github: move tests ci into check (#478)
Moves cargo test into the cargo check block.
2021-05-12 23:21:09 -04:00
Clement Tsang
655cb986a1
github: add old Linux build to nightly/deploy for older glibc (#477)
Since we're moving all 16.04 ubuntu builds to 18.04, I thought this would be a good idea in case anyone needed it.

Not sure if we should have just made ALL Linux builds use the older Linux container... for now I'll just make one extra build.
2021-05-12 22:53:18 -04:00
Clement Tsang
f4c30b10d0
github: Update ubuntu instances due to deprecation (#476)
Updates ubuntu version in CI due to GA deprecation warnings.
2021-05-11 21:04:24 -04:00
Clement Tsang
c67ba4c497
github: Remove strip from Windows deploy/nightly (#472)
Removes `strip` from the Windows build in deploy/nightly.  It seems to cause VirusTotal to report some false positives.
2021-05-09 23:19:01 -04:00
ClementTsang
4b70c5edcc github: update deployment process for winget files 2021-05-09 20:05:02 -04:00
Clement Tsang
e824eafdb2
github: Reword some parts of bug report template 2021-04-08 23:29:09 -04:00
Clement Tsang
e63a0b4082
refactor: Unify disk conversion to string step (#446)
Refactor to unify the process disk usage -> string into one function.
2021-04-07 20:52:29 -04:00
Clement Tsang
eb6a737d34
feature: Rework network y-axis, linear interpolation for off-screen data (#437)
Rewrite of the y-axis labeling and scaling for the network widget, along with more customization. This still has one step to be optimized (cache results so we don't have to recalculate the legend each time), but will be done in another PR for sake of this one being too large already.

Furthermore, this change adds linear interpolation at the 0 point in the case a data point shoots too far back - this seems to have lead to ugly gaps to the left of graphs in some cases, because the left hand limit was not big enough for the data point. We address this by grabbing values just outside the time range and linearly interpolating at the leftmost limit. This affects all graph widgets (CPU, mem, network).

This can be optimized, and will hopefully be prior to release in a separate change.
2021-04-04 05:38:57 -04:00
Clement Tsang
de28d24272
github: Update questions template 2021-03-23 16:53:25 -04:00
Clement Tsang
4d46e7159b
ci: Add cache back again (#435)
* ci: Add cache back again

* comments
2021-03-12 21:41:48 -05:00
Clement Tsang
fd41c1367c
github: modify PR template to specify screenshots 2021-03-12 06:20:31 -05:00
Clement Tsang
637a3949dd
ci: Test macOS ARM and Linux armv6 (#430) 2021-03-04 14:24:21 -05:00
ClementTsang
c406d95699 ci: Lock cargo deb version to 1.29.0 2021-02-24 20:42:47 -05:00
Clement Tsang
25a0a7b1d0
ci: Fix typo 2021-02-21 14:21:13 -05:00
Clement Tsang
ade40a5af8
ci: Add sleep to nightly build script after delete 2021-02-21 14:19:53 -05:00
Clement Tsang
ce9818d935
ci: Fix nightly build config again... (#412) 2021-02-18 02:18:54 -05:00
Clement Tsang
67f5531019
ci: Fixes an incorrect action in the nightly build workflow (#411) 2021-02-18 01:32:44 -05:00
Clement Tsang
4555a113b6
ci: Fix incorrect nightly CI name 2021-02-18 01:18:53 -05:00
Clement Tsang
f68ea7bce9
ci: Create nightly build CI (#410) 2021-02-18 01:18:04 -05:00
ClementTsang
233ce96473 github: Change text for release deployment script 2021-01-31 14:19:07 -05:00
ClementTsang
429978d1aa docs: Update support list 2021-01-02 16:33:52 -05:00
Clement Tsang
e014d6fb78 github: Add link to latest release in bug report 2020-12-21 16:57:37 -05:00
ClementTsang
45dde6f0da github: Update bug report 2020-12-21 16:57:26 -05:00
Clement Tsang
766fe25c55
refactor: Use feature flags to avoid building with fern and log (#351) 2020-12-11 20:39:32 -05:00
Clement Tsang
030f4ddd6a
ci: Switch to musl for homebrew linux (#347)
Move from gnu to musl to avoid glibc issues.
2020-12-10 20:11:34 -05:00
Clement Tsang
aef386913e
ci: Use ubuntu-16.04 for linux gnu deploys and CI 2020-12-10 04:00:06 -05:00
Clement Tsang
5531255135
docs: Add FAQ document (#339) 2020-12-04 20:11:38 -05:00
Clement Tsang
3260ff4663
feature: Add scroll indicator to keep track of table position in widgets. (#333)
Adds the option to enable an "out of" indicator for scrollable table widgets (using --show_table_scroll_position).
2020-11-28 15:37:06 -05:00
Clement Tsang
a9c1197075
ci: Fix post-deploy step to actually use the correct files (#332)
Previously it was CURL-ing from a non-existent URL, giving the wrong SHA hashes.

Changed to upload the binaries as artifacts and using those directly.
2020-11-27 10:50:25 -05:00
Clement Tsang
380571cf73
ci: Fix some bugs/typos with the deploy script and components (#329)
- Fix bug with choco and homebrew using incorrect bash syntax causing broken downloads.  Why this didn't fail, idk.
- Add tag entry for manual runs to make it easier to deploy/re-run
- Fixed some typos
- Fixed incorrect string in choco python script
2020-11-26 03:28:56 -05:00
Clement Tsang
cfa4e5eb99
ci: Move post deploy steps to main deploy script 2020-11-26 00:07:38 -05:00
ClementTsang
da58835124 ci: Fix incorrect path. 2020-11-25 22:18:49 -05:00
ClementTsang
7e9943fa34 ci: Fix post-deploy script 2020-11-25 21:46:04 -05:00
Clement Tsang
0bf885a8cc
ci: Fix windows deployments (#323)
Fixes an issue in the windows deployment action.
2020-11-22 12:40:29 -05:00
ClementTsang
8d40d9bbef ci: Fix post-deploy script 2020-11-22 09:54:24 -05:00
Clement Tsang
788501abef
ci: Fix deployment GitHub Action script (#322) 2020-11-22 04:18:47 -05:00
Clement Tsang
31c9d346b9
ci: Add downloads for windows in post-deploy 2020-11-22 03:55:23 -05:00
ClementTsang
2d127f198e ci: uptick to 0.5.1, fix ci 2020-11-22 02:33:48 -05:00
ClementTsang
e8238daa64 ci: Add initial github actions ci 2020-11-21 15:28:46 -05:00
ClementTsang
1e901623d5 ci: [skip travis] some github actions stuff... 2020-11-20 19:36:39 -05:00
Clement Tsang
9e858713fd
github: update cron check to 00:00 EST 2020-11-02 21:03:00 -05:00
ClementTsang
d9472c6a42 github: Add cargo-audit cron job 2020-10-31 20:40:50 -04:00
ClementTsang
01a5e6b44e github: update bug report template to mention installation method 2020-10-25 21:53:24 -04:00
ClementTsang
205033685f other: change packaging default tag 2020-09-27 01:50:53 -04:00
ClementTsang
3b8e99bdc1 other: add packaging template 2020-09-27 01:50:18 -04:00
ClementTsang
a12cabd160 other: update github issue and PR templates 2020-09-27 01:49:35 -04:00
ClementTsang
83445eccbb other: update github issue templates 2020-09-18 01:55:19 -04:00
Clement Tsang
54a35d632e
other: Windows compilation stuff (#222)
Some Windows compilation/deploy stuff. Mostly just a catch-all for some chores.
2020-09-03 12:22:02 -04:00
Clement Tsang
7e8bf95179
uptick: 0.4.6 (#200) 2020-08-25 01:01:14 -04:00
ClementTsang
60ba2be3c4 ci: Remove manual trigger [skip travis] 2020-08-24 02:37:21 -04:00
ClementTsang
797037335e ci: Delete redundant fields 2020-08-24 02:36:50 -04:00
ClementTsang
a7f8aab6aa ci: Fix again... 2020-08-24 02:22:33 -04:00
ClementTsang
f6f0aecc75 ci: Hopefully this works...? 2020-08-24 02:15:25 -04:00
ClementTsang
421e5cb4d6 ci: Fix broken env calls in Actions 2020-08-24 02:09:52 -04:00
ClementTsang
a9e02677ca ci: Update deploy as one step 2020-08-24 02:02:51 -04:00
ClementTsang
17f8442330 ci: Add manual workflow dispatch for GitHub Actions 2020-08-24 02:00:26 -04:00
ClementTsang
dcbd542dee ci: Fix invalid symbol in github deploy workflow 2020-08-24 01:55:36 -04:00
ClementTsang
f1371b8d9f ci: Fix some incorrect behaviour caused by deployment script 2020-08-23 23:45:34 -04:00
Clement Tsang
f6aa8e5d1d
ci: fix indentation error 2020-08-19 10:40:58 -04:00
ClementTsang
a7b8d45682 Add deploy github script 2020-08-19 10:27:57 -04:00
ClementTsang
3ffa437af3 github: remove chore template, fix feature template label 2020-05-21 22:35:10 -04:00
ClementTsang
19243bfc9f docs: Add CONTRIBUTING.md 2020-04-29 00:07:09 -04:00
Clement Tsang
b6ea10770b
github: update PR template 2020-04-28 22:51:18 -04:00
Clement Tsang
a9c6b227a6
Update pull_request_template.md 2020-04-03 00:53:11 -04:00
Clement Tsang
c1a19f960f
Reworded a bit of the PR template 2020-03-30 00:49:12 -04:00
Clement Tsang
8b5414cc01
Update pull_request_template.md 2020-03-30 00:46:41 -04:00
Clement Tsang
a17bf0b973
Update pull_request_template.md 2020-03-13 01:09:21 -04:00
Clement Tsang
226c4e5a68
Clean up and manage some basic stuff (#73)
* Remove debug statement.

* Remove redundant functions from main

* Update pull request template.

* Format temperature line.

* Update README for chocolatey.

* Add note about basic mode and htop's inspiration.
2020-03-08 00:35:01 -05:00
Clement Tsang
111eb42064
[skip travis] Add another bit to the PR template 2020-03-04 00:02:04 -05:00
Clement Tsang
b991102819
[skip travis] Add "avoid merge conflicts" 2020-02-29 19:37:49 -05:00
ClementTsang
f0f1ee129e Minor side update
* Update PR template to be a bit more specific
* Update README to state what version of rust I dev on in contributions
* Update rustfmt to remove another unstable line
2020-02-28 01:12:49 -05:00
ClementTsang
3f55f071b7 Some minor things like adding a question template + removal of debug. 2020-02-27 22:50:43 -05:00
ClementTsang
01159e6f78 [skip travis] add chore template. 2020-02-27 18:52:02 -05:00
ClementTsang
f186d988a6 Italicize the issues line. 2020-02-27 18:31:08 -05:00
ClementTsang
0955673a74 Minor update to travis (probably irrelevant) and github files. 2020-02-27 18:20:54 -05:00
ClementTsang
251d04cfec [skip travis] Update github bug report template again. 2020-02-27 18:04:24 -05:00
ClementTsang
2d02c53296 [skip travis] Update github bug report template again. 2020-02-27 16:39:48 -05:00
ClementTsang
66a0b2ac10 [skip travis] update github files once more 2020-02-27 16:10:33 -05:00
ClementTsang
35f06f0acf [skip travis] Update some github documentation. 2020-02-27 16:08:39 -05:00
Clement Tsang
679a93ce8f
[skip travis] Update pull req template auto close 2020-02-25 22:49:01 -05:00
ClementTsang
24025df106 [skip travis] Update some github documentation. 2020-02-25 20:17:49 -05:00
ClementTsang
5e9d9500d5 Update github files again. 2020-02-24 21:44:24 -05:00
ClementTsang
6ffe14707d [skip travis] Fix templates. 2020-02-23 01:11:53 -05:00
Clement Tsang
d1cccff54b
[skip travis] PR template 2020-02-23 01:08:48 -05:00
Clement Tsang
8279a69795
[skip travis] More bug report changing 2020-02-23 01:03:30 -05:00
ClementTsang
91e97b9f5e [skip travis] Fix templates. 2020-02-23 00:56:39 -05:00
Clement Tsang
9cc92bd4fd
[skip travis] Update FR template. 2020-02-23 00:54:46 -05:00
Clement Tsang
4f4033838a
[skip travis] Update bug report template. 2020-02-23 00:52:37 -05:00
Clement Tsang
ea8841dfb8
[skip traivs] Add PR checklist
This is honestly more for myself than anyone when I add a new feature on a branch.
2020-02-23 00:42:20 -05:00
Clement Tsang
94bf570b87 Update bug_report.md 2019-11-03 22:01:27 -05:00
Clement Tsang
1112ae714e Update issue templates 2019-09-25 15:21:04 -04:00