https://github.com/compufox/forgejo-updater
https://github.com/compufox/forgejo-updater
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/compufox/forgejo-updater
- Owner: compufox
- Created: 2023-05-02T23:49:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-31T21:04:37.000Z (almost 3 years ago)
- Last Synced: 2025-10-04T22:50:36.648Z (10 months ago)
- Language: Common Lisp
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# forgejo-updater
### _a. fox_
a tool to help keep forgejo up to date on your system
## Running
`./fupdater --help`:
```
Usage: fupdater [-h|--help] [-f|--force] [-d|--download] [-o|--output FILE]
[-u|--update] [-r|--restart] [--arch] [--restart-command COMMAND] [--version]
[-v|--verbose] [--run-as-root]
Available options:
-h, --help prints this help
-f, --force forces the updater to download the latest version
-d, --download downloads the new Forgejo version
-o, --output FILE specify the full file path to download the new release
-u, --update replaces the forgejo binary with new version automatically
-r, --restart restarts the forgejo systemd unit after updating
--arch specifies the arch to download (default: linux-amd64)
--restart-command COMMAND
pass the command to restart the forgejo process (default: sudo systemctl restart forgejo)
--version prints the program's version
-v, --verbose prints logging info
--run-as-root force binary to run as root
```
## Building
1. install [roswell](https://github.com/roswell/roswell)
2. `$ mkdir ~/common-lisp && git clone https://github.com/compufox/forgejo-updater ~/common-lisp/forgejo-updater`
3. `$ cd ~/common-lisp/forgejo-updater && make`
## License
MIT