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

[Git][ftp-team/dak][deploy] 3 commits: link_morgue: do not touch `.nobackup` files



Title: GitLab

Ansgar pushed to branch deploy at Debian FTP Team / dak

Commits:

2 changed files:

Changes:

  • scripts/debian/link_morgue
    ... ... @@ -104,7 +104,8 @@ def scan_directory(path: bytes):
    104 104
                 filenames.append(entry.path)
    
    105 105
         yield from (fn for fn in filenames
    
    106 106
                     if fn + b".nosnapshot" not in filenames
    
    107
    -                and not fn.endswith(b".nosnapshot"))
    
    107
    +                and not fn.endswith(b".nosnapshot")
    
    108
    +                and not fn.endswith(b"/.nobackup"))
    
    108 109
         for path in directories:
    
    109 110
             yield from scan_directory(path)
    
    110 111
     
    

  • scripts/debian/link_morgue.sh
    ... ... @@ -114,7 +114,7 @@ ${scriptsdir}/link_morgue \
    114 114
                  --morguedir "${PROCESSDIR}"
    
    115 115
     
    
    116 116
     # And now, maybe, transfer stuff over to stabile...
    
    117
    -if [[ "$(hostname -s)" != "stabile" && "$(hostname -s)" != "fasolo" ]]; then
    
    117
    +if [ "$(hostname -s)" != "stabile" ]; then
    
    118 118
         cd "${PROCESSDIR}"
    
    119 119
         LISTFILE=$(mktemp -p ${TMPDIR} )
    
    120 120
     
    


  • Reply to: