[request-tracker-maintainers] RFC: rt-extension packaging
Dominic Hargreaves
dom at earth.li
Sat Dec 17 12:12:14 UTC 2011
On Thu, Dec 15, 2011 at 08:55:02AM +0900, KURASHIKI Satoru wrote:
> I'm trying to packaging rt-extension-jsgantt and going to
> ITP after finishing this package.
>
> http://anonscm.debian.org/gitweb/?p=collab-maint/rt-extension-jsgantt.git;a=tree;f=debian;h=776010ea1af1ffe2eed15bc4b5a436b1b9036d12;hb=HEAD
>
> I have some question about this, and would appreciate your comments!
Okay. I haven't had a full look through your repo, but from a quick
scan I note that you don't need to build rt3.8 packages any more (unless
you have a particular need in the short term) as rt3.8 will be removed
from wheezy at some point (#647126). (You definitely shouldn't build-dep
on request-tracker3.8).
I assume you will do things like complete the long description(s) in
debian/control, and update debian/copyright before release.
> - Are there any (unwritten) rule for rt extensions?
There haven't been any written rules yes, sadly. Probably something
that should be done.
> - any naming convention?
You've picked the correct convention so far.
> - how to treat config files, like numbering? (/etc/request-trackerN/RT_SiteConfig.d/*)
This is the first time that an extension has wanted to ship config so the
firs time it's come up. I don't think we need a formal naming scheme at
this stage. However you only install a config snippet containing
plugin-specific configuration variables - so don't try and override
@Plugins! Tell the user to manually enable the plugin in their
configuration.
You'll need to call update-rt-siteconfig-n in your postinst after dropping
config files in here.
> - because jsgantt needs to replace html/Tickets/ShowSummary, postinst symlinks to it
> from /usr/local/*. Is it right way to do so?
No, this is against Debian policy. This sounds like something which make
JSGannt unsuitable for packaging at this stage - what is the change in
the file? It is definitely not appropriate for a third party package to
change the behaviour of RT outside of the scope of the extension
mechanisms.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
More information about the pkg-request-tracker-maintainers
mailing list