Incorrect metadata generated due to inconsistent folder structure
I'm submitting a ... (check one with "x")
- [x] bug report
- [ ] feature request
Description:
Metadata is not generated correctly because of inconsistent folder structure and the code is not able to handle that situation.
Expected Behavior:
Correct metadata should be generated, if possible, irrespective of the folder structure. There may be a strict folder structure for the cosmos project.
Actual Behavior:
Folder structure --
cosmos/code/ operating_system/src
|-- scheduling
| |-- round_robin_scheduling
| | round_robin_scheduling.cpp
| | round_robin_scheduling.java
| |-- round_robin_c
| | README.md
| | queue.h
| | queue.c
| | round_robin.c
Metadata generated: "operating_system/src/scheduling/round_robin_scheduling/round_robin_c": ["README.md", "queue.h", "round_robin.c", "queue.c"]
Steps to Reproduce:
See the metadata.json file
Would you like to work on this issue?
- [ ] Yes
- [ ] No
@Pl4gue I have changed the metadata.json file. What should I do next?
Hey @Pl4gue this issue has been solved by me and my teammate. What can we do now @AdiChat ? Should we create a pull request?
Restructuring the metadata.json isn't a proper solution for this as we are generating the metadata regularly. The problem stated by the author is the folder structure. But you may submit a PR anyway :)
Thanks @Pl4gue, We are thinking of solving the problem of folder structure and then submitting a PR.