-
Notifications
You must be signed in to change notification settings - Fork 49
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 nb_hits update in config file #48
Conversation
Update scrapy to latest version
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.
Hello @renehernandez! thanks for your contribution!
Could you remove the previous nb_hits: XXX
that is printed at the end if the config file contains a nb_hits
field?
The goal is to stay consistent since we don't update the number of hits anymore but still want a display to know how many links were scraped.
Of course, the config file still has to accept the nb_hits
fields to not be breaking.
That is already gone as part of the removal of the
|
I did another test run, this time with the |
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.
Thanks @renehernandez! It seems perfect from my POV! 😁
I like this kind of PR where we only remove lines!
For your next contribution, could you follow the contribution guidelines we recently added to this repo? 🙂
Indeed, we recommend creating a new branch on your fork repo instead of pointing your master
to the master
of the main repo. It's more convenient if I want to test and check your changes, and more convenient for you if you want to work on different issues at the same time or if we finally don't merge your PR 😉
Thanks again for your contributions, it's really helpful!!
If you like contributing in python project, we maintain a meilisearch-python repository. In general, you can find all the repos we maintain here.
I don't remember if I suggest you join us to our Slack, but here is the link. It can be useful if you need direct chatting.
Merging that!
@curquiza Will take it into account for future contributions. I started here, because it is the project that I have been interacting the most with in the meilisearch ecosystem. In my day-to-day job I work more with golang and ruby, plus k8s infrastructure, so I am also interested/available to lend a hand in those areas |
Description
Fix #17
Verifying nb_hits is still printed to console
I ran
docs_scraper
with my local changes against a testing meilisearch instance using a config file for our internal documentation infrastructureConfig file
Real URLs have been anonymized
Docs-scraper output
Changes
update_nb_hits_value
function fromconfig_loader
update_nb_hits
variable and envvar, since it is not used in the code