Closed unvalley closed 2 years ago
@unvalley Sorry, since we merged https://github.com/meilisearch/milli/pull/665 related to your work, you have a lot of git conflict. Can you fix them? I would keep at least the addition of the CI in your PR, which is really useful for us! Thank you π
@curquiza No problem, I'll fix the conflicts!
@curquiza I've fixed conflicts by accepting all current (main) change. The last commit passes cargo clippy (but as I described, there are still warnings). Please take a look?
For me it's ok for the CI side @ManyTheFish (or some else in @meilisearch/core-team) I let you review the code base part before merging
bors try
@unvalley looks like the CIs are all failing, could you fix this before the core team review your PR?
bors try
I have to fix all warnings to pass the CI.
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
The RUSTFLAGS -D warnings
denies all warnings and this pr has warnings by clippy now.
@unvalley, how big is it. Do you want to provide another PR before merging this one fixing all the conflicts?
@curquiza
There are 24 clippy errors (by -D warnings
).
So, that's not too big. I work to fix the errors in this PR and I use #allow(clippy::lint)
in some places to merge this PR asap.
@unvalley thank you very much this is really appreciated π
@curquiza Could you try bors? :pray:
I've checked that cargo clippy -- -D warnings
finished successfully on my machine.
bors try
bors try
:lock: Permission denied
Existing reviewers: click here to make unvalley a reviewer
it might be bors ready.
but reducing #659 diff is useful for reviewers imoπΊ
Ok @unvalley thanks for letting me know! We will merge #668 first
Thanks for running CI. I need to align the clippy outputs on CI and on my machine.
@unvalley https://github.com/meilisearch/milli/pull/668 has been merged! Can you fix the merge conflicts? π
Hey @unvalley sorry for the rebase I've handed you. If you need help with the rebase let me know.
@ehiggs No worries, Thanks for fixing clippy errors!
@curquiza Ok, I fixed conflicts. Could you run the CI again?
bors try
oops, it conflicts again.
Merge conflict.
@curquiza I fixed conflicts again ππ»
okay, the errors relate to facets refactoring. I'll fix that.
bors try
@curquiza I fixed conflicts againπ (sorry for trying bors many times!)
bors try
fixed rust fmtπ₯
Bors try
@curquiza I finally removed the clippy job in this pr to receive a code review for the current code change. I'll add the job in this pr.
Ok @unvalley!
Can you remove the issue from the Development
section (on the right) then?
Hey @unvalley, since this is quite a big PR and you had to rebase a lot of changes we wanted to thank you for your time and accept your contribution for the hacktoberfest even though we're probably not going to merge it before the end of the event. That's why I gave you the hacktoberfest-accepted tag. And if you would like to receive some swag from Meilisearch, please complete this form.
@irevoire Thanks for letting me know! I completed the form. I'd like to contribute more.
And thanks for being such reactive @unvalley! You are more than welcome to contributing again π
@Kerollmops could you take a look at it? And if you approve the PR, please merge it π
Build succeeded:
This message is sent automatically
Thank you for contributing to Meilisearch. If you are participating in Hacktoberfest, and you would like to receive some gift from Meilisearch too, please complete this form.
Related PR
This PR is for #673
What does this PR do?
addRun Clippy
job to CI (rust.yml)cargo clippy --fix
commandcargo clippy
error manually (but warnings still remain on tests)PR checklist
Please check if your PR fulfills the following requirements: