Commit Graph

1712 Commits

Author SHA1 Message Date
Gudsfile
29b05fa50f i18n(app.yml): fix fr language #1248 2025-08-06 20:11:56 +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
c00365c19d fix(i18n): use double-quotes for translations with newlines 2025-07-18 09:21:31 +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
Ville Skyttä
689db93c99 Generate artifact attestations for release assets (#1216) 2025-07-14 10:05:03 +02:00
Sam Hug
1114556661 windows update, use explicit reboot policy (#1143) 2025-07-14 09:57:00 +02:00
Cthulhux
f8c910a3c2 fixed the German translation for "y/n/s/q" (#1220) 2025-07-14 09:56:26 +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
SteveLauC
4a64992054 docs: add Discord invite link to README (#1203) 2025-06-26 08:53:25 +08: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
SteveLauC
31fe5aa452 ci: fix the invalid action version (#1185) 2025-06-17 11:36:17 +08:00
SteveLauC
b354e07ef3 ci: allow us to re-run AUR CI (#1184)
* ci: allow us to re-run AUR CI

* ci: no need to set shell as it is Linux
2025-06-17 11:32:16 +08:00
slowsage
50a74dac4b Update Yazi upgrade step to use ya pkg. (#1163) 2025-06-17 11:09:14 +08:00
SteveLauC
7558bbfe9b ci: use the new tag name and specify shell to bash (#1183) 2025-06-17 10:44:49 +08:00
SteveLauC
7518676ac9 ci: allow specifying tag when manually run 'create_release_assets.yml' (#1180)
Adds a parameter existing_tag to the workflow_dispatch event of "create_release_assets.yml", which would allow us to re-run a failed release.
2025-06-16 14:39:23 +08:00
SteveLauC
b7b665ff48 ci: fix homebrew ci, remove duplicate trigger event (#1179) 2025-06-16 11:45:48 +08:00
SteveLauC
1be941e815 ci: fix PyPI pipeline duplicate wheel name (#1178) 2025-06-16 11:43:11 +08:00
SteveLauC
d1b7eba44e ci: add event workflow_dispatch to release pipelines (#1177) 2025-06-16 11:36:14 +08:00
SteveLauC
38e2d5663a ci: fix pipeline relase to PyPI (#1176) 2025-06-16 10:52:35 +08:00
Gideon
3db95a3e67 Install rustfmt and clippy where necessary (#1171) 2025-06-16 10:04:06 +08:00
SteveLauC
ef0a0d69bb chore: release v16.0.4 (#1169) v16.0.4 2025-06-13 19:03:17 +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
Stuart Reilly
30941ed26d Drop lazy_static (#1168)
Co-authored-by: Stuart Reilly <sreilly@scottlogic.com>
2025-06-12 14:32:29 +08:00
Gideon
c7163b63db Run uv cache prune in uv step when cleanup is enabled (#1165)
Add uv cache prune
2025-06-10 18:10:18 +08:00
SteveLauC
6e6b3dcbfe ci: add missing rustup components (#1166) 2025-06-10 15:43:21 +08:00
Gideon
1d136a6635 Fix nix version output changed (#1140)
* Fix nix version output changed

* Format
2025-04-24 09:31:02 +08:00
Gideon
0ee67d78ef Fix conflict between hx (hexdump alternative) and Helix (#1135)
* Fix conflict between hx (hexdump alternative) and Helix

* Remove uneccessary unit parameter

* Use helix-centered detection
2025-04-21 18:46:00 +08:00