aboutsummaryrefslogtreecommitdiff
path: root/bpkg/repository-types.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-14 16:12:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-16 14:43:20 +0300
commit5d69b98c5d62b05d1d6d6fd24aeac468af509365 (patch)
treea7d24e3b785e266fece5ff1fa66e691a4846ca75 /bpkg/repository-types.cli
parentdfd879004b1a66ff197c4d41d9fb2e0839781a38 (diff)
Add support for repository typed URLs (git+https://..., etc)
Diffstat (limited to 'bpkg/repository-types.cli')
-rw-r--r--bpkg/repository-types.cli11
1 files changed, 11 insertions, 0 deletions
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|