Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.2-milestone-2
    • Component/s: Blame
    • Labels:
      None
    • Tests:
      Unit
    • Similar issues:

      Description

      Add a new role (BlameManager) into a new module (xwiki-commons-blame) that provides the following method:

          /**
           * Annotate content with current revision based on a diff with a previous revision.
           *
           * @param <R> type of the revision object that old metadata about the revision.
           * @param <E> type of the element to annotate (ie: String holding a line).
           * @param content the annotated content (up to the revision preceding the one given), use null to start a new
           *                blame.
           * @param revision the revision metadata to associate with the given revision.
           * @param previous the content of the previous revision to diff against the currently annotated content, use the
           *                 latest revision to start a new blame.
           * @return the updated annotated content.
           */
          <R, E> AnnotatedContent<R, E> blame(AnnotatedContent<R, E> content, R revision, List<E> previous);
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Denis Gervalle
              Reporter:
              Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: