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

Reorganisation #54

Merged
merged 55 commits into from
Sep 10, 2024
Merged

Reorganisation #54

merged 55 commits into from
Sep 10, 2024

Conversation

LeChatP
Copy link
Owner

@LeChatP LeChatP commented Sep 10, 2024

Reorganisation for v3.0.0

LeChatP and others added 30 commits July 10, 2024 15:06
Common sources are now in a separate crate. This has the advantage to avoid many "unused" warnings. Indeed as chsr uses some calls that sr don't use, it raise this warning. And as the same with sr. So many unused warnings were wrongly reported.

I started to make deployment work, as sr and chsr seems to be well-tested and made some security checks.

For now, deployment is WIP.
This work aims to code the installation process to take into account many parameters that are complex to manipulate using shell, but also avoid some dependencies that are only used for the installation process.

This work should also simplify deployment on many distributions, while applying the principle of least privilege.

However, one last question is about the dependency management, as it requires rust, we still need a shell script to install rust toolchains. As capable requires nighly,  and sr requires stable>=1.70, it may requires both toolchains for a clean release binary.
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 58.04196% with 120 lines in your changes missing coverage. Please review.

Project coverage is 68.92%. Comparing base (d5565c7) to head (0bb9301).
Report is 58 commits behind head on main.

Files with missing lines Patch % Lines
rar-common/src/util.rs 56.52% 80 Missing ⚠️
rar-common/src/database/options.rs 70.37% 8 Missing ⚠️
rar-common/src/database/finder.rs 30.00% 7 Missing ⚠️
rar-common/src/plugin/mod.rs 0.00% 4 Missing ⚠️
src/sr/main.rs 20.00% 4 Missing ⚠️
src/sr/timeout.rs 42.85% 4 Missing ⚠️
rar-common/src/database/structs.rs 57.14% 3 Missing ⚠️
rar-common/src/database/versionning.rs 40.00% 3 Missing ⚠️
src/chsr/cli/process/json.rs 88.88% 3 Missing ⚠️
rar-common/src/api.rs 0.00% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
- Coverage   69.07%   68.92%   -0.16%     
==========================================
  Files          28       27       -1     
  Lines        2833     2819      -14     
==========================================
- Hits         1957     1943      -14     
  Misses        876      876              
Flag Coverage Δ
admin-unittests 68.53% <56.29%> (-0.27%) ⬇️
unittests 68.85% <58.04%> (-0.12%) ⬇️

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

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

@LeChatP LeChatP merged commit 3d6c834 into main Sep 10, 2024
4 of 6 checks passed
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.

1 participant