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

Modify url fetcher to remove --symref flag in git ls-remote command #7042

Merged
merged 3 commits into from
May 21, 2024

Conversation

ahasunos
Copy link
Contributor

Description

This PR addresses a compatibility issue encountered on Ubuntu 16 and RHEL 7 when using the git ls-remote command with the --symref flag during the inspec-5 adhoc build.

This change removes the --symref flag and directly specifies the HEAD reference, which is compatible with Ubuntu 16 and RHEL 7 environments along with other system environments, check build here.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New content (non-breaking change)
  • Breaking change (a content change which would break existing functionality or processes)

Checklist:

  • I have read the CONTRIBUTING document.

it is causing issue on ubuntu16 and rhel6

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
@ahasunos ahasunos requested a review from a team as a code owner May 17, 2024 09:31
@ahasunos ahasunos requested review from Vasu1105 and Nik08 and removed request for a team May 17, 2024 09:31
@ahasunos
Copy link
Contributor Author

Adhoc build for this PR is here

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
@ahasunos
Copy link
Contributor Author

Adhoc build 49

@ahasunos ahasunos merged commit 2326219 into inspec-5 May 21, 2024
10 of 11 checks passed
@ahasunos ahasunos deleted the ss/modify-url-fetcher-remove-symref-flag branch May 21, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants