From agrimm at rpath.com Mon Oct 4 14:17:51 2010
From: agrimm at rpath.com (Andy Grimm)
Date: Mon, 04 Oct 2010 18:17:51 +0000
Subject: mirrorball: sync some commented-out patches used for bi-arch
rhel5c
Message-ID: <201010041817.o94IHpih004324@scc.eng.rpath.com>
changeset: 1ec0b843b921
user: Andy Grimm
date: Mon, 04 Oct 2010 14:17:46 -0400
sync some commented-out patches used for bi-arch rhel5c
diff --git a/updatebot/update.py b/updatebot/update.py
--- a/updatebot/update.py
+++ b/updatebot/update.py
@@ -37,6 +37,11 @@
log = logging.getLogger('updatebot.update')
+# added to deal with parent platform's lack of ?arch=
+# in some manifests -- probably only needed related to bi-arch rebuilds?
+# import re
+# dropArchRE = re.compile('\?.*')
+
class Updater(object):
"""
Class for finding and updating packages.
@@ -841,6 +846,9 @@
# Take the basename of all paths in the manifest since the same rpm will
# be in different repositories for each platform.
+ # baseManifest = sorted([ dropArchRE.sub('', os.path.basename(x)) for x in manifest ])
+ # parentBaseManifest = sorted([ dropArchRE.sub('', os.path.basename(x))
+ # for x in parentManifest ])
baseManifest = sorted([ os.path.basename(x) for x in manifest ])
parentBaseManifest = sorted([ os.path.basename(x)
for x in parentManifest ])
From agrimm at rpath.com Fri Oct 8 14:01:13 2010
From: agrimm at rpath.com (Andy Grimm)
Date: Fri, 08 Oct 2010 18:01:13 +0000
Subject: mirrorball: add derivedcapsule to superclass list;
switch back to buildstamps for centos
Message-ID: <201010081801.o98I1Dd4010138@scc.eng.rpath.com>
changeset: d5bd5a34aaf7
user: Andy Grimm
date: Fri, 08 Oct 2010 14:00:59 -0400
add derivedcapsule to superclass list; switch back to buildstamps for centos
diff --git a/errata/centos.py b/errata/centos.py
--- a/errata/centos.py
+++ b/errata/centos.py
@@ -113,7 +113,8 @@
# Sort packages by build timestamp.
slices = {}
for srcPkg in self._pkgSource.srcPkgMap:
- updateId = slice(int(srcPkg.fileTimestamp or srcPkg.buildTimestamp))
+ # updateId = slice(int(srcPkg.fileTimestamp or srcPkg.buildTimestamp))
+ updateId = slice(int(srcPkg.buildTimestamp))
# If package comes from a base path, override updateId
for basePath in self._pkgSource._cfg.repositoryBasePaths:
if basePath[1].match(srcPkg.location) is not None:
diff --git a/scripts/buildautoloadrecipes b/scripts/buildautoloadrecipes
--- a/scripts/buildautoloadrecipes
+++ b/scripts/buildautoloadrecipes
@@ -47,6 +47,7 @@
fileset
group
capsule
+ derivedcapsule
groupinfo
redirect
userinfo
From agrimm at rpath.com Fri Oct 8 15:15:55 2010
From: agrimm at rpath.com (Andy Grimm)
Date: Fri, 08 Oct 2010 19:15:55 +0000
Subject: mirrorball-production: fix auto_ordered_update for non-RHEL platforms
Message-ID: <201010081915.o98JFtV9012893@scc.eng.rpath.com>
changeset: 1fd7537fe3c3
user: Andy Grimm
date: Fri, 08 Oct 2010 15:15:51 -0400
fix auto_ordered_update for non-RHEL platforms
diff --git a/scripts/auto_ordered_update b/scripts/auto_ordered_update
--- a/scripts/auto_ordered_update
+++ b/scripts/auto_ordered_update
@@ -15,22 +15,34 @@
import os
-import rhnmirror
-
from updatebot import OrderedBot
from updatebot.cmdline import display
from updatebot.cmdline.simple import main
def update(cfg):
- mcfg = rhnmirror.MirrorConfig()
- mcfg.read(os.path.join(cfg.configPath, 'erratarc'))
+ if cfg.platformName == 'rhel':
+ import rhnmirror
- errata = rhnmirror.Errata(mcfg)
- errata.fetch()
+ mcfg = rhnmirror.MirrorConfig()
+ mcfg.read(os.path.join(cfg.configPath, 'erratarc'))
- bot = OrderedBot(cfg, errata)
+ errata = rhnmirror.Errata(mcfg)
+ errata.fetch()
+
+ bot = ordered.Bot(cfg, errata)
+ else:
+ bot = ordered.Bot(cfg, None)
+
+ if cfg.platformName == 'sles':
+ from errata.sles import AdvisoryManager as Errata
+
+ elif cfg.platformName == 'centos':
+ from errata.centos import AdvisoryManager as Errata
+
+ else:
+ raise RuntimeError, 'no errata source found for %s' % cfg.platformName
+
trvMap = bot.update()
-
if trvMap:
print 'Updated the following troves:'
print display.displayTroveMap(trvMap)
From agrimm at rpath.com Fri Oct 8 16:47:57 2010
From: agrimm at rpath.com (Andy Grimm)
Date: Fri, 08 Oct 2010 20:47:57 +0000
Subject: mirrorball-production: fix an import
Message-ID: <201010082047.o98KlvEd014730@scc.eng.rpath.com>
changeset: 3d3d13621bd0
user: Andy Grimm
date: Fri, 08 Oct 2010 16:47:52 -0400
fix an import
diff --git a/scripts/auto_ordered_update b/scripts/auto_ordered_update
--- a/scripts/auto_ordered_update
+++ b/scripts/auto_ordered_update
@@ -15,9 +15,9 @@
import os
-from updatebot import OrderedBot
from updatebot.cmdline import display
from updatebot.cmdline.simple import main
+from updatebot import ordered
def update(cfg):
if cfg.platformName == 'rhel':
From agrimm at rpath.com Fri Oct 8 20:01:00 2010
From: agrimm at rpath.com (Andy Grimm)
Date: Sat, 09 Oct 2010 00:01:00 +0000
Subject: mirrorball-production: another fix for non-RHEL errata
Message-ID: <201010090001.o99010GU018995@scc.eng.rpath.com>
changeset: 6b3daf8e4ccb
user: Andy Grimm
date: Fri, 08 Oct 2010 20:00:54 -0400
another fix for non-RHEL errata
diff --git a/scripts/auto_ordered_update b/scripts/auto_ordered_update
--- a/scripts/auto_ordered_update
+++ b/scripts/auto_ordered_update
@@ -42,6 +42,9 @@
else:
raise RuntimeError, 'no errata source found for %s' % cfg.platformName
+ errata = Errata(bot._pkgSource)
+ bot._errata._errata = errata
+
trvMap = bot.update()
if trvMap:
print 'Updated the following troves:'
From agrimm at rpath.com Thu Oct 14 22:10:36 2010
From: agrimm at rpath.com (Andy Grimm)
Date: Fri, 15 Oct 2010 02:10:36 +0000
Subject: mirrorball-production: user timestamps rather than buildstamps
for centos now
Message-ID: <201010150210.o9F2Aa1F004156@scc.eng.rpath.com>
changeset: 59da69ebdf38
user: Andy Grimm
date: Thu, 14 Oct 2010 22:10:29 -0400
user timestamps rather than buildstamps for centos now
diff --git a/errata/centos.py b/errata/centos.py
--- a/errata/centos.py
+++ b/errata/centos.py
@@ -113,8 +113,10 @@
# Sort packages by build timestamp.
slices = {}
for srcPkg in self._pkgSource.srcPkgMap:
- # updateId = slice(int(srcPkg.fileTimestamp or srcPkg.buildTimestamp))
- updateId = slice(int(srcPkg.buildTimestamp))
+ if int(srcPkg.buildTimestamp) < 1286870401 or not srcPkg.fileTimestamp:
+ updateId = slice(int(srcPkg.buildTimestamp))
+ else:
+ updateId = slice(int(srcPkg.fileTimestamp))
# If package comes from a base path, override updateId
for basePath in self._pkgSource._cfg.repositoryBasePaths:
if basePath[1].match(srcPkg.location) is not None:
From juphoff at rpath.com Wed Oct 20 22:06:23 2010
From: juphoff at rpath.com (Jeff Uphoff)
Date: Thu, 21 Oct 2010 02:06:23 +0000
Subject: mirrorball: sles11e errata initial sequencing
Message-ID: <201010210206.o9L26N2v024351@scc.eng.rpath.com>
changeset: 1826afad548f
user: Jeff Uphoff
date: Wed, 20 Oct 2010 22:05:34 -0400
sles11e errata initial sequencing
diff --git a/errata/common.py b/errata/common.py
--- a/errata/common.py
+++ b/errata/common.py
@@ -110,6 +110,9 @@
__slots__ = ('advisory', 'synopsis', 'issue_date', 'nevraChannels', )
+ def __repr__(self):
+ return self.advisory
+
def __init__(self, advisory, synopsis, issue_date, packages):
self.advisory = advisory
self.synopsis = synopsis
diff --git a/errata/sles11.py b/errata/sles11.py
--- a/errata/sles11.py
+++ b/errata/sles11.py
@@ -23,6 +23,7 @@
from errata.common import Nevra
from errata.common import Package
from errata.common import Channel
+from errata.common import Advisory
from errata.sles import AdvisoryManager
log = logging.getLogger('errata')
@@ -89,10 +90,11 @@
return channel
raise RuntimeError , 'unable to find channel for %s' % pkg.location
- def getSrcPkg(binPkg):
- for srcPkg, binPkgs in self._pkgSource.srcPkgMap.iteritems():
- if binPkg in binPkgs:
- return srcPkg
+ def getSrcPkg(binPkg, binMap):
+ srcPkg = binMap[binPkg.getDegenerateNevra()]
+
+ if srcPkg:
+ return srcPkg
raise RuntimeError , 'unable to find source package for %s' % binPkg.location
def getPatchById(patches, patchid):
@@ -112,7 +114,6 @@
for path, client in self._pkgSource.getClients().iteritems():
log.info('loading patches for path %s' % path)
- #import epdb ; epdb.st()
#for patch in client.getPatchDetail():
for patch in client.getUpdateInfo():
for pkg in patch.pkglist:
@@ -139,9 +140,9 @@
# This maps patchid (without regard to repos) to timeslices.
patchidMap = map_patchids(slices)
-
+
# This requires no more than two timestamps per patchid;
- # one each for slesp3 and sdkp3 (bails out otherwise):
+ # one each for slessp1 and sdksp1 (bails out otherwise):
#
# Pondering how this can be consolidated with above code to
# reduce iterating...
@@ -150,7 +151,6 @@
#
for patchid, timestamps in patchidMap.iteritems():
if len(timestamps) > 1:
- import epdb ; epdb.st()
# Untested beyond 2.
assert(len(timestamps) == 2)
# FIXME: refactor this monster.
@@ -174,9 +174,11 @@
splitpatch[0][0], splitpatch[1][0]) +
'to superset timestamp %s' % splitpatch[0][2].issued)
splitpatch[1][2].issued = splitpatch[0][2].issued
- # So far this has only been tested in pure-subset cases.
else:
- raise RuntimeError , 'neither %s nor %s is a subset of the other' % (splitpatch[0][0], splitpatch[1][0])
+ maxtime = max(splitpatch[1][2].issued,
+ splitpatch[0][2].issued)
+ log.info('neither %s nor %s is a subset of the other, syncing timestamps (%s & %s) to later timestamp: %s' % (splitpatch[0][0], splitpatch[1][0], splitpatch[1][2].issued, splitpatch[0][2].issued, maxtime))
+ splitpatch[1][2].issued = splitpatch[0][2].issued = maxtime
advPkgMap = {}
nevras = {}
@@ -184,9 +186,12 @@
srcPkgAdvMap = {}
srcPkgPatchidMap = {}
+ binMap = dict([ (x.getNevra(), y) for x,y in
+ self._pkgSource.binPkgMap.iteritems() ])
+
for patch in patches:
advisory = patch.id
- patchid = patchidNoRepo(advisory)
+ patchid = patch.id
for binPkg in patch.pkglist:
nevra = binPkg.getNevra()
@@ -195,7 +200,7 @@
package = Package(channelObj, nevraObj)
packageObj = packages.setdefault(package, package)
advPkgMap.setdefault(advisory, set()).add(packageObj)
- srcPkgObj = getSrcPkg(binPkg)
+ srcPkgObj = getSrcPkg(binPkg, binMap)
srcPkgAdvMap.setdefault(srcPkgObj, set()).add(advisory)
srcPkgPatchidMap.setdefault(srcPkgObj, set()).add(patchid)
@@ -239,4 +244,4 @@
#AdvisoryManager._order(self)
- #import epdb ; epdb.st()
+ import epdb ; epdb.st()
diff --git a/repomd/updateinfoxml.py b/repomd/updateinfoxml.py
--- a/repomd/updateinfoxml.py
+++ b/repomd/updateinfoxml.py
@@ -17,6 +17,8 @@
Refer to patchxml.py for previous versions.
"""
+import os
+
import logging
log = logging.getLogger('repomd')
@@ -123,9 +125,10 @@
return relcmp
# Is there even a summary in the schema?!?
- sumcmp = cmp(self.summary, other.summary)
- if sumcmp != 0:
- return sumcmp
+ # There's a slot in mirrorball, but it's empty, and nothing in xml.
+ #sumcmp = cmp(self.summary, other.summary)
+ #if sumcmp != 0:
+ # return sumcmp
desccmp = cmp(self.description, other.description)
if desccmp != 0:
@@ -258,6 +261,17 @@
else:
raise UnknownElementError(child)
+ def getDegenerateNevra(self):
+ """
+ Return the name, epoch, version, release, and arch of the package.
+ Return 0 for the epoch if otherwise undefined.
+ """
+
+ # SLES11 appears to leave epoch info out of metadata.
+ if not self.epoch:
+ return (self.name, u'0', self.version, self.release, self.arch)
+ return (self.name, self.epoch, self.version, self.release, self.arch)
+
def getNevra(self):
"""
Return the name, epoch, version, release, and arch of the package.
@@ -265,7 +279,38 @@
return (self.name, self.epoch, self.version, self.release, self.arch)
+ def __repr__(self):
+ return os.path.basename(self.location)
+ def __cmp__(self, other):
+ pkgcmp = PackageCompare.__cmp__(self, other)
+ if pkgcmp != 0:
+ return pkgcmp
+
+ # Compare arch before checksum to catch cases of multiple
+ # arch-specific packages that happen to have same content
+ # (e.g. SLES xorg-x11-fonts packages).
+ archcmp = cmp(self.arch, other.arch)
+ if archcmp != 0:
+ return archcmp
+
+ # Compare checksum only for equality, otherwise sorting will result in
+ # checksum ordering.
+ if (self.checksum and other.checksum and
+ self.checksumType == other.checksumType and
+ self.checksum == other.checksum):
+ return 0
+
+ # Compare on archiveSize for equality only. This is needed for rpms
+ # that have identical contents, but may have been rebuilt. Idealy we
+ # would use file checksums for this, but we don't have the payload
+ # contents available at this time.
+ if (self.archiveSize and other.archiveSize and
+ self.archiveSize == other.archiveSize):
+ return 0
+
+ return cmp(self.location, other.location)
+
class UpdateInfoXml(XmlFileParser):
"""
Bind all types for parsing updateinfo.xml.
diff --git a/updatebot/errata.py b/updatebot/errata.py
--- a/updatebot/errata.py
+++ b/updatebot/errata.py
@@ -338,7 +338,7 @@
current.pop(srpm.name, None)
continue
if srpm.getNevra() in explicitIgnoreSources:
- log.info('explicitly ignoring source package update %s' % [ignoreSource])
+ log.info('explicitly ignoring source package update %s' % [explicitIgnoreSources])
continue
for pkg in sorted(self._pkgSource.srcPkgMap[srpm]):
if pkg.arch == 'src':
@@ -654,6 +654,12 @@
# one bucket. This can happen when a partial set of packages was
# released and the code tried to fill in the other packages by build
# time.
+ #
+ # This has to be commented out for SLES11e due to a reissuing
+ # of python-base as an update (when it was already provided in
+ # the base).
+ # Need to work around this programmatically.
+ #
assert len(pkgs) == totalPkgs
# fold together updates to preserve dep closure.
@@ -869,11 +875,13 @@
indexedChannels = set(self._errata.getChannels())
# FIXME: This should not be a hard coded set of arches.
arches = ('i386', 'i486', 'i586', 'i686', 'x86_64', 'noarch')
+ log.info('processing %s errata' %
+ len([x for x in self._errata.iterByIssueDate()]))
for e in self._errata.iterByIssueDate():
bucket = []
allocated = []
bucketId = None
- #log.info('processing %s' % e.advisory)
+ log.info('processing %s' % e.advisory)
# Get unique list of nevras for which we have packages indexed and
# are of a supported arch.
@@ -891,6 +899,7 @@
# move nevra to errata buckets
if nevra in nevras:
binPkg = nevras.pop(nevra)
+ log.info ('dropping %s into bucket' % binPkg)
bucket.append(binPkg)
allocated.append(nevra)
From juphoff at rpath.com Fri Oct 22 10:58:46 2010
From: juphoff at rpath.com (Jeff Uphoff)
Date: Fri, 22 Oct 2010 14:58:46 +0000
Subject: mirrorball: handle pacakge drops before check assertion
Message-ID: <201010221458.o9MEwkrB002779@scc.eng.rpath.com>
changeset: c65c671a9622
user: Jeff Uphoff
date: Fri, 22 Oct 2010 10:58:36 -0400
handle pacakge drops before check assertion
diff --git a/updatebot/errata.py b/updatebot/errata.py
--- a/updatebot/errata.py
+++ b/updatebot/errata.py
@@ -644,6 +644,15 @@
# Start order munging here
##
+ # Remove any source packages we're deliberately ignoring:
+ # Note that we do this before we check for drops, as some drops
+ # are deliberate.
+ ignoredCount = 0
+ for source, nevras in self._cfg.ignoreSourceUpdate.iteritems():
+ for nevra in nevras:
+ self._reorderSource(source, None, nevra)
+ ignoredCount += 1
+
# Make sure we don't drop any updates
totalPkgs = sum([ len(x) for x in self._order.itervalues() ])
pkgs = set()
@@ -678,13 +687,6 @@
for source, dest, nevra in self._cfg.reorderSource:
self._reorderSource(source, dest, nevra)
- ignoredCount = 0
- # remove any source packages we're deliberately ignoring:
- for source, nevras in self._cfg.ignoreSourceUpdate.iteritems():
- for nevra in nevras:
- self._reorderSource(source, None, nevra)
- ignoredCount += 1
-
# add a source to a specific bucket, used to "promote" newer versions
# forward.
nevras = dict([ (x.getNevra(), x)
@@ -701,7 +703,7 @@
for pkgSet in self._order.itervalues():
pkgs.update(pkgSet)
assert len(pkgs) == totalPkgs2 - diffCount
- assert totalPkgs2 == totalPkgs + diffCount - ignoredCount
+ assert totalPkgs2 == totalPkgs + diffCount
def _mergeUpdates(self, mergeList):
"""
From juphoff at rpath.com Fri Oct 22 12:24:59 2010
From: juphoff at rpath.com (Jeff Uphoff)
Date: Fri, 22 Oct 2010 16:24:59 +0000
Subject: mirrorball: add sles11 platformName to order_update.py
Message-ID: <201010221624.o9MGOxDx007268@scc.eng.rpath.com>
changeset: 43dadf32074d
user: Jeff Uphoff
date: Fri, 22 Oct 2010 12:23:37 -0400
add sles11 platformName to order_update.py
diff --git a/scripts/order_update.py b/scripts/order_update.py
--- a/scripts/order_update.py
+++ b/scripts/order_update.py
@@ -74,6 +74,9 @@
if cfg.platformName == 'sles':
from errata.sles import AdvisoryManager as Errata
+ if cfg.platformName == 'sles11':
+ from errata.sles11 import AdvisoryManager11 as Errata
+
elif cfg.platformName == 'centos':
from errata.centos import AdvisoryManager as Errata
From juphoff at rpath.com Mon Oct 25 05:55:09 2010
From: juphoff at rpath.com (Jeff Uphoff)
Date: Mon, 25 Oct 2010 09:55:09 +0000
Subject: mirrorball: fix typo
Message-ID: <201010250955.o9P9t9Rj021646@scc.eng.rpath.com>
changeset: 351c6e23247e
user: Jeff Uphoff
date: Mon, 25 Oct 2010 05:55:03 -0400
fix typo
diff --git a/updatebot/groupmgr/sanity.py b/updatebot/groupmgr/sanity.py
--- a/updatebot/groupmgr/sanity.py
+++ b/updatebot/groupmgr/sanity.py
@@ -51,7 +51,7 @@
errors = []
for name, group in groups.iteritems():
- log.info('checking consistentcy of %s' % name)
+ log.info('checking consistency of %s' % name)
try:
log.info('checking name version conflict')
self._checkNameVersionConflict(group)
From juphoff at rpath.com Thu Oct 28 11:51:26 2010
From: juphoff at rpath.com (Jeff Uphoff)
Date: Thu, 28 Oct 2010 15:51:26 +0000
Subject: mirrorball: add FIXME comment re PFM-806
Message-ID: <201010281551.o9SFpQYK030208@scc.eng.rpath.com>
changeset: af715a10ea04
user: Jeff Uphoff
date: Thu, 28 Oct 2010 11:51:19 -0400
add FIXME comment re PFM-806
diff --git a/updatebot/errata.py b/updatebot/errata.py
--- a/updatebot/errata.py
+++ b/updatebot/errata.py
@@ -821,6 +821,10 @@
# Remove specified source nevra from the source bucket
bucketNevras = dict([ (x.getNevra(), x)
for x in self._order[source] ])
+ # FIXME: the above line will fail with a KeyError exception in
+ # cases where a removal directive refers to a bucket that
+ # doesn't exist. Add an option to prevent that and silently
+ # ignore? (PFM-806)
if nevra not in bucketNevras:
raise PackageNotFoundInBucketError(nevra=nevra, bucketId=source)
srpm = bucketNevras[nevra]
From juphoff at rpath.com Sun Oct 31 09:50:39 2010
From: juphoff at rpath.com (Jeff Uphoff)
Date: Sun, 31 Oct 2010 13:50:39 +0000
Subject: mirrorball: add sles11 platform functionality, reset package
lists for sles11 rebuild
Message-ID: <201010311350.o9VDodWg019065@scc.eng.rpath.com>
changeset: 7141af8c5d4e
user: Jeff Uphoff
date: Sun, 31 Oct 2010 09:50:18 -0400
add sles11 platform functionality, reset package lists for sles11 rebuild
diff --git a/scripts/rebuildgroups b/scripts/rebuildgroups
--- a/scripts/rebuildgroups
+++ b/scripts/rebuildgroups
@@ -38,7 +38,7 @@
readdPackages=True, restart=False):
"""
Rebuild all groups on the devel label. This requires rewriting the group
- model to point at the target label and readding content.
+ model to point at the target label and re-adding content.
@param updatedPackages: List of package names that have been rebuilt and
thus need to be updated when modifying the
groups.
@@ -59,6 +59,7 @@
'5': '5.0', },
'centos': {'5': '0', },
'sles': {'10': 'sp3', },
+ 'sles11': {'11': '0', },
}
# Make sure to include any packages that were built from the same
@@ -282,6 +283,9 @@
if cfg.platformName == 'sles':
from errata.sles import AdvisoryManager as Errata
+ if cfg.platformName == 'sles11':
+ from errata.sles11 import AdvisoryManager11 as Errata
+
elif cfg.platformName == 'centos':
from errata.centos import AdvisoryManager as Errata
@@ -291,49 +295,11 @@
errata = Errata(bot._pkgSource)
bot._errata._errata = errata
- rebuiltPackages = ['kernel', 'xenpv', 'lpfc-kmod', 'be2net-kmod',
- 'alacarte', 'alchemist', 'audit', 'authconfig', 'avahi', 'beecrypt',
- 'cracklib', 'dbus-python', 'dogtail', 'eruby', 'gamin', 'gnome-applets',
- 'gnome-bluetooth', 'gnome-menus', 'gnome-python2',
- 'gnome-python2-desktop', 'gnome-python2-extras', 'gtk-vnc', 'hplip',
- 'iscsi-initiator-utils', 'java-1.4.2-gcj-compat', 'kdebindings',
- 'kudzu', 'lcms', 'libbtctl', 'libieee1284', 'libselinux', 'libsemanage',
- 'libuser', 'libxml2', 'libxslt', 'm2crypto', 'mkinitrd', 'mod_python',
- 'mx', 'MySQL-python', 'newt', 'notify-python', 'oddjob', 'OpenIPMI',
- 'orca', 'pexpect', 'pirut', 'policycoreutils', 'postgresql',
- 'postgresql84', 'pycairo', 'pygobject2', 'pygtk2', 'pykickstart',
- 'pyOpenSSL', 'pyorbit', 'pyparted', 'PyQt', 'Pyrex', 'pyspi', 'python',
- 'python-dmidecode', 'python-elementtree', 'python-imaging',
- 'python-iniparse', 'python-ldap', 'python-numeric', 'python-pyblock',
- 'python-setuptools', 'python-sqlite', 'python-urlgrabber',
- 'pyxf86config', 'PyXML', 'rhel-instnum', 'rhnlib', 'rhpl', 'rhpxl',
- 'rpm', 'ruby', 'sabayon', 'setroubleshoot', 'sip', 'sos', 'subversion',
- 'system-config-printer', 'vte', 'wireshark', 'yum',
- 'yum-metadata-parser', 'mvapich2', 'gnome-doc-utils',
- 'system-config-lvm', 'booty', 'smartmontools', 'devhelp',
- 'system-switch-mail', 'gedit', 'system-config-nfs', 'ant',
- 'kexec-tools', 'inn', 'tetex', 'docbook-style-xsl', 'firstboot',
- 'system-config-kickstart', 'kdesdk', 'system-config-display',
- 'switchdesk', 'gimp', 'system-config-samba', 'kdevelop', 'hal', 'frysk',
- 'redhat-release', 'gettext', 'libglade2', 'system-config-bind',
- 'system-config-httpd', 'system-config-keyboard',
- 'system-config-language', 'system-config-kdump', 'libhugetlbfs',
- 'comps-extras', 'system-config-soundcard', 'systemtap', 'vnc',
- 'conary-policy', 'system-config-services', 'createrepo', 'blktrace',
- 'yum-utils', 'system-config-netboot', 'sblim', 'setroubleshoot-plugins',
- 'xinetd', 'rhn-client-tools', 'libevent', 'mailman',
- 'system-config-securitylevel', 'selinux-policy', 'hwbrowser',
- 'bluez-utils', 'system-config-users', 'cman', 'yum-rhn-plugin',
- 'system-config-boot', 'system-config-network', 'system-config-date',
- 'ecryptfs-utils', 'tix', 'anaconda', 'system-config-rootpassword',
- 'dstat', 'gaim', 'gnome-games', 'kdeaddons', 'pidgin', 'planner',
- 'redhat-release', 'rhythmbox', 'openoffice.org', 'spice-usb-redirector']
+ rebuiltPackages = [ 'rpm', ]
- tags = [ 'chkconfig', 'desktop-file-utils', 'fontconfig', 'gtk+', 'pango',
- 'setup', 'shadow-utils', 'shared-mime-info', 'texinfo',
- 'xorg-x11-font-utils' ]
+ tags = []
- extraPackages = [ 'xulrunner', 'firefox', 'gnome-vfs2', 'numactl', ]
+ extraPackages = []
bot.rebuildgroups(restart=False, resolveTargetVersions=False, readdPackages=True,
updatedPackages=rebuiltPackages + tags + extraPackages)
From juphoff at rpath.com Sun Oct 31 10:03:08 2010
From: juphoff at rpath.com (Jeff Uphoff)
Date: Sun, 31 Oct 2010 14:03:08 +0000
Subject: mirrorball: add support for sles11 platform
Message-ID: <201010311403.o9VE38C6019399@scc.eng.rpath.com>
changeset: 0846b3db0cc6
user: Jeff Uphoff
date: Sun, 31 Oct 2010 10:03:05 -0400
add support for sles11 platform
diff --git a/scripts/order_promote.py b/scripts/order_promote.py
--- a/scripts/order_promote.py
+++ b/scripts/order_promote.py
@@ -56,6 +56,9 @@
if cfg.platformName == 'sles':
from errata.sles import AdvisoryManager as Errata
+ if cfg.platformName == 'sles11':
+ from errata.sles11 import AdvisoryManager11 as Errata
+
elif cfg.platformName == 'centos':
from errata.centos import AdvisoryManager as Errata