Open MankaranSingh opened 4 years ago
@MankaranSingh Personally I do not see the value in this currently and have a feeling it may introduce bugs both in scancode and other tools. I could be wrong about this, but there is little benefit to be gained anyway. File size issues related to this disappear when you compress the file.
@pombredanne may have a different take.
hmm, it may cause issues for people already using this in production and some other tools. Although it may cause problem while scanning very large code bases.
Short Description
The JSON outputs treats directories and files in the same manner. Due to this, each directory type in the output has unnecessary field such as
extension
,size
,sha1
,is_binary
, etc, which ultimately make the JSON file unnecessarily bigger. for example:It would be lot cleaner and efficient if we make two separate fields i.e.
files
anddirectories
so the output would look like:Possible Labels
Select Category
Describe the Update
How This Feature will help you/your organization
Possible Solution/Implementation Details
Example/Links if Any
Can you help with this Feature
Yes, i am working on a pull request for this issue.