merging {{ report.source_package }} in {{ report.target }}: {{ report.result }}

{% if report.result == "CONFLICTS" %}

This package could not be merged: an automated 3-way merge detected conflicts (different changes made to the same file). Please carry out a manual merge and commit the result.

{% if report.conflicts %}

Files with conflicts:

{% endif %} {# conflicts #} {% elif report.result == "FAILED" %}

This package could not be merged: {%- if report.message %} {{ report.message }}. {% else %} no reason was specified. {% endif %} Please carry out a manual merge and commit the result.

{% elif report.result == "MERGED" %}

This package was merged automatically and it seems to have worked. Please check that the result makes sense.

You should compare the patches between package versions and ensure that there are no unexpected changes. You should also sanity-check the resulting source package.

{% elif report.result == "NO_BASE" %}

None of the packages' common ancestors could be found in the package pool. This package cannot be merged until you import one.

{% elif report.result == "SYNC_THEIRS" %}

The version in the source distribution supersedes our version. Please check that it's OK to update to the newer version.

{% elif report.result == "KEEP_OURS" %}

Our version is up-to-date.

{% else %}

Unknown merge result! Please report this as a merge-our-misc bug.

{% endif %} {# report.result #} {% if report.merge_failure_tarball %}

You can download a tarball containing the result of the failed merge.

{% endif %} {% if report.result != "KEEP_OURS" %}

Once you have a source package you are happy to upload, you should make sure you include the orig.tar.gz if appropriate, and information about all the versions included in the merge.

{% endif %} {% if report.genchanges %}

Pass these arguments to dpkg-genchanges, dpkg-buildpackage or debuild:

{{ report.genchanges }}
{% endif %}

Merge details

Our version in {% if report.obs_project %} {{ report.obs_project }} {% else %} {{ report.left_distro }}:{{ report.left_suite }}:{{ report.left_component }} {% endif %}
{{ report.left_version }} {% if report.left_patch %}
(patch from base version to our version) {% endif %} {% if report.proposed_patch %}
(patch from our version to the proposed version) {% endif %}
Newest common ancestor
{% if report.base_version %} {{ report.base_version }} {% else %} none {% endif %}
Their version in {{ report.right_distro }}:{{ report.right_suite }}:{{ report.right_component }}
{{ report.right_version }} {% if report.right_patch %}
(patch from base version to their version) {% endif %} {% if report.merged_patch %}
(patch from their version to the proposed version) {% endif %}
Committed to OBS
{% if report.obs_request_url %}
submit request
{% elif report.committed %}
{{ report.committed_to }}/{{ report.obs_package }}
{% elif report.commit_detail %}
A commit to OBS was attempted, but it appears to have failed: {{ report.commit_detail }} The merge-our-misc log file might have more details.
{% else %}
Not committed to OBS.
{% endif %} {% if report.merged_files %}
Proposed source package
    {% for x in report.merged_files %}
  • {{ x }}
  • {% endfor %}
{% endif %} {% if report.merge_failure_tarball %}
Failed merge tarball
{{ report.merge_failure_tarball }}
{% endif %}
Full merge report in JSON format
REPORT.json
{% if report.bases_not_found %}

Finding a common ancestor

{% if report.result == "NO_BASE" %}

The most recent common ancestor was {{ report.bases_not_found[0] }}.

{% else %} {# !NO_BASE #}

The packages' most recent common ancestor {{ report.bases_not_found[0] }} could not be found. This merge was based on an older common ancestor, but you might get a better-quality automatic merge if you import this version into the package pool.

{% endif %} {# !NO_BASE #}

If that version was in Debian or Ubuntu, you might be able to get it from snapshot.debian.org or Launchpad.

See the "bases_not_found" list in the detailed JSON report for some older versions that might also work.

Download the source package with dget(1) or similar, and put it in {{ report.right_pool_dir }} before the next merge-our-misc run.

{% endif %} {# bases_not_found #} {% if left_changelog_text %}

Our changelog

{% if report.result == "NO_BASE" %}

Our latest changelog entry:

{% else %}

Our changelog entries since most recent common ancestor:

{% endif %}
{{ left_changelog_text }}
{% endif %} {% if right_changelog_text %}

Their changelog

{% if report.result == "NO_BASE" %}

Their latest changelog entry:

{% else %}

Their changelog entries since most recent common ancestor:

{% endif %}
{{ right_changelog_text }}
{% endif %} {# actually HTML + jinja2, but django is close enough... vim: set sw=2 sts=2 et ft=htmldjango: #}