-
Notifications
You must be signed in to change notification settings - Fork 930
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
lxc: Add completions for server keys and console #14115
lxc: Add completions for server keys and console #14115
Conversation
That was the right thing to do as I got the example in the bug wrong, thanks for catching/fixing this! Update: I fixed the issue description accordingly. |
9019fd7
to
22b90b6
Compare
I’ve updated the Also, @simondeziel, you were right all along about |
22b90b6
to
8b34b92
Compare
ca94bd8
to
42c572e
Compare
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.
I think it's fine to create a type in the shared/api
package for the configuration metadata. It is exposed over the API and would break the UI if changed, so we are beholden to it.
42c572e
to
286a06d
Compare
@markylaing I rebased my local branch on your PR branch #14132. Is this okay, or should I wait for your PR to be merged and then rebase on main? |
@kadinsayani should we also import lxc/incus#1231 ? |
Sure - thanks for finding this! |
55689bd
to
759d849
Compare
I reverted this to avoid conflicts. |
tests failing |
Awaiting merge of #14132 to |
Signed-off-by: Kadin Sayani <[email protected]>
d7f8817
to
2c0f521
Compare
Rebased and good to go 👍 |
7f08d58
7f08d58
to
6e21640
Compare
Signed-off-by: Kadin Sayani <[email protected]>
Closes incus bug lxc/incus#1229. Signed-off-by: Stéphane Graber <[email protected]> (cherry picked from commit 00aba5d5679f4703f87e19dbe4738db098cceb3a) Signed-off-by: Kadin Sayani <[email protected]> License: Apache-2.0
6e21640
to
2b39578
Compare
Resolves #14098.
All the improvements made to the
lxc config get/set
completions have been tested locally. I made a minor change that deviates from the requirements outlined in #14098. Instead of typinglxc config get foo:core.<tab>
to retrieve server configuration options, typinglxc config get foo: core.<tab>
(notice the [SPACE]) will now return server configuration options. This change was implemented to differentiate from the conventional usage ofremote:instance
across the CLI. However, please let me know if you'd prefer server configuration completions without the [SPACE] 😄.