[rt-users] RT config files different instances
Kevin Falcone
falcone at bestpractical.com
Tue Jul 31 12:04:13 EDT 2012
On Sat, Jul 21, 2012 at 04:47:13PM +0100, Richard McMahon wrote:
>
> OK, I will aim to use compatible RT API libraries. I can host more
> than one version on the remote client if required.
>
> It would be useful to be able to determine the version of RT running
> on the client and server via the API. I can use REST to determine
> the
> version of the RT on the remote version:
>
> e.g. http://..../REST/1.0 returns
>
> RT/3.8.HEAD 401 Credentials required
>
> Is there a way to access/report the RT version library verion from
> within Perl. In Python I would use something like:
>
> print 'matplotlib.__version__: ', matplotlib.__version__
I'm running a dev version, but this gives you the idea:
$ perl -Ilib -MRT -le 'print $RT::VERSION'
4.0.6-249-g8dbb7c5
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120731/72db843b/attachment.sig>
More information about the rt-users
mailing list