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 os-specific fragment file directories #278

Merged
merged 1 commit into from
Oct 7, 2023
Merged

Add os-specific fragment file directories #278

merged 1 commit into from
Oct 7, 2023

Conversation

unixorn
Copy link
Owner

@unixorn unixorn commented Oct 5, 2023

License Acceptance

  • This repository is Apache version 2.0 licensed (some scripts may have alternate licensing inline in their code) and by making this PR, I am contributing my changes to the repository under the terms of the Apache 2 license.

Description

Make it easy to have fragment files that are only sourced on a specific OS.

Type of changes

  • A helper script
  • A link to an external resource like a blog post or video
  • Text cleanups/updates
  • Test updates
  • Bug fix
  • New feature
  • Plugin list change

Checklist

  • I have read the CONTRIBUTING document.
  • I have updated the readme if this PR changes/updates quickstart functionality.
  • All new and existing tests pass.
  • Any scripts added use #!/usr/bin/env interpreter instead of potentially platform-specific direct paths (#!/bin/sh is an allowed exception)
  • Scripts are marked executable
  • Scripts do not have a language file extension unless they are meant to be sourced and not run standalone. No one should have to know if a script was written in bash, python, ruby or whatever. Not including file extensions makes it easier to rewrite the script in another language later without having to change every reference to the previous version.
  • I have added a credit line to README.md for the script
  • If there was no author credit in a script added in this PR, I have added one.
  • I have confirmed that the link(s) in my PR are valid.

@codeclimate
Copy link

codeclimate bot commented Oct 5, 2023

Code Climate has analyzed commit eadc2e6 and detected 0 issues on this pull request.

View more on Code Climate.

@github-actions
Copy link

github-actions bot commented Oct 5, 2023

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ COPYPASTE jscpd yes no 1.93s
⚠️ MARKDOWN markdownlint 1 3 1.26s
✅ MARKDOWN markdown-table-formatter 1 0 0.6s
⚠️ REPOSITORY checkov yes 2 19.85s
✅ REPOSITORY devskim yes no 1.95s
✅ REPOSITORY dustilock yes no 0.03s
✅ REPOSITORY gitleaks yes no 0.45s
✅ REPOSITORY git_diff yes no 0.0s
✅ REPOSITORY grype yes no 13.02s
✅ REPOSITORY kics yes no 17.57s
✅ REPOSITORY syft yes no 1.41s
✅ REPOSITORY trivy yes no 5.71s
✅ REPOSITORY trivy-sbom yes no 1.24s
✅ REPOSITORY trufflehog yes no 3.75s
✅ SPELL lychee 1 0 1.47s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Make it easier to have fragment files that are only sourced on a
specific OS.

Signed-off-by: Joe Block <[email protected]>
@unixorn unixorn merged commit be828d2 into main Oct 7, 2023
6 checks passed
@unixorn unixorn deleted the add-uname-dirs branch October 7, 2023 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant