-
Notifications
You must be signed in to change notification settings - Fork 65
Add support of scancode_cli to CoLic Backend #29
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
Conversation
cc70d2e
to
62dd886
Compare
Thank you for addressing the comments @inishchith |
@valeriocos I've updated the PR. Thanks |
Sorry for the late reply @inishchith . |
@valeriocos This came to my mind as I referred your implementation here and thought if we were planning to do so, now i understand that it was for a quick test. |
perfect, thanks! That branch was a quick test, PR #28 should be better :) |
@valeriocos I've made the changes. Please do have a look |
Great @inishchith , thank you for the updates. Please ping when the tests are ready! :) |
@valeriocos I had a thought before starting work on tests. We are required to accommodate configuring
above checkout commit and Edit: I think we have to use a clone instead of a release as the latest release of Please let me know what you think :) |
@valeriocos I'm not sure why there's no Edit: It took some more time to start 🙈 |
4edb2a4
to
ee1f6a4
Compare
@valeriocos Please review when you get time
|
517c0fa
to
df1d195
Compare
I'm on it @inishchith :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late review @inishchith . I left some comments, but overall the PR looks good, though some extra work is needed:
- Probably the readme should include some details to use scancode and scancli (for instance the steps defined in the travis.yml could be really useful). If you agree, the new changes could go to a new commit.
- The first and third commit could be merged together and the description improved. For instance, the new description could include an example of how to run scancode cli. The description of the second commit (the one about travis) could also be improved, for instance some details could be included to explain why we use the clone instead of a release.
What do you think ?
@valeriocos Thanks |
Great! Thank you @inishchith to check the comments |
@valeriocos I've worked on the requested changes.
Please let me know if I've missed something Thanks |
@valeriocos Please do have a look when you get time :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @inishchith , it looks great, there is just a minor comment to address, and then we can merge it.
…olic backend A faster version of scancode is now added to colic backend scancode_cli usage: colic https://github.com/chaoss/grimoirelab-toolkit --git-path /tmp/scancode_cli --exec-path /home/scancode-toolkit/etc/scripts/scancli.py --category code_license_scancode_cli Added tests for scancode_cli analyzer which also required updating tests for in-place implementation of colic backend. Signed-off-by: inishchith <[email protected]>
We're now using a clone of scancode-toolkit instead of a release, as the latest release is of 15th February 2019 and the scancli.py script was incroporated later i.e 5th March 2019 and there hasn't been a release since. Add stable scancode_cli checkout commit in order to accomodate functioning of both scancode & scancode_cli Signed-off-by: inishchith <[email protected]>
Signed-off-by: inishchith <[email protected]>
@valeriocos Thanks for the review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @inishchith
Addresses: #27
@valeriocos In reference to your PR. This contains some minor changes.
Still, there are some improvements which can be made and tests should be added accordingly.
Please do have a look, Thanks :)
Work attributions: @valeriocos 's #28