-
Notifications
You must be signed in to change notification settings - Fork 409
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
Merges fuzztool into envtool #2645
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Aditya1404Sal, thank you very much for your contribution!
The main objective of the task is to incorporate a new subcommand called fuzz corpus
to envtool
. So it can be called as envtool fuzz corpus
.
In the current implementation, there is a conflict between the files fuzzcorpus.go
and envtool.go
due to the presence of variables with identical names. Instead of this conflict, we can modify the implementation to utilize the cli
already defined in envtool.go
. For instance, the existing cli
includes subcommands like shell mkdir
or shell read
. We can extend it further to incorporate fuzz corpus
in a similar fashion.
I appreciate that you've implemented this command in a separate file called fuzzcorpus.go
, and we can continue to keep it there. However, we don't need a separate cli
definition in that file.
@rumyantseva |
@Aditya1404Sal no worries, please take your time, we can wait! And good luck with the exams! 🤞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run task fuzz-corpus
locally. You will see that it does not compile
@AlekSi , i managed to resolve the compilation errors for it seems that the error originates from a failure in running the "git describe --dirty" command and the absence of a variate in package.txt. However i haven't made any changes to the build files. Please provide me assistance on resolving this error
|
@Aditya1404Sal Please run commands from https://github.com/FerretDB/FerretDB/blob/main/CONTRIBUTING.md#making-a-working-copy, then run |
@Aditya1404Sal this pull request has merge conflicts. |
@Aditya1404Sal please feel free to ping me if you have questions or need some help with the PR. |
@rumyantseva Thank you ! i really need some help
i've checked the collectFiles & copyCorpus functions but can't find any problems with them
I am very sorry for my incompetancy , but i'm really lost about what my next step should be |
@Aditya1404Sal then let's start by running a stable code. Could you please check out the latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just super minor comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
Closes #2547 .
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.