Changeset 559 for branches


Ignore:
Timestamp:
12/16/2011 18:09:04 (5 months ago)
Author:
blee
Message:

Merge fix for #115 into confman-1.9.

Closes #115

Location:
branches/confman-1.9
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/confman-1.9

    • Property svn:mergeinfo changed
      /trunkmerged: 509
  • branches/confman-1.9/confman.conf.5.in

    r481 r559  
    131131Defaults to "${HOME}/src/conf". Can be used to change the location of the 
    132132working copy. 
     133.It REPO_REMOTE_USER 
     134Defaults to "", using the underlying  
     135.Xr svn 1 
     136behavior. Use this to override the username for the repository host. 
    133137.It SINGULARITIES 
    134138Defaults to "". This is a white-space delimited list of all files that are to 
  • branches/confman-1.9/confman.conf.in

    r516 r559  
    3333# The directory from the root of the repository to our checkpoints: 
    3434REPO_CHECKPTS="checkpoints" 
     35 
     36# Our username on the repository host 
     37REPO_REMOTE_USER="" 
    3538 
    3639# Where to keep our "working copy" of the system: 
  • branches/confman-1.9/confman.conf.sample.in

    r385 r559  
    77 
    88# The hostname providing our config repository: 
    9 REPO_HOSTNAME="svn.timesinks.net" 
     9REPO_HOSTNAME="svn.example.com" 
    1010 
    1111# The path on the remote host to find the repository: 
  • branches/confman-1.9/confmanlib.sh.in

    r557 r559  
    4040function conf_repo_uri { 
    4141        local proto="${REPO_PROTOCOL%:/*}" 
    42         local uri 
     42        local uri user 
    4343 
    4444    # When we're running in export mode and the user has configured 
     
    6969    done 
    7070 
     71    user=${REPO_REMOTE_USER:+${REPO_REMOTE_USER}@} 
     72 
    7173        case $proto in 
    7274                file) 
     
    7476                        ;; 
    7577                *) 
    76                         uri="${REPO_PROTOCOL}${REPO_HOSTNAME}${REPO_PATH}" 
     78                        uri="${REPO_PROTOCOL}${user}${REPO_HOSTNAME}${REPO_PATH}" 
    7779                        ;; 
    7880        esac 
Note: See TracChangeset for help on using the changeset viewer.