Open Bug 541717 Opened 10 years ago

Define and implement plugin metadata format

Categories

(Other Applications :: ChatZilla, enhancement)

enhancement
Not set

Tracking

(Not tracked)

People

(Reporter: bugzilla-mozilla-20000923, Assigned: rginda)

References

()

Details

We need to define a standard (and parsable) format for specifying a plugin's ID, version, and other metadata (author/description). I propose we use the same style as greasemonkey/user scripts in other environments, and keep it at the top of init.js/the sole script, e.g.:

// ==ChatZillaPlugin==
// @name My sample plugin
// @id msp
// @version 1.0
// @description A sample plugin for anyone to copy.
// ==/ChatZillaPlugin==

Quite a few of the properties on http://wiki.greasespot.net/Metadata_block could be used (esp. if we make a UI for managing plugins).
You need to log in before you can comment on or make changes to this bug.