Commit Graph

60 Commits

Author SHA1 Message Date
Thomas Schönauer
347372ca71 Resolves clippy errors, please review!!! (#60) 2022-10-23 11:34:30 +00:00
Roey Darwish Dror
af3f5ddc76 Desktop notifications show step in summary (#920)
Fixes #918
2022-05-09 23:02:42 +03:00
Roey Darwish Dror
591f23e2f7 No 'failed step' notification (#917) 2022-05-06 12:44:27 +03:00
Sandro
9ed518c82a Always display quit (#894)
you can always press q to quit so it should also always be displayed
2022-04-11 19:46:16 +03:00
Roey Darwish Dror
13104a029c Add option to control the time display (fix #860) 2022-03-29 03:48:02 +03:00
Roey Darwish Dror
539b267eef Support rust 1.51.0 (#789) 2021-10-28 22:05:35 +03:00
Marcin Puc
1478d079ca Add minor refactorings (#754) 2021-09-04 21:01:19 +03:00
Roey Darwish Dror
497fc4f97e Set IN_TOPGRADE when running the interactive shell (fix #752) 2021-09-02 06:04:04 +03:00
Roey Darwish Dror
0fe0c70b2b Use console's read_key instead of read_char (#629)
read_char returns an error if keys such as CapsLock are pressed
2021-02-13 06:26:50 +02:00
Roey Darwish Dror
440ad06768 Don't crash when can't read a character from the terminal 2021-01-30 14:57:35 +02:00
Roey Darwish Dror
35c47a529d Send a notification at the end of the run (fix #554) 2020-11-04 11:31:09 +02:00
Roey Darwish Dror
a1789e1b0a Remove debug print 2020-08-26 22:33:10 +03:00
Roey Darwish Dror
1317e51096 Proper ctrl+c handling in Windows (fix #508) 2020-08-26 22:30:38 +03:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +03:00
Roey Darwish Dror
5c7f04c2cf Add ability to ignore certain failures (#461) 2020-07-02 11:15:56 +03:00
Roey Darwish Dror
4d8dc69e7f Ask before installing macOS upgrades (#433) 2020-06-15 15:43:59 +03:00
Roey Darwish Dror
16efada11b Desktop notifications for Linux (#353)
* Enable desktop notifications for Linux

* Fix macOS

* Fix unused variable

* Add missing message

* Pass a title to notify-send
2020-03-03 13:30:09 +02:00
Roey Darwish Dror
2392124f71 Add a configuration variable to display a notification at the be… (#345) 2020-02-27 13:30:55 +02:00
Roey Darwish Dror
b049151993 Desktop notifications in macOS #285 2020-01-03 10:26:21 +02:00
Roey Darwish Dror
78cfffb73b Add a flag to control setting the terimnal title (fix #194) 2019-09-05 20:52:51 +03:00
Roey Darwish Dror
f6d761d15c Use the upstream's set console title 2019-08-26 21:06:55 +03:00
Roey Darwish Dror
2392a8bf9b Fix custom steps in Windows (fix #205) 2019-08-22 21:46:06 +03:00
Roey Darwish Dror
4ae0263e0d Support PowerShell core (fix #189) 2019-08-15 08:46:54 +03:00
Roey Darwish Dror
a7b1ad31f1 Set the terminal title according to the current step 2019-07-31 13:44:41 +03:00
Roey Darwish Dror
b6e838bab0 Add -k flag 2019-06-16 09:09:05 +03:00
Roey Darwish Dror
a834a79f45 Add reboot and shell ability in pause 2019-06-16 08:32:50 +03:00
Roey Darwish Dror
e5d0f4cbfa Implemented the pause in tmux in a different way 2019-06-13 16:22:03 +03:00
Roey Darwish Dror
5b179d93d9 Run WSL in Topgrade if present (fix #163) 2019-06-04 14:56:49 +03:00
Roey Darwish Dror
a3af9144ae Bring back the default option for retry (fix #159) 2019-05-27 10:35:51 +03:00
Roey Darwish Dror
90c3420743 Add an option to drop you into shell for fixing a step 2019-05-23 19:54:18 +03:00
Roey Darwish Dror
48653f555d Show timestamps (fix #156) 2019-05-22 10:33:48 +03:00
Caleb Jasik
e8ea53b6c6 Fix off-by-one error for formatting 2019-03-15 19:22:37 -05:00
Roey Darwish Dror
38552646f4 Fix potential integer overflow 2019-01-30 10:41:40 +02:00
Roey Darwish Dror
71558e6bdb Fix light themes 2019-01-24 13:35:38 +02:00
Roey Darwish Dror
fad9cc665c Fix warnings 2019-01-21 20:28:23 +02:00
Roey Darwish Dror
84323d9729 Don't run Powershell in a dumb terminal (fix #110) 2019-01-21 20:12:56 +02:00
Roey Darwish Dror
a404df9c97 Ctrl+C handling documentation 2018-12-31 14:13:06 +02:00
Roey Darwish Dror
f23b6435bf Try to restore cargo fmt 2018-12-11 16:00:19 +02:00
Roey Darwish Dror
39faab0a12 Stop passing the terminal object 2018-12-05 12:59:53 +02:00
Roey Darwish Dror
7a9e1e4bee Respawn Topgrade when version is upgraded (fix #85) 2018-11-13 14:34:53 +02:00
Roey Darwish Dror
c333f9d813 Ignore bad retry answer (fix #86) 2018-11-10 20:18:43 +02:00
Roey Darwish Dror
590d166bac Print a newline after the retry question 2018-11-07 14:56:40 +02:00
Roey Darwish Dror
fde62711d5 Use the console crate 2018-11-01 11:42:17 +02:00
Roey Darwish Dror
e5489270df Fix empty retry in Windows 2018-10-17 14:14:01 +03:00
Roey Darwish Dror
a6b6b7aa4e Ctrl+C handling (#75)
As stated [here](https://doc.rust-lang.org/std/io/trait.BufRead.html#errors-1), `read_until` (and `read_line`) ignore Ctrl+C, so Topgrade does not respond to Ctrl+C in the retry prompt, and instead will exit only when enter is pressed after Ctrl+C. This is undesirable, so this pull request is a WIP until we find a solution.
2018-10-17 14:07:58 +03:00
Roey Darwish Dror
588f76828f Fix retry in Windows (fix #69) 2018-09-14 13:34:26 +03:00
Roey Darwish Dror
9f5d5a8b53 Fix some comments by Clippy 2018-09-06 15:17:03 +03:00
Roey Darwish Dror
c0ac3e483e Accept uppercase letters for retry decision (fixes #58) 2018-08-30 10:41:17 +03:00
Roey Darwish Dror
6c00fae63c Ask to retry failed operations 2018-08-26 13:42:09 +03:00
Roey Darwish Dror
b9e9fad1a0 Fix cargo format 2018-08-07 21:13:50 +03:00