wiki:TracHackDevelopment

Version 9 (modified by khundeen, 8 years ago) (diff)

--

Information for Trac Hack Developers

Subversion

The TracHacks Subversion repository is at http://trac-hacks.org/svn.

Each hack has its own top-level path, with sub-directories underneath each directory for each release the hack is available for. eg.

http://trac-hacks.org/svn/addcommentmacro/0.9
http://trac-hacks.org/svn/addcommentmacro/0.8

When a NewHack is registered, the developer is given write access to the entire path underneath their hack, so these are just default directory layouts.

TracHacks has the trac-post-commit-hook installed, so you can use the handy closes #x, etc. when committing changes to the repository.

Issues

If you have any issues with TracHacks, check the existing tickets, then create a ticket.

If all else fails, contact me.

Meta-tags

TracHacks uses a couple of metatags when creating new hacks; release and type.

If a tag page (eg. macro) is itself tagged with one of the meta-tags, it will be included as an option in NewHack.

Please don't abuse this.

Additionally, any tag whose tag page is itself tagged with metatag will be excluded from the NewHack list of additional tags. That's quite a confusing sentence, so just take a look at type for an example.

Newbie Corner

  • Setup your development environment
  • Check out tutorial created by our contributors
  • Hack away!