Will's blog

purpose: Will Kahn-Greene's blog of Python, Linux, random content, PyBlosxom, Miro, and other projects mixed in there ad hoc, half-baked, and with a twist of lemon

Tue, 27 Jan 2004

Tip for information your plugin should have

You've just finished the most fantastic plugin ever and you want to give it to everyone! Woah Nelly--before you distribute it, think of these things!!!

First off, you should make sure you have some kind of license statement in the plugin. What can users do with the plugin? Can they modify and redistribute it? Do they have to pay for usage? Blah blah blah (feel free to steal my license statement).

Second, you should have a copyright notice in the plugin header so people know who owns it.

Third, in order for people to know which version they have and thereby recognize when there is a new version and such, you should have the following items:

Then you should include instructions on how to set up the plugin (any config.py parameters that need to be set, any flavour files that need to be created, other data files that need to exist, ...), how to use the plugin (what variables it might expose to templates, urls that it does things with, ...), and whatever other documentation the user would want to know.

Doing all of this will help the user know what they've downloaded, how to use it, what it does do, what it doesn't do, how to figure out when a new version is out, and what rights they have.

For examples, look at the headers of all my plugins in my plugin index.

changelog

Please keep comments appropriate. I reserve the right to remove anonymous comments, flames, spammy, inappropriate, and other comments that I deem to be worth removing.

Note: New comments get placed in a "draft" status and will NOT show up on the site until I explicitly approve it. Usually that happens within 24 hours, but sometimes I go away and it takes a day or two.

Note 2: There is now a preview button for those of you who want to see a preview! However, it doesn't quite work the way you'd think it should work. I'll look into adjusting it some day.

Note 3: If you can't for some reason post a comment, send me an email: willg at bluesock dot org.

Your name:


Your e-mail address (this doesn't get displayed to anyone--I use it to contact you if there are issues):


URL of your website (optional):


Comment:


Yes, I am a human!

pyblosxom::2.0 dev

All contents Copyright 1996 to 2008 Will Guaraldi.
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.