Samsung / Universum

Universum project is a Python solution that simplifies SW project verification by integrating existing CI systems and provides additional functionality for CI.
BSD 2-Clause "Simplified" License
17 stars 14 forks source link

Calculate the difference for Code report (Static Analysis) #138

Open k-dovgan opened 5 years ago

k-dovgan commented 5 years ago

Originally created on Wed, 24 Jan 2018 21:57:02 +0900

Calculate the difference between shelf and last commit and report only related to the current shelved files issues.

k-dovgan commented 5 years ago

Originally posted by an.shevchuk on Wed, 4 Jul 2018 12:48:55 +0300

During research, I found three (the last one is questionable) ways to make diff:

  1. Full diff: make static analysis for sync repo and with shelve (disadvantage: too long for precommit)
  2. Artifacts: get last found issues from artifacts (disadvantages: is not implementable for local builds, needs linking to another build (e.g. last submit verification))
  3. Svace server: get issues from Svace server via API

In the Issues there are some mentionings about API