-
-
Notifications
You must be signed in to change notification settings - Fork 217
bin/gpodder: add -c / --close-after-startup option #1108
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
Conversation
|
I like the look of the groups, but it hides I definitely will be using But if added, it might be good to call @elelay What do you think? |
agreed with all your comments |
f112363 to
a8d5402
Compare
|
Patches updated,
New help output:
Personally I'd find it useful. It would allow to use this from any branch without cherry picking the patch(es) first, and it would make it available in distro packages (I'll probably test some time soon how much I can reduce startup time by not installing all plugins at once - in Alpine Linux / postmarketOS it's not uncommon to split out plugins into extra packages since the overhead is very small). So for that it it would be helpful too if the patch was in the main repository. But in the end it's your (the maintainers) call, and if you decide that you'd rather not have these two patches in master then that's also fine. 👍 |
|
Cool that there's a linter in CI now! however the failure seems unrelated? it just says I've tried to follow PEP-8 in the patches. |
It shows it in the output: https://github.com/gpodder/gpodder/pull/1108/checks?check_run_id=3212955349 and even suggests a fix: |
a8d5402 to
b715cb1
Compare
|
The first patch is a good addition. It is the second patch that has very limited use and could be done by adding two lines into the source when needed. Can the groups be rearranged? If so, do you think Logging(top), Advanced(middle), Subscriptions(bottom) would be better? |
|
They can be re-arranged, I could put them in the suggested order. However, shouldn't we put the most important group on top? I'd expect users to read the help output from top to bottom (and this is how I read it myself) :)
Another nice thing would be that people could replicate the startup time test easily, without the issue of possibly inserting lines at the wrong place and therefore doing a different measurement. I think if it's made easy to test the startup time, it's more likely that people will keep an eye on it. |
tpikonen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good addition to gpodder.
Add an option that helps with measuring / profiling startup performance.
b715cb1 to
ec60a55
Compare
|
merged, thanks! |
Group command-line options into rest / logging / advanced, and add a new option to advanced that helps with profiling startup performance. (I used this together with a profiler to figure out that it spends most of the time resizing covers, which lead to #1105).