Commit 8bfcb00a authored by Dick Hollenbeck's avatar Dick Hollenbeck

kicad-install.sh uses https protocol.

parent c0ed2266
This diff is collapsed.
...@@ -35,13 +35,19 @@ ...@@ -35,13 +35,19 @@
WORKING_TREES=~/kicad_sources WORKING_TREES=~/kicad_sources
# CMake Options # CMake Options
OPTS="$OPTS -DCMAKE_BUILD_TYPE=Release" #OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=OFF"
OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=ON"
# Python scripting, uncomment to enable # Python scripting, uncomment to enable
#OPTS="$OPTS -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON" #OPTS="$OPTS -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON"
LIB_REPO=~dickelbeck/kicad/library-read-only # Use https under bazaar to retrieve repos because this does not require a
# launchpad.net account. Whereas lp:<something> requires a launchpad account.
# https results in read only access.
REPOS=https://code.launchpad.net
LEGACY_LIB_REPO=$REPOS/~dickelbeck/kicad/library-read-only
SRCS_REPO=$REPOS/~kicad-product-committers/kicad/product
DOCS_REPO=$REPOS/~kicad-developers/kicad/doc
usage() usage()
...@@ -196,7 +202,7 @@ install_or_update() ...@@ -196,7 +202,7 @@ install_or_update()
echo "step 3) checking out the source code from launchpad repo..." echo "step 3) checking out the source code from launchpad repo..."
if [ ! -d "$WORKING_TREES/kicad.bzr" ]; then if [ ! -d "$WORKING_TREES/kicad.bzr" ]; then
bzr checkout lp:kicad kicad.bzr bzr checkout $SRCS_REPO kicad.bzr
echo " source repo to local working tree." echo " source repo to local working tree."
else else
cd kicad.bzr cd kicad.bzr
...@@ -206,7 +212,7 @@ install_or_update() ...@@ -206,7 +212,7 @@ install_or_update()
fi fi
if [ ! -d "$WORKING_TREES/kicad-lib.bzr" ]; then if [ ! -d "$WORKING_TREES/kicad-lib.bzr" ]; then
bzr checkout "lp:$LIB_REPO" kicad-lib.bzr bzr checkout $LEGACY_LIB_REPO kicad-lib.bzr
echo ' kicad-lib checked out.' echo ' kicad-lib checked out.'
else else
cd kicad-lib.bzr cd kicad-lib.bzr
...@@ -217,7 +223,7 @@ install_or_update() ...@@ -217,7 +223,7 @@ install_or_update()
echo "step 5) checking out the documentation from launchpad repo..." echo "step 5) checking out the documentation from launchpad repo..."
if [ ! -d "$WORKING_TREES/kicad-doc.bzr" ]; then if [ ! -d "$WORKING_TREES/kicad-doc.bzr" ]; then
bzr checkout lp:~kicad-developers/kicad/doc kicad-doc.bzr bzr checkout $DOCS_REPO kicad-doc.bzr
echo " docs checked out." echo " docs checked out."
else else
cd kicad-doc.bzr cd kicad-doc.bzr
......
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