Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add autocompletion support#941

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
max-wittig merged 1 commit intopython-gitlab:masterfrommchlumsky:feat/autocompletion
Dec 17, 2019
Merged

feat: add autocompletion support#941

max-wittig merged 1 commit intopython-gitlab:masterfrommchlumsky:feat/autocompletion
Dec 17, 2019

Conversation

mchlumsky
Copy link

Fixes#637

@max-wittig
Copy link
Member

Thanks for this feature. Doesn't work for me with the provided instructions and zsh.

@mchlumsky
Copy link
Author

Hi!

Indeed it doesn't work. I thought it was just my setup that didn't work. I don't really use zsh so my testing of it was light. The other shells do work though. I use this patch in bash all the time with no problems at all.

Argcomplete sounded like a quick win. It's used by pipx1 and others.
It doesn't sound like the author of argcomplete cares much about zsh2.

Should I remove any mention of zsh from the docs? Or should we mention zsh support as experiemental/broken with a reference to the issue2?
Or is this a show stopper?

@max-wittig
Copy link
Member

@mchlumsky I guess we should add a notice that it doesn't work with zsh.

Can we makeargcomplete optional somehow? I think most people don't use the CLI.

@mchlumsky
Copy link
Author

I kept the commits separate for clarity but I can squash them into one once they pass peer-review.

@max-wittig
Copy link
Member

@mchlumsky Looks good to me now! Could you just squash those commits and then we can merge it 😃

@mchlumsky
Copy link
Author

Commits squashed! However travis-ci testing is failing during some rate-limit testing in py_func_v4.
I tried rebasing against latest master but I still get the failure.
I don't think the failure is related to this merge request.

@max-wittig
Copy link
Member

@mchlumsky Sadly the build pipeline is not as stable as I want it to be. But I can't figure out why as everything works fine locally, everytime.

@mchlumsky
Copy link
Author

@max-wittig The test that failed in my run wasthis one. It's a rate limit test, which can be almost described as a performance test. The test fails because it can't trigger the rate limiting feature of gitlab. This kind of test is hard to achieve on a public shared service like travis-ci where the VMs running your tests can have very different sizes and/or workloads.
I am pretty impressed with the functional testing you've achieved (spinning up a gitlab instance and testing against it). I didn't know you could pull that off with travis-ci! Kudos for that! ;)

@max-wittig
Copy link
Member

@mchlumsky Thank you, but credit goes to the original creator of this lib, not to me.@gpocentek

@max-wittig
Copy link
Member

But I guess we should remove this test.

@max-wittigmax-wittig merged commitec6e04c intopython-gitlab:masterDec 17, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@mchlumskymchlumsky

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Feature idea: autocompletion for CLI mode
2 participants
@mchlumsky@max-wittig

[8]ページ先頭

©2009-2025 Movatter.jp