Commit Graph

217 Commits

Author SHA1 Message Date
Roey Darwish Dror
ded8041b1d No need for serde_derive in Rust 2018 2018-12-24 10:09:46 +02:00
Roey Darwish Dror
28e8ec79e1 Make clippy happy 2018-12-23 13:30:24 +02:00
Roey Darwish Dror
8e3727c73f Do not check for self upgrade if already upgraded 2018-12-23 13:23:42 +02:00
Roey Darwish Dror
ee54107d2a Print the changelog when updating 2018-12-23 13:17:53 +02:00
Roey Darwish Dror
badc6b665b Implement cleanup for Pacman 2018-12-23 10:47:45 +02:00
Roey Darwish Dror
83b6f9ace4 Run valet install after compose update (fix #99) 2018-12-18 14:22:26 +02:00
Roey Darwish Dror
47a271af47 Modules refactor 2018-12-17 09:40:38 +02:00
Christopher Medlin
66c6338b42 Implement cleanup for Debian based distros (#102) 2018-12-17 09:22:59 +02:00
Roey Darwish Dror
365847a498 Rust 2018 2018-12-12 13:08:06 +02:00
Roey Darwish Dror
370310948b Better error model 2018-12-12 13:03:06 +02:00
Roey Darwish Dror
f23b6435bf Try to restore cargo fmt 2018-12-11 16:00:19 +02:00
Adam Papai
4c1d26e120 Add --no-vim flag (#98)
Just like we have the `--no-emacs` flag, it would be nice to have the `--no-vim` flag, to avoid the upgrade of the vim/neovim configuration files and packages.
2018-12-09 07:58:13 +00:00
Roey Darwish Dror
0500080e40 Add --no-retry (fix #97) 2018-12-05 13:40:02 +02:00
Roey Darwish Dror
2a5f5af934 Don't use help in structopt 2018-12-05 13:29:31 +02:00
Roey Darwish Dror
39faab0a12 Stop passing the terminal object 2018-12-05 12:59:53 +02:00
Roey Darwish Dror
f1de5fd545 Fix Windows build 2018-11-26 14:39:56 +02:00
Roey Darwish Dror
bbb276089d Move self-update to a module 2018-11-26 14:27:19 +02:00
Roey Darwish Dror
7e601f805d Use the self_upgrade version which supports zip (fix #92) 2018-11-25 13:08:55 +02:00
Roey Darwish Dror
5a7ec65545 Support Void (fix #95) 2018-11-20 14:38:23 +02:00
Roey Darwish Dror
30259018c5 vcpkg suppport (fix #81) 2018-11-20 09:33:18 +02:00
Roey Darwish Dror
7bf4c25fcf Remove all the macro use 2018-11-18 14:25:16 +02:00
Roey Darwish Dror
1b61a07d52 Remove #[macro_use] where possible (fix #87) 2018-11-18 13:26:37 +02:00
Nikolai Hellwig
7e5eb87b7d Adding a new flag for cleaning up old resources (#90)
* Adding a new flag to topgrade called "cleanup"

If you are using applications like homebrew they may keep a history of
packages downloaded. Especially the bigger your number of installed
packages for homebrew grows the bigger those directories get. This can
quickly add up to a couple of GBs.

If this flag is set then the homebrew part also calls "brew cleanup" for
cleaning up old resources. Of course this can be add to other calls as
well if supported.

* Updating readme for new cleanup flag
2018-11-17 20:09:46 +02:00
Roey Darwish Dror
92286853d1 Use sudo for package auditing 2018-11-15 15:54:24 +02:00
Roey Darwish Dror
fa39665bd3 Audit FreeBSD packages at summary 2018-11-15 11:41:54 +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
1e73011a15 Add FreeBSD 2018-11-13 13:02:28 +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
6108637477 Implement self-update 2018-11-07 14:56:40 +02:00
Roey Darwish Dror
24f8053b17 Support Oracle Linux (fix #83) 2018-11-07 10:22:13 +02:00
Roey Darwish Dror
ed8a842439 Use downcast_ref for errors 2018-11-07 10:18:18 +02:00
Roey Darwish Dror
7d43057c27 Support OpenSUSE 2018-11-03 22:57:09 +02:00
Roey Darwish Dror
d2788ea47b Use which to determine the existence of cargo-install-update (#82) 2018-11-02 16:31:49 +02:00
Roey Darwish Dror
fde62711d5 Use the console crate 2018-11-01 11:42:17 +02:00
Roey Darwish Dror
17d1af8ba0 pipx (fix #76) 2018-10-31 13:01:57 +02:00
Roey Darwish Dror
036a86f593 Add Jetpack (fix #80) 2018-10-31 10:13:02 +02:00
Roey Darwish Dror
4c16a34053 Revert "Forbid clippy warnings"
This reverts commit c0942e12a3.

1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::all))]
  |                                            ^^^^^^^^^^^
error[E0658]: scoped lint `clippy::all` is experimental (see issue #44690)
2018-10-29 14:41:45 +02:00
Roey Darwish Dror
d081991edc Cargo fmt 2018-10-29 14:32:33 +02:00
Roey Darwish Dror
c0942e12a3 Forbid clippy warnings 2018-10-29 14:18:47 +02:00
Roey Darwish Dror
7e9e7b8756 Fix etc-update reporting 2018-10-21 15:16:14 +03:00
Roey Darwish Dror
ba7192c21d Gentoo support 2018-10-21 15:09:37 +03:00
Roey Darwish Dror
78396fc438 Nix package manager 2018-10-21 13:09:42 +03:00
Roey Darwish Dror
0b03e1f9d1 Implement Scoop (fix #78) 2018-10-17 14:14:10 +03: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
51d67d6529 Run fisher self-update 2018-10-07 11:51:12 +03:00
Roey Darwish Dror
ad3b94c110 Adapt to Fisher 3 (fixes #73) 2018-10-06 19:43:21 +03:00
Roey Darwish Dror
f07114fdfd Format change 2018-10-04 11:40:29 +03:00
Your Name
9bf893a14a Don't run APM on BSDs (fix #68) 2018-10-04 11:27:49 +03:00