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

metric-gardener import creates flat file hierarchy #3783

Open
nickpascucci opened this issue Oct 11, 2024 · 1 comment
Open

metric-gardener import creates flat file hierarchy #3783

nickpascucci opened this issue Oct 11, 2024 · 1 comment
Labels
bug Only issues that describe bugs.

Comments

@nickpascucci
Copy link

Bug

Running ccsh metricgardenerimport on an existing metric-gardener JSON file produces a CodeCharta file with none of the file structure preserved — all files are shown as direct children of the root node.

This prevents these files from being usable for analysis.

Steps to Reproduce the Problem

This is reproducible using the metric-gardener repo:

metric-gardener parse . -o /tmp/mg.json --relative-paths
ccsh metricgardenerimport --is-json-file /tmp/mg.json -o /tmp/mg.cc.json
ccsh modify -p 2 /tmp/mg.cc.json.gz | less

Note that no 2nd level children are printed.

Specifications

/tmp » ccsh --version                                                   
CodeCharta ccsh
version "1.127.0"
Copyright(c) 2024, MaibornWolff GmbH
@nickpascucci nickpascucci added the bug Only issues that describe bugs. label Oct 11, 2024
@ChristianHuehn
Copy link
Collaborator

Thank you for your report. MetricGardner is right now still in experimental use and we don't have anyone in the MG team right now working on it, which should change in a couple of weeks. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Only issues that describe bugs.
Projects
None yet
Development

No branches or pull requests

2 participants