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

[Git][ftp-team/dak][deploy] 3 commits: Don't let ls warn on maintenance time. The true reason is long gone anyways.



Title: GitLab

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

Commits:

2 changed files:

Changes:

  • dak/ls.py
    ... ... @@ -91,10 +91,6 @@ def main ():
    91 91
         if not packages:
    
    92 92
             utils.fubar("need at least one package name as an argument.")
    
    93 93
     
    
    94
    -    # If cron.daily is running; warn the user that our output might seem strange
    
    95
    -    if os.path.exists(os.path.join(cnf["Dir::Lock"], "daily.lock")):
    
    96
    -        utils.warn("Archive maintenance is in progress; database inconsistencies are possible.")
    
    97
    -
    
    98 94
         # Handle buildd maintenance helper options
    
    99 95
         if Options["GreaterOrEqual"] or Options["GreaterThan"]:
    
    100 96
             if Options["GreaterOrEqual"] and Options["GreaterThan"]:
    

  • dak/process_upload.py
    ... ... @@ -543,10 +543,6 @@ def main():
    543 543
         if Options["No-Action"]:
    
    544 544
             Options["Automatic"] = ""
    
    545 545
     
    
    546
    -    # Check that we aren't going to clash with the daily cron job
    
    547
    -    if not Options["No-Action"] and os.path.exists("%s/daily.lock" % (cnf["Dir::Lock"])) and not Options["No-Lock"]:
    
    548
    -        utils.fubar("Archive maintenance in progress.  Try again later.")
    
    549
    -
    
    550 546
         # Obtain lock if not in no-action mode and initialize the log
    
    551 547
         if not Options["No-Action"]:
    
    552 548
             lock_fd = os.open(os.path.join(cnf["Dir::Lock"], 'dinstall.lock'), os.O_RDWR | os.O_CREAT)
    


  • Reply to: