From 5d69b98c5d62b05d1d6d6fd24aeac468af509365 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 14 Nov 2018 16:12:25 +0300 Subject: Add support for repository typed URLs (git+https://..., etc) --- bpkg/repository-types.cli | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bpkg/repository-types.cli') diff --git a/bpkg/repository-types.cli b/bpkg/repository-types.cli index 79c50f8..1471ecf 100644 --- a/bpkg/repository-types.cli +++ b/bpkg/repository-types.cli @@ -16,6 +16,17 @@ structure, and the format of their URLs. Currently three types of repositories are supported: archive-based \cb{pkg}, directory-based \cb{dir}, and version control-based \cb{git}. +The repository location may specify the repository type as part of the URL +scheme component in the \c{\i{type}\b{+}\i{protocol}} form. For example: + +\ +git+https://example.com/foo +dir+file:///tmp/repo +\ + +Note that the explicit specification is only needed when the correct type +cannot be guessed from the URL. See \l{bpkg-rep-add(1)} for details. + \h|PKG REPOSITORIES| -- cgit v1.1