Changeset 317


Ignore:
Timestamp:
05/02/2009 20:06:17 (3 years ago)
Author:
ccowart
Message:
  • Made make aware of the confadmin man page
  • Fixed disagreement between repository structure between confman setup and confadmin setup
  • Templatized log message

See #8
See #24
See #20

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r310 r317  
    1111sysconfdefaults_DATA = confman.conf 
    1212bashcomp_DATA = confman_completion 
    13 man_MANS = confman.8 confman.conf.5 
    14 dist_man_MANS = confaudit.8 confexport.8 confman.8 confman.conf.5 confsync.8 
     13man_MANS = confman.8 confman.conf.5  
     14dist_man_MANS = confadmin.8 \ 
     15                                confaudit.8 \ 
     16                                confexport.8 \ 
     17                                confman.8 \ 
     18                                confman.conf.5 \ 
     19                                confsync.8 
    1520 
    1621CLEANFILES = $(sbin_SCRIPTS) \ 
  • trunk/confexport.in

    r302 r317  
    5050umask 077 
    5151 
    52 REPO_URI="file://$REPO_PATH" 
    5352temp_conf_export=$(conf_tmp_file) 
    5453 
  • trunk/confman.conf.in

    r306 r317  
    55# 
    66# If you would like to override any portion of this file, please do so 
    7 # in etc/confman.conf or ~/.confmanrc. 
     7# in @sysconfdir@/confman.conf or ~/.confmanrc. 
    88 
    99# $Id$ 
     10 
     11# The system-wide configuration file 
     12GCONF="@sysconfdir@/confman.conf" 
    1013 
    1114# The location of our shell library 
     
    3841# The path to our current host's recipe file 
    3942RECIPE_FILE="${REPO_DB}/recipe" 
     43 
     44# The template for log messages 
     45LOG_TEMPLATE="/dev/null" 
    4046 
    4147# The warning message for all files 
  • trunk/confman.conf.sample.in

    r306 r317  
    1212REPO_PATH="@prefix@/repo/conf/conf" 
    1313 
     14# This file will be concatenated with the confman status output and opened 
     15# in a user's editor before commits. 
     16#LOG_TEMPLATE="/dev/null" 
     17 
    1418# The list of singularities on this host 
    1519SINGULARITIES="/etc/rc.conf" 
  • trunk/confman.in

    r314 r317  
    120120        # Moved up per Ian's request. 
    121121        $SUDO ${SUDO:+-v} 
    122         echo "Change this file to your log message." > $msg 
    123         echo "BugId: " >> $msg 
    124         echo "$ignoreline" >> $msg 
     122        cat $LOG_TEMPLATE > $msg 
     123        printf "\n${ignoreline}\n" >> $msg 
    125124        conf_get_recipe | tr ' ' '\n' | xargs -I % svn status \ 
    126125            ${WORK_PATH}/% >> $status 
     
    172171        local files 
    173172        # Moved up per Ian's request. 
    174         echo "Change this file to your log message." > $msg 
    175         echo "BugId: " >> $msg 
    176         echo "$ignoreline" >> $msg 
     173        cat $LOG_TEMPLATE > $msg 
     174        printf "\n${ignoreline}\n" >> $msg 
    177175        for file in "$@"; do 
    178176            if [ -L "$file" ]; then 
  • trunk/confmancommon.sh.in

    r302 r317  
    3131# Some global definitions. Defaults that can be overriden by options. 
    3232DEFAULTS="@sysconfdefaultsdir@/confman.conf" 
    33 GCONF="@sysconfdir@/confman.conf" 
    3433UCONF="${HOME}/.confmanrc" 
    3534MYNAME=`basename $0` 
  • trunk/confmanlib.sh

    r302 r317  
    2828 
    2929REPO_URI="${REPO_PROTOCOL}${REPO_HOSTNAME}${REPO_PATH}" 
     30REPO_TRUNK="${REPO_PROTOCOL}${REPO_HOSTNAME}${REPO_PATH}/trunk" 
    3031REPO_ACTION="${REPO_DB}/last_action" 
    3132REPO_SYNC_STATE="${REPO_DB}/state" 
     
    5152        chmod 700 ${WORK_PATH} 
    5253         
    53         svn checkout ${REPO_URI} ${WORK_PATH} 
     54        svn checkout ${REPO_TRUNK} ${WORK_PATH} 
    5455        else 
    5556        svn update ${WORK_PATH} 
Note: See TracChangeset for help on using the changeset viewer.