yumwat
Wild card! Oddshocks writes a yum plugin!
Wat
When I use yum to update my system or install new packages, I sometimes spot a package I am unfamiliar with, such as the mesa-dri-filesystem package I saw the other day. In some graphical extensions of yum, a brief discription of the package is listed under each package name. I figured I’d check out some docs on writing yum plugins, to see if I could display a description under each package name in the CLI updater. Then the Internet was like, “Yo, each yum plugin is a single file, written in the Python programming language”, and after I cleaned up my brain which had EXPLODED out of my HEAD I made this repo and now we are on a science adventure.
License
GNU GPL v3+.
Installing
Installation is easy! From the project directory (where this file is), do the following.
Shell Script
I have written a bit of a shell script that does the above installation for you. It is install.sh, and will require root privs, like so: sudo ./install.sh.
Manual Installation
Install the plugin file: sudo cp yumwat.py /usr/lib/yum-plugins/
Install the plugin’s configuration file: sudo cp yumwat.conf /etc/yum/pluginconf.d/
Add the line pluginpath=/usr/lib/yum-plugins to the file /etc/yum.conf.
Timid mode
The yumwat.conf file contains the line timid=0. If timid is set to 0, timid mode is off, and yumwat will print output unless the --nowat option is used with yum. If timid is set to 1, timid mode is on, and yumwat will not print output unless the --wat option is used with yum.
See below for how to easily enable or disable timid mode.
Enabling and Disabling
Enable yumwat – sudo /usr/lib/yum-plugins/yumwat.py enable
Disable yumwat – sudo /usr/lib/yum-plugins/yumwat.py disable
Enable timid mode – sudo /usr/lib/yum-plugins/yumwat.py timid
Disable timid mode – sudo /usr/lib/yum-plugins/yumwat.py assertive
Uninstalling
Easier than installation! We just need to make sure you remove the generated bytecode file, too. You can do this by running the uninstall script packaged with this plugin with root privs:
sudo ./uninstall.sh
Otherwise, follow these steps:
Remove the configuration file: sudo rm /etc/yum/pluginconf.d/yumwat.conf
Remove the plugin file and its generated bytecode: sudo rm /usr/lib/yum-plugins/yumwat.{py,pyc}
Metadata
Release files for yumwat 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yumwat-1.0.1.tar.gz | 8.8 kB | Without provenance | Details for yumwat-1.0.1.tar.gz |
Release files / yumwat-1.0.1.tar.gz
| Download URL | yumwat-1.0.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aba977f7008d076c0d34c530357e803e11bde3b278db96c3f5298288f5516042
|
|
BLAKE2b-256 checksum How to use checksums |
1c31d45eed807e24237d63e80f6c913cfd4c117b3b4b9aae0558e13cfbaca66e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for yumwat 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.