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

repo_resolver: add git version Check #486

Merged
merged 4 commits into from
Apr 3, 2023

Conversation

Javagedes
Copy link
Contributor

@Javagedes Javagedes commented Mar 31, 2023

Previously, the git version only mattered to edk2_setup, so the check was appropriate there. Now that the git version matters to much of the build system due to it's use of the -z flag when reading git worktrees, the check needed to be moved to a more appropriate place. This commit moves it from edk2_setup to repo_resolver.py:get_details()

New Error Message:
image

@codecov
Copy link

codecov bot commented Mar 31, 2023

Codecov Report

Merging #486 (e35cb6a) into master (7d9add4) will increase coverage by 0.00%.
The diff coverage is 70.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #486   +/-   ##
=======================================
  Coverage   79.38%   79.39%           
=======================================
  Files          45       45           
  Lines        4541     4543    +2     
=======================================
+ Hits         3605     3607    +2     
  Misses        936      936           
Impacted Files Coverage Δ
edk2toolext/environment/repo_resolver.py 90.86% <66.66%> (-1.06%) ⬇️
edk2toolext/invocables/edk2_setup.py 92.55% <100.00%> (+2.65%) ⬆️

@Javagedes Javagedes added this to the 0.22.3 milestone Mar 31, 2023
@Javagedes Javagedes self-assigned this Mar 31, 2023
@Javagedes Javagedes merged commit c76e21e into tianocore:master Apr 3, 2023
Javagedes added a commit to Javagedes/edk2-pytool-extensions that referenced this pull request Apr 14, 2023
Previously, the git version only mattered to edk2_setup, so the check was appropriate there. Now that the git version matters to much of the build system due to it's use of the -z flag when reading git worktrees, the check needed to be moved to a more appropriate place. This commit moves it from edk2_setup to repo_resolver.py:get_details()
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.

3 participants