这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@slimlime
Copy link
Contributor

@slimlime slimlime commented Jul 19, 2020

Quick typo update.

Correct directory is:
/etc/bash_completion.d

For sudo hasura completion bash --file=/etc/bash_completion.d/hasura. Current typo in the docs refers to non-existent directory bash.completion.d

Reflects install tested on Ubuntu 20.04 LTS

Description

Changelog

  • CHANGELOG.md is updated with user-facing content relevant to this PR. If no changelog is required, then add the no-changelog-required label.
  • Updated bash completion path to /etc/bash_completion.d

Affected components

  • Docs
  • Community Content

Related Issues

Solution and Design

Steps to test and verify

Limitations, known bugs & workarounds

Server checklist

Catalog upgrade

Does this PR change Hasura Catalog version?

  • No
  • Yes
    • Updated docs with SQL for downgrading the catalog

Breaking changes

  • No Breaking changes

Correct directory is:
`/etc/bash_completion.d`

For `sudo hasura completion bash --file=/etc/bash_completion.d/hasura`. Current typo in the docs refers to non-existent directory `bash.completion.d`

Reflects install tested on Ubuntu 20.04 LTS
@slimlime slimlime requested a review from a team as a code owner July 19, 2020 08:34
@hasura-bot
Copy link
Contributor

Beep boop! 🤖

Hey @slimlime, thanks for your PR!

One of my human friends will review this PR and get back to you as soon as possible.

Stay awesome! 😎

@CLAassistant
Copy link

CLAassistant commented Jul 19, 2020

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Jul 19, 2020

Deploy preview for hasura-docs ready!

Built with commit 3a668ac

https://deploy-preview-5418--hasura-docs.netlify.app

@marionschleifer marionschleifer changed the title 📚 Update bash_completion directory typo docs: update bash_completion directory typo Jul 20, 2020
@marionschleifer
Copy link
Contributor

marionschleifer commented Jul 20, 2020

@slimlime thank you for your contribution 🙂 could you please sign the CLA?

Copy link
Contributor

@scriptonist scriptonist 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 for the contribution, a small concern though. The CLI docs are generated based on the help text, so I think we should probably make this change here:

$ sudo hasura completion bash --file=/etc/bash.completion.d/hasura

@slimlime
Copy link
Contributor Author

Hey thanks for the contribution, a small concern though. The CLI docs are generated based on the help text, so I think we should probably make this change here:

$ sudo hasura completion bash --file=/etc/bash.completion.d/hasura

Thank you for pointing out the command line lines and additional context.

Will add those edits in graphql-engine/cli/commands/completion.go and a changelog.md with a concise oneliner outlining the help text update as required

Also noted a few other occurrences in the deploy-preview for updating with the additional context of that line and previous help text updates.

Will add those other occurrences as well (Windows (Git Bash))

#5439

@marionschleifer
Copy link
Contributor

@slimlime No need to add to the changelog. I added the no-changelog-required label, so the failing test will disappear.

marionschleifer and others added 2 commits July 22, 2020 07:47
Update completion.go help text directory to propagate the docs changes noted in the published manual here  docs/graphql/manual/hasura-cli/hasura_completion.rst#L30
@slimlime slimlime requested a review from a team as a code owner July 31, 2020 08:19
Copy link
Contributor Author

@slimlime slimlime left a comment

Choose a reason for hiding this comment

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

completion.go help text to propagate to the generated hasura_completion docs

@hasura-bot
Copy link
Contributor

Review app for commit 682911c deployed to Heroku: https://hge-ci-pull-5418.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5418-682911c6

@hasura-bot
Copy link
Contributor

Review app for commit 561ca7f deployed to Heroku: https://hge-ci-pull-5418.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5418-561ca7f0

@hasura-bot
Copy link
Contributor

Review app for commit a17a652 deployed to Heroku: https://hge-ci-pull-5418.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5418-a17a652f

@hasura-bot
Copy link
Contributor

Review app for commit 3a668ac deployed to Heroku: https://hge-ci-pull-5418.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5418-3a668ac7

@marionschleifer marionschleifer merged commit 684c25b into hasura:master Aug 18, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-5418.herokuapp.com is deleted

@hasura-bot
Copy link
Contributor

Beep boop! 🤖

GIF

Awesome work @slimlime! All of us at Hasura ❤️ what you did.

Thanks again 🤗

@marionschleifer
Copy link
Contributor

@slimlime thank you so much for your contribution 🙏 as a thank you, we'd love to send you some swag. If you're interested, please send an email to marion@hasura.io, and we'll take it from there 🙂

stevefan1999-personal pushed a commit to stevefan1999-personal/graphql-engine that referenced this pull request Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants