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

« back to all changes in this revision

Viewing changes to run-britney

  • Committer: Steve Langasek
  • Date: 2023-12-19 06:16:57 UTC
  • Revision ID: steve.langasek@canonical.com-20231219061657-3vtta1sc7bxqirn5
Handle the rdepends/ALL subtree with rsync instead of diff.

This is a symlink tree and thus immune to patching.  germinate-output has
been out of date for some time as a result of non-zero exit codes from diff,
this should fix that.

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/"