* chore: update to stable toolchain. apply clippy fixes & rustfmt
* Bump MSRV
* Try MSRV without the patch version
* fix: pin toolchain to MSRV
* trying again
* fix dead code warning
---------
Co-authored-by: Dan Sully <dsully@users.noreply.github.com>
* feat: initial i18n setup
* style: fmt
* feat: i18n support for new steps
* fix: build on Linux
* fix: build on Linux
* refactor: rm unused translation keys
---------
Co-authored-by: Steve Lau <stevelauc@outlook.com>
* Add config flag to toggle verbose Git repository output.
If `true`: the default, no change.
If `false`: Only show repositories that have been updated or have an error.
Minor tweak to output (removed colon) so that copy and paste for 'cd' is nicer.
* Remove unhelpful information from errors
Before:
```
Git repositories failed:
0: error: cannot pull with rebase: You have unstaged changes.
error: Please commit or stash them.
0:
Location:
src/steps/git.rs:39
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
```
After:
```
Git repositories failed:
0: Failed to pull /Users/wiggles/.dotfiles
1: error: cannot pull with rebase: You have unstaged changes.
error: Please commit or stash them.
Location:
src/steps/git.rs:39
```
* Improve git_repos errors
This removes the extra blank "0:" line at the end of the error, doesn't
print the error message twice, and provides the repo path in the error
message.
`nix upgrade-nix` can be used on any platform except NixOS where `nix`
is available.
Also use `nix profile upgrade --verbose` because the non-verbose mode
doesn't print anything on stdout.
* Don't show desktop notification on error (if `skip_notify = true`) (#275)
* Use ─ (U+2500) to draw borders (#282)
* Adds Pclinuxos support (#283)
* Add Devkitpro Pacman support (#291)
* Added support for Neovim package manager lazy.nvim (#293)
* Added support for lazy.nvim
From https://github.com/folke/lazy.nvim
Authored-by: Jacob Lane Ledbetter <jledbetter460@gmail.com>
* Make garuda-update update AUR packages by default (#296)
* fix(#298): Don't throw error if no Helm repository found (#305)
* Skip .NET when `dotnet tool list` is not successful (#302)
* feat(pacstall): add `-y` flag variant (#312)
* Add openSUSE MicroOS support (#315)
* Adds notify-send timeout of 10s (#318)
* Don't run yum when rpm-ostree is available (#313)
* don't run yum when rpm-ostree is available
* Clippy fix
* rpm-ostree: set default value to true
* Fixes if loop error
* Fixes gem update --system requires sudo now (#317)
* Fixes gem update --system requires sudo now
* rubygem: Adds arg -EH to sudo
* Use fixed nala path instead of which(nala) (#314)
* Adds notify-send bug warning when topgrade is run (#324)
* Adds notify-send bug warning when topgrade is run
* fix typo + clippy
* notify-send warning respects skip_notify flag
* nix: Adds additional arguments support (#325)
* Adds pip-review and pipupgrade support (#316)
* Adds pip-review and pipupgrade support
* Python: fixes pip_review and pipupgrade
* v10.2.5 patch (#329)
* WSL: Adds new wsl --update flags (#327)
* wsl: Updates available flags
* Clippy fix
* Add WslUpdate runner
* wsl: Code Typo
* wsl: Code Typos
* wsl: Code Typos
* wsl: Code Typo
* Adds AM Package Manager (#328)
* Adds AM Package Manager
* Clippy fixes
* Cargo fmt
* Moves am to linux only in main file
---------
Co-authored-by: Guilherme Silva <626206+guihkx@users.noreply.github.com>
Co-authored-by: Gabriel Augendre <gabriel@augendre.info>
Co-authored-by: Cat Core <34719527+arthurbambou@users.noreply.github.com>
Co-authored-by: Hugo Haas <hugoh@hugoh.net>
Co-authored-by: Baptiste <32563450+BapRx@users.noreply.github.com>
Co-authored-by: bbx0 <39773919+bbx0@users.noreply.github.com>
Co-authored-by: Sourajyoti Basak <wiz28@protonmail.com>
When there are a log of changes in the git step, topgrade might be "stack" in pager (e.g. less) until the user will manually exit it.
Using '--no-pager' flag allow all the changes to be printed to screen regardless of the amount of commits or the user's git configuration.
* Show what's new in Git repositories
* Check for pull changes using ORIG_HEAD
It seems that either `--rebase` or `--autostash` causes ORIG_HEAD not to change. We thought about it
further and decided that `--ff-only` is a safer option for git pull
While `//?/C:/Users/Someone/config-files` is a valid path, it's not very human friendly.
Such paths are returned from `BaseDirs`. This patch formats them in the traditional way.