Commit Graph

109 Commits

Author SHA1 Message Date
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
Roey Darwish Dror
6e9c2069e5 Pull Openbox configuration 2018-08-27 15:22:44 +03:00
Roey Darwish Dror
71c071d5db Dry run (fixes #22) 2018-08-27 13:16:11 +03:00
Roey Darwish Dror
6c00fae63c Ask to retry failed operations 2018-08-26 13:42:09 +03:00
Roey Darwish Dror
5fb2686e56 Turn report to a struct 2018-08-24 21:52:17 +03:00
Roey Darwish Dror
a049de31fb Pull Powershell profile 2018-08-23 22:08:39 +03:00
Roey Darwish Dror
79c2c77bbe Windows Update (fix #37) 2018-08-22 22:18:48 +03:00
Roey Darwish Dror
0d584bb7c0 Powershell module update (fix #41) 2018-08-22 22:01:06 +03:00
Roey Darwish Dror
fe5448b244 Fix macOS 2018-08-22 16:28:22 +03:00
Roey Darwish Dror
473f361fca Uber refactor 2018-08-22 16:18:07 +03:00
Roey Darwish Dror
056a49bc50 Fix some stuff for Rust 2018 2018-08-22 10:43:32 +03:00
Roey Darwish Dror
ab1e480b5b Add a flag for skipping system upgrades (fixes #53) 2018-08-13 14:39:29 +03:00
Roey Darwish Dror
63f584a0d5 Yarn global upgrade 2018-08-07 13:43:24 +03:00
Roey Darwish Dror
dccf508044 Move vim upgrade to its module 2018-07-14 22:19:03 +03:00
Roey Darwish Dror
84b8f3b236 Fix clippy warnings 2018-07-10 07:29:41 +03:00
Roey Darwish Dror
4c1320f955 PathExt trait 2018-07-07 09:27:42 +03:00
Roey Darwish Dror
445ad96c10 Path overhaul 2018-07-07 02:18:55 +03:00
Roey Darwish Dror
d1718a22aa Pull vim directories 2018-07-05 20:46:05 +03:00
Roey Darwish Dror
9253d99236 Try to pull the fish directory instead of the fish file 2018-07-05 20:43:25 +03:00