Skip to content
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

extensions.md: Make note of the "new" priority system #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dconrad5
Copy link
Contributor

Associated with gPodder PR gpodder/gpodder#1698

@@ -4,6 +4,9 @@ title: Extensions

Extensions are gPodder's mechanism for adding optional features and allowing easy customizability. Some extensions are already activated by default if you are running a specific environment (e.g. Ubuntu Unity support in gPodder 3 is implemented as an extension).

Sometimes the ordering of extensions is important. gPodder parses the filenames of extensions for a prefix, like "50_". When it finds a prefix like this, it sorts according to said prefix, with lower numbers higher. *Note that this does not use "natural sorting", so "100" comes between "10" and "11".* Extensions found without a prefix will be given the lowest two-digit priority, "99". If multiple instances of an extension are desired, the base name must be different, not just the prefix.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from a quick look at the PR, prefix is now converted to int so it is 100 comes after 10 and 11, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, you might be right. I'll have to double check that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants