How do I configure a Git repository which contains a Polyspace project?
Show older comments
I am running Polyspace R2022a inside a Git repository, such that both the Polyspace project and the code under analysis are contained in the repository.
I want to configure the Git repository such that all users, even those with fresh clones of the repository, can do the following:
1) Run Polyspace over the source code with identical configuration and including justifications added by other team members.
2) Add new justifications and have them merge into Git along with the source code.
One obvious approach is to take all files generated by Polyspace and check them into Git. This technically satisfies the above requirements, but is highly inconvenient: running Polyspace causes large changes to the Git repository, which clutters any code changes and causes frequent merge conflicts.
How do I configure the Git repository such that points (1) and (2) are satisfied, while checking as few files as possible into Git?
Accepted Answer
More Answers (0)
Categories
Find more on Polyspace Code Prover in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!