Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-702

Ensure that project git history is preserved in "Git Contributors" dataset when importing projects in library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Library
    • NEW
    • NEW

      This is based on PR review comment of the new Library feature "Project metrics dashboard".

      Issue: when I import project(s) via Library perspective, the whole project history is conflated to just one commit - this can be seen at 2 places in the workbench: 1) Authoring > Contributors 2) Library - new Project metrics dashboard.

      Compare the result of the following 2 scenarios:
      (1) "OK" scenario
      1) Go to Authoring > Aministration
      2) (create org unit and inside it) import repo directly from URL: https://github.com/kiegroup/kie-wb-playground
      3) Go to Authoring > Contributors

      RESULT: You will see history of all commits done in the repository (at the time of this writing there's 25 commits which correspons to # of commits on github. The same can be observed when the repo is cloned from github.

      (2) "Problematic" scenario
      1) With clean workbench installation go to library
      2) import all projects from https://github.com/kiegroup/kie-wb-playground (via custom url or by importing all projects using button "evaluation", "mortgages" etc)
      3) Go to Authoring > Contributors

      RESULT: You'll see 8 commits (1 per each project + 2 more commits for some readme and json files)

      THE Problem I see with this: after importing the project the "history of commits" done in that project is "lost" - this will be especially noticeable in the new "Project metrics dashboard" that will be displayed for each project in the library.

            jhrcek Jan Hrcek (Inactive)
            jhrcek Jan Hrcek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: