Thanks for these.
I believe the longer-term plan is to either adapt or otherwise create something similar to fedpkg to do this with a better structure. This will help us get there.
On 06/09/2014 03:56 PM, Pat Riehecky wrote:
From: Pat Riehecky riehecky@fnal.gov
get_sources.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/get_sources.sh b/get_sources.sh index 9df5a3b..24e507c 100755 --- a/get_sources.sh +++ b/get_sources.sh @@ -13,6 +13,12 @@ surl="https://git.centos.org/sources/"
pn=$(basename `pwd`) f=.${pn}.metadata
+# for setting any overrides, such as surl or f +if [ -f /etc/centos-git-common ]; then
- . /etc/centos-git-common
+fi
if [ ! -e ${f} ] || [ ! -d .git ] || [ ! -d SOURCES ]; then echo 'You need to run this from inside a sources git repo' exit 1