[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] 11 commits: Merge branch 'master' into deploy



Title: GitLab

Joerg Jaspert pushed to branch master at Debian FTP Team / dak

Commits:

4 changed files:

Changes:

  • config/debian-security/vars
    1
    -# locations used by many scripts
    
    1
    +# -*- mode:sh -*-
    
    2 2
     
    
    3 3
     declare -r functionname=security-master.debian.org
    
    4 4
     declare -r confpart=debian-security
    
    ... ... @@ -12,10 +12,10 @@ declare -r masterdir=${base}/dak/
    12 12
     export configdir=${configdir:-${masterdir}/config/${confpart}/}
    
    13 13
     
    
    14 14
     # And the following types of cronscripts exists
    
    15
    -declare -r POSSIBLEARGS='+(unchecked-dinstall|hourly|mirror)'
    
    15
    +declare -r POSSIBLEARGS='+(unchecked-dinstall|hourly|mirror|deploy)'
    
    16 16
     
    
    17 17
     # And get all the tons of other variables
    
    18
    -source ${masterdir}/config/common/variables
    
    18
    +source ${configdir}/../common/variables
    
    19 19
     
    
    20 20
     # Stuff for old cron scripts not yet switched to new style
    
    21 21
     declare -r uploadhost=ftp-master.debian.org
    

  • config/debian/vars
    ... ... @@ -15,4 +15,4 @@ export configdir=${configdir:-${masterdir}/config/${confpart}/}
    15 15
     declare -lr POSSIBLEARGS='+(unchecked|dinstall|hourly|daily|weekly|monthly|yearly|mirror|deploy)'
    
    16 16
     
    
    17 17
     # And get all the tons of other variables
    
    18
    -source ${masterdir}/config/common/variables
    18
    +source ${configdir}/../common/variables

  • config/deploy/vars deleted
    1
    -../debian/vars
    \ No newline at end of file

  • config/deploy/vars
    1
    +# -*- mode:sh -*-
    
    2
    +
    
    3
    +if [[ -d /srv/security-master.debian.org ]]; then
    
    4
    +    functionname=security-master.debian.org
    
    5
    +    confpart=debian-security
    
    6
    +else
    
    7
    +    functionname=ftp-master.debian.org
    
    8
    +    confpart=debian
    
    9
    +fi
    
    10
    +
    
    11
    +base=/srv/${functionname}
    
    12
    +masterdir=${base}/dak/
    
    13
    +export configdir=${configdir:-${masterdir}/config/${confpart}/}
    
    14
    +
    
    15
    +# And get all the tons of other variables
    
    16
    +source ${configdir}/../${confpart}/vars


  • Reply to: