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

WIP - Add MergeResponseInspector functionality to Java API #7196

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 20, 2023

  1. Add MergeResponseInspector functionality to Java API

    Provides a simple API to collect information that is necessary for content-aware merges.
    
    The base for that information is already available via the `Conflict`s returned in a `MergeResponse`. The approach is based on information from the merge-request and merge-response. It collects the conflicting contents from the _merge-base_ using a Nessie-API "get-contents" call and then uses Nessie's diff-operations to identify and filter the conflicting contents from the diffs of _merge-base_-to-_merge-source_ and _merge-base_-to-_merge-target_. The content information is aggregated ("grouped" by content-ID) and returned as a Java `Stream` via the introduced API.
    
    This change does not implement any content-aware merge operation.
    
    This is a pure Nessie-Java-API/client change, no REST API change.
    snazy committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    45c109c View commit details
    Browse the repository at this point in the history