Command line tool to query Mantis?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
smap-cmc
Posts: 2
Joined: 12 Mar 2007, 15:55

Command line tool to query Mantis?

Post by smap-cmc »

We use Mantis under Linux (FC6) and it is integrated with SVN such that check-ins to SVN are logged in Mantis.

We would now like to be able to do things like generate reports based on the SVN log entries in Mantis.

However, we do not have any in-house PHP skills so diving into the details of Mantis's implementation is not what we want to do, if possible.

Is there a command line tool or language bindings for other languages (Perl, Python) that interface to Mantis?

E.g. dump the specified fields of a particular Mantis entry.

Going further and being able to query Mantis and update entries from external scripts would be great too.

I have seen references to MantisConnect but that seems to be .NET/Windows oriented solution.

Thanks in advance,
Chris.
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

To integrate SVN with Mantis you need to follow the manual directions:

http://www.mantisbt.org/manual/manual.c ... ration.php
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
smap-cmc
Posts: 2
Joined: 12 Mar 2007, 15:55

Post by smap-cmc »

Thanks for the tip, but I already did that - that's why I said that Mantis is
already integrated with SVN.

I now want to be able to pull data back out of Mantis and generate reports, etc.

I prefer not to access the SQL database directly but use a Mantis interface.

E.g. a command line tool to report the contents of mantis entry #99.

Or change the status of Mantis entry #99.
Post Reply