Commit Graph

477 Commits

Author SHA1 Message Date
Roey Darwish Dror
19de361775 Dry run fixup 2018-12-31 14:06:21 +02:00
Roey Darwish Dror
2cac8a7970 Cargo fmt 2018-12-31 13:34:56 +02:00
Roey Darwish Dror
957d73c634 Don't pass dry_run as a boolean to functions 2018-12-31 13:26:17 +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
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
39faab0a12 Stop passing the terminal object 2018-12-05 12:59:53 +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
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
6108637477 Implement self-update 2018-11-07 14:56:40 +02:00
Roey Darwish Dror
ed8a842439 Use downcast_ref for errors 2018-11-07 10:18:18 +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
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
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
Your Name
9bf893a14a Don't run APM on BSDs (fix #68) 2018-10-04 11:27:49 +03:00
Roey Darwish Dror
a9c534a2a2 Separate Flatpak user from Flatpak global (fix #67) 2018-10-02 14:30:10 +03:00
Roey Darwish Dror
4cc076212c Run composer (fix #71) 2018-10-02 13:46:28 +03:00
Roey Darwish Dror
e9e743ab45 Run etc-update (fix #72) 2018-10-02 13:25:02 +03:00
Roey Darwish Dror
3875f973d1 Show pacsave/pacnew files in summary (fix #70) 2018-10-02 13:12:04 +03:00
Roey Darwish Dror
15cec667b0 Make the linux upgrade function a method 2018-10-02 10:46:38 +03:00
Roey Darwish Dror
8c81b8d062 Gem (fix #65) 2018-09-06 16:46:49 +03:00
Roey Darwish Dror
1c317f5332 Fix Windows and macOS 2018-09-06 15:14:59 +03:00
Roey Darwish Dror
682d4445b7 Use structopt 2018-09-06 14:44:02 +03:00
Roey Darwish Dror
3533c95b78 Implement --no-emacs (fixes #61) 2018-09-05 11:17:15 +03:00
Roey Darwish Dror
6f4d99aa40 Move tmux to its own module 2018-09-04 11:05:54 +03:00
Sean McAvoy
bad68804ed added option to skip configured GIT repos (#59) 2018-09-03 18:51:09 +03:00
Claudia
c5ea22bac3 Add OCaml package manager (OPAM) (#62)
This adds support for the OCaml package manager (OPAM).

The command line `opam update` first performs a self-update if
necessary. Then it updates its package list.
Finally, `opam upgrade` upgrades all locally installed packages.
2018-09-03 14:45:01 +03:00