[yum-commits] 4 commits - Makefile plugins/aliases reposync.py test/yum-utils-pylintrc yumdb.py yum-utils.spec
Tim Lauridsen
timlau at osuosl.org
Tue May 19 05:17:10 UTC 2009
Makefile | 7 +++++--
plugins/aliases/aliases.py | 1 -
reposync.py | 4 ++--
test/yum-utils-pylintrc | 2 +-
yum-utils.spec | 1 -
yumdb.py | 5 ++---
6 files changed, 10 insertions(+), 10 deletions(-)
New commits:
commit d6ab6a5c15d3de6e15dec2c04ebd4b5005a541f2
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Tue May 19 06:37:38 2009 +0200
fix spec syntax error (2 line summary)
diff --git a/yum-utils.spec b/yum-utils.spec
index a48c732..da08ca7 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -346,7 +346,6 @@ repositories.
%package -n yum-plugin-show-leaves
Summary: Yum plugin which shows newly installed leaf packages
-packages that became leaves after a transaction
Group: System Environment/Base
Requires: yum >= 3.2.23
commit ab9bec1ac6c656492037bbf350ac67ece6375bab
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Tue May 19 06:34:22 2009 +0200
fix git-archive
diff --git a/Makefile b/Makefile
index 3e33c57..3240fdd 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ install:
archive:
@rm -rf ${PKGNAME}-${VERSION}.tar.gz
- @git-archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ HEAD | gzip -9v >${PKGNAME}-$(VERSION).tar.gz
+ @git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ HEAD | gzip -9v >${PKGNAME}-$(VERSION).tar.gz
@echo "The archive is in ${PKGNAME}-$(VERSION).tar.gz"
srpm: archive
@@ -68,7 +68,7 @@ test-release:
@git commit -a -m "updated ChangeLog"
# Make archive
@rm -rf ${PKGNAME}-${VERSION}.test.tar.gz
- @git-archive --format=tar --prefix=$(PKGNAME)-$(VERSION).test/ HEAD | gzip -9v >${PKGNAME}-$(VERSION).test.tar.gz
+ @git archive --format=tar --prefix=$(PKGNAME)-$(VERSION).test/ HEAD | gzip -9v >${PKGNAME}-$(VERSION).test.tar.gz
# Build RPMS
@rpmbuild -ta ${PKGNAME}-${VERSION}.test.tar.gz
@$(MAKE) test-cleanup
commit 15a6ab79b68bf53eb0f07f46a46eaf524ead476b
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Tue May 19 06:22:23 2009 +0200
added install-builddeps Makefile target
diff --git a/Makefile b/Makefile
index bb65bf6..3e33c57 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,9 @@ release:
release-tag:
@git tag -s -f -m "Tagged ${PKGNAME}-$(VERSION)" ${PKGNAME}-$(VERSION)
@git push --tags origin
+
+install-builddeps:
+ su -c "yum install perl-TimeDate "
test-release:
@git checkout -b release-test
commit 68e33332dbffeccdb1627f741c436faa401fd770
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Tue May 19 06:16:36 2009 +0200
fixed pylint errors: bad indentation, unused imports and global not known at module level
diff --git a/plugins/aliases/aliases.py b/plugins/aliases/aliases.py
index 4eb2668..dc8eae8 100644
--- a/plugins/aliases/aliases.py
+++ b/plugins/aliases/aliases.py
@@ -17,7 +17,6 @@
# by James Antill
from yum.plugins import TYPE_INTERACTIVE, PluginYumExit
-import sys
import time
try: # yumex doesn't like import cli, but runs this
from cli import CliError
diff --git a/reposync.py b/reposync.py
index 655caa8..5a8e87f 100755
--- a/reposync.py
+++ b/reposync.py
@@ -208,9 +208,9 @@ def main():
download_list = list(reposack)
if opts.norepopath:
- local_repo_path = opts.destdir
+ local_repo_path = opts.destdir
else:
- local_repo_path = opts.destdir + '/' + repo.id
+ local_repo_path = opts.destdir + '/' + repo.id
if opts.delete and os.path.exists(local_repo_path):
current_pkgs = localpkgs(local_repo_path)
diff --git a/test/yum-utils-pylintrc b/test/yum-utils-pylintrc
index f7aee50..7c5a6a2 100644
--- a/test/yum-utils-pylintrc
+++ b/test/yum-utils-pylintrc
@@ -82,7 +82,7 @@ disable-msg-cat=C,R
# W0703: *Catch "Exception"*
# W1010: *Exception doesn't inherit from standard "Exception" class* (give false positives on ex. KeyboardInterrupt)
# W0631: *Using possibly undefined loop variable %r* (Gives to many false positives)
-disable-msg=E1101,F0401,W0704,W0612,W0212,W0613,W0602,W0511,W0401,W0614,W0232,W0201,W0603,W0621,W0142,W0102,W0105,W0702,W0231,E0202,W0622,W0403,W0223,W0104,W1001,W0221,W0703,W1010,W0631
+disable-msg=E1101,F0401,W0704,W0612,W0212,W0613,W0602,W0511,W0401,W0614,W0232,W0201,W0603,W0621,W0142,W0102,W0105,W0702,W0231,E0202,W0622,W0403,W0223,W0104,W1001,W0221,W0703,W0631
[REPORTS]
diff --git a/yumdb.py b/yumdb.py
index 24222ae..de2ff65 100755
--- a/yumdb.py
+++ b/yumdb.py
@@ -1,15 +1,14 @@
#!/usr/bin/python -tt
-import os
import sys
-import re
-import string
import optparse
import fnmatch
import yum
import shlex
+parser = None
+
def setup_opts():
version = "0.0.1"
vers_txt = "Manage yum groups metadata version %s" % version
More information about the Yum-commits
mailing list