{"id":13686754,"url":"https://github.com/LucasTavaresA/sgrade","last_synced_at":"2025-05-01T09:32:30.665Z","repository":{"id":128694743,"uuid":"553231285","full_name":"LucasTavaresA/sgrade","owner":"LucasTavaresA","description":"Simple alternative to topgrade","archived":false,"fork":false,"pushed_at":"2024-11-13T23:06:16.000Z","size":83,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T07:06:41.915Z","etag":null,"topics":["automation","shellscript","topgrade"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucasTavaresA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-10-17T23:21:49.000Z","updated_at":"2025-01-25T18:12:51.000Z","dependencies_parsed_at":"2023-06-04T15:30:25.297Z","dependency_job_id":null,"html_url":"https://github.com/LucasTavaresA/sgrade","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasTavaresA%2Fsgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasTavaresA%2Fsgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasTavaresA%2Fsgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasTavaresA%2Fsgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucasTavaresA","download_url":"https://codeload.github.com/LucasTavaresA/sgrade/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251852897,"owners_count":21654482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","shellscript","topgrade"],"created_at":"2024-08-02T15:00:39.461Z","updated_at":"2025-05-01T09:32:30.428Z","avatar_url":"https://github.com/LucasTavaresA.png","language":"Shell","funding_links":[],"categories":["automation","Shell"],"sub_categories":[],"readme":"# sgrade\n\nSimple alternative to [topgrade](https://github.com/topgrade-rs/topgrade)\n\nor Suckless, Shellscript... maybe S tier\n\n![screenshot](https://user-images.githubusercontent.com/80704612/209752444-2ec0ef56-8ddc-4d5f-80b9-d540727014e1.png)\n\n## Install\n\nPut sgrade in your `PATH`, or execute:\n\n```shellscript\ngit clone https://github.com/lucastavaresa/sgrade\n./sgrade/sgrade\n```\n\n## Update Steps\n\nsgrade have all steps enabled by default, but even when enabled\nit does not update resources you don't have\n\nYou can change what updates and the order by setting `SG_RESOURCES`\nto the resource names separated by space, like: `packages etc cargo`\n\n| Resource    | Description                                                                                                                                               |\n|:-----------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `sgrade`    | Updates sgrade automatically, See [Update itself](https://github.com/LucasTavaresA/sgrade#update-itself)                                                  |\n| `packages`  | Updates packages and your system using your distro package manager, See the [source code](https://github.com/LucasTavaresA/sgrade/blob/main/sgrade#L153). |\n| `etc`       | Merge new etc files, See [Etc](https://github.com/LucasTavaresA/sgrade#etc).                                                                              |\n| `nodejs`    | Run `yarn global update`, or `npm update -g` if `npm root -g` is a path inside your $HOME.                                                                |\n| `pip`       | Update pip and pipx if they are inside $HOME, then upgrade all packages installed using [pipx](https://github.com/pypa/pipx).                             |\n| `go`        | Update all go packages with [gup](https://github.com/nao1215/gup).                                                                                        |\n| `dotnet`    | Update all global dotnet packages.                                                                                                                        |\n| `fish`      | Update all fish plugins.                                                                                                                                  |\n| `rustup`    | Run `rustup update` and `rustup self-update`.                                                                                                             |\n| `cargo`     | Update all cargo packages using [cargo-update](https://github.com/nabijaczleweli/cargo-update).                                                           |\n| `flatpak`   | Update all flatpaks.                                                                                                                                      |\n| `snap`      | Update all snaps.                                                                                                                                         |\n| `brew`      | Update all brew packages.                                                                                                                                 |\n| `nix`       | Update all nix packages.                                                                                                                                  |\n| `pearl`     | Run `pearl update`.                                                                                                                                       |\n| `gem`       | Run `gem upgrade` or `gem upgrade --user-install` if `~/.gem` exists.                                                                                     |\n| `gh`        | Update all gh extensions.                                                                                                                                 |\n| `distrobox` | Update all distrobox containers.                                                                                                                          |\n| `custom`    | Run `~/.config/sgrade/custom`.                                                                                                                            |\n\n## Update itself\n\nDepends on curl or wget\n\nWhen a new version is downloaded it shows the difference in the new version\nand asks to substitute the sgrade in your path\n\n## Etc\n\nWorks only specific distros\n\n- On **void linux** install `xtools`\n- On **arch based distros** install `pacman-contrib`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucasTavaresA%2Fsgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLucasTavaresA%2Fsgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucasTavaresA%2Fsgrade/lists"}