Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trac bugtracker support #834

Open
na-Itms opened this issue Mar 4, 2019 · 7 comments
Open

Trac bugtracker support #834

na-Itms opened this issue Mar 4, 2019 · 7 comments

Comments

@na-Itms
Copy link
Contributor

@na-Itms na-Itms commented Mar 4, 2019

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
Copy link
Member

@kiwitcms-bot kiwitcms-bot commented Sep 15, 2020

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:

  • The following features must be supported:

    • 1-click bug report
    • automatic bug update with manual fallback
    • show bug info
  • Implementation is in tcms/issuetracker/trac.py, class Trac + add the new dotted path to EXTERNAL_BUG_TRACKERS setting.

  • There doesn't seem to be a Python API library for Trac nor we can find appropriate documentation for their API methods.

  • Automated tests:

    • job definition is in .github/workflows/integration_bugtracker.yml
    • Docker + test data setup is in tests/<...> - follow the other examples there
    • Actual test code is in tcms/issuetracker/tests/ - follow the other examples there
    • Preferably we use a Docker container for the test, if need be build it ourselves (see tests/bugzilla/ for examples)
  • CI pass

  • All code review passed & PR merged

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
Copy link
Member

@atodorov atodorov commented Nov 25, 2021

@mfonism ping

@atodorov
Copy link
Member

@atodorov atodorov commented Jan 2, 2022

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

@cmbahadir
Copy link
Contributor

@cmbahadir cmbahadir commented Jan 3, 2022

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
Copy link
Member

@atodorov atodorov commented Jan 3, 2022

  • 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
Copy link
Contributor

@cmbahadir cmbahadir commented Jan 3, 2022

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
Copy link
Member

@atodorov atodorov commented Jan 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants