Kiwi
Kiwi copied to clipboard
Mantis bug tracker integration
Would be usefull to be able to integrate with Mantis bug tracker
Kiwi TCMS needs help with implementing bug tracker integration with Mantis!
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/mantis.py
, classMantis
+ add the new dotted path toEXTERNAL_BUG_TRACKERS
setting. -
There doesn't seem to be a Python API library for Mantis. A good start is probably https://www.mantisbt.org/docs/master/en-US/Developers_Guide/html/ and https://documenter.getpostman.com/view/29959/mantis-bug-tracker-rest-api/7Lt6zkP
-
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:
- Devel getting started docs: https://kiwitcms.readthedocs.io/en/latest/contribution.html#testing
- Django testing documentation: https://docs.djangoproject.com/en/3.1/topics/testing/
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.
@mfonism ping
Hello @atodorov , Is it planned to have Mantis bug tracker integration?
It seems there is a decline in the trend of usage of this oldy but goldy bug tracker.
It is not a big deal to implement the tracker integration, there is a very well documented Mantis Rest API. But testing could be a problem where it is required to use an public endpoint, and Mantis BT does not have it.
A free Mantis HUB could be provided by Mantis by any chance, which is to be used in the Kiwi TCMS integration tests.
Link to : Mantis HUB