From b13332c991ce2695626eaca367dd8208b174c9ca Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Apr 2016 17:59:24 +0300 Subject: Add support for repository authentication --- bpkg/rep-info.cli | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'bpkg/rep-info.cli') diff --git a/bpkg/rep-info.cli b/bpkg/rep-info.cli index 7554620..5fa5d3d 100644 --- a/bpkg/rep-info.cli +++ b/bpkg/rep-info.cli @@ -24,7 +24,16 @@ namespace bpkg first line followed by the list of complement and prerequisite repositories and the list of available packages. This default behavior, however, can be altered in various ways using options listed below. Note - that the information is written to \cb{STDOUT}, not \cb{STDERR}." + that the information is written to \cb{STDOUT}, not \cb{STDERR}. + + If the current working directory contains a \cb{bpkg} configuration, then + \cb{rep-info} will use its certificate database for the repository + authentication. That is, it will trust the repository's certificate if it + is already trusted by the configuration. Otherwise it will add the + certificate to the configuration if you confirm it is trusted. You can + specify an alternative configuration directory with the + \cb{--directory|-d} option. To disable using the configuration in the + current working directory pass this option with an empty path." } class rep_info_options: common_options @@ -53,5 +62,11 @@ namespace bpkg \cb{--packages|-p} or \cb{--repositories|-r} to only dump one of the manifests." } + + string --directory|-d // String to allow empty value. + { + "", + "Use configuration in for the trusted certificate database." + } }; } -- cgit v1.1