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

Remove unnecessary vdrtools code #736

Merged
merged 8 commits into from Jan 24, 2023
Merged

Remove unnecessary vdrtools code #736

merged 8 commits into from Jan 24, 2023

Conversation

Patrik-Stas
Copy link
Contributor

@Patrik-Stas Patrik-Stas commented Jan 13, 2023

  • Delete directories

    • tests - these were based on rust wrapper and not functional for quite a while in the fork
    • rpm, debian - we don't distribute vdrtools
    • src/api - c callable functions, we don't call vdrtools over ffi so this can go
    • include - c headers, we don't deal with ffi
    • aditionally ci, benches
  • Moved documentation from src/api to respective functions in controller layer. This was done easily as functions in src/api mapped always 1:1 on a function in controller / service layer.

  • Some additional cleanups of of code related to ffi

Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2023

Codecov Report

Merging #736 (9451562) into main (a3c3c91) will increase coverage by 16.99%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #736       +/-   ##
===========================================
+ Coverage   29.73%   46.73%   +16.99%     
===========================================
  Files         369      364        -5     
  Lines       31397    32547     +1150     
  Branches     6407     6981      +574     
===========================================
+ Hits         9336    15210     +5874     
+ Misses      19305    12791     -6514     
- Partials     2756     4546     +1790     
Flag Coverage Δ
unittests-aries-vcx 46.72% <ø> (+16.98%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
libvdrtools/indy-api-types/src/errors.rs 15.18% <ø> (+4.95%) ⬆️
libvdrtools/indy-utils/src/environment.rs 69.44% <ø> (+52.46%) ⬆️
libvdrtools/indy-utils/src/lib.rs 80.00% <ø> (+60.00%) ⬆️
libvdrtools/indy-utils/src/test.rs 0.00% <ø> (ø)
libvdrtools/src/controllers/anoncreds/issuer.rs 66.53% <ø> (+65.93%) ⬆️
libvdrtools/src/controllers/anoncreds/prover.rs 61.01% <ø> (+56.60%) ⬆️
libvdrtools/src/controllers/anoncreds/verifier.rs 72.00% <ø> (+44.00%) ⬆️
libvdrtools/src/controllers/cache.rs 65.58% <ø> (+34.41%) ⬆️
libvdrtools/src/controllers/config.rs 15.38% <ø> (ø)
libvdrtools/src/controllers/crypto.rs 57.02% <ø> (-5.97%) ⬇️
... and 294 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mirgee mirgee merged commit 06aa3d6 into main Jan 24, 2023
@mirgee mirgee deleted the vdrtools/cleanup branch January 24, 2023 08:25
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.

None yet

3 participants