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

Incorrect metadata generated due to inconsistent folder structure #54

Open
1 of 4 tasks
ankan17 opened this issue Feb 16, 2018 · 4 comments
Open
1 of 4 tasks

Incorrect metadata generated due to inconsistent folder structure #54

ankan17 opened this issue Feb 16, 2018 · 4 comments
Labels

Comments

@ankan17
Copy link
Contributor

ankan17 commented Feb 16, 2018

I'm submitting a ... (check one with "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
@flxwu flxwu changed the title Incorrect metadata genrated due to inconsistent folder structure Incorrect metadata generated due to inconsistent folder structure Feb 20, 2018
@flxwu flxwu added the bug label Feb 20, 2018
@AneriMehta
Copy link

AneriMehta commented Feb 26, 2018

@Pl4gue I have changed the metadata.json file. What should I do next?

@smehta2205
Copy link

Hey @Pl4gue this issue has been solved by me and my teammate.
What can we do now @AdiChat ?
Should we create a pull request?

@flxwu
Copy link
Member

flxwu commented Feb 28, 2018

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 :)

@AneriMehta
Copy link

AneriMehta commented Feb 28, 2018

Thanks @Pl4gue, We are thinking of solving the problem of folder structure and then submitting a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants