Changeset 2503


Ignore:
Timestamp:
11/25/07 08:12:00 (6 years ago)
Author:
alanbach-guest
Message:
  • Added config file support, loads configuration from autobuild.conf
Location:
scripts
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/autobuild.bash

    r2501 r2503  
    55# 
    66# Created: 2007-10-20 15:10 +330 GMT 
    7 # Updated: 2007-11-25 10:11 +330 GMT 
     7# Updated: 2007-11-25 10:38 +330 GMT 
    88# 
    99# TODO: 
    1010# 1) bz2 packages? 
    1111 
    12 SVN_REPO_PATH="/svn/pkg-parsix/pkg/" 
    13 LOCAL_REPO_PATH="/home/parsix/public_html/packages/pool" 
    14 LOCAL_REPO_ROOT="/home/parsix/public_html/packages/" 
    15 APT_MIRROR="ftp://ftp.de.debian.org/debian" 
    1612SRC_PKG_NAME="$1" 
    1713DIST_NAME="$2" 
    1814UNDERLINE=$'\137' # 137 is octal ASCII code for '_' 
    19  
    20 # Security? 
    21 GPG_KEY="26DB05E5" 
    22 GPG_PASS="blahblah!" 
    2315 
    2416# Define some colors 
     
    3224NORMAL="[0;39m" 
    3325 
    34 # Mail 
    35 MAILING_LIST="parsix-devel@parsix.org" 
    36 MAIL_SENDER="Parsix Build Server <buildd@parsix.org>" 
    37 MAILER="/root/sendmail.pl" 
    38  
    39 # SVN 
    40 # Note: Alioth uses SVN+SSH, you might setup a public key based authentication  
    41 # To be able to pass SSH. http://wiki.debian.org/Alioth/SSH 
    42 SVN_USER="buildd-guest" 
    43 SVN_PASS="blahblah!" 
     26# Load configuration file 
     27if [ -f ./autobuild.conf ]; then 
     28    source ./autobuild.conf 
     29else 
     30    echo "${GREEN}Couldn't load configuration file, exiting...${NORMAL}" 
     31    exit      
     32fi 
    4433 
    4534# Define core functions 
Note: See TracChangeset for help on using the changeset viewer.