Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ironthree/fedora-update-notifier
generate click-able notifications for fedora updates await!ing feedback
https://github.com/ironthree/fedora-update-notifier
Last synced: 3 months ago
JSON representation
generate click-able notifications for fedora updates await!ing feedback
- Host: GitHub
- URL: https://github.com/ironthree/fedora-update-notifier
- Owner: ironthree
- License: apache-2.0
- Created: 2019-11-30T20:35:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-18T11:25:56.000Z (over 2 years ago)
- Last Synced: 2023-03-06T02:53:55.096Z (almost 2 years ago)
- Language: Rust
- Size: 140 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# fedora-update-notifier
This is a small program that checks for fedora updates from the `updates-testing` repository that are installed on the
current system, and creates a click-able desktop notification (via the `D-Bus` interface for notifications) that takes
the use to a page in the bodhi web interface where they can leave feedback for these updates.This program could be automated to run at regular intervals - for example, with an autostart entry to run at login, or
with a systemd user session (timer) unit.### requirements
The program assumes that the `dnf` and `rpm` binaries are present on the system (which is probably a reasonable
assumption for a CLI tool targeted at fedora users).It also expects the FAS username of the current user being stored in a configuration file at `~/.config/fedora.toml`,
with these contents:```toml
[FAS]
username = "FAS_USERNAME"[fedora-update-notifier]
interests = ["package1", "package2"]
```This value is used to filter out updates that the user themselves has submitted, or has already commented on.
### installation
To compile the program, first install `cargo` and `dbus-devel`.
Download the sources, and easily build and install the binary for yourself:
```console
$ git clone https://github.com/ironthree/fedora-update-notifier.git
$ cd fedora-update-notifier
$ cargo install --path .
```### usage
The compiled program is located in `~/.cargo/bin`. To be able to run it with ease, add `$HOME/.cargo/bin` to your `$PATH`, e.g. by editing `~/.bash_profile`.
Without that, use the following to run the app:
```console
$ ~/.cargo/bin/fedora-update-notifier --help
```