From eac54d053f7fdbde04d6a821bc964e78f50d143a Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 1 Nov 2013 17:24:22 -0500 Subject: mythtv stable-0.27 git_src: initial commit. refs #933 --- .gitignore | 2 ++ .../mythtv/stable-0.27/git_src/checkout_mythtv.sh | 40 ++++++++++++++++++++++ .../mythtv/stable-0.27/git_src/checkout_mythweb.sh | 39 +++++++++++++++++++++ abs/core/mythtv/stable-0.27/git_src/git_hash | 1 + abs/core/mythtv/stable-0.27/git_src/git_hash_web | 1 + 5 files changed, 83 insertions(+) create mode 100755 abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh create mode 100755 abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh create mode 100644 abs/core/mythtv/stable-0.27/git_src/git_hash create mode 100644 abs/core/mythtv/stable-0.27/git_src/git_hash_web diff --git a/.gitignore b/.gitignore index b81fc83..a3f7dd8 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ srclinks.* */git_src/mythtv abs/core/mythtv/stable-0.25/git_src/mythtv abs/core/mythtv/stable-0.25/git_src/mythweb +abs/core/mythtv/stable-0.27/git_src/mythtv +abs/core/mythtv/stable-0.27/git_src/mythweb diff --git a/abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh b/abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh new file mode 100755 index 0000000..f0fc6bd --- /dev/null +++ b/abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh @@ -0,0 +1,40 @@ +#!/bin/bash +#Quick script used to checkout the MythTV source +#This source should be used build all mythplugins & main program + +_gitroot="https://github.com/MythTV/mythtv.git" +_gitname="mythtv" +_gitbranch="fixes/0.27" + +startdir=`pwd` + +#Set this to True, to update mythtv to the latest. +#If not true then it will use the hash stored in git_hash +_current="True" + +_checkoutHASH=`cat git_hash` + +if [ -d $_gitname ] +then + cd $_gitname + git checkout $_gitbranch + git pull + echo "The local files are updated." +else + git clone -b $_gitbranch $_gitroot +fi + +if [ -d $_gitname ] +then + cd $_gitname + if [ $_current == True ] + then + git rev-parse HEAD > $startdir/git_hash + else + git checkout $_checkoutHASH + fi + pwd + ls + sh ./version.sh `pwd` +fi +echo "GIT checkout done or server timeout" diff --git a/abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh b/abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh new file mode 100755 index 0000000..bec4829 --- /dev/null +++ b/abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh @@ -0,0 +1,39 @@ +#!/bin/bash +#Quick script used to checkout the Mythweb source +#This source should be used build all mythplugins & main program + +_gitroot="https://github.com/MythTV/mythweb.git" +_gitname="mythweb" +_gitbranch="fixes/0.27" + +startdir=`pwd` + +#Set this to True, to update mythtv to the latest. +#If not true then it will use the hash stored in git_hash +_current="True" + +_checkoutHASH=`cat git_hash_web` + +if [ -d $_gitname ] +then + cd $_gitname + git checkout $_gitbranch + git pull + echo "The local files are updated." +else + git clone -b $_gitbranch $_gitroot +fi + +if [ -d $_gitname ] +then + cd $_gitname + if [ $_current == True ] + then + git rev-parse HEAD > $startdir/git_hash_web + else + git checkout $_checkoutHASH + fi + pwd + ls +fi +echo "GIT checkout done or server timeout" diff --git a/abs/core/mythtv/stable-0.27/git_src/git_hash b/abs/core/mythtv/stable-0.27/git_src/git_hash new file mode 100644 index 0000000..cfcfa4d --- /dev/null +++ b/abs/core/mythtv/stable-0.27/git_src/git_hash @@ -0,0 +1 @@ +d7c8faa567fb1f301eceb16adeb8463e7738488c diff --git a/abs/core/mythtv/stable-0.27/git_src/git_hash_web b/abs/core/mythtv/stable-0.27/git_src/git_hash_web new file mode 100644 index 0000000..fbb64a1 --- /dev/null +++ b/abs/core/mythtv/stable-0.27/git_src/git_hash_web @@ -0,0 +1 @@ +6d10afe73e1fb5f21688d4b6d6919cab618e6e88 -- cgit v0.12