Skip to content

Migrate openssl importer to importer-improver model - #648

Closed
keshav-space wants to merge 51 commits into
aboutcode-org:mainfrom
keshav-space:main
Closed

Migrate openssl importer to importer-improver model#648
keshav-space wants to merge 51 commits into
aboutcode-org:mainfrom
keshav-space:main

Conversation

@keshav-space

@keshav-spacekeshav-space commented Mar 18, 2022

Copy link
Copy Markdown
Member

closes#615
Signed-off-by: Keshav Priyadarshi git@keshav.space

Comment threadvulnerabilities/importers/openssl.py Outdated

@TG1999TG1999 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, please check my comments

Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/tests/test_openssl.py Outdated

@pombredannepombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! See some feedback below for your kind consideration.

Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/tests/test_openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py

@Hritik14Hritik14 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@keshav-space Thank you for the updates!! Please consider the following suggestions. Further, we're gonna need as many tests as possible.

Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py
Comment threadvulnerabilities/tests/test_openssl.py Outdated
Comment threadvulnerabilities/tests/test_openssl.py Outdated

@pombredannepombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for the updates...we are almost there! just a few nit pickings left.

Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/tests/test_openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py

@pombredannepombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind to squash and amend your commits to have a cleaner stream of commit messages?

@pombredannepombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are almost there... See a few last nitpickings for your consideration before we merge

Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py Outdated
Comment threadvulnerabilities/importers/openssl.py
Comment threadvulnerabilities/importers/openssl.py Outdated
@pombredanne

Copy link
Copy Markdown
Member

I merged some other code... so you have some merge conflicts to resolve now

keshav-spaceand others added 12 commits April 10, 2022 00:21
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
Migrate github importer to importer-improver model
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Work around PostgreSQL index issue
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Same about importer
Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
pombredanneand others added 27 commits April 10, 2022 00:27
This can cause endless, infinite loop of failure/restart
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Ensure that we always install "dot" locally
Streamline other target
Remove unused targets
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* Format long lines in doctests.
* Remove dead imports.
* Convert comments to docstring
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* Use setup.cfg rather than setup.py
* Use new [dev] extra for development utilities
* Use requirements.txt as constraints for pinning deps. Drop using
requirements-dev.txt
* Update pyproject.toml for tools including pytest, black and isort
* Update Makefile and Dockerfile accordingly
* Bump version to signal this is a beta
* Update dockerignore and other confif files
* Bump dependencies
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This is too complex and requires more design to enable.
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reported-by: Hritik Vijay <hritikxx8@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
There is a precedence of /etc/vulnerablecode/.env over the local .env
file in all cases
Reported-by: Hritik Vijay <hritikxx8@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne

Copy link
Copy Markdown
Member

Sounds like you are leaning git ;)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openssl importer - improver migration

4 participants

@keshav-space@pombredanne@Hritik14@TG1999