Skip to content

Rename MEILISEARCH_HOST to MEILISEARCH_URL #353

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

Merged
merged 3 commits into from
Oct 12, 2022
Merged

Rename MEILISEARCH_HOST to MEILISEARCH_URL #353

merged 3 commits into from
Oct 12, 2022

Conversation

washbin
Copy link
Contributor

@washbin washbin commented Oct 11, 2022

Pull Request

Related issue

Fixes #352

What does this PR do?

  • rename env variables

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Copy link
Contributor

@bidoubiwa bidoubiwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Thanks a lot for your contribution 🔥 It's very well done.

@@ -1,27 +1,25 @@
use crate::{errors::Error, indexes::Index};
use either::Either;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which linting tool are you using that fixes the styling across the code-base? Or is this something you do by hand?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall using anything except clippy for linting

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should update clippy 😂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which version are you on 🙈

@bidoubiwa
Copy link
Contributor

Can you update the readme to fix the failing test ? sh scripts/update-readme.sh

@washbin
Copy link
Contributor Author

washbin commented Oct 12, 2022

Can you update the readme to fix the failing test ? sh scripts/update-readme.sh

Oh sure, let me have a look at it.

@washbin
Copy link
Contributor Author

washbin commented Oct 12, 2022

@bidoubiwa I am unable to reproduce the failing test in my local device, can you provide insights to why it maybe ?

@washbin
Copy link
Contributor Author

washbin commented Oct 12, 2022

@bidoubiwa I am unable to reproduce the failing test in my local device, can you provide insights to why it maybe ?

turns out I was looking in the wrong branch 😆 .

Ohh and we should probably include the step to update the readme in CONTRIBUTING.md or maybe just put the update script to run in CI since it's automated either way 😉

@bidoubiwa
Copy link
Contributor

It is added in the contributing guide, but you need to scroll a lot to get there. Maybe it is worth adding a table of content above with all the required steps during development. What do you think?

### Update the README <!-- omit in toc -->
The README is generated. Please do not update manually the `README.md` file.
Instead, update the `README.tpl` and `src/lib.rs` files, and run:
```sh
sh scripts/update-readme.sh
```
Then, push the changed files.
You can check the current `README.md` is up-to-date by running:
```sh
sh scripts/check-readme.sh
# To see the diff
sh scripts/check-readme.sh --diff
```
If it's not, the CI will fail on your PR.

Copy link
Contributor

@bidoubiwa bidoubiwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥 Thanks a lot 🙏

@bidoubiwa bidoubiwa added the skip-changelog The PR will not appear in the release changelogs label Oct 12, 2022
@bidoubiwa
Copy link
Contributor

bors merge

@washbin
Copy link
Contributor Author

washbin commented Oct 12, 2022

It is added in the contributing guide, but you need to scroll a lot to get there. Maybe it is worth adding a table of content above with all the required steps during development. What do you think?

### Update the README <!-- omit in toc -->
The README is generated. Please do not update manually the `README.md` file.
Instead, update the `README.tpl` and `src/lib.rs` files, and run:
```sh
sh scripts/update-readme.sh
```
Then, push the changed files.
You can check the current `README.md` is up-to-date by running:
```sh
sh scripts/check-readme.sh
# To see the diff
sh scripts/check-readme.sh --diff
```
If it's not, the CI will fail on your PR.

oh yeah, seems to be right there, totally missed it, my mistake.

Yeah, maybe adding the table of content will make it more accessible at first glance

@bors
Copy link
Contributor

bors bot commented Oct 12, 2022

Build succeeded:

@bors bors bot merged commit b3a882b into meilisearch:main Oct 12, 2022
@bidoubiwa
Copy link
Contributor

This message is sent automatically

Thanks again 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog The PR will not appear in the release changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace MEILISEARCH_HOST by MEILISEARCH_URL in the docker config
2 participants