summaryrefslogtreecommitdiffstats
path: root/build_tools/bin/check_repo
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-11 18:22:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-11 18:22:39 (GMT)
commitbbe9f180abd551b6ebee978cbbab9adbc5eb70a4 (patch)
treeb6ca15ba01ede12bcb49ca56642ccbde38ebb9c8 /build_tools/bin/check_repo
parent6eda31e90db020e8e2b8bd7bcd2bef38ec59fc6a (diff)
downloadlinhes_dev-bbe9f180abd551b6ebee978cbbab9adbc5eb70a4.zip
updated checkpackages.py and introduced massupdate_linhes.py.
massupdate will scan /var/abs and tell you which linhes pkg's are outdated when comared against arch src.
Diffstat (limited to 'build_tools/bin/check_repo')
-rwxr-xr-xbuild_tools/bin/check_repo/check_packages.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_tools/bin/check_repo/check_packages.py b/build_tools/bin/check_repo/check_packages.py
index 39ac4fb..101e14e 100755
--- a/build_tools/bin/check_repo/check_packages.py
+++ b/build_tools/bin/check_repo/check_packages.py
@@ -114,7 +114,7 @@ def parse_dbs(repos,arch):
dbpkgs = {}
for repo in repos:
pkgs = set([])
- db = tarfile.open(os.path.join(repodir,repo,repo + DBEXT))
+ db = tarfile.open(os.path.join(repodir,repo+"-testing",repo+"-testing" + DBEXT))
for line in db.getnames():
if not '/' in line:
pkgs.add(line.rsplit('-',2)[0])
@@ -406,7 +406,7 @@ for absroot in absroots:
print "Error : the abs tree " + absroot + " does not exist"
sys.exit()
for repo in repos:
- repopath = absroot + "/" + repo
+ repopath = absroot + "/" + repo
if not os.path.isdir(repopath):
print "Error : the repository " + repo + " does not exist in " + absroot
sys.exit()
@@ -415,7 +415,7 @@ if not os.path.isdir(repodir):
sys.exit()
for repo in repos:
#path = os.path.join(repodir,repo,repo + DBEXT)
- path = os.path.join(repodir,repo,repo + DBEXT)
+ path = os.path.join(repodir,repo+"-testing",repo+"-testing" + DBEXT)
if not os.path.isfile(path):
print "Error : repo DB %s : File not found" % path
sys.exit()