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 #7043

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:34
Copy link

netlify bot commented May 17, 2024

Deploy Preview for chef-inspec ready!

Name Link
🔨 Latest commit 9b87c01
🔍 Latest deploy log https://app.netlify.com/sites/chef-inspec/deploys/664b4d731ea50c0008a36413
😎 Deploy Preview https://deploy-preview-7043--chef-inspec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@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

@ahasunos ahasunos merged commit c8f020c into main May 21, 2024
11 of 12 checks passed
@ahasunos ahasunos deleted the ss/modify-url-fetcher-remove-symref-flag-on-main branch May 21, 2024 07:23
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