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

Contribute scraper script for compiler options hardening guide… #549

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mayank-ramnani
Copy link
Contributor

… to convert options to machine readable format

Adds python script to scrape recommended compiler options from the OpenSSF Compiler Options Hardening Guide HTML page. Scrapes the webpage and stores the options in JSON format in compiler-options.json file in the execution directory.

Relevant discussion in #490

@mayank-ramnani mayank-ramnani changed the title Contribute python scraper script for compiler options hardening guide… Contribute scraper script for compiler options hardening guide… Jun 27, 2024
@gkunz
Copy link
Contributor

gkunz commented Jun 27, 2024

Thank you, @mayank-ramnani, for the contribution. How about placing this in a separate sub-directory with a bit of documentation of its own, in particular a list of required dependencies (or a project file)?

@mayank-ramnani
Copy link
Contributor Author

Thank you, @mayank-ramnani, for the contribution. How about placing this in a separate sub-directory with a bit of documentation of its own, in particular a list of required dependencies (or a project file)?

That's a good idea, thank you.
I'll make this change soon to mention the dependencies and put the script in a sub-directory.

@mayank-ramnani mayank-ramnani force-pushed the contribute-scraper-for-compiler-options-hardening-guide branch 2 times, most recently from 9adf929 to 58aa1c5 Compare July 1, 2024 05:06
… to convert options to machine readable format

Signed-off-by: mayank-ramnani <[email protected]>
@mayank-ramnani mayank-ramnani force-pushed the contribute-scraper-for-compiler-options-hardening-guide branch from 58aa1c5 to 41cbb96 Compare July 1, 2024 05:10
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.

None yet

3 participants