Add a pastebin component to Trac
Description
Adds a basic pastebin functionality to a webpage. It requires trac0.11 and pygments > 0.5.
For some screenshots have a look at the attachments. But note that they are taken on my test trac installation with a heavily modified theme.
Bugs/Feature Requests
Existing bugs and feature requests for TracPastePlugin are here.
If you have any issues, create a new ticket.
Download and Source
Download the zipped source from here, check out using Subversion, or browse the source with Trac.
Installing
- Make sure the Pygments Python extension is installed
- Either: Download, build egg, drop into your plugins folder,
or: easy_install http://trac-hacks.org/svn/tracpasteplugin/0.11 - Enable it over webadmin or by editing trac.ini: [components] tracpaste.* = enabled
- Run trac-admin /path/to/project upgrade
- Restart web server
- Add permission PASTEBIN_USE to users/groups that should be able to access it
- It should now be visible in menu and available under /pastebin.
Permissions
- PASTEBIN_CREATE
- PASTEBIN_DELETE
- PASTEBIN_VIEW
- PASTEBIN_ADMIN
Recent Changes
[10450] by rjollos on 07/12/11 07:59:23
Show plugin's svn revision on webadmin plugin panel.
[9678] by rjollos on 12/15/10 22:08:54
Attempt to resolve reported closed cursor error by making sure db object does not get removed up by Python. Version bumped to 0.2.2. Fixes #6341.
[9677] by rjollos on 12/15/10 09:55:06
Added Pygments to required packages. Fixes #8298.
[8502] by rjollos on 08/29/10 09:17:05
Accidentally added an egg-info dir in previous commit. Refs #7519.
Author/Contributors
Attachments
- pastebin_file.png (101.9 kB) - added by anonymous on 01/18/07 10:40:22.
- pastebin_index.png (100.5 kB) - added by anonymous on 01/18/07 10:41:29.


