Commit Graph

107 Commits

Author SHA1 Message Date
Rebecca Turner
4dd1c13bd8 fix: fix "Nix" step to use nix upgrade-nix in more situations (#550)
`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.
2023-09-17 15:40:04 +08:00
SteveLauC
635bfce198 feat: extra arguments for Home Manager (#507)
* feat: extra arguments for Home Manager
2023-07-24 13:07:55 +08:00
SteveLauC
0ec0e5a9dd chore: bump ci toolchain and MSRV (#506)
* chore: bump ci toolchain and MSRV

* fix clippy on macOS
2023-07-19 10:54:34 +08:00
SteveLauC
d0d447deac fix: fix wrong path in oh-my-bash (#478) 2023-07-14 16:13:28 +00:00
SteveLauC
30858780cf refactor: unify the behavior of the steps that require sudo (#467) 2023-06-13 14:15:57 +00:00
SteveLauC
658829e4ff refactor: make update fn take &ExectionContext & put update fn together (#457) 2023-06-02 20:20:42 +00:00
SteveLauC
66860f1848 refactor: remove unnecessary qualification (#443) 2023-05-27 09:41:42 +00:00
SteveLauC
76c39edc8b refactor: make all step functions take &ExectutionContext (#436) 2023-05-25 09:09:23 +02:00
SteveLauC
43c02cf7a7 feat: support maza (#427) 2023-05-17 19:18:03 +02:00
SteveLauC
3a1568e884 feat: support oh-my-bash (#425) 2023-05-17 19:17:37 +02:00
Utkarsh Gupta
327ed837c2 Replace directories with home & etcetera (#407)
* Use global lazy HOME_DIR

* Remove unused base_dirs

* Use `etcetera` instead of `directories`

---------

Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
2023-04-30 18:32:13 +00:00
Giovanni Merlino
45d935eda3 Fix missing separator for Pkgin (pkgsrc) (#307)
* Fix missing separator for Pkgin (pkgsrc)

* Fix whitespace (giving issues with cargo fmt?)

---------

Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
2023-01-27 21:34:27 +00:00
Thomas Schönauer
ee353ccb66 adds fish_update_completions to fish step (#270) 2022-12-18 14:11:36 +00:00
Rebecca Turner
41e2321b93 Use tracing (#174) 2022-11-23 15:24:58 +00:00
Rebecca Turner
d4fe748814 Run fisher if fish -c 'type -t fisher' is OK (#172) 2022-11-23 15:24:58 +00:00
Guilherme Silva
7442ddd386 Further clippy fixes (#176) 2022-11-23 15:24:58 +00:00
Rebecca Turner
2cbb7db66d Use color_eyre (#173) 2022-11-23 15:24:58 +00:00
Rebecca Turner
e84173be8f Add CommandExt trait (#146)
* Color CI output

* Improve `CommandExt`

* Add comments explaining `#[allow]`s

* Remove useless `dead_code` annotation

* Improve error messages

* Print errors when running a shell errors

* fixup! Remove useless `dead_code` annotation
2022-11-23 15:24:58 +00:00
Thomas Schönauer
bd34a3bcd4 Revert "10.2.0 release " (#215)
Revert "10.2.0 release  (#213)"

This reverts commit 13076fcef6.
2022-11-23 16:23:00 +01:00
Thomas Schönauer
13076fcef6 10.2.0 release (#213) 2022-11-23 15:18:09 +00:00
pan93412
a7c2262537 refactor: Run cargo clippy --fix (#113) 2022-11-02 20:26:20 +00:00
Rebecca Turner
dc07144918 Add fundle step (#90) 2022-10-31 06:05:43 +00:00
Rebecca Turner
d8bac65317 Add rcm step (#91) 2022-10-31 06:05:12 +00:00
Thomas Schönauer
347372ca71 Resolves clippy errors, please review!!! (#60) 2022-10-23 11:34:30 +00:00
Manuel
785bf11300 Backwards compatibility with fisher v3 (#55) 2022-10-22 10:48:32 +00:00
Thomas Schönauer
3797fc7bae Fix nix profile upgrade command & add profile path detection (#56)
* Fixes antigen update (#39)

* Adds manifest.json check to nix

* #34 Fix `nix profile upgrade` command & add profile path detection (#4)

Authored-by: Manu [tennox] <2084639+tennox@users.noreply.github.com>
2022-10-22 09:26:49 +00:00
Manuel
4dccca3d81 Revert fix for older fisher version (#37) 2022-10-19 11:16:38 +00:00
Manuel
9cd155f7ea Update broken fisher command
```
fisher: unknown flag or command "update"
usage: fisher add <package...>     Add packages
       fisher rm  <package...>     Remove packages
       fisher                      Update all packages
       fisher ls  [<regex>]        List installed packages matching <regex>
       fisher --help               Show this help
       fisher --version            Show the current version
       fisher self-update          Update to the latest version
       fisher self-uninstall       Uninstall from your system
```
2022-10-18 15:39:35 +01:00
Thomas Schönauer
77db29f299 Cleanup 2022-10-10 22:41:39 +02:00
DottoDev
ae544cdaae fix: skip nix on darwin only when nix-darwin is installed (#14)
Authored-by: XYenon <i@xyenon.bid>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:22:06 +00:00
DottoDev
8472467d00 brew autoremove (#6)
Authored-by: Kilian Tyler <kilian@ktyler.me>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:17:50 +00:00
DottoDev
3f7614b885 feat: add support for bun (#7)
Authored-by: Matthieu Vion <contact@mvion.fr>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:16:13 +00:00
DottoDev
5dffa2c6cc Add new step: GNU Guix by JamesClarke7283 (#1)
* Added new step: guix (basic support)

* Fixed clippy errors and better practice, Thanks To guidence from @enchant97 <Leo Spratt>

* Removed accidental swp file, as pointed out by @strangelittlemonkey in pull request #982

Authored-by: James Clarke <james@james-clarke.ynh.fr>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 18:03:34 +00:00
Quinton Cloutier
f390f2edbe Ensure selfupdate is enabled for SDKMAN! (#954)
* Ensure `selfupdate` is enabled for SDKMAN!

This subcommand is unavailable when the `sdkman_selfupdate_feature`
option is disabled, as is the case when SDKMAN! is installed via
Homebrew.

https://github.com/sdkman/sdkman-cli/pull/1042

* Fix macOS build; simplify

Co-authored-by: Roey Darwish Dror <roey.ghost@gmail.com>
2022-06-18 11:29:37 +00:00
Roey Darwish Dror
dcf58911bd Mac OS fails to upgrade Homebrew in custom location (#930)
Fixes #673
2022-05-13 17:59:13 +00:00
Roey Darwish Dror
84c3a0f4d1 Don't try to upgrade nix if it's not a part of a profile (#924) 2022-05-07 02:24:54 +03:00
Aditya Alok
ff7a4f3df9 Fix building for Android, enable tlmgr updates (#896)
* fix(os/unix): cannot find `SkipStep` while building for android

ERROR: cannot find function, tuple struct or tuple variant `SkipStep`

Disable updating gnome extensions for Android.

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>

* feat: enable `tlmgr` updates for android

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-22 23:20:17 +03:00
Roey Darwish Dror
d0e1212700 Don't run gnome shell extensions if unneeded (fix #835) (#893)
* Don't call gnome shell extensions if it's not registered in dbus (fix #835)

* fix

* Execute-elevated (#892)

* Introduce the execute elevated method (fix #885)

* fmt

* Fix nix with doas

* Bad import

* No gnome in macOS

* Unused imports
2022-04-11 20:15:18 +03:00
Roey Darwish Dror
5ecf8300ef Execute-elevated (#892)
* Introduce the execute elevated method (fix #885)

* fmt

* Fix nix with doas

* Bad import
2022-04-09 16:29:55 +03:00
Roey Darwish Dror
5de33a91d1 Detect fisher in a custom path (fix #878) 2022-04-09 15:35:02 +03:00
Roey Darwish Dror
ab3ff0ecae Selective yes (fix #802) (#808)
* Selective yes flag (fix #802)

* Selective yes flag (fix #802)

* selective yes

* MacOS
2021-12-06 14:44:20 +02:00
Noel Georgi
f235c56b82 fix: GNOME detection for customized version (#790)
Signed-off-by: Noel Georgi <git@frezbo.dev>
2021-10-29 09:47:43 +03:00
Roey Darwish Dror
539b267eef Support rust 1.51.0 (#789) 2021-10-28 22:05:35 +03:00
Roey Darwish Dror
850dbb4037 Run GNOME update only when using GNOME 2021-10-28 21:24:14 +03:00
modularTaco
338c9f431d fix gnome shell extensions update object path (#788) 2021-10-28 19:45:53 +03:00
Björn Daase
bff66f1212 Correct spelling for GNOME Shell extensions update (#778) 2021-10-26 09:29:55 +03:00
Roey Darwish Dror
b6c468c6fb Upgrade gnome shell extensions (fix #755) (#768) 2021-10-25 21:31:13 +03:00
Marcin Puc
1478d079ca Add minor refactorings (#754) 2021-09-04 21:01:19 +03:00
Roey Darwish Dror
611f69646e Support pkgin (fix #748) 2021-09-02 06:14:56 +03:00
Hugo Haas
2c5d581bef Added support for fish-plug (#687)
https://github.com/kidonng/fish-plug
2021-04-12 12:14:14 +03:00