Skip to content
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

Hide request_type doc string in cert-request help #480

Closed
wants to merge 1 commit into from

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented Feb 18, 2017

Fix hides description of request_type argument in cert-request
command help

Fixes https://pagure.io/freeipa/issue/6494
Fixes https://pagure.io/freeipa/issue/5734

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

@MartinBasti
Copy link
Contributor

MartinBasti commented Feb 20, 2017

Ticket is Enumerate all available request type options in ipa cert-request help but your commit doesn't enumerate all possible request types

@frasertweedale
Copy link
Contributor

I would like to NACK this. We instead want to hide or remove the option, because
we only support PKCS #10 and this is unlikely to change any time soon.

There is already a ticket for that: https://fedorahosted.org/freeipa/ticket/5734

@Akasurde
Copy link
Member Author

@frasertweedale What do you recommend to hide this option ? does removing this option has detrimental effect on cert-request command ?

@frasertweedale
Copy link
Contributor

@Akasurde if we just want to hide it, I think you use a client override for the cert_request command
and filter out the option. @HonzaCholasta can confirm.

OTOH if we just want to remove it altogether, that is straightforward. It will break any clients that
explicitly pass the option. I suspect it's unlikely that there are such clients out there, but we cannot
know for sure, so as much as I'd like to remove it, I'm hesitant.

@Akasurde
Copy link
Member Author

@HonzaCholasta ping

@HonzaCholasta
Copy link
Contributor

I agree with @frasertweedale, but we can't remove the option from the server plugin altogether, as pre-4.4 clients always send it. You can hide the option by adding the no_option flag in the param definition.

@Akasurde
Copy link
Member Author

@HonzaCholasta Thanks I will use no_option flag and update PR.

Fix hides description of request_type argument in cert-request
command help

Fixes https://pagure.io/freeipa/issue/6494
Fixes https://pagure.io/freeipa/issue/5734

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@Akasurde Akasurde changed the title Add request_type doc string in cert-request Hide request_type doc string in cert-request help Mar 15, 2017
@Akasurde
Copy link
Member Author

Bump for review.

@MartinBasti MartinBasti added the ack Pull Request approved, can be merged label Mar 30, 2017
@MartinBasti
Copy link
Contributor

master:

  • a1bb442 Hide request_type doc string in cert-request help

ipa-4-5:

  • 535e861 Hide request_type doc string in cert-request help

@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Mar 31, 2017
@Akasurde
Copy link
Member Author

@Akasurde Akasurde deleted the tkt-6494 branch March 31, 2017 10:38
@MartinBasti
Copy link
Contributor

@Akasurde you are welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
4 participants