Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.3-milestone-2
    • Component/s: {Unused} Git
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now there's only a Script Service. We also need a Java API so that other components can access it.

      New API:

          /**
           * Find all authors who have ever committed code in the passed repositories.
           *
           * @param repositories the list of repositories in which to look for authors
           * @return the list of authors who have ever contributed code in the passed repository
           */
          Set<PersonIdent> findAuthors(List<Repository> repositories);
      
          /**
           * Count commits done by all authors in the passed repositories and since the passed date.
           *
           * @param since the date from which to start counting. If null then counts from the beginning
           * @param repositories the list of repositories in which to look for commits
           * @return the author commit activity
           */
          UserCommitActivity[] countAuthorCommits(Date since, List<Repository> repositories);
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Vincent Massol
            Reporter:
            Vincent Massol
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: