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

crit: add --version option #2164

Merged
merged 3 commits into from
Sep 22, 2023
Merged

Conversation

rst0git
Copy link
Member

@rst0git rst0git commented Apr 25, 2023

This pull request implements --version for crit.

$ crit --version
3.17

@avagin
Copy link
Member

avagin commented Jun 11, 2023

Is it still a draft?

@avagin avagin force-pushed the criu-dev branch 2 times, most recently from f392ea1 to 4d137b8 Compare June 12, 2023 06:33
@rst0git rst0git force-pushed the crit-version branch 2 times, most recently from 59de26d to 04611de Compare June 18, 2023 18:00
@codecov-commenter
Copy link

codecov-commenter commented Jun 18, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.09% 🎉

Comparison is base (03541c0) 70.59% compared to head (6e45f12) 70.68%.

❗ Current head 6e45f12 differs from pull request most recent head 434b18e. Consider uploading reports for the commit 434b18e to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           criu-dev    #2164      +/-   ##
============================================
+ Coverage     70.59%   70.68%   +0.09%     
============================================
  Files           133      133              
  Lines         33324    33328       +4     
============================================
+ Hits          23525    23559      +34     
+ Misses         9799     9769      -30     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rst0git
Copy link
Member Author

rst0git commented Jun 24, 2023

I've rebased this pull request on top of #2210 because it includes a patch with the build dependencies for CRIT.

The version of CRIU is specified in the Makefile.versions file.
This patch generates '__varion__' value for the pycriu module.
This value can be used by crit to implement `--version`.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This patch implements the '--version' for the crit tool.

$ crit --version
3.17

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@avagin avagin merged commit 150eecc into checkpoint-restore:criu-dev Sep 22, 2023
34 of 39 checks passed
@rst0git rst0git deleted the crit-version branch September 22, 2023 17:29
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.

None yet

4 participants