Skip to content

Migrate kaybee importer #1011 - #1021

Closed
TG1999 wants to merge 4 commits into
aboutcode-org:mainfrom
TG1999:migrate/kaybee
Closed

Migrate kaybee importer #1011#1021
TG1999 wants to merge 4 commits into
aboutcode-org:mainfrom
TG1999:migrate/kaybee

Conversation

@TG1999

@TG1999 TG1999 commented Nov 30, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@TG1999
TG1999 marked this pull request as draft November 30, 2022 12:20
@TG1999 TG1999 changed the title Migrate kaybee importer Migrate kaybee importer #1011 Nov 30, 2022
@TG1999 TG1999 linked an issue Nov 30, 2022 that may be closed by this pull request
@TG1999
TG1999 marked this pull request as ready for review December 8, 2022 11:19
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>

@pombredanne pombredanne 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! Iwould like to make sure we have a proper way to identify a fix commit reference

for commit in fix["commits"]:
for fix in data.get("fixes") or []:
for commit in fix.get("commits") or []:
references.append(Reference(url=f"{commit['repository']}/{commit['id']}"))

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.

Would there be a way to state that this is fix commit explicitly?

@TG1999
TG1999 marked this pull request as draft December 26, 2022 11:20
@TG1999

TG1999 commented Dec 6, 2023

Copy link
Copy Markdown
Contributor Author

Closing this PR for now, will re-open once models are open for storing commits

@TG1999 TG1999 closed this Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate kaybee importer

2 participants