scancode-server icon indicating copy to clipboard operation
scancode-server copied to clipboard

Extending the scancode API

Open singh1114 opened this issue 7 years ago • 9 comments

For now, the API of the scancode-server is pretty simple. Whenever the user opens up the app and applies the scan, he gets to the resulting phase and can see the results in the serialized form.

On the other hand, the API should be such in which we can give URL as an input and we would be able to get the results in the form of serialized output. But this is hard to implement because of the computation time associated with the scans.

For now, our API can only take scan_id as input and give the output in as JSON.

singh1114 avatar Aug 25 '17 11:08 singh1114

can i take up this issue?

chetanya-shrimali avatar Nov 03 '17 16:11 chetanya-shrimali

@singh1114 please tell!!

chetanya-shrimali avatar Nov 05 '17 18:11 chetanya-shrimali

@chetanya-shrimali The way things work is you have expressed your interest which is fine. Just go ahead and provide some PR

pombredanne avatar Nov 05 '17 18:11 pombredanne

thanks!!

chetanya-shrimali avatar Nov 05 '17 18:11 chetanya-shrimali

@chetanya-shrimali apologies for the late reply and yes, you can definitely work on this one.

singh1114 avatar Nov 07 '17 01:11 singh1114

working on it!!

chetanya-shrimali avatar Nov 08 '17 10:11 chetanya-shrimali

@singh1114 any views as to how should i proceed?

chetanya-shrimali avatar Jan 24 '18 03:01 chetanya-shrimali

@chetanya-shrimali I believe that some of the code is already implemented. What you need to do is proceed further. I think for the URL's part. Git URLs were handled. We need to check other cases as well.

singh1114 avatar Jan 31 '18 19:01 singh1114

@chetanya-shrimali https://github.com/nexB/scancode-server/pull/94. You should try to merge this one.

singh1114 avatar Jan 31 '18 19:01 singh1114