[rt-users] Extensions
Is there any documentation somewhere on how to package up the extensions - not how to write them, but how to do the other stuff like the Makefile.PL and META.yml so that it installs. I tried just copying the Makefile.PL and MANIFEST and META.yml from another project, but my html files didn't copy over. (I'm just starting the project, so all I have to install is some html mock-ups.) -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin
Re: [rt-users] Extensions
On Wed, Mar 28, 2012 at 10:58:03AM -0400, Paul Tomblin wrote: Is there any documentation somewhere on how to package up the extensions - not how to write them, but how to do the other stuff like the Makefile.PL and META.yml so that it installs. I tried just copying the Makefile.PL and MANIFEST and META.yml from another project, but my html files didn't copy over. (I'm just starting the project, so all I have to install is some html mock-ups.) Several of us use Dist-Zilla-MintingProfile-RTx which will generate a Makefile.PL and some other boring parts of RT extensions. You also need Module-Install-RTx on your development box so that the pieces of the extension that know where to put files for RT are included in the tarball. -kevin pgpYEcMQR4Leu.pgp Description: PGP signature
Re: [rt-users] Extensions
On Wed, Mar 28, 2012 at 11:03 AM, Kevin Falcone falc...@bestpractical.comwrote: On Wed, Mar 28, 2012 at 10:58:03AM -0400, Paul Tomblin wrote: Is there any documentation somewhere on how to package up the extensions - not how to write them, but how to do the other stuff like the Makefile.PL and META.yml so that it installs. I tried just copying the Makefile.PL and MANIFEST and META.yml from another project, but my html files didn't copy over. (I'm just starting the project, so all I have to install is some html mock-ups.) Several of us use Dist-Zilla-MintingProfile-RTx which will generate a Makefile.PL and some other boring parts of RT extensions. You also need Module-Install-RTx on your development box so that the pieces of the extension that know where to put files for RT are included in the tarball. Ok, I installed Dist-Zilla-MintingProfile-RTx using perl -MCPAN -e shell, and it dragged in about a zillion required modules. Now the dzil.org page says that I use dzil new to create a new directory to get started, and I just need to do dzil new RTx::FooBar, but I get a bunch of warnings: dzil new RTx::CareFirst [DZ] making target dir /home/ptomblin/src/rt-extension-carefirst/RTx-CareFirst [DZ] writing files to /home/ptomblin/src/rt-extension-carefirst/RTx-CareFirst [DZ] guessing dist's main_module is lib/RTx/CareFirst.pm [DZ] no license data in config, no %Rights stash, couldn't make a good guess at license from Pod; giving up [DZ] no license data in config, no %Rights stash, couldn't make a good guess at license from Pod; giving up at /usr/local/lib/perl/5.12.4/Moose/Meta/Method/Delegation.pm line 110 and then it creates a directory RTx-FooBar, and in that an empty dist.ini file and skeleton lib/RTx/FooBar.pm. I couldn't find any documentation on how to generate this %Rights stash or config. So instead I tried following the manual page on http://search.cpan.org/~falcone/Dist-Zilla-MintingProfile-RTx-0.05/lib/Dist/Zilla/MintingProfile/RTx.pmand so I tried dzil new -P RTx RTx::FooBar and instead I got even more errors and warnings: [DZ] making target dir /home/ptomblin/src/rt-extension-carefirst/RTx-FooBar [DZ] Unable to find main_module in the distribution [DZ] We tried to guess 'lib/RTx/FooBar.pm' but no file like that existed [DZ] Upon further inspection we didn't find any files in your dist, did you add any? [DZ] Cannot continue without a main_module [DZ] No %User stash and no copyright holder; can't determine dist author; configure author or a %User section [DZ] No %User stash and no copyright holder; can't determine dist author; configure author or a %User section at /usr/local/lib/perl/5.12.4/Moose/Meta/Method/Delegation.pm line 110 and this time the RTx-FooBar directory is empty. I feel like I'm trying to learn how to swim, and I keep getting thrown into the shark tank. Can somebody please point me towards the shallow (non shark infested) end? -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin
Re: [rt-users] Extensions
Thanks guys, I got it. They all work fine now. David On 8/25/2010 12:55 PM, Michael Finn wrote: Set(@Plugins,(qw(RT::FM))); Set(@Plugins,(qw(RTx::EmailCompletion))); Set(@Plugins,(qw(RT::Extension::ToggleSuperUser))); Set(@Plugins,(qw(RT::Extension::QueueDeactivatedScrips))); How should I list this? And do I reinstall then after I correct this, or just correct the Set(@Plugins, ...) line and restart Apache? Set(@Plugins,(qw(RT::FM RTx::EmailCompletion RT::Extension::ToggleSuperUser RT::Extension::QueueDeactivatedScrips))); (above is one line) No reinstall necessary; just bounce Apache. 'qw' takes a space-separated list and turns it into the quoted list format needed for the Set command. (see http://perlmeme.org/howtos/perlfunc/qw_function.html for examples) Mike RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Extensions
Is there an Extension compatibility list around. I recently installed the QueueDeactivatedScrip which work very well, then installed the EmailCompletion extention which also works well only to find that my QueueDeactivatedScrip no longer worked. I there anyway of determining compatibility between extensions? or is it mostly trial and error? How do troubleshoot a broken Extension? Thanks, David System Admin RNS Running RT 3.8.7 RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Extensions
Which version you installed from QueueDeactivatedScrp? The one from github? 2010/8/25 Sysadmin sysad...@ruralnetwork.net Is there an Extension compatibility list around. I recently installed the QueueDeactivatedScrip which work very well, then installed the EmailCompletion extention which also works well only to find that my QueueDeactivatedScrip no longer worked. I there anyway of determining compatibility between extensions? or is it mostly trial and error? How do troubleshoot a broken Extension? Thanks, David System Admin RNS Running RT 3.8.7 RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Extensions
First thing I always check on multiple extensions is whether they are all in the same Set(@Plugins, ...) line in the RT_SiteConfig.pm file. Multiple Set Plugins lines will override rather than append. Mike From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Torsten Brumm Sent: Wednesday, August 25, 2010 11:49 AM To: Sysadmin Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Extensions Which version you installed from QueueDeactivatedScrp? The one from github? 2010/8/25 Sysadmin sysad...@ruralnetwork.netmailto:sysad...@ruralnetwork.net Is there an Extension compatibility list around. I recently installed the QueueDeactivatedScrip which work very well, then installed the EmailCompletion extention which also works well only to find that my QueueDeactivatedScrip no longer worked. I there anyway of determining compatibility between extensions? or is it mostly trial and error? How do troubleshoot a broken Extension? Thanks, David System Admin RNS Running RT 3.8.7 RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Extensions
Yes the one from github. And yes I have mutiple plug in lines. Set(@Plugins,(qw(RT::FM))); Set(@Plugins,(qw(RTx::EmailCompletion))); Set(@Plugins,(qw(RT::Extension::ToggleSuperUser))); Set(@Plugins,(qw(RT::Extension::QueueDeactivatedScrips))); How should I list this? And do I reinstall then after I correct this, or just correct the Set(@Plugins, ...) line and restart Apache? Thanks, David System Admin RNS Running RT 3.8.7 On 8/25/2010 12:01 PM, Michael Finn wrote: First thing I always check on multiple extensions is whether they are all in the same Set(@Plugins, ...) line in the RT_SiteConfig.pm file. Multiple Set Plugins lines will override rather than append. Mike *From:* rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] *On Behalf Of *Torsten Brumm *Sent:* Wednesday, August 25, 2010 11:49 AM *To:* Sysadmin *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt-users] Extensions Which version you installed from QueueDeactivatedScrp? The one from github? 2010/8/25 Sysadmin sysad...@ruralnetwork.net mailto:sysad...@ruralnetwork.net Is there an Extension compatibility list around. I recently installed the QueueDeactivatedScrip which work very well, then installed the EmailCompletion extention which also works well only to find that my QueueDeactivatedScrip no longer worked. I there anyway of determining compatibility between extensions? or is it mostly trial and error? How do troubleshoot a broken Extension? Thanks, David System Admin RNS Running RT 3.8.7 RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Extensions
I think it should just be Set(@Plugins,(qw(RT::FM RTx::EmailCompletion RT::Extension::ToggleSuperUser RT::Extension::QueueDeactivatedScrips))); Then just restart apache From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Sysadmin Sent: Wednesday, August 25, 2010 2:29 PM To: Michael Finn Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Extensions Yes the one from github. And yes I have mutiple plug in lines. Set(@Plugins,(qw(RT::FM))); Set(@Plugins,(qw(RTx::EmailCompletion))); Set(@Plugins,(qw(RT::Extension::ToggleSuperUser))); Set(@Plugins,(qw(RT::Extension::QueueDeactivatedScrips))); How should I list this? And do I reinstall then after I correct this, or just correct the Set(@Plugins, ...) line and restart Apache? Thanks, David System Admin RNS Running RT 3.8.7 On 8/25/2010 12:01 PM, Michael Finn wrote: First thing I always check on multiple extensions is whether they are all in the same Set(@Plugins, ...) line in the RT_SiteConfig.pm file. Multiple Set Plugins lines will override rather than append. Mike From: rt-users-boun...@lists.bestpractical.commailto:rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Torsten Brumm Sent: Wednesday, August 25, 2010 11:49 AM To: Sysadmin Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com Subject: Re: [rt-users] Extensions Which version you installed from QueueDeactivatedScrp? The one from github? 2010/8/25 Sysadmin sysad...@ruralnetwork.netmailto:sysad...@ruralnetwork.net Is there an Extension compatibility list around. I recently installed the QueueDeactivatedScrip which work very well, then installed the EmailCompletion extention which also works well only to find that my QueueDeactivatedScrip no longer worked. I there anyway of determining compatibility between extensions? or is it mostly trial and error? How do troubleshoot a broken Extension? Thanks, David System Admin RNS Running RT 3.8.7 RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT! -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] Extensions
Set(@Plugins,(qw(RT::FM))); Set(@Plugins,(qw(RTx::EmailCompletion))); Set(@Plugins,(qw(RT::Extension::ToggleSuperUser))); Set(@Plugins,(qw(RT::Extension::QueueDeactivatedScrips))); How should I list this? And do I reinstall then after I correct this, or just correct the Set(@Plugins, ...) line and restart Apache? Set(@Plugins,(qw(RT::FM RTx::EmailCompletion RT::Extension::ToggleSuperUser RT::Extension::QueueDeactivatedScrips))); (above is one line) No reinstall necessary; just bounce Apache. 'qw' takes a space-separated list and turns it into the quoted list format needed for the Set command. (see http://perlmeme.org/howtos/perlfunc/qw_function.html for examples) Mike RT Training in Washington DC, USA on Oct 25 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Extensions update: Unofficial BecomeUser, and S3Invoker
I'm trying to reach the author of RTx::BecomeUser (su for RT), but in case that fails, I've uploaded a development version (1.10_1) that addresses my tickets for the module. In particular, it now works with RT 3.8. It's not something you're likely to need often, but when you do it can be very handy, especially for testing customizations. RTx::S3Invoker should finally be in a stable state. This module lets you list and run saved searches (including system searches) from Simple Search via keyword do: -- Cambridge Energy Alliance: Save money. Save the planet. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Extensions update: Unofficial BecomeUser, and S3Invoker
Hi Jerrad,your extension sounds usefull.can we find it at cpan? Torsten 2009/8/7 Jerrad Pierce jpie...@cambridgeenergyalliance.org I'm trying to reach the author of RTx::BecomeUser (su for RT), but in case that fails, I've uploaded a development version (1.10_1) that addresses my tickets for the module. In particular, it now works with RT 3.8. It's not something you're likely to need often, but when you do it can be very handy, especially for testing customizations. RTx::S3Invoker should finally be in a stable state. This module lets you list and run saved searches (including system searches) from Simple Search via keyword do: -- Cambridge Energy Alliance: Save money. Save the planet. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com