Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more detailed version info to --version #707

Merged
merged 3 commits into from
Oct 26, 2021

Conversation

bobismijnnaam
Copy link
Contributor

@bobismijnnaam bobismijnnaam commented Oct 25, 2021

This PR adds versions of VerCors' components (silver, silicon, carbon, or viper if they are all equal, z3, boogie) to the --version prompt. It also refactors the date and time printed to be in system local timezone instead of UTC.

An example run of --version now looks as follows:

Vercors 1.4.0-SNAPSHOT
Built at 2021-10-25T14:57:32.381
On branch dev, commit 247dc8462, with changes
Versions:
- viper: v.21.07-release
- z3: Z3 version 4.8.6 - 64 bit
- boogie: Boogie program verifier version 1.0.0.0, Copyright (c) 2003-2014, Microsoft.

For vercors we get the version from build.sbt. For the viper components the tag parts of the git urls are used. For z3 & boogie they are run with --version and the resulting line that is output, is printed by vercors.

…o refactor date and time printed to be in system local timezone instead of UTC.
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 25, 2021 13:06 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 25, 2021 14:56 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 25, 2021 14:56 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 25, 2021 15:16 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 25, 2021 15:17 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 26, 2021 08:17 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 26, 2021 08:17 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 26, 2021 08:37 Inactive
@bobismijnnaam bobismijnnaam temporarily deployed to Default October 26, 2021 08:37 Inactive
@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

4.5% 4.5% Coverage
0.0% 0.0% Duplication

@bobismijnnaam bobismijnnaam merged commit 64f70f4 into dev Oct 26, 2021
@bobismijnnaam bobismijnnaam deleted the refactor-versions-flag branch October 26, 2021 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants