~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to run-britney

  • Committer: Paride Legovini
  • Date: 2025-04-22 11:27:32 UTC
  • Revision ID: paride@ubuntu.com-20250422112732-kp59bwoymhae9rot
plucky->questing

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
set -e
3
 
 
4
 
if [ "$1" = --debug ]; then
5
 
        REDIR=
6
 
else
7
 
        REDIR='>/dev/null 2>&1'
8
 
fi
9
 
 
10
 
# ubuntu-archive-reporting needs this
11
 
bzr pull -q --overwrite -d "$HOME/packages-arch-specific"
12
 
 
13
 
cd "$HOME/testing"
14
 
if ! lockfile -r0 .run-britney.lock; then
15
 
    exit 1
16
 
fi
17
 
trap "rm -f $HOME/testing/.run-britney.lock" EXIT HUP INT QUIT TERM
18
 
eval ./britney merge stats $REDIR
19
 
"$HOME/ubuntu-archive-reporting/outdate-report" >www/eoan_outdate_all.txt
20
 
rsync -a --delete www/ "$HOME/public_html/testing/"
21
 
 
22
 
cd "$HOME/testing-ports"
23
 
eval ./britney merge stats $REDIR
24
 
rsync -a --delete www/ "$HOME/public_html/testing-ports/"