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

Ensure lshw output is always listified #71

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

mmlb
Copy link
Contributor

@mmlb mmlb commented Apr 16, 2024

lshw changed the output of -xml between B.02.19 and B.02.20, in commit 2b1c730b493d647bbab4854713571458e82a81e7 (https://ezix.org/src/pkg/lshw/commit/2b1c730b493d647bbab4854713571458e82a81e7). This commit seems to try to fix the JSON output but in doing so sets disable("output:list") in main. This was feature/setting was being used by the code in hwNode::asXML.

It seems that options are default enabled and thus we were getting the xml data listified. When the output:list was disabled in that commit we stopped getting listified xml. I have verified that we can enable the option by passing it in the cli args as -enable output:list.

@mmlb mmlb force-pushed the ensure-lshw-list-output branch 2 times, most recently from af5f805 to 5454563 Compare April 16, 2024 15:26
lshw changed the output of -xml between B.02.19 and B.02.20, in commit
2b1c730b493d647bbab4854713571458e82a81e7
(https://ezix.org/src/pkg/lshw/commit/2b1c730b493d647bbab4854713571458e82a81e7).
This commit seems to try to fix the JSON output but in doing so sets
`disable("output:list")` in main. This was feature/setting was being
used by the code in hwNode::asXML.

It seems that options are default enabled and thus we were getting the
xml data listified. When the output:list was disabled in that commit we
stopped getting listified xml. I have verified that we can enable the
option by passing it in the cli args as `-enable output:list`.

Signed-off-by: Manuel Mendez <[email protected]>
@mmlb mmlb force-pushed the ensure-lshw-list-output branch from 5454563 to 751d4e6 Compare April 16, 2024 15:26
@ofaurax ofaurax merged commit 92486ce into packethost:master Apr 16, 2024
9 checks passed
@mmlb mmlb deleted the ensure-lshw-list-output branch April 16, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants