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

Machine parseable format does not include informative text #821

Open
vanderaj opened this issue Jul 13, 2020 · 8 comments
Open

Machine parseable format does not include informative text #821

vanderaj opened this issue Jul 13, 2020 · 8 comments
Assignees
Labels
Community wanted We would like feedback from the community to guide our decision otherwise we will progress enhancement MAKEFILE _5.0 - Not blocker This issue does not block 5.0 so if it gets addressed then great, if not then fine.
Milestone

Comments

@vanderaj
Copy link
Member

The informative (not normative) descriptions are missing from the electronic formats (csv, json, etc). This omits the context for the next set of controls.

E.g. Section 1.2 has a description of the set of controls, but this is not included in the CSV, JSON output.

@jmanico
Copy link
Member

jmanico commented Oct 15, 2021

We want the CSV to stay strictly machine-readable requirements and do not want to add section metadata.

But we will add it to the JSON!

@tghosth
Copy link
Collaborator

tghosth commented Jun 22, 2022

This would be a big change and require a significant re-work of the output scripts. As long as it is in the document style outputs, I am not sure I want the time investment required to get this into the XML, JSON and CSV formats.

@jmanico @vanderaj any major objections?

(Separately, I also think these descriptions should be cut down anyway.)

@tghosth tghosth added the _5.0 - Not blocker This issue does not block 5.0 so if it gets addressed then great, if not then fine. label Jun 22, 2022
@vanderaj
Copy link
Member Author

I'm learning Go. I'd like to use Go to have a shot at this for 5.0. I know Go can output the formats above, but consuming markdown tables is gonna be interesting. Give me like a month, and I'll let you know how I go. Go would not need anything other than standard libraries here, so it will likely be extremely portable to multiple platforms.

@vanderaj
Copy link
Member Author

And yes, less text is good text.

@vanderaj vanderaj self-assigned this Jun 22, 2022
@vanderaj
Copy link
Member Author

If @ike can have a shot at the scripts though, that would be good.

@tghosth
Copy link
Collaborator

tghosth commented Jun 22, 2022

I mean the existing scripts are written in python so Go would be a bit of a departure, the nice thing about python is that it is also pretty portable and to be honest given that this all happens in a docker container, I am not sure portability even matters that much...

If you want to test out your go, what would be really cool would be verification scripts to check various formatting but also warn when numbers of requirements change or something else changes. It would help a lot when validating translations :)

@vanderaj
Copy link
Member Author

Nice. I will have a shot at that. Might need a new ticket.

@tghosth
Copy link
Collaborator

tghosth commented Jun 22, 2022

#1300 and #1301 have been created.

In the meantime, if there are any python ninjas interested in getting the asvs.py export script to also parse the text between requirements, that would be cool :)

@tghosth tghosth added Community wanted We would like feedback from the community to guide our decision otherwise we will progress and removed help wanted _5.0 - Not blocker This issue does not block 5.0 so if it gets addressed then great, if not then fine. labels Dec 7, 2022
@tghosth tghosth added the _5.0 - Not blocker This issue does not block 5.0 so if it gets addressed then great, if not then fine. label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community wanted We would like feedback from the community to guide our decision otherwise we will progress enhancement MAKEFILE _5.0 - Not blocker This issue does not block 5.0 so if it gets addressed then great, if not then fine.
Projects
None yet
Development

No branches or pull requests

5 participants