as a first step, I'd like to integrate my work into your documents branch to prepare a merge to main.
I have created a first support for documents and reusing them. I have added tests, they work in my Polarion instance (and do not need any preconditions I suppose). I have made some quality-of-life changes to some modules, I hope you do not mind (fixing some formatting issues, removing unused imports and improving bool and None comparisons). If you disagree, I can reverse those changes or create a separate PR for this.
Since the comment function is shared between documents and work items, I have moved it into a new module, comments.py.
I have also cleaned up requirements.txt and removed all seemingly unrelated packages, or was there a reason I overlooked why these packages are there?
Apart from this, I tried to match your style and naming conventions and your general approaches as good as possible.
Hi Jesper,
as a first step, I'd like to integrate my work into your documents branch to prepare a merge to main.
I have created a first support for documents and reusing them. I have added tests, they work in my Polarion instance (and do not need any preconditions I suppose). I have made some quality-of-life changes to some modules, I hope you do not mind (fixing some formatting issues, removing unused imports and improving bool and None comparisons). If you disagree, I can reverse those changes or create a separate PR for this.
Since the comment function is shared between documents and work items, I have moved it into a new module, comments.py.
I have also cleaned up requirements.txt and removed all seemingly unrelated packages, or was there a reason I overlooked why these packages are there?
Apart from this, I tried to match your style and naming conventions and your general approaches as good as possible.