-
Notifications
You must be signed in to change notification settings - Fork 183
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
Convert File Type for Files or Remote Hyperlinks in Continuous Deployment #1010
Convert File Type for Files or Remote Hyperlinks in Continuous Deployment #1010
Conversation
…dramp-issue-129-auto-convert-file-paths
@david-waltermire-nist, will you be expecting tests for this script? If so, I can work on adding them. |
Additionally, is there a way to exempt certain URL patterns with this config and tool? It is looking at the Github Actions YAML and finding issues with templated URLs as it does not bind the variable declarations. |
@david-waltermire-nist were you able to get a chance to review this work? Do you have any immediate feedback, or do I need to meet with you and your team to more formally review? Thanks! |
Sorry, @david-waltermire-nist, I was unable to make time to update function comments and make some required fixes after feedback earlier this week. I will take care of this when I return. Thanks! |
…issue-129-auto-convert-file-paths
…-129-auto-convert-file-paths
1c3836f
to
d0c15f9
Compare
@david-waltermire-nist sorry for the delays. I have commented functions; it should be ready for review. |
…edramp-issue-129-auto-convert-file-paths
18d5892
into
usnistgov:feature-oscal-content-59-convert-file-paths
…ment (#1070) * Convert File Type for Files or Remote Hyperlinks in Continuous Deployment (#1010) * First attempt at Python script to clean up extensions. * Add Python deps manifest. * Update Dockerfile with Python dependencies. * Remove additive dot before file ext and try out adding to CI harness. * Add first attempt of Python converter. * updated the tools table * Rename handler function accordingly, so docs make sense. * Fix bug with hard-coded conversion for JSON processing. * Add some more function documentation. * Complete update of function docstrings. * A little more function documentation. * Final function signature touch-ups. Co-authored-by: Michaela Iorga <[email protected]> Co-authored-by: David Waltermire <[email protected]> * fix python calls to use correct python version and script Co-authored-by: Alexander Stein (Inactive) <[email protected]> Co-authored-by: Michaela Iorga <[email protected]>
…ment (usnistgov#1070) * Convert File Type for Files or Remote Hyperlinks in Continuous Deployment (usnistgov#1010) * First attempt at Python script to clean up extensions. * Add Python deps manifest. * Update Dockerfile with Python dependencies. * Remove additive dot before file ext and try out adding to CI harness. * Add first attempt of Python converter. * updated the tools table * Rename handler function accordingly, so docs make sense. * Fix bug with hard-coded conversion for JSON processing. * Add some more function documentation. * Complete update of function docstrings. * A little more function documentation. * Final function signature touch-ups. Co-authored-by: Michaela Iorga <[email protected]> Co-authored-by: David Waltermire <[email protected]> * fix python calls to use correct python version and script Co-authored-by: Alexander Stein (Inactive) <[email protected]> Co-authored-by: Michaela Iorga <[email protected]>
…ment (usnistgov#1070) * Convert File Type for Files or Remote Hyperlinks in Continuous Deployment (usnistgov#1010) * First attempt at Python script to clean up extensions. * Add Python deps manifest. * Update Dockerfile with Python dependencies. * Remove additive dot before file ext and try out adding to CI harness. * Add first attempt of Python converter. * updated the tools table * Rename handler function accordingly, so docs make sense. * Fix bug with hard-coded conversion for JSON processing. * Add some more function documentation. * Complete update of function docstrings. * A little more function documentation. * Final function signature touch-ups. Co-authored-by: Michaela Iorga <[email protected]> Co-authored-by: David Waltermire <[email protected]> * fix python calls to use correct python version and script Co-authored-by: Alexander Stein (Inactive) <[email protected]> Co-authored-by: Michaela Iorga <[email protected]>
Committer Notes
This PR, as part of enhancements to the current CD pipeline will fix relevant missed conversions between XML and JSON and YAML filetypes, and their respective MIME types, in place of
perl
andsed
issues. This will fix usnistgov/oscal-content/#59 and GSA/fedramp-automation#129 on an ongoing basis.All Submissions:
Changes to Core Features:
Have you written new tests for your core changes, as applicable?Have you included examples of how to use your new feature(s)?Have you updated all OSCAL website and readme documentation affected by the changes you made? Changes to the OSCAL website can be made in the docs/content directory of your branch.