[rt-users] RT config files different instances

Richard McMahon rgm at ast.cam.ac.uk
Sat Jul 21 11:47:13 EDT 2012


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__

thanks

On Thu, 19 Jul 2012, Ruslan Zakirov wrote:

> Date: Thu, 19 Jul 2012 22:19:51 +0300
> From: Ruslan Zakirov <ruslan.zakirov at gmail.com>
> To: Richard McMahon <rgm at ast.cam.ac.uk>
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] RT config files different instances
> 
> Hi,
>
> Sorry for delay. Didn't know how to describe situation.
>
> 1) Don't use REST for anything except creating and replying to
> tickets. REST needs complete rewrite.
>
> 2) Anything that does reporting via higher level than perl API will
> suffer performance issues at some point.
>
> 3) You can write a perl program that talks to one set of RT libraries
> at a moment.
>
> 4) You can write a program that can work with 3.8 API and 4.0 API.
>
> 5) Never use RT libraries that don't match DB.
>
> On Mon, Jul 16, 2012 at 12:57 PM, Richard McMahon <rgm at ast.cam.ac.uk> wrote:
>>
>> OK, my current two RT instances are 3.8(production) and
>> 4.05 (Development). The 3.8 system will move to 4.06 soon.
>>
>> Use of REST is a possibility but would be mission creep at
>> the moment.
>>
>> To avoid problems it would be useful to be able to get the RT version
>> numbers programmatically for:
>>
>> (i)  local RT API libraries
>>
>> (ii) remote host [this could use REST] if the local API does not
>> support it.
>>
>> r.
>
>

-------------------------------------------------------------------
  Dr. Richard G. McMahon    | Phone (office)     44-(0)-1223-337519
  University of Cambridge   |       (switchboard)       1223-337548
  Institute of Astronomy    |       (secretary)         1223-337516
  Madingley Rd              | FAX                       1223-337523
  Cambridge, CB3 OHA, UK.   | mobile                    7885-409019
  Office: Hoyle 18          | home                      1223-359770
-------------------------------------------------------------------
  email: rgm at ast.cam.ac.uk  | WWW:    http://www.ast.cam.ac.uk/~rgm
  richardgmcmahon at gmail.com | skype:                richardgmcmahon
-------------------------------------------------------------------



More information about the rt-users mailing list