[rt-users] plugins link to module file, not package file
Jo Rhett
jrhett at netconsonance.com
Wed Dec 3 02:19:15 EST 2014
Hey, dunno if this got overlooked during the short vacation week. This is a pretty serious issue… asking users to manually hack up the URL in their browser bar is not accessible.
On Nov 26, 2014, at 2:22 PM, Jo Rhett <jrhett at netconsonance.com> wrote:
> Hey guys and gals, been a long time.
>
> I’m doing an upgrade from 3.8.5 to 4.2. It seems to be going well. I’m liking the changes. Other than some confusion about what order to do things in (see my other message) the one thing I can’t seem to wrap my head around is the new plugin setup.
>
> First, yay! I like the idea of what you’ve done with plugins, keeping them local and the simplified syntax in RT_SiteConfig.pm.
>
> [in which I wander in the wrong direction… read and giggle]
>
> However, I can’t find any plugins other than yours which are built in these new packages you document at https://www.bestpractical.com/docs/rt/4.2/writing_extensions.html
>
> What is the fallback method for installing the other style modules? How do I get from a .pm file to an installed module. Can I manually create the directory structures and copy these into place? I see some details there but it doesn’t inspire confidence that everything I need to know is there. A breakout of the directory structure would be really helpful.
>
> [forehead slap]
>
> I was almost done with this e-mail when I realized the problem. If you go to http://bestpractical.com/rt/extensions.html and you find the extension you are looking for, the link to the Homepage for the extension actually links to the main module, and not to the extension package. Example for one
>
> Homepage link takes you to:
> http://search.cpan.org/dist/RT-Extension-MandatorySubject/lib/RT/Extension/MandatorySubject.pm
>
> If you’re a bit tired and under-caffeniated, or just plain new to RT, it may not be clear to you that you need to remove a bunch from the URL to find the extension package. In my opinion, it would be much better to link to the package instead of the module file, like so:
> http://search.cpan.org/dist/RT-Extension-MandatorySubject/
>
> I did some random spot checking, and this appears to be true for every module shown there.
>
> --
> Jo Rhett
> +1 (415) 999-1798
> Skype: jorhett
> Net Consonance : net philanthropy to improve open source and internet projects.
>
--
Jo Rhett
+1 (415) 999-1798
Skype: jorhett
Net Consonance : net philanthropy to improve open source and internet projects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20141202/a1980431/attachment.htm>
More information about the rt-users
mailing list