kiwitcms / Kiwi

open source test management system with over 2 million downloads!
https://kiwitcms.org
GNU General Public License v2.0
982 stars 292 forks source link

Trac bugtracker support #834

Open na-Itms opened 5 years ago

na-Itms commented 5 years ago

Description of problem

Currently Trac is not a supported bugtracker in Kiwi. It would be very useful to some projects which use it and wish to use Kiwi.

Additional info

The docs for Trac's API can be found at https://trac.edgewall.org/wiki/TracDev/ApiDocs.

kiwitcms-bot commented 4 years ago

Kiwi TCMS needs help with implementing bug tracker integration with Trac!

The way Kiwi TCMS integrates with external bug tracking systems is documented at https://kiwitcms.readthedocs.io/en/latest/modules/tcms.issuetracker.html#module-tcms.issuetracker with the basic methods documented in https://kiwitcms.readthedocs.io/en/latest/modules/tcms.issuetracker.base.html (also see other modules for more examples).

Definition of Done:

Hints:

This issue is part of Kiwi TCMS open source bounty program. For more information see the link(s) in bounty-program milestone

Note: this is a 200 EUR bounty.

atodorov commented 2 years ago

@mfonism ping

atodorov commented 2 years ago

@cmbahadir maybe you will be interested in taking on this issue as well as #879 and #2203 which are all similar.

cmbahadir commented 2 years ago

I had a look at Trac, it does not have a Rest API so the integration seems not as straight forward as the other issue tracking systems.

I have seen two possible interfaces:

I will inform over this issue, if I can find a proper solution, the solution could be tightly dependent to the version of the Trac being used.

Someone who may already have some experience with Trac and its interfaces, can step in here.

atodorov commented 2 years ago
  • Trac has it's own API but versions till the latest stable (1.4) use Python 2.x and it seems not possible to use it as long as the Kiwi TCMS and Trac are not installed on the same host. Upgrade to Python 3.x is in the roadmap of Trac v1.5, which is still being developed. https://trac.edgewall.org/wiki/TracDev/ApiDocs

I don't see any obvious information as to how this API is supposed to be used. Do you know?

Are the documented methods part of a Python package which works directly with the Trac installation or are they something else ?

cmbahadir commented 2 years ago

I don't see any obvious information as to how this API is supposed to be used. Do you know?

AFAIK, it's only purpose is to develop plugins for Trac itself.

Are the documented methods part of a Python package which works directly with the Trac installation or are they something else ?

API comes with Trac, if I got your question correct.

atodorov commented 2 years ago

I don't see any obvious information as to how this API is supposed to be used. Do you know?

AFAIK, it is only purpose is to develop plugins for Trac itself.

OK, I get it now. So the user needs to have the Track XML-RPC plugin installed as a prerequisite. If that is available with the latest stable version (or relatively easy to ) then user can enable it and we can talk more about integration.

If you think this is unsupported / not going to work maybe you could look into some of the other issues for bugtracker integration.