-
-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use PyGObject for NotifyDBus plugin #992
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #992 +/- ##
==========================================
- Coverage 99.27% 98.97% -0.30%
==========================================
Files 136 137 +1
Lines 17657 17759 +102
Branches 3603 3616 +13
==========================================
+ Hits 17529 17577 +48
- Misses 119 166 +47
- Partials 9 16 +7 ☔ View full report in Codecov by Sentry. |
I finally had a chance to look at your code. The one thing i noticed is your version drops the mapping ( Edit: I just didn't |
@amotl I would love your amazing skills on the mocker for the new @qarkai : I was able to leave the legacy code (renaming it to NotifyDBus) and introducing yours as NotifyGLib (keeping backwards compatibly. Your code launches on |
@caronc Goal of this PR was to get rid of deprecated library. Now it's something different. I don't see much profit in splitting dbus plugins but it's your project. |
Yes, your port no longer would support the
@qarkai I personally love your idea and suggestion. Your goal will be achieved; i can assure you this 🙂 . I will absolutely drop the dbus-python requirement, but wil enable the old plugin for those that have it. Simply removing the old plugin removes QT/KDE Support for those using it. So the idea was to entertain your proposal and additionally support the old one for those who choose to use it (and add I hope this makes sense. The goal is: Backwards compatiblity:
Testing is close to working now and @amotl is a genius with the Chris |
Hi Chris. Thanks for the kind words. Yet, I can't promise anything. So, what would be the procedure you are asking for? Checkout the branch, invoke the tests, and make them succeed? Will it work on macOS, or will I need to use Docker or even a Linux VM for those? Cheers, Andreas. |
Hi Chris. Unfortunately, I am not running Linux. So, I think I can't be supportive here. Apologies. |
Ah right, you have just been asking about support for proper unit testing with mocking. Currently, it looks like there have been other changes to this plugin. Are the changes here obsolete now, or does the branch need a rebase, in order to enqueue this patch properly again? |
@amotl ; i haven't had a chance to revisit this. But yes, Apprise went under a massive file renaming to align better with some inconsistencies between filenames and |
Description:
Related issue (if applicable): #984
Disabled some tests for now.
Checklist
flake8
)Testing
Anyone can help test this source code as follows: