Skip to content
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

Package tools for installation in scancode.io #21

Closed
11 tasks done
pombredanne opened this issue Oct 22, 2020 · 5 comments · Fixed by #58
Closed
11 tasks done

Package tools for installation in scancode.io #21

pombredanne opened this issue Oct 22, 2020 · 5 comments · Fixed by #58

Comments

@pombredanne
Copy link
Member

pombredanne commented Oct 22, 2020

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

  • rename the repo to scancode-analyzer
  • rename the modules to scancode_analyzer
  • create a webhook for RTD publishing
  • Publish the updated doc and rename and check
  • Review of the package manifests
  • Add an about file at root
  • Start using calver versioning
  • Merge Open PRs
  • Add and push tag (Possibly v21.4.7)
  • Build wheel and sdist and check with twine
  • Publish on pypi
@AyanSinhaMahapatra
Copy link
Member

@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
Copy link
Member Author

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

@pombredanne
Copy link
Member Author

That would be fulfilled by #23 BTW

@steven-esser
Copy link
Contributor

@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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants