cuplv / biggroum

Top-level project for the graph extraction
Apache License 2.0
8 stars 2 forks source link

Fix source code packaging in the musedev api #61

Closed smover closed 4 years ago

smover commented 4 years ago

The muse api is supposed to create an archive of the source code corresponding to the graphs built from the class files.

Now, the muse api puts in the archive the content of a "source" folder that should exist in the same place the graphs have been extracted: this logic is wrong, since such source folder is not created from the graph extractor.

The muse api must construct the archive of source code files to send to the search service differently.

smover commented 4 years ago

The sources folder is created here: https://github.com/cuplv/biggroum/blob/b9e43d13986736f9406caef5c63b01a8f62aee8c/python/fixrgraph/musedev/api.py#L167

It copies the source code from the residue --- so it's correct. Closing the issue.