Created attachment 890945 [details] Adds --ignore-own option When using fedora-easy-karma to add karma to updates, lots of updates that I've submitted appear and ask for comments. I have to skip through them because adding karma to an update I've submitted is useless. I'd like to be able to ignore all packages that I've submitted. I've attached a patch that adds an "--ignore-own" option. This will allow the user to ignore all updates that they have submitted themselves. Version-Release number of selected component (if applicable): - fedora-easy-karma-0-0.20.20130707git121694f6.fc20
Created attachment 890949 [details] Adds --ignore-own option
Created attachment 890961 [details] Adds --ignore-own option
I made this the default and use the FAS username as f-e-k figured it out, so it works normally without the --fas-username option.
fedora-easy-karma-0-0.22.20140831git1ae921a8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.22.20140831git1ae921a8.fc20
fedora-easy-karma-0-0.22.20140831git1ae921a8.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.22.20140831git1ae921a8.el5
fedora-easy-karma-0-0.22.20140831git1ae921a8.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.22.20140831git1ae921a8.el7
fedora-easy-karma-0-0.22.20140831git1ae921a8.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.22.20140831git1ae921a8.fc21
fedora-easy-karma-0-0.22.20140831git1ae921a8.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.22.20140831git1ae921a8.el6
fedora-easy-karma-0-0.22.20140831git1ae921a8.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.22.20140831git1ae921a8.fc19
Package fedora-easy-karma-0-0.22.20140831git1ae921a8.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedora-easy-karma-0-0.22.20140831git1ae921a8.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9995/fedora-easy-karma-0-0.22.20140831git1ae921a8.fc21 then log in and leave karma (feedback).
[andre@localhost ~]$ fedora-easy-karma --fas-username=robatino Getting list of installed packages... Waiting for Bodhi for a list of packages in updates-testing (F21)... Traceback (most recent call last): File "/usr/bin/fedora-easy-karma", line 566, in <module> FedoraEasyKarma() File "/usr/bin/fedora-easy-karma", line 429, in __init__ if self.options.ignore_own and update["submitter"] == fas_username: UnboundLocalError: local variable 'fas_username' referenced before assignment
fedora-easy-karma-0-0.23.20140905git5fb5b77a.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.23.20140905git5fb5b77a.el6
fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc21
fedora-easy-karma-0-0.23.20140905git5fb5b77a.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.23.20140905git5fb5b77a.el5
fedora-easy-karma-0-0.23.20140905git5fb5b77a.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.23.20140905git5fb5b77a.el7
fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc20
fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc19
fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
fedora-easy-karma-0-0.23.20140905git5fb5b77a.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
fedora-easy-karma-0-0.23.20140905git5fb5b77a.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
fedora-easy-karma-0-0.23.20140905git5fb5b77a.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
fedora-easy-karma-0-0.23.20140905git5fb5b77a.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.