nexB / scancode-analyzer

scancode-results-analyzer
4 stars 2 forks source link

Package tools for installation in scancode.io #21

Closed pombredanne closed 3 years ago

pombredanne commented 3 years ago

This should be a reasonably easy way to package and install this in scancode.io ideally as a wheel.

AyanSinhaMahapatra commented 3 years ago

@pombredanne I'm not that familiar with the requirements to release a package, I would be super grateful if you point me to some docs for this, and also as of now there are submodules in the src/ folder with different functionalities, so in the exact API design should I look at scancode/deltacode other projects for inspiration? Also this would just have API functions and not anything related to command-line usage right?

pombredanne commented 3 years ago

@AyanSinhaMahapatra we are using https://github.com/jaraco/skeleton now.. @majurg can you provide some guidance?

pombredanne commented 3 years ago

That would be fulfilled by #23 BTW

steven-esser commented 3 years ago

@AyanSinhaMahapatra Our particular skeleton repo can be found here: https://github.com/nexB/skeleton

Take a look at the minimal documentation here on how to incorporate the : https://github.com/nexB/skeleton/blob/develop/README.rst

If you have questions, ping me on slack or post them here.

AyanSinhaMahapatra commented 3 years ago

That would be fulfilled by #23 BTW

@pombredanne So my question was in the process of packaging this, should successful integration as a post-scan plugin be present as a test here (as a pytest function)? If so, then since it is closely related, should I finish my work with https://github.com/nexB/scancode-toolkit-plugin-cookiecutter to support simple pre and post-scan plugins (and associated docs)?

And so in that sense, there will be two issues (in that order) I'll be pushing PRs for before I can focus on this fully, those are -

14

23

And also #22 because that'd be important for integration.

@majurg Thanks I'm super clear on the git and merge related tasks that are not a problem, I would be having questions on setting up and modifying the wheel/toml/configure scripts to fit this tool, and I'll ask them here.