This Polarion extension provides functionality of diffing fields and work items of 2 documents (either different or the same in different revisions) and later to merge selected diffs in both directions. Also supported diffing/merging of detached work items, not included into documents, and diffing/merging of document collections. | Read-only mirror of https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.diff-tool — SBB. Issues & pull requests at the source.
  • Java 57%
  • TypeScript 24.9%
  • JavaScript 15.1%
  • CSS 2.3%
  • HTML 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
renovate[bot] 6dcce94f85
fix(deps): update dependency ch.sbb.polarion.extensions:ch.sbb.polarion.extension.generic to v17.0.1 (#888)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-12-04 02:06:58 +00:00
.github feat!: build against Polarion 2612 (#886) 2026-12-02 23:36:00 +01:00
.idea/codeStyles chore: migration from BitBucket to GitHub (#3) 2024-09-13 13:03:26 +02:00
.mvn feat: publish to JFrog instead of Maven Central (#881) 2026-12-02 16:21:05 +01:00
.run docs: how to debug react app in IntelliJ IDEA (#166) 2024-11-13 08:57:44 +01:00
docs feat: show space title with ID in panels and diff view header (#847) 2026-11-19 19:41:56 +01:00
src feat!: build against Polarion 2612 (#886) 2026-12-02 23:36:00 +01:00
ui fix(deps): update dependency cross-spawn to v8 (#885) 2026-12-03 08:42:23 +01:00
.gitignore feat: documentation site over the shared RSP components (#712) 2026-09-25 16:44:26 +02:00
.pre-commit-config.yaml chore: sync workflows and the bug form from the template (#883) 2026-12-02 20:13:18 +01:00
.yamlfix.toml chore: sync from open-source-polarion-java-repo-template (#462) 2026-05-19 18:00:33 +02:00
CHANGELOG.md chore(main): release 9.6.0 (#851) 2026-12-02 16:23:10 +01:00
CLAUDE.md feat!: build against Polarion 2612 (#886) 2026-12-02 23:36:00 +01:00
CODING_STANDARDS.md chore: update build configuration to use JFrog for artefact management and improve documentation (#267) 2025-06-12 11:31:20 +02:00
CONFIGURATION.md feat: Documents diff to PDF batch export (#845) 2026-11-19 08:27:29 +01:00
CONTRIBUTING.md fix: add debug logging for merging custom fields (needed temporarily) 2026-06-03 13:00:34 +02:00
DCO chore: sync from open-source-polarion-java-repo-template (#462) 2026-05-19 18:00:33 +02:00
DEVELOPMENT.md feat!: build against Polarion 2612 (#886) 2026-12-02 23:36:00 +01:00
LICENSE chore: sync from open-source-polarion-java-repo-template (#462) 2026-05-19 18:00:33 +02:00
lombok.config chore: sync from open-source-polarion-java-repo-template (#462) 2026-05-19 18:00:33 +02:00
NOTICE chore: sync from open-source-polarion-java-repo-template (#462) 2026-05-19 18:00:33 +02:00
pom.xml fix(deps): update dependency ch.sbb.polarion.extensions:ch.sbb.polarion.extension.generic to v17.0.1 (#888) 2026-12-04 02:06:58 +00:00
QUICK_START.md feat: documentation site over the shared RSP components (#712) 2026-09-25 16:44:26 +02:00
README.md feat!: build against Polarion 2612 (#886) 2026-12-02 23:36:00 +01:00
redocly.yaml chore: sync from open-source-polarion-java-repo-template (#462) 2026-05-19 18:00:33 +02:00
RELEASE.md feat: publish to JFrog instead of Maven Central (#881) 2026-12-02 16:21:05 +01:00
renovate.json
USER_GUIDE.md feat: Documents diff to PDF batch export (#845) 2026-11-19 08:27:29 +01:00
VELOCITY_API.md feat: documentation site over the shared RSP components (#712) 2026-09-25 16:44:26 +02:00
zizmor.yml chore: sync from open-source-polarion-java-repo-template (#462) 2026-05-19 18:00:33 +02:00

Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%) Lines of Code Reliability Rating Security Rating Maintainability Rating Vulnerabilities

Polarion ALM extension for diffing and merging

This Polarion extension provides functionality of diffing:

  • fields of 2 documents (either different or the same in different revisions)
  • work items of 2 documents (also either of different documents or of the same in different revisions)
  • inlined content of 2 documents, inserted there not via work items, but directly
  • arbitrary set of work items in one project with their counterpart work items from another project

...and then to merge selected diffs from left to right document. First 2 options are available either via selecting 2 certain documents or via a collection of documents.

In case of diffing work items, appropriate counterpart work items (from another document or another project) are always seeking by selected link role.

Additionally, the extension provides functionality to make a copy of selected document in other location, as well as to copy or move a chapter of one document, with everything below it, into another document.

Important

Starting from version 5.0.0 only latest version of Polarion is supported. Right now it is Polarion 2612.

Documentation

Document Description
Quick start Install the extension and enable it in a project
User guide Documents diffing, copy and chapter merge, work items and collections diffing, diff views and merging
Configuration Enabling the forms and navigation nodes, performance tuning, chapter merge timeouts, project duplication
Velocity API $diffTool.diffText, diffHtml and diffWorkItems in the Velocity context
REST API OpenAPI specification

Compatibility

This extension is compatible with:

Build

This extension can be produced using maven:

mvn clean package

Installation to Polarion

To install the extension to Polarion ch.sbb.polarion.extension.diff-tool-<version>.jar should be copied to <polarion_home>/polarion/extensions/ch.sbb.polarion.extension.diff-tool/eclipse/plugins It can be done manually or automated using maven build:

mvn clean install -P local-install-into-polarion

For automated installation with maven env variable POLARION_HOME should be defined and point to folder where Polarion is installed.

Changes only take effect after restart of Polarion.

REST API

This extension provides REST API. OpenAPI Specification can be obtained here.