Learn more about these different git repos.
Other Git URLs
If you try to add a CA or template with the getcert tool, it should have its own return code if the CA or template already exists. Maybe also for other commands, but this is what I care about :-)
With verbose output you get:
org.fedorahosted.certmonger.duplicate: There is already a CA with the nickname "EARTH-Root-CA".
It shouldn't be hard to map org.fedorahosted.certmonger.duplicate to an EEXISTS return code.
org.fedorahosted.certmonger.duplicate
Metadata Update from @rcritten: - Issue assigned to rcritten
PR https://www.pagure.io/certmonger/pull-request/270
Please add it too for getcert request too
getcert request
org.fedorahosted.certmonger.duplicate: There is already a template with the nickname ...
My patch will do that. Any getcert response that includes org.fedorahosted.certmonger.duplicate will return 2.
Additional PR to add a NULL check on the strcmp() https://pagure.io/certmonger/pull-request/273
Login to comment on this ticket.