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

« back to all changes in this revision

Viewing changes to auto-accept

  • 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
 
#!/usr/bin/python
 
1
#!/usr/bin/python3
2
2
import subprocess
3
3
import sys
4
4
import time
5
5
 
6
6
from launchpadlib.launchpad import Launchpad
7
7
 
8
 
SERIES = "eoan"
 
8
SERIES = "noble"
9
9
POCKET = "Proposed"
10
10
QUEUE = "Unapproved"
11
 
SEED_WHITELIST = ["ubuntu-desktop-next", "ubuntugnome", "edubuntu"]
12
 
PACKAGESET_WHITELIST = {"ubuntugnome", "edubuntu", "i386-excludes"}
 
11
SEED_WHITELIST = []
 
12
PACKAGESET_WHITELIST = {"i386-excludes", "i386-whitelist"}
13
13
SEEDED_IN_UBUNTU = "/home/ubuntu-archive/ubuntu-dev-tools/seeded-in-ubuntu"
14
 
PACKAGE_WHITELIST = ["upstart-app-launch", "click", "click-apparmor",
15
 
                     "apparmor-easyprof-ubuntu", "ubuntuone-credentials"]
 
14
PACKAGE_WHITELIST = []
16
15
 
17
16
DEBUG = 0
18
17
if len(sys.argv) > 1 and sys.argv[1] == "debug":
28
27
# Get the series
29
28
series = ubuntu.getSeries(name_or_version=SERIES)
30
29
 
 
30
if series.status not in ('Active Development', 'Pre-release Freeze'):
 
31
    print("Series no longer in active development; not accepting packages")
 
32
    sys.exit(1)
31
33
 
32
34
# Process the packages
33
35
for pkg in series.getPackageUploads(status=QUEUE, pocket=POCKET,