Commit 71951189 authored by Simon Josefsson's avatar Simon Josefsson
Browse files

Merge branch 'https-url' into 'master'

Https url



See merge request !2
parents 5ff123df d15b2f7d
......@@ -43,10 +43,10 @@ configuration file is read before parsing command line arguments.
Using a version controlled repository is optional but recommended.
The repository is normally initialized by running 'cosmos clone VCURL'
to download a remote repository. Currently 'git://' URLs are
supported. For example:
to download a remote repository. Currently 'https://' and 'git://'
URLs are supported. For example:
cosmos clone git://git.example.org/git/your-cosmos.git
cosmos clone https://git.example.org/git/your-cosmos.git
The default place for the Cosmos repository is /var/cache/cosmos/repo.
The path is specified in cosmos.conf by setting the COSMOS_REPO
......
......@@ -32,6 +32,6 @@ fi
if test -z "$1"; then
echo "$self: error: no repository to clone" 1>&2
echo "$self: Try 'cosmos clone git://git.example.org/git/your-cosmos.git'." 1>&2
echo "$self: Try 'cosmos clone https://git.example.org/git/your-cosmos.git'." 1>&2
exit 1
fi
......@@ -21,6 +21,9 @@ self=`basename $0`
repo="$1"
case "$repo" in
https://*)
break
;;
git://*)
break
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment