Andre Toerien
ad9f2c2ccb
feat(sudo): print warning if steps were skipped due to missing sudo
2025-09-28 15:38:30 +02:00
AThePeanut4
a886d20a7b
refactor(sudo): rename interactive to login_shell
2025-09-28 14:57:40 +02:00
Andre Toerien
791993795a
fix(sudo): use require_sudo for windows commands
2025-09-28 14:57:40 +02:00
Andre Toerien
a2afdb821f
feat(sudo): add SudoKind::Null
2025-09-28 14:57:40 +02:00
Andre Toerien
47b51a8be0
feat: detect and warn if running as root
2025-09-28 14:57:40 +02:00
Andre Toerien
7c7e7c3ce4
Fix "WSL already reported" panic ( #1344 )
2025-09-28 08:25:10 +02:00
Andre Toerien
fec08a5ad1
Move step logic out of Powershell struct ( #1345 )
2025-09-27 19:55:56 +02:00
Andre Toerien
fb7ba52e39
Fixes for #1188 ; custom_commands broken ( #1332 )
...
Co-authored-by: GideonBear <87426140+GideonBear@users.noreply.github.com >
2025-09-20 13:59:19 +02:00
SteveCoding125
898823abb2
use login shell when executing topgrade ( #1327 )
2025-09-18 17:06:59 +02:00
Rafael Scalet
ccefd0a43a
feat: add --no-tmux flag ( #1328 )
2025-09-18 14:01:19 +02:00
Rafael Scalet
99d989d486
feat: add step for mandb - user and system (update man entries) ( #1319 )
2025-09-14 08:08:52 +02:00
Nils
456d62224e
chore: fix simple typos in code and comments (split var, whether, Extensions) ( #1318 )
...
Co-authored-by: niStee <52573120+niStee@users.noreply.github.comclear >
2025-09-13 17:12:39 +02:00
Rafael Scalet
b662fae11e
feat: support for pkgfile ( #1306 )
2025-09-10 13:31:27 +02:00
Rafael Scalet
7b3fec0349
feat: add "show_skipped" option in config file #1280 ( #1286 )
2025-08-29 11:01:40 +02:00
uwuclxdy
547a6df2ae
Support "Insiders" versions of VSCode and VSCodium ( #1279 )
2025-08-25 16:27:02 +02:00
Stuart Reilly
53d08cdf28
Sudo preserve env list argument is --preserve-env ( #1276 )
...
Sudo preserve-env
Sudo's preserve env list is `--preserve-env=...` not `--preserve_env=...`.
https://www.man7.org/linux/man-pages/man8/sudo.8.html
2025-08-20 17:33:35 +02:00
Ehren Bendler
a033152c60
Clippy fixes from rust 1.91 nightly ( #1267 )
2025-08-13 17:01:25 +02:00
Kian-Meng Ang
9f4cb8c1b6
feat: fix typos ( #1221 )
...
Co-authored-by: GideonBear <87426140+GideonBear@users.noreply.github.com >
2025-08-11 18:15:21 +02:00
Nils
91fc5e3902
chore(ci): Dependabot, workflow security ( #1257 )
...
Co-authored-by: StepSecurity Bot <bot@stepsecurity.io >
Co-authored-by: niStee <52573120+niStee@users.noreply.github.comclear >
Co-authored-by: GideonBear <87426140+GideonBear@users.noreply.github.com >
2025-08-11 10:24:18 +02:00
Falk Woldmann Lu
9048cd8f47
refactor: replace once_cell crate with std equivalent ( #1260 )
2025-08-11 09:57:32 +02:00
Andre Toerien
dbe1a5c988
refactor(sudo): add SudoKind::WinSudo
2025-08-06 15:21:51 +02:00
Andre Toerien
b6c1290934
refactor(sudo): add SudoExecuteOpts builder functions and preserve_env enum
2025-08-06 15:21:51 +02:00
Andre Toerien
306ff3c7c5
fix(sudo): prevent sudo_command = "sudo" finding gsudo
2025-08-06 15:21:51 +02:00
Andre Toerien
0e43e0d7fc
refactor(yarn): remove unnecessary Yarn::yarn field
2025-08-06 15:21:51 +02:00
Andre Toerien
4da696321a
refactor(apt): extract detect_apt() function
2025-08-06 15:21:51 +02:00
Andre Toerien
a95dd1e037
refactor: route sudo usage through Sudo::execute*
2025-08-06 15:21:51 +02:00
Andre Toerien
012a6bbde3
fix(sudo): set sudo flags depending on kind
2025-08-06 15:21:51 +02:00
Andre Toerien
32197f79f3
refactor: move RunType::execute to ExecutionContext
2025-08-06 15:21:51 +02:00
Alwin
257d202646
fix: skip gcloud update step if component manager is disabled ( #1237 )
2025-07-21 15:21:29 +02:00
Andre Toerien
3f9fe845e5
refactor(powershell): store powershell path directly
2025-07-18 09:21:31 +02:00
Andre Toerien
b166aae835
fix(powershell): run microsoft_store command directly
2025-07-18 09:21:31 +02:00
Andre Toerien
31f0097862
fix(powershell): remove mentions of USOClient
2025-07-18 09:21:31 +02:00
Andre Toerien
f78514dbd8
fix(powershell): execution policy check breaks when run in pwsh
...
When topgrade is run from within pwsh, the execution policy check breaks
for the Windows Update and Windows Store steps, because they use normal
powershell and the inherited PSModulePath environment variable breaks
the Microsoft.PowerShell.Security module import. So we unset that
variable to fix the issue, but also allow for those steps to use pwsh as
neither step actually requires PowerShell 5.
Co-authored-by: nistee <52573120+niStee@users.noreply.github.com >
2025-07-18 09:21:31 +02:00
Andre Toerien
9fc5fe9798
fix(powershell): don't use sudo with Update-Module for pwsh
...
Co-authored-by: Ao <197966644+ao-xing@users.noreply.github.com >
Co-authored-by: nistee <52573120+niStee@users.noreply.github.com >
2025-07-18 09:21:31 +02:00
Andre Toerien
6d14ac1693
refactor(powershell): cleanup and simplify code
2025-07-18 09:21:31 +02:00
Steve Brown
b8ab573c00
fix(powershell): add -Command to module update cmdline
2025-07-18 09:21:31 +02:00
Stuart Reilly
75ac6808a1
Move step running into enum for dynamic ordering ( #1188 )
...
Co-authored-by: Stuart Reilly <sreilly@scottlogic.com >
2025-07-16 11:16:27 +02:00
Max Kapur
6719ff93d8
feat(conda): allow configuring additional envs to update ( #1048 )
2025-07-15 13:15:42 +02:00
Tom van Dijk
6b8327faad
feat(step): nix-helper ( #1045 )
2025-07-15 11:05:46 +02:00
Andreas Hoornstra
85c8bd2277
feat(winget): winget uses sudo when [windows] winget_use_sudo = true ( #1061 )
...
Co-authored-by: Gideon <87426140+GideonBear@users.noreply.github.com >
2025-07-15 09:12:55 +02:00
Axel H.
23fff2a09f
fix(tmux): support all default tpm locations (xdg and both hardcoded locations) ( #1146 )
2025-07-14 10:08:00 +02:00
Sam Hug
1114556661
windows update, use explicit reboot policy ( #1143 )
2025-07-14 09:57:00 +02:00
Sam Vente
f18ae089ff
feat: suppress pixi release notes by default ( #1225 )
...
Co-authored-by: Gideon <87426140+GideonBear@users.noreply.github.com >
2025-07-14 09:51:02 +02:00
Gideon
9fefb47242
Catch secondary uv self-update error ( #1201 )
2025-06-25 19:24:07 +08:00
Matt Thomson
fc5cc3c43b
Handle another format change in asdf version ( #1194 )
...
This now includes a revision part which must be trimmed, e.g.
0.18.0 (revision unknown)
2025-06-19 17:29:11 +08:00
Gideon
27464b795e
Preserve custom commmand order from config instead of sorting alphabetically ( #1182 )
2025-06-17 11:58:23 +08:00
Stuart Reilly
845558c1da
Add support for multiple binary names and idea having multiple binaries ( #1167 )
...
Add support for tools to have multiple possible binaries because IntellIj IDEA on the AUR can have multiple depending on the edition.
[AUR Ultimate Edition](https://aur.archlinux.org/packages/intellij-idea-ultimate-edition ) and [AUR Community Edition](https://aur.archlinux.org/packages/intellij-idea-community-edition-bin ) renames the binary to `intellij-idea-ultimate-edition` and `intellij-idea-community-edition` respectively.
2025-06-17 11:52:58 +08:00
slowsage
50a74dac4b
Update Yazi upgrade step to use ya pkg. ( #1163 )
2025-06-17 11:09:14 +08:00
Gideon
4b3a3e74f8
Fix "Only one instance of <IDE> can be run at a a time." error ( #1123 )
2025-06-13 18:54:07 +08:00
Gideon
2c4751c7b2
Add CachyOS support ( #1153 )
...
* Add CachyOS support
* Fix os-release file
* Re-run CI
2025-06-12 14:36:35 +08:00