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

Refactor pgp_key_search_t #2187

Merged
merged 5 commits into from
Mar 18, 2024
Merged

Refactor pgp_key_search_t #2187

merged 5 commits into from
Mar 18, 2024

Conversation

ni4
Copy link
Contributor

@ni4 ni4 commented Jan 31, 2024

Another one on the C++-transition way.Thought it would be faster...

@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch from 3e90da9 to 8a6e9b6 Compare January 31, 2024 12:27
Copy link

codecov bot commented Jan 31, 2024

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (9fd1893) 77.26% compared to head (e40c4ff) 77.29%.

Files Patch % Lines
src/lib/key-provider.cpp 89.41% 9 Missing ⚠️
src/lib/rnp.cpp 93.67% 5 Missing ⚠️
src/lib/types.h 88.88% 1 Missing ⚠️
src/librepgp/stream-parse.cpp 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2187      +/-   ##
==========================================
+ Coverage   77.26%   77.29%   +0.02%     
==========================================
  Files         194      194              
  Lines       37751    37692      -59     
==========================================
- Hits        29170    29135      -35     
+ Misses       8581     8557      -24     

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

@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch from 8a6e9b6 to 9df4427 Compare January 31, 2024 12:34
@ni4 ni4 marked this pull request as ready for review January 31, 2024 16:39
src/lib/key-provider.cpp Outdated Show resolved Hide resolved
src/tests/support.cpp Show resolved Hide resolved
Copy link
Member

@maxirmx maxirmx left a comment

Choose a reason for hiding this comment

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

LGTM

@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch from 2862a8a to 625ad86 Compare February 2, 2024 13:22
@antonsviridenko
Copy link
Contributor

Thought it would be faster...

Is it actually faster now? :P

@antonsviridenko
Copy link
Contributor

There is some conflict, probably caused by the recent merged PR...

@ni4
Copy link
Contributor Author

ni4 commented Feb 4, 2024

Thought it would be faster...

Is it actually faster now? :P

I mean faster transition to C++ from all the anonymous unions, char * and suchlike internal stuff :) I'll rebase and fix errors and ping you back for review, thanks!

@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch 3 times, most recently from 1161ae9 to a388301 Compare February 8, 2024 10:36
@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch from a388301 to f58c69a Compare February 12, 2024 10:19
src/tests/ffi.cpp Fixed Show fixed Hide fixed
@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch 4 times, most recently from 55a2b14 to 683ade3 Compare February 13, 2024 09:59
src/tests/ffi.cpp Fixed Show fixed Hide fixed
src/tests/ffi.cpp Fixed Show fixed Hide fixed
@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch 3 times, most recently from 07ae57a to 8c433ee Compare February 15, 2024 15:27
@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch from 8c433ee to bab4033 Compare February 17, 2024 14:39
@ni4 ni4 force-pushed the ni4-refactor-pgp_key_search_t branch from bab4033 to e40c4ff Compare February 17, 2024 16:51
@ni4
Copy link
Contributor Author

ni4 commented Feb 17, 2024

@ronaldtse @antonsviridenko ping for review. Spend a lot of time on debugging on some test failure but separated it to the issue #2192 as too much time was spent on it.

@ronaldtse ronaldtse merged commit 54e6178 into main Mar 18, 2024
123 checks passed
@ronaldtse ronaldtse deleted the ni4-refactor-pgp_key_search_t branch March 18, 2024 07:32
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.

4 participants