-
Notifications
You must be signed in to change notification settings - Fork 123
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
Refresh production pipelines for Rev 5 update #134
Comments
Subject to dependency on FISMA Implementation Team's delivery schedule and release timelines. @wendellpiez will review, post the URL to the Gitlab repo, and mark the relevant goals as completed before close. |
Currently in a WIP branch I have some updates to the generic HTML and PDF production pipelines, made in connection with updates for the official (internal) production. Of the two objectives of this Issue, this is the first, whereas the second is to capture any potential follow-on Issues such as publishing other code we have developed. This would be addressed however by a PR into the https://github.com/usnistgov/oscal-xslt repository not this repository. @aj-stein-nist should this Issue be moved there? (Interesting it is here instead of oscal-tools, where it might have been lost.) |
For Sprint 65, @wendellpiez is the driver for this issue. |
@wendellpiez needs to re-review A.J.'s translated checklist items for the tactical work in the PDF production. He also needs to sync with A.J. to discuss finer points around the oscal-xslt submodule work. |
@wendellpiez thanks for syncing up today. While you update the issue description and the AC checklist, I am going to look at the current version here: |
Perfect. WIP branch is here: https://github.com/wendellpiez/oscal-xslt/tree/catalog-view-updates-March2023 Entry points for adjusted HTML and PDF:
They can be supported by a new pipeline or subbed in. Note that these both act as 'skins' around base XSLTs. One of our tasks is to determine how much of this customization goes into the released 'emulator' XSLTs since as you will see in some ways it's a downgrade (for reasons a little painful to explain). |
OK making good progress on the recreating the setup for this work and testing out changes, now to start working down the issues on the list and asking Wendell as I encounter issues. More updates to follow. |
@wendellpiez I'll push up a commit but as for the second half of the first item in, removing "Control Enhancements: none" from Withdrawn controls and CEs (control enhancements) - although a Withdrawn control still shows its CEs (which should also be withdrawn)" I cannot find an example using the current data and just touching up the related links, has this second of the requirement already been handled? |
When I looked I was (and remain) hopeful that indeed more than one line item (requirement) would boil down into simple conditional logic. Maybe reviewing that outside the XSLT:
(Off the top of my head so let's review against the sheet.) I also think all this could be done exclusive in the FO layer, not affecting the HTML, where arguably these "extra headers" are useful not spurious. But we can look at all of it, including lining up fresh output against the request for changes, line by line. |
That totally makes sense, thanks @wendellpiez. I was saying for item one, I cannot find a current example where control enhancements: none in the HTML as I transform and edit, has this already been taken care of? Additionally, I looked at all the SP references (or at least the first hundred or so) of 568 against the current 800-53 Revision 5 catalog, and they always seem to be in the correct order requested (SP 800-12, 800-18, 800-37, 800-137, 80011) and seems this was already done. That is why I am asking. We can also just discuss it during our next pairing session later today. |
Indeed. All these are things that can and should be traced back. 🚀 Actually I think what you might see (if you look very closely wearing the right glasses) that there are elements in the HTML that the CSS is dropping ... this could be one. We'll walk through it and look at all the layers on each step. |
🤦 and now looking at the PDF I see I didn't quite realize I was being dumb in not debugging one step after the other in both cases, woops! |
Yeah, I should have though of to mention - at this stage it is often easiest to start at the end and work backward. But we get to the same place all good. 🌞 |
I met with Wendell and need to revert some initial changes to his current Rev 5.2 branch in wendellpiez/oscal-xslt#1 in my WIP PR. I learned more about the design and implementation approach: leaving data and presentation layer in HTML, removing elements in the FO PDF step. Since I went the opposite way, I will have to start over in the FO transform instead. We made good progress, so I think the current checked off items are still relatively current. Per agreement with Wendell as the driver, I will merge code into his branch, then we put a PR back to the oscal-xslt repo and the oscal-content once that is under wrap. We will meet with the FISMA Team later this week and hopefully we can show that off and get good feedback. This task still looks very much on schedule. |
As discussed during standup, A.J. needs to make time to pair with Wendell on Thursday afternoon or Friday morning. It is likely this will not resolve by end of sprint, it is unclear it will be complete before Sprint 66 starts on Monday. TBD |
I had some setbacks on this issue and I did not complete this work as intended with Wendell as the driver, I wanted to do the work. I will discuss with him if we can or should move this to next sprint. I very much want to, as only a little of the work remains and with pairing it should take a few hours. |
@aj-stein-nist nice demo on this! Next up -
I believe we can close this Issue as soon as we have a PR ready with the changes we want. What I am proposing is that the changes may include improvements to the XSLTs, but they should not include the specialized logic for this delivery only. Our next job is to see the difference. The XSLTs are not huge so we could probably do this in an hour or two of pairing. Let me know what you think -- this is going to be nice -- |
This is a duplicate of usnistgov/oscal-xslt#3. Thanks to Wendell for the note, be sure to close both of the issues together when this work is done (transferring or merging will cause messiness). |
@wendellpiez I know the issue is under review but I updated the checklist accordingly. We still have some final items for close out, but I know those come after review of wendellpiez/oscal-xslt#1 and merging into unstgov/oscal-xslt, stakeholder review, and some discussion on success conditions for "Published XSLTs run without error over arbitrary (valid) OSCAL catalogs" and how I (probably) should document how you use this work once we merge it into usnistgov/oscal-xslt. For now, I mark as under review until you have time to review that PR tomorrow morning. 👋 |
Two branches contain work to be merged:
|
@wendellpiez I think we have a small amount of work to forward along documentation (shell or Oxygen) on how to operate the transforms as I had recommended, but other than that we are done, correct? I will move this forward to Sprint 67, but presume we ought to close this out quickly with a developer README, unless there is something else I missed from conversation on Friday. Let us know. |
To ensure understanding of the work let's make sure someone other than A.J. reviews this PR before close: |
I guess we will circle back on this during review, but is this complete given approvals of the related PR, @wendellpiez? |
usnistgov/oscal-xslt#4 has been merged. Ok to close? @wendellpiez |
User Story:
As an OSCAL user, I would like access to the best available OSCAL rendering tools, including XSLTs that produce HTML and (Accessible) PDF, with production values comparable to an official publication (albeit not identical look/feel).
Various production pipelines for OSCAL and specifically SP800-53 are being refreshed and updated for the upcoming Rev 5 errata release. Pipelines supporting FISMA production are maintained in internal repositories, but they call code in this repository (
xslt/publish
subdirectory) that can benefit from the updates.Updated versions would also be more cleanly factored and documented for maintenance and reuse.
Additionally, some of the logic available there (generating spin-offs such as Appendix tables, etc.) might be migrated into this repository.
Dependencies:
Follows on to ongoing work on the pipelines (in NIST repositories)
Requirements
Tracking here the details of requirements for 'finishing'.
itemized
transcribed (keep aligned with internal comms)
|
wendellpiez/oscal-xslt@89b8b49implicit
Acceptance Criteria
The CI-CD build process runs without any reported errors on the PR - This can be confirmed by reviewing that all checks have passed in the PRThe text was updated successfully, but these errors were encountered: