Repository navigation
Update Add-on Manifest spec descriptions #14754
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -720,15 +720,17 @@ def createAddonBundleFromPath(path, destDir=None): | |||||
| def _report_manifest_errors(manifest): | ||||||
| log.warning("Error loading manifest:\n%s", manifest.errors) | ||||||
|
|
||||||
|
|
||||||
| class AddonManifest(ConfigObj): | ||||||
| """ Add-on manifest file. It contains metadata about an NVDA add-on package. """ | ||||||
| configspec = ConfigObj(StringIO( | ||||||
| """ | ||||||
| # NVDA Add-on Manifest configuration specification | ||||||
| # Add-on unique name | ||||||
| # Suggest convention is lowerCamelCase. | ||||||
| name = string() | ||||||
|
|
||||||
| # short summary (label) of the add-on to show to users. | ||||||
| # short summary (label) of the add-on to show to users. | ||||||
| summary = string() | ||||||
|
|
||||||
| # Long description with further information and instructions | ||||||
|
|
@@ -737,7 +739,8 @@ class AddonManifest(ConfigObj): | |||||
| # Name of the author or entity that created the add-on | ||||||
| author = string() | ||||||
|
|
||||||
| # Version of the add-on. Should preferably in some standard format such as x.y.z | ||||||
| # Version of the add-on. | ||||||
| # Should be in <major>.<minor>.<patch> format. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it mean that in the future, X.Y.Z will be mandatory? Same for dev versions even if I personally do not plan to release dev versions of my add-ons.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. submissions with these formats may not be valid for the add-on store. The add-on store requires a major.minor.pitch version scheme. It's still an open question whether or not we add validation enforcing major.minor.patch in all add-on manifests, not just submissions to the add-on store.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| version = string() | ||||||
|
|
||||||
| # The minimum required NVDA version for this add-on to work correctly. | ||||||
|
|
@@ -747,8 +750,9 @@ class AddonManifest(ConfigObj): | |||||
| # Must be greater than or equal to minimumNVDAVersion | ||||||
| lastTestedNVDAVersion = apiVersion(default="0.0.0") | ||||||
|
|
||||||
| # URL for more information about the add-on. New versions and such. | ||||||
| url= string(default=None) | ||||||
| # URL for more information about the add-on, e.g. a homepage. | ||||||
| # Should begin with https:// | ||||||
| url = string(default=None) | ||||||
|
|
||||||
| # Name of default documentation file for the add-on. | ||||||
| docFileName = string(default=None) | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.