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

feat: add git attestation support #297

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fkautz
Copy link
Contributor

@fkautz fkautz commented Jun 6, 2024

  • Added ent schema support for git attestations
  • Created parser plugin for git attestation
  • Registered git parser plugin

Signed-off-by: Frederick F. Kautz IV [email protected]

@fkautz fkautz marked this pull request as draft June 6, 2024 18:49
field.String("committer_email"),
field.String("commit_date"),
field.String("commit_message"),
field.JSON("status", []string{}),
Copy link
Member

Choose a reason for hiding this comment

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

Indexes on these are going to be tough

Copy link
Contributor Author

Choose a reason for hiding this comment

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

indexes were all removed for now

Copy link

codecov bot commented Jun 13, 2024

Codecov Report

Attention: Patch coverage is 0.74096% with 3349 lines in your changes missing coverage. Please review.

Project coverage is 1.45%. Comparing base (a035c62) to head (b4daa12).
Report is 103 commits behind head on main.

Current head b4daa12 differs from pull request most recent head 190a1f8

Please upload reports for the commit 190a1f8 to get more accurate results.

Files Patch % Lines
ent/mutation.go 0.00% 715 Missing ⚠️
ent/gitattestation_update.go 0.00% 452 Missing ⚠️
ent/gql_where_input.go 0.00% 382 Missing ⚠️
ent/gitattestation_query.go 0.00% 350 Missing ⚠️
ent/gitattestation/where.go 0.00% 346 Missing ⚠️
ent/gitattestation_create.go 0.00% 244 Missing ⚠️
ent/gitattestation.go 0.00% 181 Missing ⚠️
ent/gql_pagination.go 0.00% 133 Missing ⚠️
ent/gql_collection.go 0.00% 116 Missing ⚠️
ent/client.go 0.00% 100 Missing ⚠️
... and 16 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #297       +/-   ##
==========================================
- Coverage   82.40%   1.45%   -80.95%     
==========================================
  Files          10     129      +119     
  Lines         358   34075    +33717     
==========================================
+ Hits          295     495      +200     
- Misses         43   33523    +33480     
- Partials       20      57       +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fkautz fkautz force-pushed the git-attestations branch 2 times, most recently from 4d5c866 to b4daa12 Compare June 13, 2024 19:10
- Added ent schema support for git attestations
- Created parser plugin for git attestation
- Registered git parser plugin

Signed-off-by: Frederick F. Kautz IV <[email protected]>
@fkautz fkautz marked this pull request as ready for review June 13, 2024 19:19
Sign up for free to 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.

2 participants