2010-07-30 Seth Vidal * yum.spec, yum/__init__.py: 3.2.28 2010-07-23 James Antill * yum/transactioninfo.py: Unnecessarily load yumdb data from old packages, for hardlinks (minor hack) 2010-07-22 James Antill * yum/rpmsack.py: Do automatic hardlinking for some yumdb key/values that are often shared. 2010-07-22 James Antill * yum/rpmsack.py: Be cleverer about looking in the yumdb cache 2010-07-22 James Antill * yum/rpmsack.py: Add a cache for common yumdb data, that is hardlinked. 2010-07-22 James Antill * yum/misc.py: Add a non-exceptional stat wrapper 2010-07-22 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Act on --releasever for all utils.py users 2010-07-22 James Antill * utils.py: Act on --releasever for all utils.py users 2010-07-22 Seth Vidal * yum/__init__.py: if we lock and selinux (or something) keeps us from even accessing the lockfile/dir we shouldn't trace back but generate a nice-ish lock error. https://bugzilla.redhat.com/show_bug.cgi?id=617170 2010-07-20 Seth Vidal * yum/repos.py, yum/yumRepo.py: fix for https://bugzilla.redhat.com/show_bug.cgi?id=613399 in two ways - so that various api callers get the benefit no matter which objects they are using. If we have a mediaid and no mediafunc and no other urls to use - then mark the repo as 'skip_if_unavailable' and 'disabled' Then if we get any repo obj back from repo.setup() as not enabled then mark it as disabled in the repos object - this is mostly so our plugins don't accidentally trample all over it. 2010-07-20 Seth Vidal * docs/yum.8: note legacy existence of localinstall/localupdate and that downgrade can take an rpm filename. 2010-07-15 James Antill * yum/Errors.py, yum/__init__.py: Fix API for anaconda catching rpm transaction failures, BZ 613817 2010-07-14 James Antill * rpmUtils/arch.py: Fix for /proc isn't mounted, continues as though cpuinfo was empty 2010-07-09 Seth Vidal * yum/logginglevels.py: disable logging.basicConfig() for ticket 525 -- comment the hell out of it 2010-07-07 James Antill * yum/packages.py: Add the package we are operating on to YumVerifyPackage, as self.po 2010-07-07 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Pass the packages that failed to reinstall, fixes provides/files. BZ 612201. 2010-07-07 Seth Vidal * rpmUtils/arch.py: whoops - make sure I don't change the var name w/o correcting it elsewhere :( 2010-07-07 James Antill * cli.py, yum/Errors.py, yum/__init__.py: Pass the packages that failed to reinstall, fixes provides/files. BZ 612201. 2010-07-07 Seth Vidal * rpmUtils/arch.py: add archlist_includes_compat option to ArchStorage.setup_arch this allows us to prune out the non-main arch level if we just want to look at x86_64 only. It's a shorthand for pruning out all the other compat archs (i686, i586, etc) 2010-07-06 Seth Vidal * utils.py: pass all the args in for buildTransaction() 2010-07-06 Seth Vidal * utils.py: - add doUtilBuildTransaction() to YumUtilsBase() so we can capture errors better - move around all the exit functions so they are part of the class - fix up utf8_width use so we're not just being lucky :) 2010-07-02 James Antill Fix conflict on plugin additions! 2010-07-01 James Antill * yum/packages.py: Change pkg.verify slightly so that we don't have to init, and add the callback. 2010-07-01 James Antill * yum/__init__.py, yum/plugins.py: Add YumBase.verify_plugins_cb, to be used as the callback to pkg.verify() 2010-06-30 James Antill * yum/packages.py: Giant change to pkg.verify, this is the first step to allow plugins to alter what we are going to verify. Of course 666 hours after starting this I realize we don't have a YumBase at this point ... so we'll need to create a yb.verify_pkg() or something so we can call the yb.plugins.run(). I knew I shouldn't have listened to Seth ;). Amusingly this also fixes a few weird edge case bugs. 2010-06-30 Seth Vidal * yum/depsolve.py: clean up some comments referencing the ipkgresults dict - since they no longer make any sense 2010-06-30 Seth Vidal * yum/depsolve.py, yum/plugins.py: add compare_providers plugin hook - clean up the ipkgresults vs pkgresults at the top of compare_providers - add CompareProvidersPluginConduit to plugins 2010-06-30 Seth Vidal * yum/__init__.py: comment to think about a conditional to deal with y-c-t from rh bug #608984 2010-06-30 James Antill * output.py: Fix history addon-info, show latest transaction info when no arg. add _(). 2010-06-30 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix the not possible yet, edge case slots deadlock. Save the full args. (including options) for the cmdline data. 2010-06-30 Seth Vidal * output.py, yum/__init__.py: - fixes to addon history info - fix issue writing out config - change name of default addon info to make people happy 2010-06-29 Seth Vidal * docs/yum.8, output.py, yum/history.py, yumcommands.py: display/retrieve additional history info we have stored - add 'addon-info' as an option to history cmd - add return_addon_data as method of history class - display that addon info is available in yum history info results - update docs to mention it 2010-06-29 James Antill * yum/plugins.py: Fix the not possible yet, edge case slots deadlock. 2010-06-29 James Antill * yum/__init__.py: Save the full args. (including options) for the cmdline data. 2010-06-28 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Updated Russian (ru) translation to 98% 2010-06-28 Seth Vidal * yum/__init__.py: add yum config and enabled repos as additional history info - stored per transaction 2010-06-28 Timon * po/ru.po: l10n: Updated Russian (ru) translation to 98% New status: 560 messages complete with 9 fuzzies and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-06-25 Seth Vidal * yum/history.py: stupid typo/thinkos in the write_addon_data method to history. 2010-06-24 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Show a nice error message when a user tries to access history. Fix make check, due to rpmdb.readOnlyTS() not being in FakeRpmDb. Fix the indentation on key_installed. Make the "installing gpg key" messages nicer, showing the owning package. GPG provides can have spaces: gpg(Fedora (13) ). 2010-06-24 James Antill * yumcommands.py: Show a nice error message when a user tries to access history. 2010-06-24 James Antill * test/testbase.py: Fix make check, due to rpmdb.readOnlyTS() not being in FakeRpmDb. 2010-06-22 James Antill * yum/__init__.py: Fix the indentation on key_installed. 2010-06-22 James Antill * yum/__init__.py: Make the "installing gpg key" messages nicer, showing the owning package. 2010-06-22 James Antill * yum/misc.py: GPG provides can have spaces: gpg(Fedora (13) ). 2010-06-23 Seth Vidal * cli.py, yum/__init__.py: - multiple checks to make sure we're not trying to install a deltarpm directly - also make sure no bogons filter in for localinstall. 2010-06-23 Seth Vidal * rpmUtils/updates.py: - make sure when we have multiple identical updating pkgs that we don't look at them as complex updates fixes part of rh bug: 607258 2010-06-22 Seth Vidal * yum/__init__.py, yum/history.py: - move historyend call to before history.end() - fix a couple of typos - check to make sure we're not saving _nothing_ 2010-06-21 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Document the semi-special running kernel protection. Protect kernel from any kind of removal, in the protection code. Protect users from manually remove/reinstall the running kernel. Make "yum list kmod\*" look better (ie. repoid is always overflowing). Fix/allow reinstalls of installonly packages (BZ 605226): 2010-06-21 Seth Vidal * yum/__init__.py, yum/history.py, yum/plugins.py: - add historyend and historybegin plugin conduits - add history write_addon_data and an addon_data path so we can write out arbitrary data to a file stored per history file and per transaction id - add historypluginconduit which gives the user access to yumbase.history directly 2010-06-21 James Antill * docs/yum.conf.5: Document the semi-special running kernel protection. 2010-06-21 James Antill * yum/__init__.py: Protect kernel from any kind of removal, in the protection code. 2010-06-21 James Antill * yum/__init__.py: Protect users from manually remove/reinstall the running kernel. 2010-06-18 James Antill * output.py: Make "yum list kmod\*" look better (ie. repoid is always overflowing). 2010-06-18 James Antill * yum/__init__.py, yum/transactioninfo.py: Fix/allow reinstalls of installonly packages (BZ 605226): . We have to mark them as reinstalls. . Stop aborting them manually. . Turn installonly removals off, when they are being reinstalled. ...the only "problem" is that if you do "yum reinstall kernel" we'll reinstall all versions of the kernel that are available. 2010-06-17 James Antill Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: check for this being a test transaction before updating the yum history db add getTsFlags() and isTsFlagSet() to rpmUtils.transaction.TransactionWrapper for rh bug 604529 - make sure when we compare mtime we're comparing the ints vs the ints 2010-06-17 James Antill * output.py: Cleanup package state output in history info output. 2010-06-17 Seth Vidal * yum/__init__.py: check for this being a test transaction before updating the yum history db If rpm.RPMTRANS_FLAG_TEST is set - then the transaction won't actually DO anything. Therefore- don't record that it did in the history and don't try to verify the transaction. 2010-06-17 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Work around really long usernames, with no geocos fullname data, BZ 605039. 2010-06-17 Seth Vidal * rpmUtils/transaction.py: add getTsFlags() and isTsFlagSet() to rpmUtils.transaction.TransactionWrapper to make it less excruciating to see what is set in the rpm transaction flags 2010-06-17 Seth Vidal * yum/packages.py: for rh bug 604529 - make sure when we compare mtime we're comparing the ints vs the ints and not extra trailing fractions of a second. 2010-06-17 James Antill * output.py: Work around really long usernames, with no geocos fullname data, BZ 605039. 2010-06-17 Seth Vidal * yum/config.py: fix for writing back out changes to a repo config and the repoid in the config has a $var in it write it back out to the right repoid. closes rh bug: https://bugzilla.redhat.com/show_bug.cgi?id=604973 2010-06-16 Yuri Chornoivan * po/uk.po: l10n: Updated Ukrainian (uk) translation to 100% New status: 569 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-06-16 Yuri Chornoivan * po/uk.po: l10n: Updated Ukrainian (uk) translation to 78% New status: 444 messages complete with 0 fuzzies and 125 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-06-15 James Antill * yum/history.py: Fix history recording installs, from the txmbr cleanup 2010-06-14 James Antill * yum/metalink.py: Parse out the new private attribute for urls 2010-06-15 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Added British English translation l10n: Updated Czech (cs) translation to 100% l10n: Initial Ukrainian translation Fix 0 vs None Epoch handling in compareEVR(). Deal with putting non-en rpmdb problems in the history DB Add name to FakeRepo Add protected.d and vars to the yum.conf man page FILES section Fix the tsflags documentation Only do installed_by and changed_by if we are dealing with installed pkgs. 2010-06-15 Seth Vidal * yum/__init__.py: add 'if self.conf.obsoletes' to the installed-pkg obsoletes check for localinstall 2010-06-15 Seth Vidal * yum/__init__.py: when doing a localinstall check to see if the pkg we want to install is obsoleted by something already installed not just those things in the repos. 2010-06-15 Bruce Cowan * po/en_GB.po: l10n: Added British English translation New status: 569 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-06-14 Adam Pribyl * po/cs.po: l10n: Updated Czech (cs) translation to 100% New status: 569 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-06-14 Yuri Chornoivan * po/uk.po: l10n: Initial Ukrainian translation New status: 171 messages complete with 0 fuzzies and 398 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-06-05 Ville Skyttä * rpmUtils/miscutils.py, test/packagetests.py: Fix 0 vs None Epoch handling in compareEVR(). Previously, None Epochs got stringified to literal 'None' strings which do not compare equal with '0'. Now they're explicitly made '0's. Previous behavior with '' Epochs is unchanged. 2010-06-14 James Antill * yum/history.py: Deal with putting non-en rpmdb problems in the history DB 2010-06-14 James Antill * yum/packages.py: Add name to FakeRepo 2010-06-14 James Antill * docs/yum.conf.5: Add protected.d and vars to the yum.conf man page FILES section 2010-06-14 James Antill * docs/yum.conf.5: Fix the tsflags documentation 2010-06-13 James Antill * output.py: Only do installed_by and changed_by if we are dealing with installed pkgs. 2010-06-11 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't return None when transaction is empty in resolveDeps, BZ 603002 Add installed_by and changed_by to info -v Fix typo info=>list Fix for UnicodeWarning when comparing provides, BZ 570819. Add a dsCallback "r" state for reinstalled, as we are doing downgrade Make .reinstall a real txmbr attribute Save loginuids of installed_by and changed_by to the yumdb Add caching getloginuid, so we can use it outside of history 2010-06-11 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Make the callback ts_state var name less confusing :) Tell the dsCallback() when ts_state==u that it's really an install, when it is. Remove assignment of Depsolve aka. YumBase to packages.base Add *verifytrans plugin hooks, so yumdb can be altered from plugins. BZ 602354. Explain that we use history internally, and so what turning it off does Deal with local pkgs that only obsolete something installed, BZ 600969. Add a downgrade state, for users (changes what dsCallback.pkgAdded() gets). Don't do chain removals on downgrades, just fail, BZ 592726. Split each install/update/remove/reinstall/downgrade to their own test+print Remove giant comment of old code 2010-06-11 James Antill * yum/depsolve.py: Don't return None when transaction is empty in resolveDeps, BZ 603002 2010-06-11 Seth Vidal * yum/packages.py: - optionally collapse libc.so.6 requires into highest requires (default sort order) our libc.so.6 requires are fairly redundant - 6 requires per pkg requiring glibc, on avg. The highest versioned libc.so.6 requirement is good enough so remove the others. This cuts out about 17-20% of our requires 2010-06-11 James Antill * output.py: Add installed_by and changed_by to info -v 2010-06-11 James Antill * output.py: Fix typo info=>list 2010-06-10 Toshio Kuratomi * yum/sqlitesack.py: Fix for UnicodeWarning when comparing provides, BZ 570819. 2010-06-10 James Antill * output.py, yum/depsolve.py: Add a dsCallback "r" state for reinstalled, as we are doing downgrade 2010-06-10 James Antill * yum/__init__.py, yum/transactioninfo.py: Make .reinstall a real txmbr attribute 2010-06-10 James Antill * yum/__init__.py: Save loginuids of installed_by and changed_by to the yumdb 2010-06-10 James Antill * yum/misc.py: Add caching getloginuid, so we can use it outside of history 2010-06-10 James Antill * yum/depsolve.py: Make the callback ts_state var name less confusing :) 2010-06-10 James Antill * yum/depsolve.py: Tell the dsCallback() when ts_state==u that it's really an install, when it is. 2010-06-10 Paolo Abeni * yum/depsolve.py: Remove assignment of Depsolve aka. YumBase to packages.base 2010-06-09 James Antill * yum/__init__.py, yum/plugins.py: Add *verifytrans plugin hooks, so yumdb can be altered from plugins. BZ 602354. 2010-06-09 James Antill * docs/yum.conf.5: Explain that we use history internally, and so what turning it off does 2010-06-08 James Antill * yum/__init__.py: Deal with local pkgs that only obsolete something installed, BZ 600969. 2010-06-07 James Antill * output.py, yum/depsolve.py: Add a downgrade state, for users (changes what dsCallback.pkgAdded() gets). 2010-06-07 James Antill * yum/depsolve.py: Don't do chain removals on downgrades, just fail, BZ 592726. 2010-06-07 James Antill * output.py: Split each install/update/remove/reinstall/downgrade to their own test+print 2010-06-07 James Antill * yum/sqlitesack.py: Remove giant comment of old code 2010-06-07 Seth Vidal * etc/yum.bash: add 'localupdate' as a completeable command 2010-06-07 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Catch+rethrow ValueError as well as KeyError, accessing rpm hdr attribs. Always try searchNames() in rpm, because .dbMatch('name') is so damn fast. Speedup large list output, like "yum list installed" 2010-06-04 James Antill * yum/packages.py: Catch+rethrow ValueError as well as KeyError, accessing rpm hdr attribs. 2010-06-04 James Antill * yum/rpmsack.py: Always try searchNames() in rpm, because .dbMatch('name') is so damn fast. 2010-06-04 James Antill * output.py: Speedup large list output, like "yum list installed" 2010-06-04 Seth Vidal * yum/packages.py: make sure we add our '\n's in the right place to keep the xml output 'pretty' closes rh bug: https://bugzilla.redhat.com/show_bug.cgi?id=600201 2010-06-03 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't fail for returnPackages(patterns=['[g]eany']) etc. Don't bother looking for *, ? ... just wait for searchNames() to fail Fix typo in cElementTree_xmlparse 2010-06-03 Seth Vidal * yum/misc.py: raise miscerror if the transaction-all file is garbage. 2010-06-03 James Antill * yum/rpmsack.py: Don't fail for returnPackages(patterns=['[g]eany']) etc. 2010-06-03 James Antill * yum/rpmsack.py: Don't bother looking for *, ? ... just wait for searchNames() to fail 2010-06-03 James Antill * yum/misc.py: Fix typo in cElementTree_xmlparse 2010-06-02 James Antill * yum/misc.py: Don't re-import saxutils for each call to to_xml(). 2010-06-02 James Antill * yum/comps.py, yum/metalink.py, yum/misc.py, yum/repoMDObject.py, yum/update_md.py: Lazily load cElementTree, saves about 10% of "import yum" time. 2010-06-02 James Antill * output.py, yum/__init__.py: Add prerepoconf, and use it to automagically setup .repos on access. This means we don't even need to read the config. files for repos. or set them up when we aren't using them. This is roughly 20% for "yum remove" etc. This should be really safe because I left in all the old code, so if some output.py API user does: yb.repos yb.setupProgressCallbacks() ...we don't complain. Dito. yb.setCacheDir() which is much more likely. Patches are required, to repoquery, for repoquery --installed to benefit but they seem like sane updates to using the new APIs (ie. not calling doSackSetup() explicitly). 2010-06-01 James Antill * yum/rpmsack.py: Fix "remove name-version", really minor API bug before last patch 2010-06-01 James Antill * yum/rpmsack.py: Opt. for rpmdb.returnPackages(patterns=...). Drops about 30% from remove time. 2010-06-01 James Antill * yum/depsolve.py: Pick already installed packages as "best" with provide install 2010-06-01 James Antill * yum/__init__.py: Fix pkgs. that are excluded after being put in yb.up ... BZ#597853 2010-05-25 James Antill * output.py: Deal with RHEL-5 loginuid damage 2010-06-01 Seth Vidal * utils.py, yum/config.py, yummain.py: add exit_on_lock option for rh bug https://bugzilla.redhat.com/show_bug.cgi?id=598527 if the lock is held, exit with value and output updated utils.py for this as well. settable on the cli with --setopt=... 2010-06-01 Seth Vidal * rpmUtils/miscutils.py: in python 3k (and in the new rpm-python bindings) rpm is returning flags as LONGS not INTS - so this code breaks w/o this fix. most importantly it breaks mock 2010-05-28 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Updates to Finnish (fi) translation 2010-05-27 Ville-Pekka Vainio * po/fi.po: l10n: Updates to Finnish (fi) translation New status: 569 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-05-27 Seth Vidal * yum/__init__.py, yum/misc.py, yum/update_md.py, yum/yumRepo.py: - go through all of our code and change our decompressors to use misc.decompress() - this should mean we can access metadata compressed using any supported compression library provided it is NAMED accordingly - add fn_only option to misc.decompress() so we can get a returned name w/o actually having the file - useful for finding a decompressed file if we only have the compressed one 2010-05-27 Seth Vidal * yum/misc.py: - cleanup decompress some - keep stub bunzipFile - add lzma support, if available 2010-05-21 James Antill * yum/history.py: Fix blank line at end of all scriptlet output. 2010-05-21 James Antill * utils.py: Add --setopt to YumUtilBase commands. 2010-05-21 James Antill * yum/config.py, yum/yumRepo.py: Dump False and 0 as their values, and not the empty string. 2010-05-20 James Antill * yum/sqlitesack.py: Fix adding pkgExcluders after a package has been loaded. versionlock, at least 2010-05-21 Göran Uddeborg * po/sv.po: l10n: Updates to Swedish (sv) translation New status: 569 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-05-19 James Antill * yum/rpmsack.py: Make "blah in ipkg.yumdb_info" be quicker, and fail in more useful ways 2010-05-19 Göran Uddeborg * po/sv.po: l10n: Updates to Swedish (sv) translation New status: 549 messages complete with 17 fuzzies and 3 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-05-17 Tim Lauridsen * yum/__init__.py: SKIP-BROKEN: fix issue where the loop detection are triggered because the have been a unchanged transaction earlier in a skip-broken loop, but was solved by hard reseting the transation. It is only a loop if we have a unchanged transaction 2 times in a row (rhbz # 590454) 2010-05-18 James Antill * yum/__init__.py: Fix obsoleting pkgs. from to multilib. using archdistance 2010-05-18 James Antill * test/simpleobsoletestests.py: Now do the same testcase for noarch => multilib 2010-05-18 James Antill * yum/__init__.py: Fix for obsoleting pkgs. we are trying to install 2010-05-18 James Antill * test/simpleobsoletestests.py: Add testcase for obsoletes of to be installed pkgs. -- 593349 2010-05-17 Ville Skyttä * docs/yum.8: Man page formatting fixes. 2010-05-15 James Antill * yum/__init__.py: Handle obsoleting pkgs. which are excluded after obsoleted_dict setup 2010-05-17 Göran Uddeborg * po/sv.po: l10n: Updates to Swedish (sv) translation New status: 529 messages complete with 27 fuzzies and 13 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-05-14 James Antill * yum/history.py: Add comment about vtrans_prob_pkgs and old versions of sqlite 2010-05-13 James Antill * yum/rpmsack.py: Deal with bad rpmdb caches better eg. BZ 591382 2010-05-13 James Antill * yum/rpmsack.py: Be more paranoid about saving the rpmdb version, it's possible PK could be doing somethign weird here ... like loading data, hanging around as user does something in yum (which alters the rpmdb) and then somehow PK saves the rpmdb version. I can't see how it's possible though, but two extra stats. for a little more paranoia doesn't seem out of place. 2010-05-13 James Antill * yum/packages.py: Filter empty provides/etc. in the non-pritable case too. 2010-05-13 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Remove "No transaction set" error, for YumLocalPackage 2010-05-13 Seth Vidal * yum/packages.py, yum/sqlitesack.py: oddball case where rpm coughed up an EMPTY provides entry. safe to skip them - also filed a bug with rpm to never let this happen 2010-05-13 James Antill * yum/packages.py: Remove "No transaction set" error, for YumLocalPackage 2010-05-09 James Antill * test/simpleupdatetests.py: Comment explaining testUpdateRLEvince1 and 2 2010-05-08 James Antill * yum/__init__.py: Fix weird logging error, comma separated values must be expanded 2010-05-08 James Antill * yum/depsolve.py: Do the second fix, for the previous testcase. Seems correct, but not 100%. 2010-05-08 James Antill * yum/depsolve.py: Add a fix for the _old_ bug, and a comment about another possible fix. 2010-05-08 James Antill * test/simpleupdatetests.py: Add a couple of depsolve tests, from a bug I found updating F-13. 2010-05-06 James Antill * yum/history.py: Fix the VIEW vtrans_prob_pkgs, for newer sqlite which gets confused. 2010-05-06 James Antill * output.py, yum/history.py: Save, and then Highlight, the "main" package which has a problem 2010-05-06 James Antill * yum/history.py: Fix sorting of historic rpmdb problems 2010-05-06 James Antill * docs/yum.8, output.py: Mark pre-exsting rpmdb problems in history list, with 'P'. 2010-05-06 James Antill * yum/__init__.py: Move obsoleted.obsoleter check into the correct problem loop 2010-05-06 James Antill * output.py: Output cmdline and rpmdb problems in history info 2010-05-06 James Antill * yum/__init__.py: Save rpmdb problems, and cmdline, into yum history 2010-05-06 James Antill * yum/history.py: Add rpmdb problems, and cmdline to the history DBv2 update 2010-04-28 James Antill * yum/history.py: Add three views to make look at history by hand easier 2010-04-22 James Antill * docs/yum.8, output.py, yum/__init__.py, yum/history.py: Add skip broken packages to history transaction. 2010-05-06 Seth Vidal * cli.py: use the fmtKeyValFill for the output of repos 2010-05-06 Seth Vidal * cli.py: output list of repos being cleaned up for when we clean. 2010-05-06 Seth Vidal * yum/__init__.py: add --enablerepo to suggestion for handling package not matching what is expected to be downloaded. deals with folks installing debuginfo pkgs but not have debug repos enabled when they run clean metadata 2010-05-05 James Antill * yum/__init__.py: Only do any rpmdbv checks, if history_record is set 2010-05-05 James Antill * yumcommands.py: Don't do rpmdb checks, in version, with no history (as it's root only now). 2010-05-05 James Antill * yum/rpmsack.py: Revert " Work around mock setting mtime on var/lib/Packages, for it's "caches"." This reverts commit a079025ebb241849ba734b47607af9eb0c2ae9a3. This is not needed anymore due to the path change. 2010-05-05 James Antill * yum/__init__.py, yum/rpmsack.py: Move the rpmdb cache to yum persistent storage. 2010-05-05 James Antill * yum/transactioninfo.py: Fix deselections like '-*debuginfo' etc. 2010-05-05 James Antill * yum/__init__.py: Parameter was conflicts, the variable passed was called res ... typo fix 2010-05-05 James Antill * yum/rpmsack.py: Work around mock setting mtime on var/lib/Packages, for it's "caches". Somehow the Packages file gets out of sync. with yum's cache/installed in the mock installroot cache, but due to the mtime check we don't see it and thus. blow up. This does mean we'll blow the cache for normal use whenever ctime changes now ... but hopefully that shouldn't be much more often. We are only hitting this now due to the installroot fixes that just went in. 2010-05-05 James Antill * yum/history.py: Catch both kinds of exceptions, on sqlite opens (RHEL-5 needs this, for one) 2010-04-30 Tim Lauridsen * rpmUtils/miscutils.py: Make sure we have and int flag + added docstrings (rhbz #572770) 2010-05-02 James Antill * yumcommands.py: Use all the passed check sub-commands 2010-04-30 Mads Kiilerich * yum/__init__.py: if we get diskspace errors from runTransaction but not from the test transaction then emit them quasi-properly. I'd love it if this were all different and less error prone to sort out. modified patch from https://bugzilla.redhat.com/show_bug.cgi?id=516135 2010-04-30 Seth Vidal * yum/logginglevels.py: if the log file doesn't exist when we startup make sure we set the perms for it to 0600. close rh bug https://bugzilla.redhat.com/show_bug.cgi?id=552549 2010-04-30 Seth Vidal * yum/history.py: and do the same for the history db with an --installroot 2010-04-30 Seth Vidal * yum/rpmsack.py: make sure we're not prepending a path which is already been prepended with the installroot fixes rh bugs: https://bugzilla.redhat.com/show_bug.cgi?id=577627 and https://bugzilla.redhat.com/show_bug.cgi?id=560078 2010-04-29 James Antill * yum.spec: Merge obsoletes/provides from Fedora 2010-04-29 James Antill * yum/__init__.py: Ignore problems about packages being removed, BZ 566820 2010-04-29 James Antill * cli.py, output.py: Add total removal size, when just doing removes. BZ 495595 2010-04-29 James Antill * yum/config.py: Add the new, 4.8.0, error class for "cannot open DB", BZ 567709 2010-04-29 Tim Lauridsen * utils.py: Add yum-utils version to history (rhbz #569645) 2010-04-28 Taylon Silmer * po/pt_BR.po: l10n: Updates to Portuguese (Brazilian) (pt_BR) translation New status: 568 messages complete with 1 fuzzy and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-04-27 James Antill * test/testbase.py: Add protected_packages to FakeConf 2010-04-27 James Antill * yum/packageSack.py: Drop indexes, on internal package classes, in dropCachedData 2010-04-27 James Antill * test/yum-leak-test.py: Add more code paths to the leak command, runs transactions/etc. 2010-04-27 James Antill * test/yum-leak-test.py: Add install/remove leak checking test 2010-04-24 James Antill * docs/yum.8, docs/yum.conf.5, etc/Makefile, yum.spec, yum/__init__.py, yum/config.py: Move protect-packages plugin into core, and fix some bugs in it. Added some docs. for yum.conf => protected_packages, and yum on the remove command. Add parse_default to Option, ListOption, UrlListOption ... so we can use the .parse() behaviour. Default: yum, glob:/etc/yum/protected.d/*.conf Created dir. and owned it. 2010-04-28 Tim Lauridsen * cli.py, test/yum-pylintrc, yum/__init__.py, yum/history.py, yum/pgpmsg.py, yum/pkgtag_db.py, yum/rpmsack.py, yum/update_md.py: Fix the following pylint errors/warnings ************* Module cli W0311:169: Bad indentation. Found 19 spaces, expected 20 W0311:170: Bad indentation. Found 19 spaces, expected 20 E0602:728:YumBaseCli.distroSyncPkgs: Undefined variable 'Errors' ************* Module yum W0311:903: Bad indentation. Found 15 spaces, expected 16 ************* Module yum.pgpmsg W0311:1074: Bad indentation. Found 28 spaces, expected 24 W0108:623:signature.deserialize_subpacket.: Lambda may not be necessary ************* Module yum.update_md W0311: 79: Bad indentation. Found 7 spaces, expected 8 ************* Module yum.history W0611: 25: Unused import sql_esc ************* Module yum.pkgtag_db E0601: 85:PackageTagDB.search_names: Using variable 'tag' before assignment W0611: 20: Unused import sql_esc_glob ************* Module yum.rpmsack W0311:482: Bad indentation. Found 28 spaces, expected 24 E1103:481:RPMDBPackageSack.returnPackages: Instance of 'list' has no 'name' member (but some types could not be inferred) E1103:482:RPMDBPackageSack.returnPackages: Instance of 'list' has no 'name' member (but some types could not be inferred) E1103:489:RPMDBPackageSack._uncached_returnConflictPackages: Instance of 'list' has no 'conflicts' member (but some types could not be inferred) E1103:675:RPMDBPackageSack.fileRequiresData: Instance of 'list' has no 'requires' member (but some types could not be inferred) E1103:678:RPMDBPackageSack.fileRequiresData: Instance of 'list' has no 'pkgtup' member (but some types could not be inferred) E9905:1470:RPMDBAdditionalDataPackage._delete: Too many arguments for format string 2010-04-26 Seth Vidal * docs/yum.conf.5, yum/config.py: change globdir -> glob 2010-04-26 Seth Vidal * docs/yum.conf.5: add docs for globdir: syntax 2010-04-26 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Get rid of uses of has_key(). Fix typo s/link/islink/ on new fsvars. feature l10n: Updates to Russian (ru) translation 2010-04-26 Seth Vidal * yum/config.py, yum/misc.py: add globdir: syntax to all ListOption() and UrlListOption() items in config.py this allows the user to specify globdir:/path/somewhere.d/*.conf and the contents of all the files in that dir will be used to populate the config option as a list. 2010-04-25 Ville Skyttä * cli.py, rpmUtils/transaction.py, rpmUtils/updates.py, yum-updatesd.py, yum/__init__.py, yum/comps.py, yum/depsolve.py, yum/mdparser.py, yum/packageSack.py, yum/packages.py, yum/pgpmsg.py, yum/repos.py, yum/rpmsack.py, yum/sqlitesack.py, yum/transactioninfo.py, yum/update_md.py, yum/yumRepo.py: Get rid of uses of has_key(). 2010-04-25 James Antill * yum/config.py: Fix typo s/link/islink/ on new fsvars. feature 2010-04-23 Misha Shnurapet * po/ru.po: l10n: Updates to Russian (ru) translation New status: 569 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (www.transifex.net). 2010-04-20 James Antill * yum/depsolve.py, yum/transactioninfo.py: Add a simple "how many packages does this provider require" test. This only goes one level deep, to keep any performance problems in check (and because it's hard :), so in theory it can screw up where: pkgA => pkgX pkgX => pkgC pkgX => pkgD pkgX => pkgE pkgB => pkgY pkgB => pkgZ ...with this patch we'd pick "pkgA" because it had "less" requirements, even though it actually requires 1 more thing. However, real world result on F12: % yum install @core @base gdm [...] Resolving: desktop-notification-daemon kdebase-runtime => 38 things xfce4-notifyd => 4 things notification-daemon => 1 thing ...all are "equal" before this patch, so it's this or shortest name. 2010-04-19 James Antill * docs/yum.8, yum/__init__.py: Add -pkgname to install etc., so we can test tsInfo.deselect() 2010-04-19 James Antill * yum/transactioninfo.py: Add tsInfo.deselect() so we can remove it from anaconda 2010-04-19 James Antill * cli.py: Speedup distro-sync, only get the latest pkgs for those we are interested in 2010-04-16 James Antill * yum.spec: Create the ghost files, to make rpmbuild happy 2010-04-16 James Antill * yum/__init__.py, yum/depsolve.py, yum/packages.py, yum/rpmsack.py: Rename filterObsoleters => obsoletedBy, before it goes public 2010-04-15 James Antill * yum/depsolve.py: Add nocontexts to possible ts flag usage, when available 2010-04-15 James Antill * yum/__init__.py, yum/depsolve.py, yum/packages.py, yum/rpmsack.py: Add pkg.filterObsoleters(), so we don't have to create the provide tuple and test "backwards". Also convert callers. We've screwed this up a few times, by doing provides checks instead and this drops a few lines of code anyway ... so should be good. 2010-04-15 James Antill * yum/packages.py, yum/sqlitesack.py, yum/transactioninfo.py: Add primary_only arg. to returnFileTypes(), use it from transactioninfo sack so that we don't require filelists to be downloaded. 2010-04-15 James Antill * test/testbase.py, yum/__init__.py, yum/packageSack.py, yum/packages.py, yum/sqlitesack.py, yum/transactioninfo.py: Fix the docs. for have_fast* Rename it from have_fastSearchFiles to have_fastReturnFileEntries to better reflect what it means. Add a dummy to PO, as that's the logical place for it even though it needs to be in the sack for sqlite to get the answer. Add some docs. to the package object classes, while we are here. 2010-04-15 James Antill * yum/rpmsack.py: Fix rpmdb.searchPrco() with "globs", can also affect getProvides() etc. 2010-04-15 James Antill * yum/__init__.py, yum/rpmsack.py: Add obsoleted and provides index checking, don't default to doing them though 2010-04-14 James Antill * test/testbase.py, yum/packageSack.py, yum/packages.py, yum/sqlitesack.py, yum/transactioninfo.py: Enable "big update" speedup, disable if a repo. doesn't have pkgfiles index. 2010-04-15 Seth Vidal * yum/repoMDObject.py: to_xml(revision) and make sure elem is None by default for RepoData objects. 2010-04-14 Seth Vidal * yum/repoMDObject.py: new dump_xml methods for repodata and repomd and related changes - add dump_xml methods to RepoData and RepoMD so we can write them back out - also make them more object-y by allowing us to create the objects without having anything to put in them so we populate them by hand, if need be. 2010-04-14 James Antill * yum/__init__.py, yumcommands.py: Add a header to the automatic yum check output to make it more obvious. 2010-04-13 James Antill * yum/sqlitesack.py: Minor correction to rest testing for pkgnames_loaded (harmless) 2010-04-13 James Antill * yum/packageSack.py: Slight speed increase for repodiff, up/11 vs. up/12: 8:27 => 1:50 :) :) 2010-04-13 James Antill * Makefile, docs/yum.conf.5, etc/Makefile, yum.spec, yum/config.py: Move /var/lib/yum/vars to /etc/yum/vars as it's not yum generated 2010-04-12 James Antill * yum/rpmsack.py, yum/sqlitesack.py: Don't integrate negative pkgnames with provides, probably fine but... 2010-04-12 James Antill * yum/rpmsack.py: Do the pkgmatch_fails negative caching, in _search 2010-04-12 James Antill * yum/rpmsack.py: Do the pkgnames_loaded in the correct place, for _search 2010-04-10 Ville Skyttä * rpmUtils/updates.py, yum/__init__.py: Clean up some unnecessary/redundant code. 2010-04-10 Ville Skyttä * etc/yum.bash: Add basic version completion. 2010-04-09 James Antill * docs/yum.8: Add more docs for version command 2010-04-09 James Antill * Makefile, docs/yum.conf.5, yum.spec, yum/config.py: Disallow symlinks, for variables (although it is root only), and tweak docs Add the vars directory on install, to make it easier for users. Own the vars directory in the specfile. Also add uuid, history, plugins and yumdb as %ghost files. 2010-04-09 James Antill * yum/sqlitesack.py: Remove bad assert: yum list blah\* 2010-04-09 James Antill * docs/yum.conf.5, yum/config.py: Add dynamic yumvars from the filesystem. 2010-04-09 James Antill * yumcommands.py: Allow users to see just specific version groups 2010-04-09 skvidal * po/ru.po: l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) 2010-04-09 James Antill * yum/misc.py, yum/packages.py: Cleanup the docs for re_primary_*() to make them less confusing 2010-04-08 Ville Skyttä * rpmUtils/oldUtils.py, yum/__init__.py, yum/config.py, yum/pgpmsg.py, yum/sqlitesack.py: Spelling fixes. 2010-04-08 Seth Vidal * yum/packages.py: - clean up debug statement :( - make provides_for use misc.re_primary_filename/dirname 2010-04-08 Seth Vidal * yum/__init__.py, yum/depsolve.py: fix for testRL_dcbd1 unittest - When we're doing an install for dep - make sure what we're installing provides for the thing we need. this should really only ever happen on the obsolete pathway. provides_for as a kwarg should probably be added to update(), too. 2010-04-08 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't traceback when lock holder doesn't exist anymore Use TMPDIR for people who don't want to use /var/tmp, yum#337 Add testcase for dcbd and lldpad in F13 Fix make check due to groupremove_leaf_only Should work around the reget MD problems Pkgname caching for rpmdb.returnPackages() so update is as fast as install Add searchProvides() into the false positive cache Speedup repeated calls to .install() with a pattern, via. returnPackages(). 2010-04-08 Seth Vidal * yum/packages.py: add a provides_for method to package objects so we can check if this package satisfies the specific requirement completely (including file deps). 2010-04-08 Seth Vidal * rpmUtils/miscutils.py: make rangecompare accept <, <=, >, >=, = instead of just letterflags and numerics makes certain types of comparisons simpler when coming from text. 2010-04-03 James Antill * utils.py: Don't traceback when lock holder doesn't exist anymore 2010-04-01 James Antill * yum/__init__.py: Use TMPDIR for people who don't want to use /var/tmp, yum#337 2010-04-01 James Antill * test/depsolvetests.py: Add testcase for dcbd and lldpad in F13 2010-04-01 James Antill * test/testbase.py: Fix make check due to groupremove_leaf_only 2010-03-31 James Antill * yum/yumRepo.py: Should work around the reget MD problems 2010-03-30 James Antill * yum/rpmsack.py: Pkgname caching for rpmdb.returnPackages() so update is as fast as install 2010-03-30 James Antill * yum/sqlitesack.py: Add searchProvides() into the false positive cache 2010-03-30 James Antill * yum/rpmsack.py, yum/sqlitesack.py: Speedup repeated calls to .install() with a pattern, via. returnPackages(). Add negative caching to both sqlite and rpmdb. Add pkg names with a '-' in them to pkgnames_loaded in sqlite. 2010-04-01 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Updates to Russian (ru) translation 2010-04-01 Seth Vidal * yum/packageSack.py: fix the documentation to be on the correct methods. 2010-04-01 Misha Shnurapet * po/ru.po: l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) 2010-03-30 Seth Vidal * yum/pgpmsg.py: minor change so that if there are any empty lines in the gpgkey file we're checking that we don't traceback. We won't find a key, but at least we don't traceback b/c of it. apparently this can happen if the key we're handed is only a subkey. 2010-03-30 Seth Vidal * yum/__init__.py: change out the repo_setopts fix so instead of hasattr'ing it - we are adding an empty one. 2010-03-30 James Antill * yum/__init__.py: Test for repo_setopts, only there for cli 2010-03-30 Ville Skyttä * etc/yum.bash: Add --setopt to completions. 2010-03-29 Seth Vidal * cli.py, docs/yum.8, yum/__init__.py: add --setopt option to yum cli this allows setting any config option by name. Either globally or in any repo config. globally: --setopt=optname=value repo: --setopt=repoid.optname=value 2010-03-28 Timur Malikin * po/ru.po: l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) 2010-03-28 Timur Malikin * po/ru.po: l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) 2010-03-26 Ville Skyttä * etc/yum.bash: Add distro-sync completion. 2010-03-25 James Antill * docs/yum.8, docs/yum.conf.5, output.py, yum/config.py, yum/depsolve.py: Add groupremove_leaf_only option 2010-03-25 James Antill * output.py: Fix login user column output length, for history summary 2010-03-25 James Antill * docs/yum.8, output.py: Show if transactions have error output, in history list 2010-03-22 James Antill * yum.spec: Minor description fixup 2010-03-22 James Antill * yum/history.py: Don't traceback when we can't open the history DB (non-root users by default now), BZ 575917. Provide a .readable interface for callers to check. 2010-03-16 James Antill * output.py: Add the provides data for each pkg, to format_missing_requires. Add relations. 2010-03-11 James Antill * cli.py: Return an error code if yum can't install any of the specified packages People want a bash scriptable way to say "X should be installed". So with this patch: . If _any_ package specified: is installed already; or is found and will be installed == yum returns 0 (or at least goes into depchecking etc.) . If _all_ package(s) are "not found", yum turns the message "Nothing to do" into an error (returns 1, atm). ...thus: 1. yum install -y a b && echo worked This will echo "worked" if _either_ a or b is installed after yum finishes, but tries to install both. 2. yum install a && yum install b && echo worked This will echo "worked" if both are installed (and if a is not available, b will not even try to be installed). 2010-03-11 James Antill * yum/update_md.py: Add a little more documentation to get_applicable_notices() 2010-03-11 James Antill * docs/yum.8: Add documentation for distro-sync command. 2010-03-04 James Antill * cli.py, yumcommands.py: Add distro-sync command, to "force update" to the latest versions. This should be safe to go in for 3.2.27, as it's an entirely self contained command ... I've tried it here going on multiple directions, and it WMF(tm). 2010-03-24 Ville Skyttä * docs/yum.conf.5, yum/__init__.py, yum/config.py: Make syslog_device configurable. 2010-03-24 Ville Skyttä * docs/yum.conf.5: Document syslog_ident and syslog_facility config parameters. 2010-03-24 Ville Skyttä * yum/logginglevels.py: Add support for remote syslogs with host:port values for syslog_device. 2010-03-24 Ville Skyttä * yum/logginglevels.py: Fix syslog_indent and syslog_facility settings, improve syslog format. 2010-03-24 Ville-Pekka Vainio * po/fi.po: l10n: Updates to Finnish (fi) translation Transmitted-via: Transifex (www.transifex.net) 2010-03-22 Ville Skyttä * yum/config.py: Use LOG_USER as default syslog facility everywhere in base. 2010-03-23 Seth Vidal * yum/__init__.py: make sure we aren't overwriting the value of 'keys' this determines how many args we pass back in our yielded results never noticed it b/c nothing in yum uses keys=True - but it broke PK 2010-03-22 Ville Skyttä * yum/logginglevels.py: Fix unknown syslog facility mapping. 2010-03-18 Seth Vidal * ChangeLog: merge changelog 2010-03-18 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.27 2010-03-18 Ville Skyttä * test/skipbroken-tests.py: Docstring fix. 2010-03-15 Timur Malikin * po/ru.po: l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) 2010-03-14 Timur Malikin * po/ru.po: l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) 2010-03-14 Timur Malikin * po/ru.po: l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) 2010-03-11 Seth Vidal * yum/__init__.py: make sure when we return items we sort the counts of things matched from the tagsdb into the rest of the matches. FIXME added to get rid of the silly sorting list as it appears to only want to make me cry 2010-03-04 James Antill * yum/packages.py: Make pkgs scriptable: ("%(ui_nevra)s - %(ui_from_repo)s" % pkg). BZ 570615 2010-03-04 James Antill * yum/__init__.py: Don't issue warning on yum downgrade, for single uinstalled multilib packages 2010-03-04 James Antill * output.py: First split any equal remaining space among overflowed columns 2010-03-04 James Antill * output.py: Prefer to overflow the last column, as then grep still works 2010-03-02 Tim Lauridsen * yum/__init__.py: Make skipbroken run again if packages has been added to transaction by a postresolve plugin 2010-03-01 elf * po/ja.po: l10n: Updates to Japanese (ja) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-23 James Antill * yum/pkgtag_db.py: Allow pkgtag_db to be loaded on RHEL-5, should work too 2010-02-23 James Antill * yum/packageSack.py: Much faster limiting obsoletes to the newest versions of packages 2010-02-23 James Antill * yum/__init__.py: Do process obsoletes for newest packages only. 2010-02-22 James Antill * yum/rpmsack.py, yum/transactioninfo.py: Add package checksums from yumdb to the data we store in the rpmdb cache 2010-02-23 Tim Lauridsen * Makefile: created upload-docs Makefile target to generate epydoc and upload it to yum web page 2010-02-23 Tim Lauridsen * Makefile: update epydoc building code in Makefile 2010-02-20 A S Alam * po/pa.po: l10n: Adding Punjabi Translation after correcting error Transmitted-via: Transifex (www.transifex.net) 2010-02-19 James Antill Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Updates to Spanish (Castilian) (es) translation 2010-02-19 James Antill * yum/rpmsack.py: Don't preload all the package paths for yumdb on init. Moved to function. This is fine as _get_dir_name will still do it manually, and the only thing that needs to know more is sync_with_rpmdb ... and that can call _load_all_package_paths(self) when it gets written. This does a _lot_ of open/stat calls, so is really noticable if the yumdb isn't in cache. 2010-02-19 Héctor Daniel Cabrera * po/es.po: l10n: Updates to Spanish (Castilian) (es) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-18 James Antill * yum/packageSack.py: Don't load all of the rpmdb in matchPackageNames(), used by at least rm. 2010-02-18 James Antill * yum/__init__.py: Close history before downloads (maybe stop presto doing any damage). 2010-02-17 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Updates to Italian (it) translation l10n: Updates to French (fr) translation l10n: Updates to Italian (it) translation 2010-02-17 Seth Vidal * yum/i18n.py, yum/misc.py, yum/packages.py, yum/rpmsack.py: - fix up more spots where we were converting the version flags wrongly - add i18n.str_eq for doing equality checks against strings of dubious types and content - fix a lot of bad provides checks - but only with versioned deps. 2010-02-17 Seth Vidal * yum/packages.py, yum/rpmsack.py, yum/sqlitesack.py: if we're searching for globs (like from repoquery) we have to take whatever we get from the sql results b/c we can't rangecheck globs :( also convert the items coming out of the provides to unicode before comparing them b/c frequently they can't convert on their own boo. 2010-02-17 Guido Grazioli * po/it.po: l10n: Updates to Italian (it) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-16 Martin-Gomez Pablo * po/fr.po: l10n: Updates to French (fr) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-16 Guido Grazioli * po/it.po: l10n: Updates to Italian (it) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-16 Seth Vidal * yum/misc.py: can also raise ValueError, when attempting to pass non-int-able strings to int() and FlagtoString catch it 2010-02-15 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Updates to Spanish (Castilian) (es) translation l10n: Updates to Italian (it) translation l10n: Updates to Polish (pl) translation l10n: Updates to Finnish (fi) translation 2010-02-15 Seth Vidal * yum/__init__.py, yum/depsolve.py, yum/misc.py, yum/packageSack.py, yum/rpmsack.py, yum/sqlitesack.py: - make searchPrco do completely specific results - not just matches against name - this required fixing a lot of code but the results are now more correct and whatProvides() is dramatically reduced in terms of what it does. - adds searchPrco to the PackageSack object - adds misc.string_to_prco_tuple() which combines the partial conversions of 'foo > 1.1' that returnPackagesByDep() and whatProvides() had been doing, badly. this is also a reversal of misc.prco_tuple_to_string() 2010-02-12 Héctor Daniel Cabrera * po/es.po: l10n: Updates to Spanish (Castilian) (es) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-12 Guido Grazioli * po/it.po: l10n: Updates to Italian (it) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-11 Piotr Drąg * po/pl.po: l10n: Updates to Polish (pl) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-11 Ville-Pekka Vainio * po/fi.po: l10n: Updates to Finnish (fi) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-11 Seth Vidal * yum/__init__.py: don't translate it twice (whoops) 2010-02-11 Seth Vidal * po/yum.pot, yum/__init__.py: If we hit the 'package does not match intended download error then chances are REALLY good that you have outdated metadata on gpg-re-signed pkgs. A yum clean metadata will fix things - so say that 2010-02-10 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: l10n: Updates to Polish (pl) translation 2010-02-10 Seth Vidal * yum/__init__.py: fix typo which makes all kernel updates die :( 2010-02-10 Piotr Drąg * po/pl.po: l10n: Updates to Polish (pl) translation Transmitted-via: Transifex (www.transifex.net) 2010-02-10 Seth Vidal * yum/history.py: put back comment about horrible cutting and pasting 2010-02-10 Seth Vidal * po/yum.pot, utils.py: spell uninterruptible properly - and remaky pot file. - yum ticket 279 2010-02-10 Seth Vidal * yum/history.py, yum/pkgtag_db.py, yum/sqlitesack.py, yum/sqlutils.py: cleanup sql_esc[_glob] move sql_esc and sql_esc_glob to sqlutils from sqlitesack add sql_esc'ing to pkgtag db calls remove sql_esc duplication from history.py 2010-02-09 Seth Vidal * ChangeLog: merge changelog 2010-02-09 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.26 2010-02-09 Tim Lauridsen * yum/__init__.py: list -> tuple 2010-02-07 Tim Lauridsen * yum/__init__.py: make old installonly packages been erased by installonly_limit depend on the new one, so they will get pulled by skipbroken if the new installonly is pulled because of dep problems (rhbz #561928) 2010-02-08 Seth Vidal * yum/yumRepo.py: make metadata use the default reget setting (simple) instead of turning off regets for metadata. 2010-02-08 Seth Vidal * yum/__init__.py: add a little bit more documentation for the sorted_lists format in searchGenerator so I don't have to relearn it everytime I look at it 2010-02-05 Seth Vidal * yum/pkgtag_db.py: actually add the pkgtag classes 2010-02-05 Seth Vidal * yum/__init__.py, yum/misc.py, yum/repos.py: pkgtags db - searching this patch adds the pkgtags metatadata and the integrates it into our search mechanism. Completely optional repodata format. Also adds a decompress() function from yum.misc that allows for us to pass files to it and not care what compression mechanism they are using it's a bit simplistic at the moment but can easily be enhanced. 2010-02-05 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Add a fast mode to pkg.verify(), don't verify the digest if others pass 2010-02-05 Seth Vidal * yum/__init__.py, yum/repos.py: when we run setCacheDir() we should, you know, actually SET the cachedir 2010-02-04 James Antill * yum/packages.py: Add a fast mode to pkg.verify(), don't verify the digest if others pass 2010-02-04 Seth Vidal * yum.spec: conflict with rpm5 b/c the rpm-pythons are diverging enough 2010-02-04 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Another fix for verify, shell=True doesn't work with array args. 2010-02-04 Seth Vidal * yum/config.py: make persistdir a startupconf option so we don't have to hardcode the path to it in yumvar options. 2010-02-04 James Antill * yum/packages.py: Another fix for verify, shell=True doesn't work with array args. 2010-02-04 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix a couple of typos for pkg.verify(), sizes are weird in edge cases: catch YumBaseErrors in utils (rhbz #523145) Remove the extra seconds in the .sqlite loading (sucks to be apt ;) Only show dates for commits, in --version Hack the changelog timestamps, so that ordering by timestamps alone 2010-02-04 Seth Vidal * docs/yum.conf.5, yum/__init__.py, yum/config.py, yum/misc.py: add uuid functionality so we can have additional info to work from trivially. 2010-02-04 James Antill * yum/packages.py: Fix a couple of typos for pkg.verify(), sizes are weird in edge cases: . We always use my_st.st_size instead of my_st_size, when reporting errors (but not for the tests!). . We update to the prelink values, even if prelink didn't work. 2010-02-01 Tim Lauridsen * utils.py: catch YumBaseErrors in utils (rhbz #523145) 2010-01-29 James Antill * yum/sqlitesack.py: Remove the extra seconds in the .sqlite loading (sucks to be apt ;) 2010-01-29 James Antill * cli.py: Only show dates for commits, in --version 2010-01-29 James Antill * yum/packages.py: Hack the changelog timestamps, so that ordering by timestamps alone will always preserve the original rpm order. Atm. if you have: * Thu Jan 28 2010 Michael Schwendt - 2.2-10 - Fix tuple_copy() further (it was completely broken as the mowgli * Thu Jan 28 2010 Michael Schwendt - 2.2-9 - Let set_tuple_cb() work on a copied tuple ...it can come out in any order (and often comes out backwards atm.) this hacks the changelog timestamps so the time is one second later for the 2.2-10 update. Fixes trac ticket 7, at least one BZ and lots of annoying threads on f-d-l. Not 100% on what this will do on the output side, but it's very likely to be fine adding a couple of seconds (and everything should just be printing the date). 2010-02-01 Seth Vidal * utils.py: catch pluginexit sanely in utils, too: fixes rh bug https://bugzilla.redhat.com/show_bug.cgi?id=560341 2010-01-28 Ville Skyttä * yum/sqlitesack.py: Call repo.__hash__() less. On my (typicalish) Fedora 11 box, brings down number of those calls in a check-update run from ~146k to ~27k and speeds it up by ~7%. 2010-01-28 Ville Skyttä * yum/sqlitesack.py: Build SQL to execute only once in _yieldSQLDataList(). 2010-01-28 James Antill * yum/__init__.py: Add force arg. to deselectGroup(), to force removal of packages in the group(s). Needed for kickstart "-@blah" functionlaity, BZ 558516 2010-01-28 Ville Skyttä * yum/sqlitesack.py: Docstring fixes. 2010-01-28 James Antill Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: stop format_missing_requires from exploding, if ayum is not set (current yumex uses DepSolveProgressCallback(), fixed upstream to use DepSolveProgressCallback(ayum=self), but other users can hit this too) (rhbz #558770) 2010-01-28 Tim Lauridsen * output.py: stop format_missing_requires from exploding, if ayum is not set (current yumex uses DepSolveProgressCallback(), fixed upstream to use DepSolveProgressCallback(ayum=self), but other users can hit this too) (rhbz #558770) 2010-01-27 Josh Stone * yum/__init__.py: Fix typo for errsting, in returnPackageByDep() 2010-01-27 James Antill * yum/pgpmsg.py: Fix API break from pgpmsg update, can't import new keys without this 2010-01-27 James Antill * yum/rpmsack.py: Don't cache fileRequires when the user has butchered their rpmdb Basically if something in the rpmdb has missing file requires, then don't bother caching the file requires data ... we could actually save the Unresolved data too, but I figured it wouldn't be common and we'd just tell people to not do that (hint, tim ;). We did this at the entry point which we'd never hit, but missed the one we can "easily" hit with rpm --nodeps ... oops. 2010-01-25 James Antill * yum/update_md.py: Add add_notice() API to UpdateMetadata class 2010-01-25 James Antill * yumcommands.py: Fix stupid typo, use rid which we change instead of str(repo) 2010-01-22 Mark Rappoport * yum/update_md.py: allow setting values in an update notice 2010-01-22 James Antill * utils.py: Fix utils basecmd setup, when we don't have any commands, BZ 557680 2010-01-21 James Antill * etc/version-groups.conf: Add yum-metadata-parser to the yum version group. We had left it out because it was in run_with_packages, but it's only added to that when it's used (so it doesn't clutter history, when it's not used) but that means "yum version" doesn't see it. 2010-01-22 Seth Vidal * yum/Errors.py: add new exception for pkgtags metadata handling 2010-01-22 Ville Skyttä * etc/yum.bash: sed portability fixes. 2010-01-22 Ville Skyttä * etc/yum.bash: Add option argument completions for a bunch of known plugin options. 2010-01-21 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Add manual tests for format_number. Fix no script output from transaction, BZ 554462 Make sizes without trailing k, M etc symbols line up with others. Speed up __utf8_ucp_width(). 2010-01-21 Seth Vidal * cli.py: change disk space needed message for rh bug: #557145 2010-01-18 James Antill * output.py: Add manual tests for format_number. 2010-01-18 James Antill * yum/rpmtrans.py: Fix no script output from transaction, BZ 554462 2010-01-19 Ville Skyttä * output.py: Make sizes without trailing k, M etc symbols line up with others. 2010-01-19 Ville Skyttä * yum/i18n.py: Speed up __utf8_ucp_width(). $ time ./yummain.py list available >/dev/null Before: real 0m16.644s user 0m15.722s sys 0m0.500s After: real 0m12.393s user 0m11.552s sys 0m0.519s 2010-01-18 Seth Vidal * docs/yum.conf.5: add docs for skip_if_unavailable 2010-01-18 James Antill * yum/history.py: Fix yumdb.checksum_data access in history using yumdb. BZ 555928 Having checksum_type but not checksum_data is really weird though. 2010-01-18 James Antill * docs/yum.8, yumcommands.py: Fix the repolist cacheonly feature, document it 2010-01-16 James Antill * docs/yum.8, yumcommands.py: A few minor tweaks to repolist output: . Don't output "stats: enabled:" with repolist -v . Output a * for metalink repos. which don't have the latest MD, in normal repolist. . Allow user to do: "yum repolist rawhide" and it'll be displayed even if rawhide isn't enabled. Instead of having to do: yum repolist all rawhide . Output something close to real package numbers, and number of excluded packages. It's not 100% because we skip it when there are no user configured excludes so 'src' packages etc. don't count then. But this should help with "BUG: yum can't update foo" => "oops. foo was excluded". . Tweak column sizing for "yum repolist all updates rawhide". . Update man page. 2010-01-16 Tim Lauridsen * test/skipbroken-tests.py: Add skip-broken testcase for rhbz #555528 2010-01-15 James Antill * yum/__init__.py: Make installedFileRequires None, when we reset the rpmdb transaction. Without this although we drop the cache from rpmdb, we've kept a copy the depsolver uses internally ... so we now drop that too. 2010-01-15 James Antill * yum/rpmsack.py: Fix check_dups() to use provides as installonly does, Eg. kernel-PAE-devel 2010-01-15 Tim Lauridsen * yum/depsolve.py: fix error caused by refactoring of _err_missing_requires than brake test suite 2010-01-14 James Antill * yum/__init__.py: Sort output in printTransaction() -- skip-broken debug output 2010-01-14 Seth Vidal * yum/repos.py: make sure we're only skipping the exception if we are doing a primary or global setup of the repos/sacks and disable it if it falls over. 2010-01-14 Seth Vidal * yum/config.py, yum/repos.py: complete CRACK -- allow repos to be explicitly set to be skipped if for any reason they cannot be located. I know I know - I said I would never do this but I gave up on it given how horribly broken a number of commonly enabled repos are. 2010-01-13 James Antill * output.py, yum/depsolve.py: Move all the formtting for missing requires into output/cb 2010-01-13 James Antill * yum/depsolve.py: Lookup package information, when we get requires fail. This makes it _much_ easier for the user to see wtf. is going on. Don't output failure information from depsolving by default, just from yummain (duplicated for no reason, AFAICS). This was esp. bad with skip-broken which would output the info. N times. Also unique the errors from po_with_problems, as we do with errors. 2010-01-13 James Antill * yum/depsolve.py, yummain.py: Combine the code for "requires dep. problems". Make it nicer/easier to read. 2010-01-12 Seth Vidal * utils.py: add basecmd and extcmds to utils base so the yumutils have those attributes for doTransaction() and others to molest: https://bugzilla.redhat.com/show_bug.cgi?id=550010 2010-01-12 Michael Babej * yum/rpmsack.py: Fix namerror/typo missing value in rpm problem comparisons 2010-01-11 Seth Vidal * docs/yum.8: make specifying package names more clear and refer to it properly throughout 2010-01-08 Ville Skyttä * output.py: Sort obsoleted packages in transaction listings, remove extra newline between. Before: | foo x86_64 [...] | obsing x86_64 [...] | replacing obs2.x86_64 1.0-1.fc11 | | replacing obs1.x86_64 1.0-1.fc11 | | quux x86_64 [...] After: | foo x86_64 [...] | obsing x86_64 [...] | replacing obs1.x86_64 1.0-1.fc11 | replacing obs2.x86_64 1.0-1.fc11 | quux x86_64 [...] 2010-01-08 Seth Vidal * yum/pgpmsg.py: fix up raising a string as an exception in pgpmsg.py 2010-01-08 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Use YumBase.conf.yumvar, for Pungi (and maybe others) ... convert all of core Workaround slight rpm bindings API change, BZ 552178 Don't emit extra warnings due to multiple cross arch pkgs, fix by Add searchNames() to packageSack so it can be used from unittests Add tests for cross arch downgrades Add transactionReset() to FakeRpmDb, so tests don't fail Fix cross arch downgrades via. remove + install Allow downgrades to go across arch changes better Return objects from the rpmdb.check_* functions, so it's easier to add more Cleanup the comment about the fix for skip-broken and rpmdb-cache 2010-01-07 James Antill * yum/__init__.py, yumcommands.py: Use YumBase.conf.yumvar, for Pungi (and maybe others) ... convert all of core 2010-01-06 James Antill * yum/__init__.py: Workaround slight rpm bindings API change, BZ 552178 2010-01-05 James Antill * yum/__init__.py: Don't emit extra warnings due to multiple cross arch pkgs, fix by always using the installed pkg arch. 2010-01-05 James Antill * yum/packageSack.py: Add searchNames() to packageSack so it can be used from unittests 2010-01-05 James Antill * test/operationstests.py: Add tests for cross arch downgrades 2010-01-05 James Antill * test/testbase.py: Add transactionReset() to FakeRpmDb, so tests don't fail 2010-01-04 James Antill * yum/__init__.py: Fix cross arch downgrades via. remove + install 2010-01-04 James Antill * yum/__init__.py: Allow downgrades to go across arch changes better 2010-01-04 James Antill * yum/__init__.py, yum/rpmsack.py: Return objects from the rpmdb.check_* functions, so it's easier to add more 2010-01-04 James Antill * yum/__init__.py: Cleanup the comment about the fix for skip-broken and rpmdb-cache 2010-01-04 Jens B. Jorgensen * yum/pgpmsg.py: make pgpmsg.py comply with rfc and handle multiple keys per stanza gracefully. 2010-01-04 Seth Vidal * Makefile, bin/yum.py: move some wiki.linux.duke.edu references to baseurl.org 2010-01-03 James Antill * yum/__init__.py, yum/rpmsack.py: Add transactionReset() to the rpmdb API. Hopefully fixes BZ 550246 This lets us clear out the data for the transaction that is about to happen ... Eg. skip-broken, or maybe transaction splitting in the future. I haven't seen the failure in 550246, but I think this will fix it. 2009-12-29 Piotr Drąg * po/pl.po: l10n: Updates to Polish (pl) translation Transmitted-via: Transifex (www.transifex.net) 2009-12-26 James Antill * docs/yum.8, docs/yum.conf.5: Fix debian man warnings 2009-12-22 James Antill * docs/yum.8: Remove the copy and paste -e from the man page 2009-12-22 James Antill * cli.py, output.py: If we are only installing, display the amount of disk space used. BZ 487623 2009-12-22 James Antill * yum/packages.py: Store downloaded packages in a temp. dir. (non-root is happy, and clenaup is done for us). 2009-12-23 Ville Skyttä * etc/yum.bash: Add --rpmverbosity and history undo/redo last completions. 2009-12-22 James Antill * yum/rpmtrans.py: 2nd fix for reading rpm logging from files, "" == raise IOError on pipe() 2009-12-22 James Antill * yum/rpmtrans.py: Use different fds for Tempfile rpm logging, so we get different off_t's 2009-12-22 James Antill * cli.py, docs/yum.8, docs/yum.conf.5, yum/config.py, yum/rpmtrans.py: Add rpmverbosity config. and cmd-line-option 2009-12-22 James Antill * docs/yum.8, output.py: Change "history info" to display the last transaction, even aborted ones. Let undo/redo refer to the last transaction, without the user having to look it up manually. 2009-12-22 James Antill * yum/history.py: Reuse .old() in .last(), and get complete_transactions_only for free 2009-12-20 James Antill * yum/__init__.py: Don't throw an error when the rpmdb cache directory doesn't exist 2009-12-10 James Antill * yum/depsolve.py: getMembers returns txmbrs not POs ... *sigh* 2009-12-10 James Antill * yum/depsolve.py: Fix when we have file require(s) from just to be installed pkgs. The mash bug 2009-12-07 James Antill * yum/__init__.py, yum/rpmsack.py: Rename rpmdb-cache to installed, as that's taken 2009-12-07 James Antill * yum/__init__.py, yum/rpmsack.py: Use persistdir instead of /var/lib/yum and use root for rpmdb loc. 2009-12-04 James Antill * cli.py, yum/__init__.py, yum/misc.py, yumcommands.py: Fixes for clean functions, BZ 544173 When nothing to be done, set removed. When doing "clean all" fix the var. name. When doing anything but clean rpmdb, fix the return. Allow rpmdb as a valid arg. Fix getFileList() with ext == '' 2009-11-09 James Antill * test/rpmdb-cache.py, yum/depsolve.py, yum/rpmsack.py: Fix filelist always being required, by being lax on recording all providers 2009-11-08 James Antill * yumcommands.py: Add "version nogroups*" to version command, to ignore version groups data 2009-11-07 James Antill * cli.py, docs/yum.8, test/rpmdb-cache.py, test/testbase.py, yum/__init__.py, yum/rpmsack.py: Add .cleanRpmDB(), so the user can manually clean. And other minor fixes. Adds the "clean rpmdb" command. Fixes the clean documentation. Adds a rpmdb-cache.py testcase, which should show if the cache does not == the rpmdb. Also minor fixes for writting the caches to disk, as non-root etc. Adds a .setCacheDir() to the rpmdb, for setting the cachedir. Also fix "YumBase.setCacheDir()" to use rpmdb.setCacheDir() Also fix the mock class FakeRpmDb, to have the new methods rpmdb does. 2009-11-07 James Antill * yum/depsolve.py, yum/rpmsack.py: Add transactionCacheFileRequires() and fileRequiresData() This is the most scarey part of the rpmdb caching. I think it's good. But it's somewhat complicated, and if we screw it up (it isn't in sync. with the rpmdb) bad things will likely result. We are protected from rpm doing crazy things due to the way transactionResultVersion() works, so all that matters is that our logic is right for what is in the transaction. Both installedFileRequires and installedFileProviders should always be updated for the transaction, and thus. be identical to rm'ing the cache. And I've tested it, and it seems to work :). 2009-11-06 James Antill * yum/__init__.py, yum/depsolve.py, yum/rpmsack.py: Add transactionResultVersion() and transactionCacheConflictPackages() 2009-11-06 James Antill * yum/transactioninfo.py: Add tsInfo.futureRpmDBVersion, so we can do better quality rpmdb caching 2009-11-04 James Antill * yum/__init__.py, yum/depsolve.py, yum/rpmsack.py: Cache "conflict packages", store the pkgtups of the packages with conflicts 2009-11-04 James Antill * yum/depsolve.py, yum/rpmsack.py: Cache checkFileRequires data 2009-11-04 James Antill * yum/rpmsack.py: Add simpleVersion() results to the rpmdb-cache 2009-11-04 James Antill * yum/__init__.py, yum/rpmsack.py: Add cachedir to rpmdb, so we can get calculated data quickly 2009-03-12 James Antill * yum/rpmtrans.py: Use a tempfile instead of a pipe for scriplet errors, fixes BZ 465766 2009-12-21 Seth Vidal * yum/misc.py: as ville suggested for python 3.0 compat 2009-12-21 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Add bash completion for the check command. Fix tuple typo, stupid language syntax Add check command, like smart/apt Call rpmdb.check_*() directly, now that we can instead of asking the Remove unnecessary 'Finished Transaction Test' from CLI output. l10n: Initial commit of Finnish translation Fix accidental revert in 0a2be676, which I was using to test Fix moved code typo, dups => deps for deps :) Do rpmdb checks when we have no history Use showdups for obsoletes, so "list obsoletes" is sane for RHEL like repos Create a _rpmdb_warn_checks function, and use that when we find an Add check_*() APIs to rpmdb, for when version doesn't match etc. 2009-12-17 Ville Skyttä * etc/yum.bash: Add bash completion for the check command. 2009-12-17 James Antill * yummain.py: Fix tuple typo, stupid language syntax 2009-12-16 James Antill * cli.py, docs/yum.8, yumcommands.py: Add check command, like smart/apt 2009-12-16 James Antill * yummain.py: Call rpmdb.check_*() directly, now that we can instead of asking the user to do it. Also call for rpm transaction test failures, Eg. kmods. 2009-12-10 Ville Skyttä * cli.py: Remove unnecessary 'Finished Transaction Test' from CLI output. The outcome of the test is printed immediately after that anyway which should be a good enough hint that the test finished. 2009-12-17 Ville-Pekka Vainio * po/fi.po: l10n: Initial commit of Finnish translation Transmitted-via: Transifex (www.transifex.net) 2009-12-17 James Antill * yum/__init__.py: Fix accidental revert in 0a2be676, which I was using to test 2009-12-17 James Antill * yum/__init__.py: Fix moved code typo, dups => deps for deps :) 2009-12-11 James Antill * output.py, yum/__init__.py, yumcommands.py: Do rpmdb checks when we have no history 2009-12-11 James Antill * yum/__init__.py: Use showdups for obsoletes, so "list obsoletes" is sane for RHEL like repos 2009-12-11 James Antill * output.py, yum/__init__.py, yumcommands.py: Create a _rpmdb_warn_checks function, and use that when we find an rpmdb version warning. Change the text on the warning, hopefully Panu will be happier :). Use the rpmdb.check_* functions, to see if we find any problems. 2009-12-11 James Antill * yum/rpmsack.py: Add check_*() APIs to rpmdb, for when version doesn't match etc. 2009-12-11 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Move default urlgrabber options into _default_grabopts(), apply them 2009-12-10 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Tell git to ignore Pydev project files. 2009-12-10 Seth Vidal * yum/misc.py: use xreadlines() not readline() 2009-12-08 Ville Skyttä * yum/yumRepo.py: Move default urlgrabber options into _default_grabopts(), apply them to mirrorlist grabs. This started off from noticing that our timeout doesn't get passed to mirrorlist grabs, but while at it there was a bunch of other useful options missing from that call and the options were unnecessarily copied in several places. 2009-12-10 Ville Skyttä * .gitignore: Tell git to ignore Pydev project files. 2009-12-10 Seth Vidal * yum/misc.py: get cmdline and parse out files on it to look for other items running this handles pygtk and lots of python apps, too 2009-12-10 James Antill * docs/yum.8, output.py: Document the secret end column of history list, giving away all our sekretz! 2009-12-10 James Antill * test/operationstests.py, test/testbase.py, yum/__init__.py: Test cases for previous change 2009-12-10 James Antill * yum/__init__.py, yum/packageSack.py, yum/sqlitesack.py: Fix bugs where we want to install old versions of multiarch packages, which just upsets everything. This is mostly a revert of: commit f6317aabb2734357311b6103286a76054c3cd0e9 Author: James Antill Date: Sat May 31 17:08:44 2008 -0400 We want to keep other arches in the multilib_policy=all case. bug#449056 ...but that was because of the confusing name, and the fact we had another bug which caused the problem, which we fixed a few weeks later: commit 40471d1d681f62415487def517ac90f253fafa9b Author: James Antill Date: Tue Jun 24 17:21:26 2008 -0400 Fix packagesNewestByName() to use comparePoEVR as pkg.__cmp__ uses .arch in thus we'd only get one pkg from the alph sorted arch. kind of a weird interface, not quite the "same" as packageNewestByNameArch ...with that fix I believe the original bug#449056 wouldn't have happened. 2009-12-10 Seth Vidal * yum/config.py: output the variable name you're attempting to set when we encounter an option error 2009-12-09 Seth Vidal * yum/misc.py: use maps instead of smaps trivial fix 2009-12-09 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't die if sha2+ is not available, and we aren't using metalink Fix md5 == abort() code path, only generate/trust sha2+ for metalink=>repomd Output txmbr evr as e:v-r instead of e-v-r 2009-12-09 Seth Vidal * yum/__init__.py: make sure we behave correctly if we cannot get the cachedir setup if someone sets the perms on the tmpdir/cachedir VERY wrong make sure we emit an error and do something sensible about it. rh bug: https://bugzilla.redhat.com/show_bug.cgi?id=543768 2009-12-09 Seth Vidal * yum/__init__.py, yum/rpmsack.py: move return_running_packages to rpmsack from yumbase b/c it belongs there :) 2009-12-09 Seth Vidal * yum/history.py: make sure history dbs are readable only by root - suggested by Josh Bressers 2009-12-08 Seth Vidal * yum/__init__.py: - add docstrings to properties - return_running_packages method to YumBase to return list of pkgs which currently have a file opened by a running process 2009-12-08 Seth Vidal * yum/misc.py: add two functions to get list of processes and return the files the processes have open 2009-12-08 Seth Vidal * yum/sqlitesack.py: add missing warnings import 2009-12-08 James Antill * yum/misc.py, yum/repoMDObject.py: Don't die if sha2+ is not available, and we aren't using metalink 2009-12-07 James Antill * yum/metalink.py, yum/repoMDObject.py, yum/yumRepo.py: Fix md5 == abort() code path, only generate/trust sha2+ for metalink=>repomd 2009-12-04 James Antill * yum/transactioninfo.py: Output txmbr evr as e:v-r instead of e-v-r 2009-12-01 James Antill * yumcommands.py: Make status output nicer for repolist disabled/all/enabled, BZ 540489 2009-11-30 James Antill * yum/transactioninfo.py: Add obsoleted packages to obsoleting txmbrs 2009-11-30 James Antill * docs/yum.8: Add yum-security link to yum man page 2009-11-24 James Antill * docs/yum.8: Tell people looking for list recent, about list-updateinfo new 2009-11-23 James Antill * output.py: Fix the chopping name output in "history info", when we obsolete 2009-11-24 Ville Skyttä * etc/yum.bash: Add expire-cache to clean completions. 2009-11-23 James Antill * yum/packages.py: Add documentation about why we output releasever in ui_from_repo 2009-11-23 James Antill * yum/packages.py: Change ui_from_repo to compare releasever, and print if it's different 2009-11-23 James Antill * yum/__init__.py, yum/rpmsack.py: Add releasever to rpmdb, so we can locally compare it to yumdb etc. 2009-11-23 James Antill * yumcommands.py: Convert missed direct usage of from_repo to use ui_from_repo 2009-11-18 James Antill * output.py: Cleanup code using ui_nevra and ui_from_repo 2009-11-18 James Antill * yum/packages.py: Add ui_from_repo to POs 2009-11-18 James Antill * yum/packages.py: Add ui_nevra and ui_envra to POs 2009-11-16 Seth Vidal * cli.py: don't output usage() when the user fatfingers a command 2009-11-16 James Antill * yum/misc.py, yum/packages.py: Allow HTTP:// as well as http://, and split the tests for re_remote_url 2009-11-16 James Antill * cli.py, yum/__init__.py: Have localInstall()/etc. use YumUrlPackage(), so we act more like rpm. 2009-11-16 James Antill * yum/packages.py: Add YumUrlPackage(), to download packages and use YumLocalPackage on them 2009-11-16 James Antill * yum/misc.py: Add "re_remote_url()" for testing if a url is "remote" 2009-11-16 Ville Skyttä * cli.py, docs/yum.8, etc/yum.bash: Add long variants for all command line options. 2009-11-16 Ville Skyttä * etc/yum.bash: Add --releasever to bash completion. 2009-11-16 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Document --releasever Fix UnicodeDecodeErrors in yumcommands.py Docstring typo fix. Add po/Makevars for gettext plural handling Wrap License field, due to 100+ char. joy in Fedora 2009-11-16 James Antill * docs/yum.8: Document --releasever 2009-11-16 Ville-Pekka Vainio * yumcommands.py: Fix UnicodeDecodeErrors in yumcommands.py Fix two UnicodeDecodeErrors which were raised when running 'yum -v repolist' in fi_FI.utf8 with the yet uncommitted Finnish translation. 2009-11-16 Seth Vidal * yum/misc.py: ignore transaction files which end with 'disabled' - so we can keep ones which are wonky around for debugging but not pester the user with them. 2009-11-16 Ville Skyttä * yum/sqlutils.py: Docstring typo fix. 2009-11-13 Ville-Pekka Vainio * po/Makevars: Add po/Makevars for gettext plural handling Add the po/Makevars file including XGETTEXT_OPTIONS = --keyword=P_:1,2 so that the P_ calls will be recognized as plurals by xgettext and intltool. 2009-11-13 James Antill * output.py: Wrap License field, due to 100+ char. joy in Fedora 2009-11-13 Seth Vidal * cli.py: add --releasever option so users can bump from (for example) 11 to 12 w/o having to grab the fedora-release pkg from 12 manually. 2009-11-12 Seth Vidal * yum/config.py, yum/yumRepo.py: just to make james happy :) 2009-11-12 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Trivial has_key() to "in" changes. Fix for callers that rely on .pkgSackPackages protecting .pkgSack.get* Fix get_running_kernel_version_release Fix epoch matching in rpmdb.returnPackages() Test the first char of a pattern match, if we can 2009-11-12 Seth Vidal * yum/config.py, yum/yumRepo.py: updating yumRepo dump() method and adding YumConf.dump() method to output nicer lists of all of our config settings 2009-10-02 Ville Skyttä * cli.py, rpmUtils/arch.py, rpmUtils/transaction.py, rpmUtils/updates.py, yum/__init__.py, yum/comps.py, yum/depsolve.py, yum/packageSack.py, yum/packages.py, yum/pgpmsg.py, yum/plugins.py, yum/repoMDObject.py, yum/repos.py, yum/rpmsack.py, yum/rpmtrans.py, yum/sqlitesack.py, yum/transactioninfo.py, yum/update_md.py, yum/yumRepo.py, yumcommands.py: Trivial has_key() to "in" changes. This is the first one in set of has_key() avoidance changesets. 2009-11-03 James Antill * yum/transactioninfo.py: Fix for callers that rely on .pkgSackPackages protecting .pkgSack.get* 2009-11-03 James Antill * yum/misc.py: Fix get_running_kernel_version_release 2009-11-03 James Antill * yum/rpmsack.py: Fix epoch matching in rpmdb.returnPackages() 2009-11-03 James Antill * yum/rpmsack.py: Test the first char of a pattern match, if we can 2009-11-04 Seth Vidal * yum/rpmtrans.py: fix typo in rpmtrans - fixes rh bug #532933 2009-11-03 Ville Skyttä * etc/yum.bash: sed usage portability fixes. 2009-11-02 James Antill * yum/misc.py: Expand get_running_kernel_version_release into *_pkgtup, to use it elsewhere 2009-11-02 James Antill Merge commit '6edfd8428a6d424db8dd0ca641875d466d391b1b' into yum-3_2_X * commit '6edfd8428a6d424db8dd0ca641875d466d391b1b': Remove the repoid check, the base name check is "better" and this kills it Only search through non-locale group names, if we didn't match anything Match only current language instead of all in group/category searches. 2009-11-02 James Antill * yum/comps.py: Only search through non-locale group names, if we didn't match anything 2009-10-31 Ville Skyttä * yum/comps.py: Match only current language instead of all in group/category searches. 2009-11-02 Adam Pribyl * po/cs.po: update czech translation 2009-11-02 Igor Pires Soares * po/pt_BR.po: update brazillian translation 2009-11-02 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Big speed boost for depsolving "large" transactions. Move group name bash completion to separate function so it can be used in other tools. Fix: Unicode unequal comparison failed to convert both arguments to Unicode A couple of minor opts for depsolving, in checkInstall and checkRemove Minor opt. for allowedMultipleInstalls() and pkg.*_names callers Fix rpmdb.simpleVersion() to ignore gpg-pubkeys, dito. returnPackages() Add utf8* calls for history, which is the minimum for real i18n there. 2009-11-02 Seth Vidal * yum/depsolve.py: remove the repoid check as it seems to be causing more problems than it solves 2009-11-02 James Antill * yum/depsolve.py: Remove the repoid check, the base name check is "better" and this kills it 2009-11-02 James Antill * yum/comps.py: Only search through non-locale group names, if we didn't match anything 2009-10-31 Ville Skyttä * yum/comps.py: Match only current language instead of all in group/category searches. 2009-10-30 James Antill * yum/packages.py, yum/sqlitesack.py, yum/transactioninfo.py: Big speed boost for depsolving "large" transactions. We keep a PackageSack() of what was added to the transaction, so we don't have to query everything in all pkgSacks for every getProvides()/getRequires(). So that we don't have to download filelists, we create our own PackageSack() and use .simpleFiles() ... however in sqlitesack .simpleFiles() doesn't have an index, so we have to create one or perf. goes out the window (simple patch to y-m-p to fix that though). This are the differences on my box: before ------ yum up tzdata = 4.132 yum upD glibc = 5.889 yum upD = 25.964 yum upD --disablerepo=fedora,updates = 18.628 yum upT = 7.326 after ----- yum up tzdata = 3.996 = ~2.5% yum upD glibc = 5.590 = ~5% yum upD = 19.550 = ~25% yum upD --disablerepo=fedora,updates = 16.830 = ~10% yum upT = 6.537 = ~10% Currently keeping the old code as default, until pkgfiles index makes it out there. 2009-10-31 Ville Skyttä * etc/yum.bash: Move group name bash completion to separate function so it can be used in other tools. 2009-10-28 James Antill * yum/packages.py: Fix: Unicode unequal comparison failed to convert both arguments to Unicode 2009-10-28 James Antill * yum/depsolve.py: A couple of minor opts for depsolving, in checkInstall and checkRemove checkInstall: Don't filter out requires that we provide, as it's done at createrepo time now. checkRemove: If we have a req. we don't provide, check the things that update/obsolete us for it first. 2009-10-28 James Antill * yum/depsolve.py, yum/packages.py: Minor opt. for allowedMultipleInstalls() and pkg.*_names callers 2009-10-27 James Antill * rpmUtils/transaction.py, yum/rpmsack.py: Fix rpmdb.simpleVersion() to ignore gpg-pubkeys, dito. returnPackages() Dito. searchPrco() etc. Add a new rpmdb only method: rpmdb.returnGPGPubkeyPackages() ... so that keys-remove can work. 2009-10-27 James Antill * output.py: Add utf8* calls for history, which is the minimum for real i18n there. 2009-10-29 Seth Vidal * yum/__init__.py: not unicide, unicode - though sometimes it makes me feel like that 2009-10-29 Seth Vidal * yum/__init__.py: and make sure the url and exception are using the 'proper' ones. 2009-10-29 Seth Vidal * yum/__init__.py: fix for https://bugzilla.redhat.com/show_bug.cgi?id=531781 when grabbing gpg keys - if they are not what they should be don't traceback throw up a yumbaserror like we would if they are not found. 2009-10-28 Ville Skyttä * yum/misc.py: Simplify re_full_search_needed "primary" regex. 2009-10-17 Ville Skyttä * yum/misc.py: Cache regex match/search function instead of the regex for a small speedup. 2009-10-17 Ville Skyttä * yum/misc.py: Treat square brackets same way in re_full_search_needed and refineSearchPattern as in re_glob. 2009-10-17 Ville Skyttä * yum/misc.py, yum/yumRepo.py: Simplify some regexps. 2009-10-28 Seth Vidal * yum/packages.py: cleanup a few debug prints and check against ghostlists as well. 2009-10-28 Seth Vidal * yum/packages.py: also remove filerequires if we have the file 2009-10-28 Seth Vidal * yum/packages.py: - don't include requirements in the metadata when the pkg provides it for itself. 2009-10-27 James Antill * output.py: Usernames can contain unicode, so make them unicode. Fixes BZ 531338 2009-10-27 Ville Skyttä * cli.py: Make 'Matched:' section markers translatable. 2009-10-26 Ville Skyttä * cli.py: Print search strings in the order they were passed. 2009-10-26 Ville Skyttä * yum/__init__.py: Improve relevance ordering of search results. Weigh criteria descending based on order they're given in, and take into account the number of fields hit by each combination as well. 2009-10-20 James Antill * yum/yumRepo.py: Get rid of unused block of code 2009-10-26 Ville Skyttä * yum/__init__.py: Remove unused variable. 2009-10-23 Ville Skyttä * cli.py, docs/yum.8: Clarify that -C uses the system cache, not the user one. http://yum.baseurl.org/ticket/310 2009-10-23 Ville Skyttä * etc/yum.bash: Remove stale TODO. 2009-10-23 Ville Skyttä * yum/sqlitesack.py: Fix SQLite names-only simplePkgList. Thanks to James Antill for pointing out a return type issue in the original patch. 2009-10-23 Ville Skyttä * etc/Makefile, etc/yum.bash, yum.spec: Add bash completion. Should work with bash >= 3; does not require bash-completion but uses a few functions from it if available. 2009-10-23 Ville Skyttä * .gitignore: Tell git to ignore tarballs. 2009-10-20 Tim Lauridsen * yum/yumRepo.py: fix pylint error ************* Module yum.yumRepo E0602:1360:YumRepository._commonRetrieveDataMD: Undefined variable 'download_no_size' 2009-10-20 Tim Lauridsen * yum/mdparser.py: pylint: fix syntax error (missing comma) 2009-10-20 Tim Lauridsen * yummain.py: fixed unused imports 2009-10-20 Tim Lauridsen Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X 2009-10-17 Ville Skyttä * cli.py, yum/comps.py, yum/depsolve.py: Replace some cmp based sorts with key based ones. 2009-10-18 James Antill * yum/depsolve.py: Minor speedup/cleanup for isPkgInstalled(). 2009-10-17 James Antill * yum/depsolve.py: Is base package name installed, added as a compare_providers test Should fix the problem that ticket/296 has Also add debug output for reqpo common repoid comparison. Also bump the nudge from 2 to 8, so it should nudge past shortest name. 2009-10-17 James Antill * yum/packages.py: Add .base_package_name, which parses .sourcerpm or uses .name This is added to RpmBase, so we can do it for installed pkgs too, we could move it even higher as it only actually needs .name to work. Also get rid of an extra .isSrpm() call. 2009-10-17 Ville Skyttä * po/.gitignore: Ignore *.mo. 2009-10-16 James Antill * output.py: Use yumdb_info.from_repo in listTransaction for removes 2009-10-15 James Antill * yum/rpmsack.py: Minor speedup in rpmdb._search(). Don't compare name, because we've already done it if it's not None. Reorder the rest of the pkgtup comparison to fail quicker. 2009-10-17 Ville Skyttä * yum/misc.py: Don't trigger a full search for everything starting with a digit. 2009-10-17 Ville Skyttä * yum/sqlitesack.py: Comment spelling fix, remove another stale one. 2009-10-17 Tim Lauridsen * utils.py, yummain.py: Add yum locking to YumUtilsBase move the locking process information from yummain.py into utils.py, so we can't share it and have the same output for both yum-cli and yum-utils tools using YumUtilsBase. 2009-10-17 Tim Lauridsen * po/ca.po, po/cs.po, po/da.po, po/de.po, po/es.po, po/fr.po, po/it.po, po/ja.po, po/ms.po, po/nb.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/sr.po, po/sr@latin.po, po/sv.po, po/yum.pot, po/zh_CN.po: Refreshed po and pot files 2009-10-16 Ville Skyttä * yum/yumRepo.py: Fix traceback when downloading one MD w/size. 2009-10-02 Ville Skyttä * yum/mdparser.py: Deprecate has_key() in favour of "in" for metadata entries. As a side effect, entries are now iterable. 2009-10-16 Seth Vidal * yum/depsolve.py: bump the score of a provider in compare_provider if the reqpo pkg and it have the same repository. 2009-10-15 James Antill Merge branch 'group-md-downloads' into yum-3_2_X * group-md-downloads: Group MD downloads, and use the length to give total size. 2009-10-15 James Antill * yum/rpmsack.py: Remove rpmdb version of contains(), the PackageSackBase one is identical 2009-10-15 Tim Lauridsen * po/cs.po: cz translation update by Adam Pribyl 2009-10-14 Seth Vidal * ChangeLog: merge changelog 2009-10-14 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.25 2009-10-14 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: fix pylint warnings (unneeded lambda) fix pylint warnings (imports) 2009-10-14 Héctor Daniel Cabrera * po/es.po: updated spanish translation 2009-10-14 Seth Vidal * Makefile, po/Makefile: make test should do a msgfmt -c on all the translations 2009-10-14 Tim Lauridsen * yum/__init__.py, yum/depsolve.py, yum/pgpmsg.py: fix pylint warnings (unneeded lambda) ************* Module yum W0108:3927:YumBase._limit_installonly_pkgs.: Lambda may not be necessary ************* Module yum.depsolve W0108:594:Depsolve._requiringFromTransaction.: Lambda may not be necessary ************* Module yum.pgpmsg W0108:571:signature.deserialize_subpacket.: Lambda may not be necessary 2009-10-14 Tim Lauridsen * cli.py, yum/depsolve.py, yum/sqlitesack.py: fix pylint warnings (imports) ************* Module cli W0611: 42: Unused import parsePackages W0611: 41: Unused import rpmUtils ************* Module yum.depsolve W0611: 39: Unused import itemgetter ************* Module yum.sqlitesack W0404: 65: Reimport 're' (imported line 39) W0404: 66: Reimport 'fnmatch' (imported line 24) 2009-10-13 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Comment/log message/doc spelling fixes. 2009-10-13 Seth Vidal * po/zh_CN.po: - get rid of one translation until we can get a proper fix for reordering the arguments - add a %s to the end of another to get rid of msgfmt -c complaining about . 2009-10-13 Ville Skyttä * yum/__init__.py: Comment/log message/doc spelling fixes. 2009-10-13 Göran Uddeborg * po/sv.po: update swedish translation 2009-10-13 James Antill * yum/__init__.py, yum/config.py, yum/repos.py, yum/yumRepo.py: Remove yum-metadata-parser from the default run_with_package_names list We now add it conditionally if we are using any repos. with .xml only MD. This means it isn't logged every time in history (apart from if you have the adobe repo. enabled :). 2009-10-13 James Antill * yum/sqlitesack.py: Drop self._pkgtup2pkgs cache, leak checker to the rescue again 2009-10-13 Tim Lauridsen Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X 2009-10-12 James Antill * output.py, yum/history.py: Show scriptlet-output and errors in history info This WFM(tm), but I've only tested it by adding stuff to my sqlite manually. 2009-10-13 Tim Lauridsen * yum/history.py: fix pylint error (misc. used in line #111) 2009-10-12 James Antill * yum/yumRepo.py: Group MD downloads, and use the length to give total size. 1. We group all MD that has a size, and report the total size to the user. This is more code than you'd think due to some entries not having size. 2. We now also check mdpolicy, even if the repomd.xml is the latest according to metalink. ...this is mainly UI atm., but is also one step on the road to doing multiple MD downloads at once. 2009-10-12 Seth Vidal * yum/packages.py: check for file's existence using os.path.lexist() instead of exist() so we don't misreport symlinks as missing. fixes rh bug: #475054 2009-10-12 Tim Lauridsen * Makefile, test/yum-pylintrc: Silence all the stupid Runtime error maximum recursion depth exceeded in XXX messages when running pylint in python 2.6. http://bugs.python.org/issue5508 Add some nice colors to the pylint output 2009-10-12 James Antill * output.py, yum/__init__.py, yum/history.py: Add "Dep-Install" as a state to history. This is mostly an output tweak for "yum history info", however we now don't manually install a Dep-Install on redo. This means yumdb.reason is correct, and is probably what the user wants the majority of the time. 2009-10-12 James Antill * yum/packageSack.py: If X-1 and X-2 both provide/require FOO then X is a leaf node: Given nothing else requires what they provide. This fixes real false negatives in pkgSack, however this is unlikely to affect rpmdb as there is always just one version installed when we care. Also, a minor memory resource improvement. 2009-10-12 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Import sys for sys.hexversion check, BZ 528233 Update homepage URL and mailing list address. Man page spelling fixes. Another returnLeafNodes speedup (roughly 10%). 2009-10-12 Seth Vidal * yum/__init__.py: change the lambda/map to a list comprehension 2009-10-10 James Antill * yum/config.py: Import sys for sys.hexversion check, BZ 528233 2009-10-11 Ville Skyttä * docs/yum-shell.8, docs/yum-updatesd.8: Update homepage URL and mailing list address. 2009-10-11 Ville Skyttä * docs/yum.8, docs/yum.conf.5: Man page spelling fixes. 2009-10-10 Ville Skyttä * rpmUtils/transaction.py: Another returnLeafNodes speedup (roughly 10%). Corresponds to commit 156db879ce62f8f974ea03d83cee575c4411820d for packageSack leaf nodes plus adds breaking req/prov lookup as early as possible, and avoids a few unnecessary pkgTupleFromHeader calls. 2009-10-09 Seth Vidal * utils.py: when we are setting up utils handle -q and -v as we do in cli. part of the fix for: https://bugzilla.redhat.com/show_bug.cgi?id=514513 2009-10-09 Seth Vidal * yum/__init__.py: when we do localinstalls/reinstalls/etc - make sure we check disableexcludes to see if we've disabled the exclude that might be stopping the localinstall. This creates a new private method of YumBase._is_local_exclude() which takes a package object and a list of pkgs to match against it. 2009-10-08 Yuan Yijun * po/zh_CN.po: update simplified chinese translation 2009-10-08 Kris Thomsen * po/da.po: update danish translation 2009-10-08 Seth Vidal * yum/__init__.py: change method name to _does_this_update() update docstring 2009-10-08 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: updated pt_BR translation by Igor Pires Soares updated fr translation by Michel Duquaine skipbroken: make the missing obsoleted check don't scan all transaction member, but only the TS_OBSOLETING, TS_OBSOLETED ones 2009-10-08 Tim Lauridsen * po/pt_BR.po: updated pt_BR translation by Igor Pires Soares 2009-10-08 Tim Lauridsen * po/fr.po: updated fr translation by Michel Duquaine 2009-10-08 Tim Lauridsen Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X 2009-10-07 Seth Vidal * yum/__init__.py: fix up the naming of the new method to make it less studlycaps'd 2009-10-07 Seth Vidal * yum/__init__.py: if we have some duplicate installed pkgs that do not conflict and we update for the newer one but something deps on the older one. We shouldn't fail against the rpm tscheck, we should fail well before then. This adds 'YumBase.doesThisUpdate(pkg1, pkg2)' which lets this check take less time. 2009-10-07 Seth Vidal * yum/yumRepo.py: make sure if our metalink or mirrorlist has any odd chars in it that we don't traceback trying to print it this is just like ticket 286 - and it hits rhbug 508422, 502975 2009-10-06 James Antill * test/testbase.py: Add a yumdb_info dict to FakePackage() 2009-10-06 James Antill * yum/config.py, yum/yumRepo.py: Make mdpolicy to be a list, to give users/callers greater control 2009-10-06 James Antill * yum/__init__.py, yum/depsolve.py: Preserve "reason=dep" across updates and add it for dep. installs. 2009-10-05 Toshio Kuratomi * yum/yumRepo.py: stops us from tracing back when the mirrorlist contains interesting characters/encoding. 2009-10-05 Piotr Drąg * po/pl.po: update polish translation 2009-10-03 Tim Lauridsen * docs/yum.8: fix urls in yum man page to point to baseurl.org 2009-10-01 Seth Vidal * rpmUtils/transaction.py, yum/rpmsack.py: add a returnLeafNodes() to rpmsack modifies transaction.returnLeafNodes() to take an optional argument that returns headers and indexes so we can convert it quickly to package objects. This makes self.rpmdb.returnLeafNodes() about 2x faster than it was with the PackageSackBase.returnLeafNodes() 2009-09-30 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix logger calls in yumRepo, atm. we traceback due to no self.logger 2009-09-30 James Antill * yum/yumRepo.py: Fix logger calls in yumRepo, atm. we traceback due to no self.logger 2009-09-30 Seth Vidal * yum/__init__.py, yum/comps.py, yum/history.py, yum/plugins.py, yum/rpmsack.py, yum/rpmtrans.py, yum/sqlitesack.py, yum/update_md.py, yum/yumRepo.py: revert yum. import patch reverts e2d9da32940161fd5f8ddf28ff7632502618affb as it breaks a bunch of things - and will cause us more pain with python3 2009-09-29 Adam Pribyl * po/cs.po: fix some problems in czech translation 2009-09-29 James Antill * yumcommands.py: Show obsoletes in check-update if obsoletes processing is on, BZ 526064 2009-09-29 James Antill * yum/__init__.py: Convert all errors to strings, for history to log them. BZ 526294 Main problem here is crap comes out of rpm. We really want just [0] for disk space errors ... but alas. other stuff isn't like that. We could try and inspect the data, and guess what error it is, but just dumping it all out works fine atm. 2009-09-28 Seth Vidal * yum/__init__.py, yum/comps.py, yum/history.py, yum/plugins.py, yum/rpmsack.py, yum/rpmtrans.py, yum/sqlitesack.py, yum/update_md.py, yum/yumRepo.py: clean up all the import yum.blah and from yum.blah import blah from items inside the module it is not necessary. 2009-09-28 James Antill * yum/history.py: to_unicode all text going into the history DB, that might need it, BZ 525843 2009-09-26 James Antill * yum/sqlitesack.py: Make a specical codepath for /path/to/* searches 2009-09-25 Seth Vidal * yum/yumRepo.py: add sizes to all getFile calls. this sets a max size for repomd.xml and repomd.xml.asc to 100K, which is probably reasonable 2009-09-25 James Antill * yum/misc.py: Fail the checksum size checks on undersized, as well as oversized, data 2009-09-24 Piotr Drąg * po/pl.po: updated polish translation 2009-09-24 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Add verison groups, for the version command. 2009-09-24 Adam Pribyl * po/cs.po: add Czech translation. 2009-09-24 Tadashi Jokagi * po/ja.po: updated japanese translation 2009-09-23 James Antill * docs/yum.8, etc/Makefile, etc/version-groups.conf, yum.spec, yum/config.py, yum/packageSack.py, yum/rpmsack.py, yumcommands.py: Add verison groups, for the version command. Config. file is /etc/yum/version-groups.conf Allows you to track subsets of packages to version. 2009-09-23 James Antill * yum/__init__.py, yum/history.py: Explicitly close sqlite, adds .close() and calls it on delete (BZ 525297) 2009-09-23 James Antill * yum/yumRepo.py: Don't traceback on baseurl only repos. which have network failures, BZ 525094 We do this by always having a mirrorurls = [] now, which hopefully protects future snafu's like this. 2009-09-22 Ville Skyttä * yum/misc.py, yum/packages.py, yum/yumRepo.py: Use basic string matching/replacing instead of regexps where appropriate. 2009-09-22 James Antill * yum/history.py: Don't traceback on TS_FAILED txmbrs comming out of the transaction 2009-09-22 James Antill * yum/__init__.py, yum/depsolve.py, yum/misc.py, yum/sqlitesack.py: Fix "yum install '[x/y]bin/zsh'". Also makes the code neater. Because we need matching [], we can't just do a re_glob() of the first char anymore. So we careate a new re_filename() function. This is also clever enough that it doesn't match "[xy]bin/zsh", however negated character classes and character class ranges are on their own (don't do that). Also add some doc comments to the re_* functions. 2009-09-21 James Antill * yum/depsolve.py: Fix install "*bin/virt-install" to do what "/*bin/virt-install" does 2009-09-21 James Antill * docs/yum.conf.5, yum/__init__.py: Add documentation about installonly yumdb attr. 2009-09-21 Seth Vidal * output.py: minor string change b/c "Packages Used" felt awkward. ack'd on irc 2009-09-21 James Antill * docs/yum.8, docs/yum.conf.5: Add documentation for history, and version command 2009-09-21 James Antill * output.py: Show uid 0xFFFFFFFF as unset, dito. if loginuid wasn't available 2009-09-19 James Antill * output.py, yum/__init__.py, yum/history.py: Do the OUTER JOIN by hand, so we get Aborted transactions. Fix output code for displaying aborted transactions. Tweak obsoletes handling in undo/redo. 2009-09-18 James Antill * output.py, yum/history.py, yum/rpmtrans.py: Add history callbacks to the RPMTransaction: Log script output (although not per. pkg). Mark pkgs. as done, as they complete (still need to post process, due to the crappy callback API). Change altered_rpmdb to altered_lt_rpmdb and altered_gt_rpmdb. Tweak output in list/info appropriately. 2009-09-18 James Antill * yum/__init__.py, yum/history.py: Add installroot to history 2009-09-17 James Antill * cli.py, yum/__init__.py, yum/config.py, yum/plugins.py: Add history_record config. Use history_record_packages. Add API for code/plugins to add their package names: base.run_with_package_names.add() conduit.registerPackageName() Use the config. and API package names in version and history. 2009-09-17 James Antill * yum/history.py: Fix history searching for something with a lot of hits, Eg. "*fc11" 2009-09-17 James Antill * output.py, yum/history.py: Remove the outer joins, sqlite doesn't parse them (and also dies in f12). Also add limit to old and use it in history list. 2009-09-14 James Antill * yum/__init__.py, yumcommands.py: Fix history redo/undo to work with obsoletes 2009-09-14 James Antill * output.py: Minor output UI changes for history Just display one of Obsoleted/Obsoleting, but count both. Chop name properly for epoch, display as nevra instead of envra. Do current rpmdb version check at end of list, not during, as it's IO bound esp. if rpmdb isn't in RAM. 2009-09-14 James Antill * yum/transactioninfo.py: Sort reinstalled and downgraded list from makelists 2009-09-11 James Antill * yum/history.py, yum/sqlutils.py: Fix history SQL for py-2.4 and that era. sqlite, maybe generic fixes too 2009-08-31 James Antill * yum/__init__.py, yum/history.py: Log errors when transaction fails, have return_code == 2. Also fix rpmdb version check on install, so it works if there are no historical transactions. 2009-08-31 James Antill * yumcommands.py: Check rpmdb version against last history transaction, in version command 2009-08-31 James Antill * output.py: Check rpmdb version against latest history transaction. Also default to last transaction in history info, if no args. given. 2009-08-30 James Antill * yum/__init__.py, yum/rpmsack.py, yumcommands.py: Add speedup to rpmdb version generation. We only need/use the main version for history collection. Also speedup version command, in non-verbose case. 2009-08-30 James Antill * yum/__init__.py, yum/packageSack.py: Add rpmdb version check, and output warning if it doesn't match Added comparison to PackageSackVersion against str(). 2009-08-30 James Antill * yum/history.py: Add "last" function to history, to get the last transaction. Also added real YumHistoryTransaction() class, and change the trans_with/trans_data members to be dynamic properties. 2009-08-27 James Antill * output.py, yum/history.py, yumcommands.py: Add search() API to history, and a lot of UI improvements for history. Add .search() API, which works like "yum list" but returns history transaction IDs that are relevant. Add ability to search for packages in history list/info/summary. Also integrate with ability to specify multiple transaction IDs. Better UI for list/info/summary. Added "action" column to list/summary. Added gecos fullname to list/info/summary (if it fits). Convert "True-Install" => "Install", as that's internal magic. Change Altered number to be what people expect (ie. an update is 1). Use ISO date/time in list/summary. Have Packages Used, print a readable version of what has happend to the pkg. Limit list/summary to 19 lines, by default (full screen on 24 row terminal). Chop end time in info. Print "Success" for return code == 0. Add display of packages when using undo/repeat. Highlight packages matched in history info. 2009-08-26 James Antill * output.py, yum/history.py: Show when rpmdb has been altered without a history transaction Add API to work out when transactions have been altered => The beg rpmdb_version doesn't match the previous end Show it to the user in history list. 2009-08-26 James Antill * yum/__init__.py, yumcommands.py: Move history_undo/history_repeat into YumBase, like install/downgrade/etc. 2009-08-26 James Antill * output.py, yum/config.py, yumcommands.py: Move the history output commands to output.py, keeping yumcommands clean 2009-08-26 James Antill * yum/history.py, yumcommands.py: Remove dump command. Fix trans_data_pid_end(). Complete all txmbrs when the transaction finished happily. 2009-08-25 James Antill * yum/transactioninfo.py: Mark txmbr's as reinstall ... so history can use it 2009-08-25 James Antill * cli.py: Register the history command 2009-08-25 James Antill * yumcommands.py: Add the history command, so the user can see/use the history API 2009-08-25 James Antill * yum/__init__.py: Add history to the YumBase object 2009-08-25 James Antill * yum/history.py: Add initial version of history APIs. This records what transactions happened, and by whom etc. Mostly for auditing in Fedora, but also allows us to do "clever" yum-debug-dump/restore type stuff. Ie. O(1) "supportable" rollback ops. Note that there is no DB versioning atm. ... and no way to turn this off, so don't put it in production atm. :) 2009-08-25 James Antill * yum/misc.py: Add getloginuid(), so we can see who called "sudo yum" 2009-09-18 James Antill * yum/Errors.py, yum/__init__.py: Be nice and don't traceback when people screw their rpmdb, BZ 522259 2009-09-21 James Antill * yumcommands.py: Catch and ignore any repo. errors, and allow cache only (BZ 524454) 2009-09-18 James Antill * yum/yumRepo.py: Ignore old repomd.xml files if they fail to parse, BZ 520614. 2009-09-17 Seth Vidal * utils.py, yummain.py: move the sys.excepthook over to utils.py and hook it up there. 1. b/c it is tidier over therw 2. b/c now yum-utils using that class get it by default 2009-09-17 Seth Vidal * yummain.py: add a way to run yum inside pdb like we do with the profiler and capture the keyboardinterrupt in sys.excepthook pdb is just handy sometimes sys.excepthook keeps urlgrabber/yum from spewing crap across the screen when someone hits ctrl-c 2009-09-17 Tim Lauridsen * yum/__init__.py: skipbroken: make the missing obsoleted check don't scan all transaction member, but only the TS_OBSOLETING, TS_OBSOLETED ones 2009-09-17 Tim Lauridsen * yum/__init__.py: skipbroken: make the missing obsoleted check don't scan all transaction member, but only the TS_OBSOLETING, TS_OBSOLETED ones 2009-09-16 Tim Lauridsen Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X 2009-09-16 Tim Lauridsen * test/skipbroken-tests.py, yum/__init__.py: Make skip broken handle cases where pkg dupes are installed and an update updates both of them but has dep problems. Make sure we get all the TS_UPDATED members cleaned from the transaction. https://bugzilla.redhat.com/show_bug.cgi?id=522112 2009-09-16 Seth Vidal * utils.py: add doUtilTransaction() method to YumUtilBase. This method handles a bunch of the exit cases we deal with coming out of doTransaction() so we don't have to write the same exception catching code over and over again. This will be tied into some yum-utils updates, too. 2009-09-15 Ville Skyttä * rpmUtils/arch.py: Fix getCanonSPARCArch() "crash" when called on non-SPARC. 2009-09-15 Seth Vidal * yum/config.py: get rid of DeprecationWarning which is cluttering up rpmdb open bugs. this is more or less the same as is in sqliteSack - I've checked everywhere else to make sure it is anywhere else. Once we stop targetting python 2.4 or 2.5 we can just drop this code entirely. 2009-09-14 Seth Vidal * yum/rpmtrans.py: os.path.normpath() over the installroot dir apparently opening a path NOT starting with '/' inside the chroot that rpm makes for the transaction will open a file OUTSIDE of the chroot no, I'm not sure I get it either. 2009-09-11 Seth Vidal * rpmUtils/updates.py: change comment on the tuple order for rpmutils - yum ticket 250 2009-09-10 James Antill * yum/sqlitesack.py: Fix for py sql functions, doesn't like non-int return values. BZ#522032 for: provides /lib/security/pam_loginuid.so (RHEL-5 only) na/ for: install '*bin/autoheader' (all versions) 2009-09-09 Seth Vidal * yum/__init__.py: obscure locking error https://bugzilla.redhat.com/show_bug.cgi?id=521748 if, for some reason the lock/pid file can't be created b/c of an oserror OTHER than 'file exists' then we shouldn't be raising the msg but creating a new lockerror exception and passing on something like useful information 2009-09-09 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Added updated catalan translation by Xavier Conde 2009-09-08 Seth Vidal * yum/depsolve.py: Prospective fix for https://bugzilla.redhat.com/show_bug.cgi?id=519172 If we are running compare_providers() and any of the providers are updates for something installed then score them up just slightly and make sure to not REMOVE the items which are NOT updates for something installed. There still should be an obsoletes catch in here - maybe even to make sure that an obsoleted pkg is never considered AT ALL in compare_providers() however this makes the bug work out correctly and still has all the unittests working 2009-09-07 Tim Lauridsen * po/ca.po: Added updated catalan translation by Xavier Conde 2009-09-03 Seth Vidal * ChangeLog: merge changelog 2009-09-03 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.24 2009-09-03 Igor Pires Soares * po/pt_BR.po: update brazilian translation 2009-09-02 Ville Skyttä * yum/misc.py: make sure our glob match looks for something between [ ]'s 2009-09-02 Seth Vidal * yum/sqlitesack.py: Revert " Fix for https://bugzilla.redhat.com/show_bug.cgi?id=520810" This reverts commit 12d9ee9ee22b68c70ebfc81b6f995626526d3cd2. 2009-09-02 Seth Vidal * yum/sqlitesack.py: Fix for https://bugzilla.redhat.com/show_bug.cgi?id=520810 just b/c it looks like a glob doesn't mean it IS a glob: /usr/bin/[ is a legit file in coreutils but it looks (and acts) just like a glob - so we need to do an ='s search even if it looks like a glob. This makes me cranky. 2009-09-01 Seth Vidal * yum/rpmtrans.py: patch for rh bug 503195 - fix double prefixing problem by being a little sneaky internally if we have an installroot defined that is not '/' 2009-08-31 Ville Skyttä * rpmUtils/arch.py: adding authenticamd patch from Ville 2009-08-28 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't accidentally exit 1, when someone asks to update a non-existant pkg 2009-08-28 James Antill * yum/__init__.py: Don't accidentally exit 1, when someone asks to update a non-existant pkg This got introduced in ef6f313d5f97aa7398ac3aa04c4637d8b9da7125 from April, 2009. It's not indended behaviour. 2009-08-28 Seth Vidal * test/yum-pylintrc: stupid pylint errorcodes changing grumble 2009-08-28 Seth Vidal * yum/__init__.py: avoid the code duplication and just do it once fix up to last patch 2009-08-28 Seth Vidal * yum/__init__.py: if we're passed a deptuple keep from passing it to the exception like that do the str() conversion on the tuple. I didn't just do the str(depstring) in the msg in case the depstring we're passed is [not] unicode and cannot be encoded/decoded properly. There's less chance of that if it a dep tuple. 2009-08-27 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix printing of empty transactions, this is pretty hard to do: 2009-08-27 Pekka Pietikainen * output.py: Fix printing of empty transactions, this is pretty hard to do: echo ts | yum shell 2009-08-27 Seth Vidal * yum/misc.py, yummain.py: Emit non-pipe IOErrors properly and raise some semi-useful errors from bunzipFile when running out of space bunzipping a file - if you hit an IOError it would just kinda vanish. This is ultimately due to exIOError() in yummain.py but it would be good to make a better error message so we know where the file is that had the error, etc fixes rh bug https://bugzilla.redhat.com/show_bug.cgi?id=518720 and probably A LOT more that went away b/c someone ran 'yum clean all' and freed up the space 2009-08-27 Seth Vidal * docs/yum.conf.5: document the ssl options 2009-08-27 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Clean up unnecessary/duplicated code. Fix script error output for erase transactions (bz#484729). Cleanup doUpdate. availdict to newpkgs altered as we itered (minor speedup) Fix makelists for reinstall, now that we've changed how they happen Remove erase transactions on reinstall, fixes BZ 512393. Optimization for pkgExcluder, if we have no excluders do nothing. 2009-08-26 Seth Vidal * yum/sqlitesack.py: add _search_primary_files() to sqliteSack and make it handle glob'd filenames but not glob'd DIRECTORY names properly for the normal-ish cases. This should get _search(), searchPrco, and searchFiles() on roughly the same page. future note: we need to make a lot of this die in a fire. 2009-08-26 Seth Vidal * yum/sqlitesack.py: correct searchFiles for primary file search when we performing searchFiles() against the sqlitesacks we were not checking if the file names were from the set of files that the primarydb has already. So we were downloading the filelistsdb in a bunch of cases where we simply didn't need to. This fixes the simple case of: there are no globs and the file is a primary. It also marks a fixme to be finished that there are globs but the globs matches up to a primarydb file. I'll get to that one shortly. 2009-08-21 Ville Skyttä * yum/packageSack.py, yum/packages.py, yum/sqlitesack.py: Clean up unnecessary/duplicated code. 2009-08-20 Ville Skyttä * yum/rpmtrans.py: Fix script error output for erase transactions (bz#484729). 2009-08-20 James Antill * rpmUtils/updates.py: Cleanup doUpdate. availdict to newpkgs altered as we itered (minor speedup) 2009-08-20 James Antill * yum/transactioninfo.py: Fix makelists for reinstall, now that we've changed how they happen 2009-08-20 James Antill * yum/__init__.py: Remove erase transactions on reinstall, fixes BZ 512393. The main problem here is that yum doesn't let a user install blah-1, if blah-1 is already installed ... so we require a remove transaction, and then an install transaction of the same thing. However _rpm_ only wants to see the install transaction, and gets upset with the remove transaction as well (it has an implicit remove as part of the install, and so tries to remove twice). So this fix just removes the "remove transaction" when we add the reinstall "install transaction". 2009-08-19 James Antill * yum/sqlitesack.py: Optimization for pkgExcluder, if we have no excluders do nothing. This seems like what it'd do anyway, the big differences are: 1. We don't .lower() the elements of pkgtup for each call. 2. We don't store everything we load in the whitelist. ...this nets me a 5-10% improvement ... roughly 2.56 seconds => 2.35 seconds, for check-update. 2009-08-17 James Antill * yum/packageSack.py, yum/rpmsack.py, yum/sqlitesack.py: Fix doc comments for returnPackages/simplePkgList, mainly patterns arg. 2009-08-18 Héctor Daniel Cabrera * po/es.po: spanish translation 2009-08-18 Seth Vidal * yum/packages.py: to_xml() attrib the flags, too - from mikeb@redhat.com 2009-08-18 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Pass "fields" from _setupPkgObjList to _yieldSQLDataList, so we know Add optimized simplePkgList() to sqlitesack, significant speedup: Add pkgtupByKeyData, so we don't have to create package objects Fix whitespace, comments and doc-comments Split the SQL part of _buildPkgObjList() into a separate function Split the setup part of _buildPkgObjList() into a separate function Fix "instant" downloads, BZ 517286 2009-08-17 James Antill * yum/sqlitesack.py: Pass "fields" from _setupPkgObjList to _yieldSQLDataList, so we know what we are searching for. 2009-08-17 James Antill * yum/sqlitesack.py: Add optimized simplePkgList() to sqlitesack, significant speedup: This is what the above few patches were for, as this function now just calls them. Speed differences on my machine: time (echo | yum update wodim) Before: 8.0 seconds After: 6.5 seconds (81.25%) time yum check-update Before: 3.9 seconds After: 2.5 seconds (64.10%) 2009-08-17 James Antill * yum/sqlitesack.py: Add pkgtupByKeyData, so we don't have to create package objects 2009-08-17 James Antill * yum/sqlitesack.py: Fix whitespace, comments and doc-comments 2009-08-17 James Antill * yum/sqlitesack.py: Split the SQL part of _buildPkgObjList() into a separate function 2009-08-17 James Antill * yum/sqlitesack.py: Split the setup part of _buildPkgObjList() into a separate function 2009-08-14 Seth Vidal * yum/config.py, yum/yumRepo.py: ssl patches for new urlgrabber and "proper" ssl support add options matching up to the options that were implemented in the m2crypto patch to yum and urlgrabber that many folks used (centos and rhel5 in particular) sslcacert = Option() sslverify = BoolOption(True) sslclientcert = Option() sslclientkey = Option() Add these options in to every place we setup a urlgrabber instance. 2009-08-13 James Antill * output.py: Fix "instant" downloads, BZ 517286 2009-08-12 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Cleanup whitespace for repolist -v Add expire data to repolist -v Fix the Fedora repo. id for rawhide, in i18n post install tests. Fix the previous testcase, by: Testcase to make sure a specifc nevra comes out of _compare_providers() 2009-08-12 Seth Vidal * rpmUtils/miscutils.py: additional LT/LE cases - fleshing them out a bit more 2009-08-12 Seth Vidal * yum/__init__.py: add comment about other weird obsoletes cases 2009-08-11 James Antill * yumcommands.py: Cleanup whitespace for repolist -v 2009-08-11 James Antill * yumcommands.py: Add expire data to repolist -v This should give enough data to diagnose if there is a problem updating the repo metadata ... as we know have: 1. Latest version from metalink. 2. Version we have. 3. Last time we checked (and how often / how long until we check again) ...just use seconds, and need to think about how to get some colour in here, for Seth :). 2009-08-11 Seth Vidal * rpmUtils/miscutils.py: fix in rangeCompare for where the item we're comparing it to has LESS than range for example: if e-1.0-0 in the range of E < 1.1 There are probably more typeso f insanity here - and some more tests to define and I commented about that in the code. 2009-08-11 Seth Vidal * yum/__init__.py: make sure obsoletes are looked up for localinstall/updated pkgs this handles the cases where the localpkg is a proper update AND an obsolete for a different installed pkg. 2009-08-10 James Antill * test/yum-release-i18n-test.sh: Fix the Fedora repo. id for rawhide, in i18n post install tests. 2009-08-05 James Antill * yum/depsolve.py: Fix the previous testcase, by: 1. We always call into _compare_providers(), don't rely on NewestByNameArch to get the same result. 2. Filter out nevra's, using repo comparison. ...this should fix the weird ncurses-lib problem, however the previous testcase doesn't model that exactly (it just shows a "problem" that if fixed will fix it). Also the #1 part of the fix probably isn't needed for real life, but is to fix the testcase because of the way the unittests use one repo. with packages from multiple repos. (without using MetaSack). 2009-08-05 James Antill * test/simpleupdatetests.py, test/testbase.py: Testcase to make sure a specifc nevra comes out of _compare_providers() This was to try and model the ncurses-libs weirdo in Fedora when the .x86_64 version was available from static repos. and normal repos, but the .i586 versiohn was only in one. Anyway... 2009-08-05 James Antill * test/simpleobsoletestests.py: Testcase for using install instead of update in update, for obsoletes 2009-08-05 Seth Vidal * yum/__init__.py: - fix update j\* with an obsoleter - changes the install() to an update() which makes it so we're not arbitrarily installing pkgs that happen to obsolete something - remove leftover JDBG at james' request 2009-08-04 James Antill * cli.py: Do the rpmlib() error check in the Copy&Paste code for yum cli 2009-08-04 James Antill * yum/__init__.py: If the rpm trans. test check fails due to rpmlib, tell the user. We have had significant rpmlib problems, with SHA256 and Xz etc. so we might as well look for it and tell the user not to put stuff in yum's Bug DB. 2009-08-04 James Antill * yum/sqlitesack.py: Fix "yum list y[u]*" to do the same as "yum list yu*". The problem is that SQL/sqlite has no mapping for [] to SQL's wildcard matching. So we currently load everything and do it via. parsePackages(). Except we forgot we'd done that, so then returned everything. 2009-08-04 Seth Vidal * po/da.po: obvious correction for translation error - caught by msgfmt 2009-08-04 Seth Vidal * yumcommands.py: reverting 'help recent'. 2009-08-03 James Antill * yum/__init__.py: Allow .install(pkgtup=) to fail nicely, as it does for name= and pattern= 2009-08-03 James Antill * yum/__init__.py: Allow "yum reinstall *" etc. when we have "extra" packages. The big problem here is that we did: 1. Find all removable pacakges matching the pattern. 2. Go through and try to reinstall them. ...but the first time we failed on #2, we'd throw an exception leaving the rest of the pacakges from #1 in just a remove state. 2009-08-03 Tim Lauridsen * po/de.po: updated German translation by Fabian Affolter 2009-08-03 Tim Lauridsen * po/pt_BR.po: updated pt_BR translation by Igor Pires Soares 2009-07-27 James Antill * test/simpleupdatetests.py: Add testcase for old multiple arch conflicts problem. This was fixed a while ago, but the only testcase involves obsoletes too (testConflictMultiplePkgs). Bascially if we had two conflicts with the same resolution we'd fix the first one and then fail the second because we couldn't do anything. 2009-07-26 Mads Kiilerich * po/Makefile: Run msgfmt using the python-format annotations This patch detects errors like "Memory %s" => "Hukommelse %a" From BZ 513730 2009-07-20 James Antill * yum/repos.py: Copy quick en/dis able to repos when repo is added 2009-07-20 James Antill * yum/sqlitesack.py: Have pkgtup not be low in excluder, so we can use pkg.pkgtup (as we do) 2009-07-17 James Antill * yum/__init__.py, yum/repos.py, yum/sqlitesack.py: Use new pkgExcluder code to speed up cost excludes. Add listEnabled() cache to repos. Add _pkgtup2pkgs to sqlitesack. yum list blah ... now only needs to consider "blah" for cost excludes. yum list updates ... does everything (worst case), and still 25-30% faster. 2009-07-16 James Antill * yum/sqlitesack.py: Use cleaned pkgobjlist for length as well as returnPackages 2009-07-16 James Antill * yum/__init__.py, yum/packageSack.py, yum/sqlitesack.py: Add excluderid to make some things easier/nicer with repos. going on/off post init. ... add some explanation in the doc comments for addPackageExcluder(). 2009-07-15 James Antill * yum/sqlitesack.py: Fix moved code for n, now data["n"], in excluder code 2009-07-15 James Antill * yum/sqlitesack.py: Add nevr and pkgtup to pkgExcluder 2009-07-15 James Antill * yum/sqlitesack.py: Fix delPackage() after pkgobjlist has been set 2009-04-16 James Antill * yum/sqlitesack.py: Cache pkg names, faster for long lived YumBases. Call searchNames() from searchNevra() Call searchNames() from returnPackages() (if we can). 2009-07-14 James Antill * yum/__init__.py: Use mark/wash in includepkgs to allow further include/exclude(s) 2009-07-14 James Antill * yum/sqlitesack.py: Combine include/exclude tests in pkgExcluder, add mark/wash ops 2009-07-12 James Antill * yumcommands.py: Add "help recent", so people can see what new commands are available 2009-07-15 Seth Vidal * po/nb.po: commit norwegian translation update from Sindre Wetjen - yum bug 156 2009-07-10 Jeremy Katz * docs/comps.rng: Add relax-ng schema for comps and have it installed 2009-07-08 James Antill * yum/__init__.py: Fix update of obsoleted pkg. just as install does, testRLDaplMessWeirdUp1 fix 2009-07-08 James Antill * test/simpleobsoletestests.py: Add update varients of the weird install tests 2009-07-08 James Antill * test/operationstests.py, yum/__init__.py: Fix the obsoletes chain problem, as shown by dapl in EL4 2009-07-08 James Antill * test/simpleobsoletestests.py: Add testcase for EL4 dapl issue 2009-07-08 Seth Vidal * docs/yum.8: add output documentation for yum list to man page for rh bug: https://bugzilla.redhat.com/show_bug.cgi?id=509669 2009-07-07 James Antill * yum/packages.py, yum/rpmsack.py, yum/sqlitesack.py: Real fix for BZ 508445. We were doing inf. recursion in __getattr__ due to d03389725e3779928d721370aed9e14afb5304a6. Real fix is to not test, as we only get there when they don't exist. 2009-07-07 James Antill * yum/packages.py: Revert "Fix speed regression in costExcludes (super magic)" This reverts commit 1f45838e29ba26dac22215dd9c918fb920569fef. This was a workaround, the language isn't bad we are. See next commit. 2009-07-07 James Antill * docs/yum.8, docs/yum.conf.5: More spelling fixes for the man pages 2009-07-07 James Antill * output.py: Fix print ascii unicode, matchcallback, BZ 508360 2009-07-06 James Antill * yum/packages.py: Fix speed regression in costExcludes (super magic) 2009-07-01 Seth Vidal * yum/constants.py, yum/yumRepo.py: simple yumrepo verify method - similar to the package.verify() method - more tricks to add here 2009-06-30 Seth Vidal * docs/yum.8, docs/yum.conf.5: manually commit man page lintian patch from Thomas Goirand 2009-06-29 Seth Vidal * po/pl.po: apply updated polish translation - closes yum bug 142 2009-06-26 James Antill * yum/__init__.py: Add more clever to _pkgSack init, BZ 508139 and 2009-06-24 James Antill * rpmUtils/miscutils.py, yum/packages.py: Add the reason message for hdrFromPackage failing 2009-06-24 James Antill * yum/config.py: Do the module load fallback for iniparse, I believe Jesse needs this 2009-06-24 James Antill * yum/__init__.py, yum/config.py, yum/plugins.py: Move all of iniprase stuff into. config 2009-06-26 Seth Vidal * yum/metalink.py: change MetaLinkRepoErrorParseFail to derive from RepoError - not YumBaseError ultimately fixes: https://bugzilla.redhat.com/show_bug.cgi?id=505156 2009-06-25 Seth Vidal * po/de.po: add patch to translation for spacing issue rh bug: #349425 2009-06-25 Seth Vidal * yum/config.py: add shlex split for url list options so we can handle quoted strings w/spaces in them. 2009-06-24 Seth Vidal * yum/__init__.py: partial fix for https://bugzilla.redhat.com/show_bug.cgi?id=505996 if we notice a package obsoletes something the user wants to install, check to see if a package by the same NAME is installed and ALSO obsoletes it. Until we have the obsoletes dbMatch() database up this is the only way we're going to be able to quickly check. Obviously this isn't fool proof but it is a start. 2009-06-24 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Revert "Do not format flags if no version is passed to formatRequire." Expand the tests for rangeCompare() Make unversioned satisfy everything in rangeCompare() also with flag=0. Speed up SQL searchFiles() when we can. Move preconf deletion, so rpmdb open fails still have it. Do not format flags if no version is passed to formatRequire. Use LC_MESSAGES instead of LC_CTYPE category in get_my_lang_code Work around rpmdb locks issue 2009-06-24 Seth Vidal * po/fr.po: add the %s so the complete error message can be printed 2009-06-23 James Antill * rpmUtils/miscutils.py: Revert "Do not format flags if no version is passed to formatRequire." This reverts commit 201776c3a518ecfc3399887e63326ad81448e05d. This isn't right ... Eg. =>, (None, None, None) VS. < (1, 2, 3) is false. 2009-06-23 James Antill * test/packagetests.py: Expand the tests for rangeCompare() 2009-06-21 Ville Skyttä * rpmUtils/miscutils.py: Make unversioned satisfy everything in rangeCompare() also with flag=0. 2009-06-23 James Antill * yum/sqlitesack.py: Speed up SQL searchFiles() when we can. Eg. "*/blah" can make the function match be == filename Eg. "*bin/blah" can filter to directories that end in "bin", and do the filename thing. 2009-06-23 James Antill * yum/__init__.py, yum/config.py: Move preconf deletion, so rpmdb open fails still have it. Add "Error:" to rpmdb open failure message. 2009-06-23 James Antill Merge branch 'rpmdb-lock-error' into yum-3_2_X * rpmdb-lock-error: Work around rpmdb locks issue 2009-06-21 Ville Skyttä * rpmUtils/miscutils.py: Do not format flags if no version is passed to formatRequire. 2009-06-22 James Antill * yum/misc.py: Use LC_MESSAGES instead of LC_CTYPE category in get_my_lang_code 2009-06-22 James Antill * yum/__init__.py: Don't redo pkgSack init. when pkgSack is false, fixes BZ#507220 2009-06-21 James Antill * yum/packages.py: Unbreak the API break 2009-06-21 James Antill * yum/sqlitesack.py: Fix delPackage excludes, with new exclude code 2009-06-21 James Antill * yumcommands.py: Fix display of/not-of unrevisioned data, in version command 2009-06-21 James Antill * yum/packageSack.py: Add abaility to test for equality on PackageSackVersion objects 2009-06-19 James Antill * yum/__init__.py: Don't die accessing local pkgs. for yumdb_info 2009-06-19 James Antill * yum/__init__.py: Fix po usage for reinstall, reinstall local etc. 2009-06-19 James Antill * yum/packages.py: Do the right thing when attribute isn't in the hdr 2009-06-19 James Antill * yum/rpmsack.py: Fix _old_ bug in rpmdb.returnNewestByNameArch(). It tracebacks when we have more than one result, luckily that only happens for installonly pkgs. Test: yb.rpmdb.returnNewestByNameArch(('kernel', 'x86_64')) 2009-06-19 James Antill * yum/rpmsack.py: Fix comment on _search() 2009-06-19 James Antill * yum/depsolve.py: Speed up install "font(:lang=en)", by a couple of seconds 2009-06-19 James Antill * yum/depsolve.py: Speed up install "font(:lang=en)", by a huge amount (~21 minutes) 2009-06-18 James Antill * yum/yumRepo.py: Allow things to set repo directory attributes again (fixes BZ 506640). Use preload on pkgs. When pkgdir is changed, preload from old pkgdirs. 2009-06-18 Seth Vidal * yum/packages.py: catch keyerrors from getpwuid/getpwgid: fixes rh bug https://bugzilla.redhat.com/show_bug.cgi?id=506764 2009-06-18 James Antill * output.py: Reset the colours to blank, when we turn color off 2009-06-18 Seth Vidal * yum/packages.py: switch to subprocess.Popen from os.popen3 - there might be an exception catch we need to add but this seems to work correctly in testing. closes rh bug: https://bugzilla.redhat.com/show_bug.cgi?id=506707 2009-06-17 Seth Vidal * test/depsolvetests.py, yum/depsolve.py: add test case and modify compare_providers so that rh bug# 502401 stops freaking people out 2009-06-16 Seth Vidal * test/depsolvetests.py, test/misc-tests.py, test/simpleupdatetests.py, test/skipbroken-tests.py, test/testbase.py, yum/depsolve.py: - comment in depsolve about a new test in compare_providers - fix the unittests since we added preconf.arch on all platforms which are NOT x86_64 :) 2009-06-15 Seth Vidal * yum/depsolve.py: fix spelling of 'depedancy' which has been there for a long arse time. 2009-06-15 Seth Vidal * yum/update_md.py: so much drama: I said don't make it just raise w/o the exception catch 2009-06-13 James Antill * yum/yumRepo.py: Cleanup metadataCurrent. 2009-06-13 James Antill * yum/yumRepo.py: Do metalink cache check when using metalink as mirrorlist, BZ#484537 2009-06-12 James Antill * yum/update_md.py: Add comment about UpdateNoticeExceptions 2009-06-12 James Antill * yum/__init__.py: Disable the remove-first/remove-last parts of teh installonly change 2009-06-12 James Antill * shell.py: Let aliases be used in shell 2009-06-12 James Antill * output.py: Do the join hack for python "unicode strings", in listTransactions 2009-06-12 James Antill * output.py: Split the Summary of listTransaction up, so it doesn't have lots of zeros 2009-06-12 James Antill * output.py: Merge branch 'string_changes' into yum-3_2_X * string_changes: Change the C-c string, for width 2009-06-12 James Antill * output.py, yum/__init__.py, yum/transactioninfo.py: Add tsInfo.addDowngrade(). Change makelists() to optionally sort downgrade/reinstall lists out of the install/remove lists. Use new makelists in listTransaction(). 2009-06-10 James Antill * yum/__init__.py: Allow configuration of installonly pkgs. via. yumdb option 2009-06-08 James Antill * cli.py, yum/Errors.py, yum/__init__.py: Make the reinstall messages nicer, for remove/install problems 2009-06-08 James Antill * yum/sqlitesack.py: Add arch. to loaded data in _packageByKey, call _pkgKeyExcluded properly 2009-06-07 James Antill * yum/sqlitesack.py: Add dict based include/exclude, for "large" ACL type stuff 2009-06-05 James Antill * yum/__init__.py, yum/packageSack.py, yum/sqlitesack.py: Add addPackageExcluder API. Use it for includepkgs/excludepkgs, speeds up includepkgs a lot. Now possible to do "only glibc.i?86" easily etc. Don't save pkgs in pkgobjlist, can't work anyway. 2009-06-05 James Antill * yum/sqlitesack.py: Have everything go through, _pkgExcludedRKNEVRA, create _delPackageRK(). 2009-06-05 James Antill * yum/sqlitesack.py: Expand _pkgExcluded, so we can have one function with exclude code. 2009-06-05 James Antill * yum/sqlitesack.py: Tidy up pkgKeyExcluded and packageByKey* 2009-06-10 Seth Vidal * yum/update_md.py: catch the UpdateNoticeException and skip the notice, emitting an error about it suboptimal but... 2009-06-03 Seth Vidal * yum/packages.py: apparently rpm can, occasionally make versions and releases which contain quotes. misc.to_xml them as attributes for the prcos. 2009-06-01 Seth Vidal * cli.py, rpmUtils/arch.py, rpmUtils/updates.py, yum/__init__.py, yum/config.py, yum/depsolve.py, yum/packages.py, yum/update_md.py: rather far and wide changes to accomodate having arch and releasever be settable attributes in yum.preconf. This should work correctly now, at least it appears to note - this only lets you set the arch it will depsolve and act as - it doesn't make yum run the rpm scriptlets using that processor or an emulator so this is only for things that can happen BEFORE the transaction. 2009-06-01 Jens Petersen * docs/yum.conf.5: fix speling error for pckages - rh bug $503123 :) 2009-05-29 Seth Vidal * rpmUtils/arch.py: archstorage object for settable arch/basearch 2009-05-28 Seth Vidal * po/da.po: update danish translation from: Kris Thomsen 2009-05-25 Tim Lauridsen * po/sv.po: updated Swedish translation by Göran Uddeborg 2009-05-22 James Antill * cli.py, yum/__init__.py: Use YumBase.setCacheDir() in cli, remove cache = 0 from setCacheDir() 2009-05-22 James Antill * yum/__init__.py: Add setCacheDir(), to make setting user cache dirs. easier 2009-05-22 James Antill * yum/config.py: Allow users to put config. vars in cachedir/installroot/etc. 2009-05-21 James Antill * yumcommands.py: Show metalink data for Fedora 11, with the metalink is mirrorlist hack 2009-05-21 James Antill * yumcommands.py: Don't output all of repoid, if only one revision of repoid 2009-05-21 James Antill * yum/packageSack.py, yum/rpmsack.py, yumcommands.py: Add from_repo and from_repo_rev, dito. avail. Use columns output. 2009-05-21 James Antill * cli.py, yum/packageSack.py, yum/rpmsack.py, yumcommands.py: First version of version, command 2009-05-21 Göran Uddeborg * po/sv.po: swedish translation update 2009-05-20 James Antill * yum/rpmsack.py: Don't show .tmp attributes 2009-05-20 James Antill * yum/rpmsack.py: Fix python shutdown weirdo 2009-05-20 James Antill * yum/__init__.py: Add more data to the yumdb 2009-05-20 James Antill * yum/__init__.py: Drop cached rpmdb data at various points, work around bad GC 2009-05-19 James Antill * yumcommands.py: Allow users to clean their private cache dirs 2009-05-18 James Antill * yum/misc.py: Speed up tests for: "are we using a valid hash" 2009-05-20 Seth Vidal * po/ja.po: add japanese translation from: Tadashi Jokagi 2009-05-19 Seth Vidal * ChangeLog: merge changelog 2009-05-19 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.23 2009-05-14 James Antill * yum/misc.py: Convert sha to sha1 in digest()/hexdigest() 2009-05-13 James Antill * yum/packages.py, yum/repoMDObject.py, yum/yumRepo.py: Pass size parameter to checksum for packages and MD 2009-05-13 James Antill * yum/misc.py: Rely on Checksums() to do the sha to sha1 conversion 2009-05-13 James Antill * yum/misc.py: Add option to check size of checksumed data 2009-05-13 James Antill * yum/packages.py: Set checksum_type to what we'll use, for local pkgs 2009-05-13 James Antill * cli.py, yum/__init__.py, yumcommands.py: Add reinstall of local rpms 2009-05-13 James Antill * yum/__init__.py: Fix downgrade local, when we have excludes 2009-05-13 James Antill * yum/packages.py: Don't checksum local pkg data 2009-05-13 James Antill Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Catch error opening repo files 2009-05-13 James Antill * yum/packages.py: Default to the default checksum, not sha256, for local pkgs 2009-05-13 Jeremy Katz * yum/repoMDObject.py: Catch error opening repo files Rather than requiring higher level callers to catch the error, we should catch the error at the low-level when opening the repo file and turn it into a RepoMDError. Related to rh bz#500526 2009-05-11 James Antill * yum/transactioninfo.py: Highlight that updated/obsoleted txmbrs don't get a real state 2009-05-11 James Antill * output.py: Fix cleanup progress output 2009-05-11 Seth Vidal * po/pt_BR.po: apply brazilian portugese translation from Igor Pires Soares 2009-05-11 Seth Vidal * po/da.po: apply new danish translation from Kris (lakristho@gmail.com) 2009-05-11 Seth Vidal * po/pl.po: add update of polish translation from: Piotr Drąg 2009-05-07 Tim Lauridsen * Makefile: Added '--graph all' to epydoc Makefile target. - epydoc, graphviz % graphviz-python needed to use it. - type 'make epydoc' and the nice API doc is generated under docs/epydoc 2009-05-06 Tim Lauridsen * po/fr.po: Updated french translation by Thomas Canniot 2009-05-06 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't alter the class GenericHolder, create an instance Can really get rid of _shrinklist() now Do patterns processing on doPkgLists().obsoletes (and the tuples) Do patterns processing on doPkgLists().updates Allow callers to drop the .updates etc. Deal with iteration in GenericHolder, less weird error or make it useful 2009-05-06 Seth Vidal * yum/misc.py: add SHA=SHA1 hack to misc.Checksums(), too 2009-05-06 James Antill * yum/__init__.py: Don't alter the class GenericHolder, create an instance 2009-05-06 James Antill * cli.py: Can really get rid of _shrinklist() now 2009-05-06 James Antill * yum/__init__.py: Do patterns processing on doPkgLists().obsoletes (and the tuples) 2009-05-06 James Antill * yum/__init__.py: Do patterns processing on doPkgLists().updates 2009-05-06 James Antill * yum/__init__.py: Allow callers to drop the .updates etc. 2009-05-06 James Antill * yum/misc.py: Deal with iteration in GenericHolder, less weird error or make it useful 2009-05-01 James Antill * yum/__init__.py: Do skip-broken before we run postresolve callback, etc. 2009-05-01 James Antill * yum/rpmsack.py: Don't fail removal, if a pkg has no yumdb data 2009-05-01 James Antill * output.py, yumcommands.py: Rename yumdb.repoid to yumdb.from_repo 2009-05-01 James Antill * yum/__init__.py: Add releasever to yumdb 2009-05-01 Seth Vidal * yum/__init__.py, yum/rpmsack.py: - add in verifyTransaction() completely and populate some fields in yumdb on install 2009-04-29 James Antill * yum/__init__.py: Turn off total download, when download is finished 2009-04-28 James Antill * yum/__init__.py: Don't show multiple obsoletes if multiple versions are available 2009-04-27 James Antill * yum/yumRepo.py: Add comment about RepoMDError in retrieveMD 2009-04-27 Seth Vidal * yummain.py: add the e.value() patch from Michael Wang from way back in January 2009-04-27 James Antill * yum/yumRepo.py: Revert "Catch Errors.RepoMDError, for not valid mdtype, and report" Nothing is expecting this. 2009-04-24 James Antill * cli.py, yum/plugins.py: Add args plugin hook, for aliases, so we don't use sys.argv directly 2009-04-24 James Antill * yum/yumRepo.py: Current size of deltaMD isn't representative, so remove it from small atm. 2009-04-24 James Antill * yum/yumRepo.py: Add prestodelta to the MD lists 2009-04-24 James Antill * yum/yumRepo.py: Catch Errors.RepoMDError, for not valid mdtype, and report 2009-04-23 James Antill * output.py, yum/depsolve.py: Add callbacks (back compat.) to show packages in requires/conflicts msgs 2009-04-23 James Antill * cli.py, output.py: Try to convert pkgname into pkg, to work around rpm event 2009-04-23 James Antill * yum/transactioninfo.py: Minor speedups to tsInfo.matchNaevr 2009-04-21 Seth Vidal * yum/__init__.py: update returns a list, not an item 2009-04-21 Seth Vidal * yum/__init__.py: make sure when we localinstall/localupdate that we pass updates to YumBase.update() so all of our logic in there can protect us from multiple ver of pkgs being added as updates when someone does an update /*.rpm closes rhbug: 496781 2009-04-21 Seth Vidal * cli.py: make sure we pass the args to the function when they exist, not when they don't closes rh bug #496878 original patch from Martin Gracik 2009-04-16 James Antill * yum/__init__.py: Fix downgrade to work on same arch. pkgs (still not as good as upgrade) 2009-04-16 James Antill * yum/sqlitesack.py: Fix returnPackages() with a repoid, and pre-loaded data 2009-04-15 James Antill * yum/depsolve.py: Likely fix for only old packages providing stuff 2009-04-15 James Antill * test/depsolvetests.py: Test for old pkg provides stuff it shouldn't problem 2009-04-15 James Antill * output.py: Magic i18n sprinkles to fix yum provides on pkgs with (R) in them 2009-04-14 James Antill * yum/packages.py: Only put / in front of "local" repoids 2009-04-14 James Antill * cli.py, yum/__init__.py: Don't do stat() for local* if file doesn't end in .rpm. Allow localdowngrade 2009-04-14 James Antill * yum/sqlitesack.py: Speed up searchNames() when we've loaded all the pkg objects 2009-04-14 James Antill * yum/sqlitesack.py: Don't show duplicates in searchNames, when splitting the query 2009-04-13 James Antill * yum/update_md.py: Fix local repos. to not traceback UpdateMetadata 2009-04-13 James Antill * yum/packages.py: Remove i18n bytes from fake repo ids, fixes 495303 2009-04-13 James Antill * docs/yum.conf.5: Add note about installonlyn and tokeep to man page 2009-04-13 James Antill * yum/yumRepo.py: Fix cost sorting of repos. 2009-04-09 James Antill * yum/yumRepo.py: Add text to tell the user how to get new mirrors 2009-04-08 James Antill * docs/yum.8: Document the groupid feature of grouplist 2009-04-13 Seth Vidal * yum/rpmtrans.py: add an exception catch for the traceback posted here: https://bugzilla.redhat.com/show_bug.cgi?id=494149 It _shouldn't_ happen to begin with but since it CAN happen we might as well catch it and give off a real error 2009-04-08 Seth Vidal * yum/__init__.py: - fix to make local package from file:// urls work, at all. :( 2009-04-07 James Antill * docs/yum.8: Add extra "hidden" features documentation for some commands 2009-04-07 James Antill * docs/yum.8: Add clean expire-cache, to the man page 2009-04-07 James Antill * yum/__init__.py: Fix copy and paste typo 2009-04-07 James Antill * test/depsolvetests.py: Fix bad testcase, arches are allowed to move from .i586 to .i686 on update 2009-04-07 James Antill * yum/__init__.py: Make sure .conf.obsoletes is off for reinstall() 2009-04-07 James Antill * yum/sqlitesack.py: Don't blow up with weird errors on empty search lists (API only) 2009-04-07 Seth Vidal * yum/__init__.py, yum/config.py, yum/yumRepo.py: - revert the copy_local change - fix the duplicate / in config dirs when they get the installroot prepended - make the unlinking check to see if the file is in the cachedir and only unlink it if it is. 2009-04-07 Manuel Amador (Rudd-O) * docs/Makefile: apply patch from debian maintainer to make the docs/Makefile work on non-bourne shells (dash) 2009-04-06 James Antill * yum/__init__.py, yummain.py: Add message function about pkgs that are in yum-utils, BZ 494432. 2009-04-06 James Antill * yum/depsolve.py: Sort pkgs normally, which have the same score. 2009-04-06 Seth Vidal * yum/__init__.py: add comment about yum-utils to y-c-t msg 2009-04-06 Seth Vidal * yum/__init__.py: really apply the returnPackageByDep() patch 2009-04-06 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Remove repo setup progress that does nothing Make translations work again updated Danish translation by Kris fix indetation error, made when commiting ccca634fd6f5bbb11d90eb32ef1b34a27f6d2ed7 updated Serbian translation by Milos Komarcevic updated Catalan translation by Xavier Conde Revert part of d0ed077f779050930cdcd09b2618966482a430bb. Only do yumdb_info lookups on installed pkgs, fix the column calcs. Don't try and install 20 kernel updates on RHEL Sort txmbrs the same way we sort package objects Stop all the complaining about smallest first 2009-04-06 Seth Vidal * yum/__init__.py: - make sure returnPackagesByDep() only looks at newest providers - stubs for the verifyTransaction() method - this is just a placeholder 2009-04-06 Seth Vidal * yum/depsolve.py: do the obsoletes check in compare_providers() properly. 2009-04-05 James Antill * yum/repos.py: Remove repo setup progress that does nothing 2009-04-06 Tim Lauridsen * yum/i18n.py: Make translations work again 2009-04-06 Tim Lauridsen * po/da.po: updated Danish translation by Kris 2009-04-06 Tim Lauridsen * test/skipbroken-tests.py: fix indetation error, made when commiting ccca634fd6f5bbb11d90eb32ef1b34a27f6d2ed7 2009-04-05 Tim Lauridsen * po/sr.po, po/sr@latin.po: updated Serbian translation by Milos Komarcevic 2009-04-05 Tim Lauridsen * po/ca.po, test/skipbroken-tests.py: updated Catalan translation by Xavier Conde 2009-04-04 James Antill * yum/repos.py: Revert part of d0ed077f779050930cdcd09b2618966482a430bb. Fix indentation change in pylint cleanup. 2009-04-04 James Antill * output.py, yumcommands.py: Only do yumdb_info lookups on installed pkgs, fix the column calcs. 2009-04-03 James Antill * yum/__init__.py: Don't try and install 20 kernel updates on RHEL 2009-04-03 James Antill * yum/transactioninfo.py: Sort txmbrs the same way we sort package objects 2009-04-02 James Antill * yum/__init__.py: Stop all the complaining about smallest first 2009-04-01 Seth Vidal * yum/rpmsack.py: revert the dir removal. Don't cleanup the dir unless we sync up the rpmdb 2009-04-01 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Cleanup old directories, when we delete the last attribute Fix delete for cached attrs 2009-04-01 Seth Vidal * output.py, yum/rpmsack.py: - remove unnecessary yumdb_info check - add back todo for sync_with_rpmdb 2009-04-01 James Antill * yum/rpmsack.py: Cleanup old directories, when we delete the last attribute 2009-04-01 James Antill * yum/rpmsack.py: Fix delete for cached attrs 2009-04-01 James Antill * output.py: Output yumdb repoid in list/info. 2009-04-01 James Antill * yum/rpmsack.py: Readd sync_with_rpmdb() function for Seth to fill in 2009-03-31 James Antill * yum/rpmsack.py: Speed up __iter__ and __contains__ etc. using self._read_cached_data 2009-03-31 James Antill * yum/rpmsack.py: Minor changes to yumdb: . Add _read_cached_data, so we don't hit the FS for each access. . Add _sanitize, and _sanitize pkg.name for dir. . complain if get_package() doesn't get any args. . Remove sync_with_rpmdb from old plan where data would be in rpmdb 2009-03-31 James Antill * output.py: Add comment for translators 2009-03-31 Seth Vidal * yum/rpmsack.py: - add __iter__ function and make sure no one plays silly-buggers with attribute names - also deal with @$%(*&%$ pkgnames which are a single char 2009-03-31 Seth Vidal * yum/packages.py, yum/rpmsack.py: allow arbitrary metadata to be added to installed package objects items appear at packageobject.yumdb_info. 2009-03-31 James Antill * cli.py: Fix indentation for pylint 2009-03-31 James Antill * yum.spec: Obsolete allow-downgrade plugin now it's in core 2009-03-31 James Antill * yum/plugins.py: Go back to using optparser for plugins (plugins can still opt in). 2009-03-31 Tim Lauridsen * cli.py, yum/plugins.py: group commandline options added by plugins 2009-03-31 Tim Lauridsen * cli.py, utils.py: group yum options if used from util 2009-03-31 Tim Lauridsen * utils.py: add support of grouping utils options 2009-03-30 James Antill * yum/update_md.py: Add repos arg. to __init__ for UpdateMetadata 2009-03-30 James Antill * yum/__init__.py: Allow pkgtup as an arg. to install/update/remove/etc. 2009-03-30 James Antill * rpmUtils/oldUtils.py, test/yum-leak-test.py, yum/misc.py: Re-add and document API in yum.misc for unicode/utf8 2009-03-30 Tim Lauridsen * Makefile: Cleanup pylint Makefile targets and excluded oldUtils.py 2009-03-30 James Antill * yum/packages.py: Don't just use YumAvailablePackage.__init__ to setup _verify_local_pkg_cache, because noone (YumAvailablePackageSqlite, etc.) calls that function. 2009-03-30 Tim Lauridsen * yum/yumRepo.py: pylint: remove duplicate __cmp__ method 2009-03-30 Tim Lauridsen * yum/packages.py: pylint: Access to member '_verify_local_pkg_cache' before its definition line 697 2009-03-30 Tim Lauridsen * yum/sqlitesack.py: pylint: E0203:178:YumAvailablePackageSqlite._loadFiles: Access to member '_files' before its definition line 200 2009-03-30 Tim Lauridsen * yum/sqlitesack.py: pylint: make searchName have the same signature as the parent method it overloads 2009-03-30 Tim Lauridsen * output.py: make the interupt_callback handler attributes at little nicer and shout up a pylint warning 2009-03-30 Tim Lauridsen * test/yum-pylintrc: extra pylint config to limit false positives 2009-03-30 Tim Lauridsen * test/yum-pylintrc: extra pylint excludes 2009-03-30 Tim Lauridsen * test/yum-pylintrc, yum/comps.py, yum/mdparser.py: pylint: unneed pass lines and extra pylint excludes 2009-03-30 Tim Lauridsen * test/yum-pylintrc, yum/sqlitesack.py, yumcommands.py: pylint: indentation and unneed pass lines and extra pylint excludes 2009-03-30 Tim Lauridsen * test/yum-pylintrc: Excluded some extra warning in pylint profile 2009-03-30 Tim Lauridsen * po/de.po, test/yum-pylintrc: updated German translation by Fabian Affolter 2009-03-30 Tim Lauridsen * yum/yumRepo.py: fix Traceback if mirrorlist is read from the cache, then the url var is not defined 2009-03-30 Tim Lauridsen * rpmUtils/updates.py: pylint: indentation 2009-03-30 Tim Lauridsen * rpmUtils/arch.py: pylint: indentation 2009-03-30 Tim Lauridsen * yum/transactioninfo.py: pylint: indentation 2009-03-30 Tim Lauridsen * yum/sqlitesack.py: pylint: unused imports 2009-03-30 Tim Lauridsen * yum/sqlutils.py: pylint: tabs -> spaces 2009-03-30 Tim Lauridsen * cli.py, output.py, yum/comps.py, yum/repos.py, yum/rpmsack.py, yum/sqlitesack.py, yumcommands.py, yummain.py: fixup regrestion introduced by removing unused imports from yum.misc 2009-03-30 Tim Lauridsen * yum/__init__.py: get to_unicode from yum.i18n, not misc 2009-03-30 Tim Lauridsen * yum/plugins.py: fix unused imports pylint warnings 2009-03-30 Tim Lauridsen * yum/pgpmsg.py: fix Raising a string exception pylint warnings 2009-03-30 Tim Lauridsen * test/yum-pylintrc, yum/packages.py: fix unused imports pylint warnings and added some warnings to the pylint excludelist 2009-03-30 Tim Lauridsen * yum/packageSack.py: fix indentation pylint warnings 2009-03-30 Tim Lauridsen * yum/misc.py: fix indentation and unused imports pylint warnings 2009-03-30 Tim Lauridsen * yum/__init__.py: fixed pylint warnings ************* Module yum Bad indentation. W:308:YumBase.getReposFromConfigFile: Using possibly undefined loop variable 'byte' W:1568:YumBase.doPackageLists: Unnecessary semicolon W:2191:YumBase.getPackageObject: Unreachable code 2009-03-30 Tim Lauridsen * yum/i18n.py: fix ; pylint errors 2009-03-30 Tim Lauridsen * yum/depsolve.py: fix indentation pylint warnings 2009-03-30 Tim Lauridsen * yum-updatesd.py: fix indentation and unused imports pylint warnings 2009-03-30 Tim Lauridsen * yumcommands.py: fix indentation pylint warnings 2009-03-30 Tim Lauridsen * output.py: fix indentation and unused imports pylint warnings 2009-03-30 Tim Lauridsen * cli.py: fix pylint warnings ************* Module cli W:309: Bad indentation. Found 11 spaces, expected 12 W:310: Bad indentation. Found 11 spaces, expected 12 W:311: Bad indentation. Found 14 spaces, expected 16 W:359: Bad indentation. Found 16 spaces, expected 12 W:360: Bad indentation. Found 16 spaces, expected 12 W:505: Bad indentation. Found 15 spaces, expected 16 W:506: Bad indentation. Found 18 spaces, expected 20 W:512: Bad indentation. Found 15 spaces, expected 16 W: 40: Unused import isMultiLibArch W: 38: Unused import TS_OBSOLETED W: 42: Unused import YumLocalPackage 2009-03-29 James Antill * yum/yumRepo.py: Add url to mirrorlist again, make non-Fedora/metalink happy :) 2009-03-05 Ville Skyttä * rpmUtils/miscutils.py: Don't treat gpg-pubkeys imported with rpm < 4.6.0 as source packages in pkgTupleFromHeader(). 2009-03-29 Tim Lauridsen * yum/yumRepo.py: fix these pylint errors ************* Module yum.yumRepo E:1541:YumRepository._readMirrorList: Undefined variable 'url' E:1626:YumRepository._preload_pkg_from_system_cache: Undefined variable 'filename' 2009-03-29 Tim Lauridsen * yum/__init__.py: fix this pylint error ************* Module yum E:3423:YumBase._limit_installonly_pkgs: Undefined variable 'packages' 2009-03-29 Tim Lauridsen * yum-updatesd.py: fix this one. ************* Module yum-updatesd E: 43: No name 'MIMEText' in module 'email' 2009-03-29 Tim Lauridsen * Makefile: add 'make pylint-errors' target to show only errors 2009-03-29 Tim Lauridsen * Makefile, test/yum-pylintrc: Added pylint target to Makefile and yum pylint profile, feel free to run 'make pylint' to check how bad or good it looks :) 2009-03-27 James Antill * yum/i18n.py: Speed up text wrapping, by not doing utf8_width() calls when we don't need to. 2009-03-27 James Antill * yum/i18n.py: Fix utf8_text_wrap() to deal with "long" URLs, Eg. repolist/metalink 2009-03-27 James Antill * yumcommands.py: Add metalink updated time to verbose repolist 2009-03-27 Ville Skyttä * yum/packages.py: make sure prereqs are looked up properly in newer-ish rpm 2009-03-26 James Antill * yum/__init__.py, yum/sqlitesack.py: Don't load filelists for provides 'perl(*net*)' 2009-03-26 Tim Lauridsen * po/pl.po: updated Polish translation by Piotr Drąg 2009-03-25 James Antill * yum/__init__.py: Allow old installonly pkgs. from local files 2009-03-25 James Antill * yum/packages.py: Cache verifyLocalPkg() successes 2009-03-25 James Antill * rpmUtils/oldUtils.py: Fix rpmUtils.oldUtils, which noone should be using 2009-03-25 James Antill * yum/rpmsack.py: Work around rpmdb changing underneath us, BZ 476195 2009-03-25 James Antill * yum/__init__.py: Let reinstall work via. shell remove+install, cleanup probFilterFlags 2009-03-24 James Antill * docs/yum.8: Add documentation for downgrade command 2009-03-24 James Antill * cli.py, yum/Errors.py, yum/__init__.py, yumcommands.py: Add extra UI corner cases, only local downgrade missing now (I think). 2009-03-24 James Antill * cli.py, yumcommands.py: Add downgrade UI command 2009-03-24 James Antill * yum/__init__.py: Add downgrade() function, couple of FIXME's still there for corner case UI. 2009-03-23 James Antill * cli.py: Output group id in verbose mode of grouplist 2009-03-19 James Antill * yum/__init__.py: Let "remove blah-2; install blah-1" work again 2009-03-19 James Antill * yum/yumRepo.py: If the repomd.xml file doesn't exist, the cache isn't current 2009-03-25 Seth Vidal * yum/__init__.py: allow return[Installed]PackagesByDep() to take deptuples not just depstrings 2009-03-25 Seth Vidal * yum/packages.py, yum/rpmsack.py, yum/sqlitesack.py: make help() and other protected attributes lookup properly for rpmdb package objects and sqlite package objects 2009-03-19 James Antill * yum/repos.py: Really fix the leak due to gpg_import_func. *hates python GC* 2009-03-24 James Antill * yum/misc.py: Fix calling seq_max_split() on sets/etc. 2009-03-24 Seth Vidal * ChangeLog: merge changelog 2009-03-24 Seth Vidal * yum.spec, yum/__init__.py: 3.2.22 2009-03-23 Seth Vidal * yum/yumRepo.py: set copy_local=1 for yum repos to make sure file:/// pkgs aren't accidentally unlinked. This means we'll be making a temp copy of file:// url pkgs to the cache dir but it also keeps us from removing files incorrectly when using file:// urls mixed with http:// or ftp:// urls. - this fixes https://bugzilla.redhat.com/show_bug.cgi?id=491523 2009-03-23 James Antill * yummain.py: Be defensive against weird lines in /proc/*/status, BZ 491482 2009-03-19 James Antill * yum/repos.py: Revert " Really fix the leak due to gpg_import_func." This reverts commit 3fd8ca8835044f859fa9556b2425307289a3f9b4. Wait until post 3.2.22 to add this. 2009-03-19 James Antill * yum/config.py: Work around rpmdb locks issue 2009-03-19 James Antill * test/yum-leak-test.py: Update leak tester so we can more easily see the leaks 2009-03-19 James Antill * yum/repos.py: Really fix the leak due to gpg_import_func. *hates python GC* 2009-03-17 Seth Vidal * yum/__init__.py: move around the error output so if someone specifies a pkg they don't have installed but do have an update for (i386->i586 update path, for example) then it won't output a confusing message. 2009-03-16 Seth Vidal * yum/__init__.py: remove the added line from c0c64db26fed2634fd02b3e51c2537bce4f75a7f 2009-03-16 Seth Vidal * yum/__init__.py: revert part of c0c64db26fed2634fd02b3e51c2537bce4f75a7f - check to see if the installroot+reposdir is present before using it - otherwise don't prepent the installroot 2009-03-16 Tim Lauridsen * yum/depsolve.py: fixed typo (rhbz #490277) 2009-03-13 Seth Vidal * yum/__init__.py: - make sure we add the conditionals properly when we first selectgroup() - when we deselectGroup() make sure we clean up the conditionally-added pkgs 2009-03-13 Tim Lauridsen * yum/packages.py: Add a FakeSack to FakeRepository 2009-03-12 James Antill * yum/__init__.py: Let notting do yum install '/usr/bin/*' 2009-03-12 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Speedup RepoConf.iterkeys() as we call it "a lot" - 20% speedup Convert to RawConfigParser from iniparse, as we don't use %blah 5-10% Remove exceptions from options processing, saves 5-10% noop 2009-03-12 Seth Vidal * rpmUtils/arch.py, yum/__init__.py, yum/depsolve.py, yum/rpmsack.py, yum/sqlitesack.py: depsolving catch to fix 488224 unicode handling catch to fix 487912 2009-03-11 James Antill * yum/config.py: Speedup RepoConf.iterkeys() as we call it "a lot" - 20% speedup 2009-03-11 James Antill * yum/__init__.py: Convert to RawConfigParser from iniparse, as we don't use %blah 5-10% noop speedup. Also don't double test repodirs, minor speedup. 2009-03-11 James Antill * yum/config.py: Remove exceptions from options processing, saves 5-10% noop 2009-03-10 James Antill * yumcommands.py: Allow non-root users to makecache on their /var/tmp cachedirs 2009-03-10 Seth Vidal * yum/packages.py: make sure gpg-pubkeys show up as 'noarch' not None 2009-03-09 Tim Lauridsen * utils.py: Setup the repos in doUtilYumSetup (this time to the right branch :) ) 2009-03-09 Seth Vidal * yum/misc.py: clean up some garbage from get_running_kernel_version_release 2009-03-09 James Antill * yum/__init__.py: We don't want to create .conf inside __del__ as bad things happen 2009-03-09 James Antill * yum/sqlitesack.py: Make querytype nicer for Seth :) 2009-03-06 Ville Skyttä * yum/sqlitesack.py: Use = instead of GLOB when possible in _buildPkgObjList(). 2009-03-06 Ville Skyttä * yum/sqlitesack.py: SQL-escape patterns only once in _buildPkgObjList(). 2009-03-08 James Antill * yum/misc.py: u isn't defined when we get TypeError in unique now, fixes BZ#489208 2009-03-06 Milos Komarcevic * yum/__init__.py, yum/i18n.py: Add infrastructure for N_() aka. ngettext, no msgs changed 2009-03-06 Seth Vidal * yum/config.py: remove glibc from default exactarch list b/c we're doing the glibc i386->glibc i586 thing quite a bit :( 2009-03-06 Seth Vidal * yummain.py: bring my favorite command up to current standards 2009-03-06 James Antill * yum/__init__.py, yum/logginglevels.py: Add preconf variables for syslog stuff, add syslog_device 2009-03-05 James Antill * yummain.py: Add Seth's favourite command to find rpm problems 2009-03-05 James Antill * yum/__init__.py: Do a full conflict check for skip broken resolveDeps() 2009-03-06 Seth Vidal * yum/rpmtrans.py: fixup txmbr/pkg 2009-03-06 Seth Vidal * yum/rpmtrans.py: scripterrors can happen in cleanups, too. this is a fix for bug #488994 2009-03-06 Seth Vidal * po/it.po: apply italian translation from mario_santagiuliana (mario at marionline.it) rh bug #488954 2009-03-06 Tim Lauridsen * yum/__init__.py: Make skipbroken remove other available arch packages from pkgSack, when a package is removed from the transaction on singlelib system (rhbz #488224) 2009-03-05 James Antill * yum/__init__.py, yum/depsolve.py: If we do resolveDeps() a second time, then if we failed make sure we do a full check the second time through. Otherwise we'll miss conflicts unless we get new ones. 2009-03-03 James Antill * yum/i18n.py: Fix highlighting on len(msg) == width lines 2009-03-03 Seth Vidal * yum/__init__.py: get rid of the regex entirely. Either it is 3 items or it is 1 item 2009-03-03 Seth Vidal * yum/packages.py: - revert change to verifyLocalPkg - no package should NOT have checksum data - make sure that local pkgs have checksum data generated properly - FIXME - eventually destroy returnIdSum() as it is frelling stupid 2009-03-03 Seth Vidal * yum/__init__.py: make sure the 'check for versioned dep' regex is accurate in the face of prco names with ='s in them. 2009-03-02 James Antill * docs/yum.conf.5, yum/yumRepo.py: Add hack for mirrorlist to treat as metalink, for anaconda 2009-03-02 James Antill * yum/misc.py, yum/packages.py: Add misc.re_primary_dirname and use misc.re_* for _return_primary_dirs/_files 2009-03-02 Ville Skytt? * yum/packageSack.py: Speed up returnLeafNodes(), edited by James Antill. 2009-03-01 James Antill * yummain.py: Output a message about ways forward, when depsolving fails 2009-02-27 James Antill * yum/packages.py: Fix verifyLocalPkg() to handle pkgs with no checksum data 2009-02-26 James Antill * yum/sqlitesack.py: Make sure the changelog comes out in the correct date order 2009-02-26 Seth Vidal * shell.py: add '-' to identchars for the shell parseline() function. Makes check-update, among other things, work correctly closes rh bug https://bugzilla.redhat.com/show_bug.cgi?id=487517 2009-02-26 Tim Lauridsen * po/pt_BR.po: Added updated pt_BR translation by Igor Pires Soares 2009-02-25 Tim Lauridsen * po/de.po: Updated german translation by Dominik Sandjaja 2009-02-24 Seth Vidal * yum/__init__.py: make sure if a reinstall of a pkg cannot happen that we remove the removal of that package from the transaction set. 2009-02-24 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix for bad merge fix in rpmtrans script errors Sort the repos/sacks, so they are used in the same order Skip ftp URLs for hosts we have http URLs for, in "simple" mode Move rpmUtils.updates.debug out of verbose and into debug 2009-02-24 Seth Vidal * po/sv.po: add swedish translation from Göran Uddeborg 2009-02-24 James Antill * yum/rpmtrans.py: Fix for bad merge fix in rpmtrans script errors 2009-02-24 Seth Vidal * yum/rpmtrans.py: for rh bug #484729 - rpm transaction api change. make sure we are a little more specific as to which piece of the 'h' object we are getting. 2009-02-24 James Antill * yum/packageSack.py, yum/repos.py, yum/yumRepo.py: Sort the repos/sacks, so they are used in the same order 2009-02-23 James Antill * yum/metalink.py: Skip ftp URLs for hosts we have http URLs for, in "simple" mode 2009-02-18 James Antill * yum/__init__.py: Move rpmUtils.updates.debug out of verbose and into debug 2009-02-23 Seth Vidal * yum/misc.py: make sure reuse doesn't accidentally stumble over another dir 2009-02-23 Seth Vidal * yum/misc.py: add option to getCacheDir() to allow you to turn off the cachedir reuse feature 2009-02-23 Seth Vidal * yum/packages.py: remove has_key use since it is dead in python 3.0 2009-02-23 Seth Vidal * yum/constants.py, yum/packages.py: fix up yum's package object verify() to work with non md5 filedigests. 2009-02-23 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Add documentation for color_update_* and color_list_*_reinstall Fix which line gets sorted in list updates And do the update highlighting for obsoletes Do the "yum update" colours for list updates Add whizbang colorization to update, to show which pkgs are on disk Add reinstall colour, now we display them 2009-02-23 Seth Vidal * yum/yumRepo.py: if metadata is formed oddly - then we traceback b/c the url is Not None but also 'scheme' doesn't exist yet. This is a situation with "valid" but odd metadata where we have: 2009-02-18 James Antill * docs/yum.conf.5, yumcommands.py: Add documentation for color_update_* and color_list_*_reinstall 2009-02-17 James Antill * yumcommands.py: Fix which line gets sorted in list updates 2009-02-17 James Antill * output.py: And do the update highlighting for obsoletes 2009-02-17 James Antill * yumcommands.py: Do the "yum update" colours for list updates 2009-02-17 James Antill * output.py, yum/config.py: Add whizbang colorization to update, to show which pkgs are on disk 2009-02-12 James Antill * yum/config.py, yumcommands.py: Add reinstall colour, now we display them 2009-02-17 Seth Vidal * yum/rpmsack.py: add auto_close option (defaulting to false) for access to the rpmdb/ts. 2009-02-16 Seth Vidal * yum/__init__.py: drop rpmdb cached data before posttrans runs so we're not holding onto any index info that isn't going to necessarily work. 2009-02-16 Seth Vidal * yum/rpmtrans.py: fixup a merge failure 2009-02-13 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't traceback when rpm gives us a bad tagname, BZ 485221 Sort pkgs in --version Use user cache dirs. instead of going cache-only, BZ 460782 Conflicts: yum/rpmtrans.py 2009-02-12 James Antill * yum/rpmtrans.py: Don't traceback when rpm gives us a bad tagname, BZ 485221 2009-02-12 Seth Vidal * yum/rpmtrans.py: fix for rh bug #485221 make sure the type of 'bytes' is an int for passing into the hdr dict. 2009-02-10 James Antill * cli.py: Sort pkgs in --version 2009-02-10 James Antill * cli.py: Use user cache dirs. instead of going cache-only, BZ 460782 2009-02-09 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix for BZ 484739, process obsoletes on older pkgs when newer is installed Test cases for BZ 484739 Fixes for testbase classes 2009-02-09 Seth Vidal * cli.py: spelling fix from tmz - yum bug #39 2009-02-09 James Antill * yum/depsolve.py: Fix for BZ 484739, process obsoletes on older pkgs when newer is installed 2009-02-09 James Antill * test/simpleupdatetests.py: Test cases for BZ 484739 2009-02-09 James Antill * test/testbase.py: Fixes for testbase classes 2009-02-09 Seth Vidal * yum/packages.py: add two more to_unicodes for url and packager as per mbonnet's suggestion 2009-02-09 James Antill * yum/yumRepo.py: Don't consider repomd.xml current if metalink.xml doesn't exist 2009-02-06 James Antill * output.py: Allow "two" to be translated, trac#34 2009-02-07 Tim Lauridsen * po/de.po: just another updated germen translation by Fabian 2009-02-05 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix circular reference due to bound YumBase instance method Add test for leaking YumBase objects Move some output out of -v, -d 6 to -d 7 Show groupid in verbose mode of groupinfo 2009-02-05 Seth Vidal * yum/packages.py: add some to_unicodes() for summary and description for not entirely clear reasons to make mergerepo not break on some pkgs 2009-02-04 James Antill * yum/repos.py: Fix circular reference due to bound YumBase instance method 2009-02-04 James Antill * test/yum-leak-test.py: Add test for leaking YumBase objects 2009-02-04 James Antill * cli.py, yum/__init__.py, yum/plugins.py: Move some output out of -v, -d 6 to -d 7 2009-02-04 James Antill * output.py: Show groupid in verbose mode of groupinfo 2009-02-03 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Fix testcase to not use the same object in multiple repos. Test cases for RHBZ 483633, perl updates Give the FakePackages a pkgKey Have the base returnPackages follow the patterns API guarantees Run all 3 testKernelInstall tests Look at the arch properly for no reqPo in compare_providers 2009-02-03 Seth Vidal * yum/packages.py: make sure yumHeaderPackages have a returnChecksums implemented and that they populate self._checksums properly 2009-02-03 Seth Vidal * yum/sqlitesack.py: fix to work on rhel5 sqlite errors, apparently :( 2009-02-02 James Antill * test/simpleupdatetests.py: Fix testcase to not use the same object in multiple repos. 2009-02-02 James Antill * test/simpleupdatetests.py: Test cases for RHBZ 483633, perl updates 2009-02-02 James Antill * test/testbase.py: Give the FakePackages a pkgKey 2009-02-02 James Antill * yum/packageSack.py: Have the base returnPackages follow the patterns API guarantees 2009-02-02 James Antill * test/operationstests.py: Run all 3 testKernelInstall tests 2009-02-02 James Antill * yum/depsolve.py: Look at the arch properly for no reqPo in compare_providers 2009-02-02 James Antill * yum/__init__.py, yum/yumRepo.py: Make all the directory attrs properties that auto. do the setup 2009-02-02 James Antill * yum/__init__.py: Remove warning for install of unavailable and installed pkg (RHBZ 480402) 2009-02-02 Seth Vidal * po/ca.po, po/pt_BR.po: translation updates: Brazilian from Igor Pires Soares Catalan from Xavier Conde 2009-01-30 James Antill * yum/yumRepo.py: Try and get "preload" the MD from multiple places, so we have a much better chance of actually getting it. Also add "preload" for packages. 2009-01-30 James Antill * yum/misc.py: Fixup the sha256 vs. sha1 default to be done once at import time 2009-01-28 James Antill * yummain.py: Add check for /proc/stat too, on lock info. 2009-01-28 Seth Vidal * yum/packages.py: for compatibility make sure PackageEVR objects also have 'version' and 'release' attributes 2009-01-27 James Antill * yum/__init__.py: Add in compatibility for people using _getConfig 2009-01-26 James Antill * yum/config.py: Merge the 6h metadata expire value from rawhide 2009-01-26 James Antill * yum/__init__.py: Don't call total download cb if we had errors 2009-01-26 Seth Vidal * yum/packages.py: make sha256 the default checksum type 2009-01-24 Ville Skyttä * rpmUtils/__init__.py: Make RpmUtilsError output prettier. 2009-01-23 Seth Vidal * rpmUtils/miscutils.py: and back we go :( 2009-01-23 Seth Vidal * rpmUtils/arch.py: arm arch fixes from Alexander Kanevskiy. 2009-01-23 James Antill * yum/__init__.py, yum/misc.py, yum/plugins.py: Sort glob data where it can affect what happens 2009-01-23 Seth Vidal * rpmUtils/miscutils.py: slightly backwards, there :( 2009-01-23 Seth Vidal * rpmUtils/miscutils.py: make sure we explicitly check if SOURCERPM is 1 not just defined. 2009-01-21 Ville Skyttä * rpmUtils/miscutils.py: Trivial cleanup to rangeCompare calling compareEVR. 2009-01-21 Ville Skyttä * rpmUtils/miscutils.py: Set arch to 'src' for source packages in pkgTupleFromHeader(). 2009-01-21 Ville Skyttä * rpmUtils/arch.py: getBestArchFromList() micro-optimization. 2009-01-21 Ville Skyttä * yum/misc.py: Use set instead of dict in misc.unique() for a small speedup. 2009-01-22 Seth Vidal * yum/misc.py: if sha256 is unavailable as a checksum, fail over to sha1. -for python 2.4fun 2009-01-21 Seth Vidal * yum/__init__.py: apply patch from Ville Skyttä to use compare_providers for bestpackagefromlist, too closed rh bug: 460777 2009-01-21 Seth Vidal * output.py, yum/constants.py, yum/rpmtrans.py, yum/transactioninfo.py: - apply patches from Panu from rhbug 477849 - reports cpio, and other transaction failures correctly now (for rpm 4.6) 2009-01-19 James Antill Merge branch 'show-locker-task-data' into yum-3_2_X * show-locker-task-data: Show task info. when we don't get the lock 2009-01-19 James Antill Merge branch 'changelog-fix' into yum-3_2_X * changelog-fix: Fix changelog for same day sorting 2009-01-19 James Antill Merge preconf branch and enable/disable plugins change to utils.py 2009-01-19 James Antill Merge branch 'speed' into yum-3_2_X * speed: Don't limit obs to the newest pkgs, as we can minimally update (also speedup) Do some minor speedups for updates processing Add specific pkg == pkg functions, for speed (no need to call into librpm) 2009-01-19 James Antill * cli.py: Output listTransaction in quiet mode when assumeyes isn't on 2009-01-19 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: updated German translation Fabian Affolter Don't get repomd.xml from disabled repos, as that haven't been setup Count pkgs properly, hopefully, when we try to download 2 at once Add conflicts to model 479889, installing both is the rttd Test case for BZ 479889, multiple obsoleters Fix 11hr make check regression that Seth did, with duplicate installs ... ha! Use misc.unlink_f instead of os.unlink for most everything. Add unlink_f() to misc. so we don't need try/except junk everywhere Use errno.EACCES instead of 13 2009-01-19 Seth Vidal * docs/yum.8: add reinstall to docs 2009-01-17 Tim Lauridsen * po/de.po: updated German translation Fabian Affolter 2009-01-14 James Antill * yumcommands.py: Don't get repomd.xml from disabled repos, as that haven't been setup 2009-01-13 James Antill * yum/__init__.py: Count pkgs properly, hopefully, when we try to download 2 at once 2009-01-13 James Antill * test/simpleobsoletestests.py: Add conflicts to model 479889, installing both is the rttd 2009-01-13 James Antill * test/simpleobsoletestests.py: Test case for BZ 479889, multiple obsoleters 2009-01-13 James Antill * yum/__init__.py: Fix 11hr make check regression that Seth did, with duplicate installs ... ha! 2009-01-11 James Antill * yum/__init__.py, yum/rpmtrans.py, yum/yumRepo.py: Use misc.unlink_f instead of os.unlink for most everything. 2009-01-11 James Antill * yum/misc.py: Add unlink_f() to misc. so we don't need try/except junk everywhere 2009-01-11 James Antill * yum/yumRepo.py: Use errno.EACCES instead of 13 2009-01-08 James Antill Merge commit 'd7088b8836c91d11301c53af8ed912c4bfbad4c7' into yum-3_2_X * commit 'd7088b8836c91d11301c53af8ed912c4bfbad4c7': Only output the "setting up X command" once, per. yb ... rm extra install msg Can't assign a property, and keep the property behaviuor, so don't do that 2009-01-07 James Antill * yum/update_md.py: Sprinkle magic unicode pixie dust so str(UpdateMetadata()) kinda works, and print UpdateMetadata() does work (test function). 2009-01-07 Seth Vidal * ChangeLog: merge changelog 2009-01-07 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.21 2009-01-07 Seth Vidal * docs/yum.8: fix some confusing ambiguity in the 'update' command docs 2009-01-06 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: (22 commits) Fix canonArch using test cases for .i386 Testcase for multiple packags with the same conflict. Add comments about the installed provider (postfix) fix. After fixing a conflict, restart as we might have N pkgs conflicting on one Remove the rpm code enter/leave lines, because notting hates us If a provider is installed, prefer it (adds huge comment), fixes BZ 472756 Sort the _unresolvedMembers set as we turn it into a list, because just Add tests to show the hard to find postfix problem, bug BZ 472756 Remove temp. change to test obs. processing (not added, so now broken) Don't let location_base (and probably others) convert from None to '' Remove debugging msg Get the "updating for deps" text correct Use getObsoletersTuples() where that's what we wanted. Add getObsoletersTuples() for searching based on the obsoleter Fix the testcase for gnome-packagekit, PackageKit and pirut Fix tab vs. spaces crack, so stupid python is happy Work around "empty" deescriptions as we do for summaries, picasa needs this Remove "not" in test for strings Add tests for .so dep. problems Understand unicode strings for comps/repoMD ... 2009-01-06 Seth Vidal * yum/__init__.py: fix for https://bugzilla.redhat.com/show_bug.cgi?id=478880 - make sure when we are checking to see if what we're installing is newer than the most recent item, not newer than any item. 2009-01-05 James Antill * test/depsolvetests.py, test/simpleupdatetests.py: Fix canonArch using test cases for .i386 2009-01-05 James Antill * test/simpleobsoletestests.py: Testcase for multiple packags with the same conflict. 2009-01-04 James Antill * yum/depsolve.py: Add comments about the installed provider (postfix) fix. Add comment about the fact we do install() directly. 2009-01-04 James Antill * yum/depsolve.py: After fixing a conflict, restart as we might have N pkgs conflicting on one pkg. Fixes RHBZ 478748. 2009-01-02 James Antill * cli.py: Remove the rpm code enter/leave lines, because notting hates us 2009-01-02 James Antill * yum/depsolve.py: If a provider is installed, prefer it (adds huge comment), fixes BZ 472756 2009-01-02 James Antill * yum/transactioninfo.py: Sort the _unresolvedMembers set as we turn it into a list, because just turning it into a list makes it different on .i386 and .x86_64 which is _very_ confusing. Add some comments for the insanity/weirdness. 2009-01-02 James Antill * test/simpleobsoletestests.py: Add tests to show the hard to find postfix problem, bug BZ 472756 2009-01-02 James Antill * test/depsolvetests.py: Remove temp. change to test obs. processing (not added, so now broken) 2008-12-11 James Antill * cli.py, yumcommands.py: Only output the "setting up X command" once, per. yb ... rm extra install msg 2008-12-09 James Antill * output.py: Can't assign a property, and keep the property behaviuor, so don't do that 2008-12-23 James Antill * yum/sqlitesack.py: Don't let location_base (and probably others) convert from None to '' 2008-12-23 James Antill * yum/__init__.py: Remove debugging msg 2008-12-23 James Antill * yum/depsolve.py, yum/transactioninfo.py: Get the "updating for deps" text correct 2008-12-23 James Antill * yum/__init__.py: Use getObsoletersTuples() where that's what we wanted. Don't pass arch (it's an or test -- bad monkey), as name will work now we are using the right selector. This fixes: testUpdate_so_req_diff_arch(). 2008-12-23 James Antill * rpmUtils/updates.py: Add getObsoletersTuples() for searching based on the obsoleter add comments for WTF the difference is between getObsoletesTuples and getObsoletesList (same prefix, different selector == bad monkey) 2008-12-23 James Antill * test/depsolvetests.py: Fix the testcase for gnome-packagekit, PackageKit and pirut 2008-12-22 James Antill * yum/packages.py: Fix changelog for same day sorting 2008-12-22 James Antill * yum/parser.py: Fix tab vs. spaces crack, so stupid python is happy 2008-12-22 James Antill * yum/packages.py, yum/sqlitesack.py: Work around "empty" deescriptions as we do for summaries, picasa needs this 2008-12-22 James Antill * yum/comps.py, yum/repoMDObject.py: Remove "not" in test for strings 2008-12-22 James Antill * test/depsolvetests.py: Add tests for .so dep. problems 2008-12-19 James Antill * yum/comps.py, yum/repoMDObject.py: Understand unicode strings for comps/repoMD 2008-12-17 James Antill * yum/i18n.py: Deal with blank lines after lists 2008-12-17 James Antill * yum/i18n.py: Do even more tests on utf8_text_wrap() and tweak the output a bit 2008-12-16 Seth Vidal * yum/__init__.py: add in the oldpackage filter if we get into a place where we're going to install a package but it is not newer than something we have installed. 2008-12-16 Seth Vidal * yum/parser.py: add Patch from Andreas Rogge to allow the same file to be included in multiple places, provided it isn't included twice under the same stanza 2008-12-16 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: pt_BR translation updates by Igor Pires Soares Add o as list option, for FEDORA-2008-9779 among others Use our utf8/non-broken, textwrap, for yum info-security Use our utf8/non-broken, textwrap, for yum info Add textwrap.wrap/fill ... as the core versions are broken in various ways Stop skip-broken from looping in weird cases 2008-12-16 Seth Vidal * yum/Errors.py, yum/i18n.py, yum/misc.py: to make exception reporting work on python 2.6. thanks to Ignacio Vazquez for finding the specific problem. closes rh bug #475633 2008-12-16 Tim Lauridsen * po/pt_BR.po: pt_BR translation updates by Igor Pires Soares 2008-12-15 James Antill * yum/i18n.py: Add o as list option, for FEDORA-2008-9779 among others 2008-12-15 James Antill * yum/update_md.py: Use our utf8/non-broken, textwrap, for yum info-security 2008-12-15 James Antill * output.py: Use our utf8/non-broken, textwrap, for yum info 2008-12-15 James Antill * yum/i18n.py: Add textwrap.wrap/fill ... as the core versions are broken in various ways 2008-12-11 tla@dk.ibm.com * yum/__init__.py: Stop skip-broken from looping in weird cases 2008-12-08 James Antill * output.py: Sync format_number with urlgrabber 2008-12-07 James Antill * yum/__init__.py: Only get the updates tuples when we'll use them 2008-12-07 James Antill * test/simpleupdatetests.py: Add "update *" to the bad-multi-install tests 2008-12-07 James Antill * yum/__init__.py: Always look for available pkgs, on pattern updates 2008-12-07 James Antill * yum/__init__.py: Don't do the package updates by hand, just call into ourself 2008-12-07 James Antill * test/testbase.py: Add showdupesfromrepos so "maybe you meant" works when called from testcases 2008-12-07 James Antill * test/simpleupdatetests.py: Add some test cases to try and trigger the searchPkgTuple()[0] problems. ... didn't succeed, but found weird multiple pkgs installed edge cases. Also made noarch => arch update follow the same behaviour as install would. 2008-12-07 James Antill * yum/sqlitesack.py: Fix the e.message warnings from 2.6.x 2008-12-04 James Antill * docs/yum.8, docs/yum.conf.5, yum/config.py: Change the default for obsoletes to be true, and tweaks docs. 2008-12-04 James Antill * rpmUtils/updates.py: Always have an obsoletes dict, so we can always call getObsoletesTuples() etc. 2008-12-04 James Antill * cli.py: Make "yum update /usr/bin/yum" not produce the weird msg when no updates 2008-12-04 Seth Vidal * yum/__init__.py: - check if a requested install pkg is obsoleted before we check if it is already installed fixes rh bug #474514 - allow provides-based updating just like remove and install have. 2008-12-02 James Antill * yum/packages.py: Work around for the crazy rpm package summaries bug, BZ 473239 2008-12-01 James Antill * output.py: Make lastmsg a unicode string so we can do == tests, fixes Fedora BZ 473328 2008-12-01 James Antill * yum/pgpmsg.py: Use "hashlib" directly in pgpmsg, so we don't have cross deps. 2008-12-01 James Antill * yum/misc.py, yum/pgpmsg.py: Simple fix for python-2.6, remove sha/md5 imports from pgpmsg 2008-11-30 James Antill * yum/__init__.py: Don't limit obs to the newest pkgs, as we can minimally update (also speedup) 2008-11-30 James Antill * rpmUtils/updates.py: Do some minor speedups for updates processing 2008-11-30 James Antill * yum/packages.py: Add specific pkg == pkg functions, for speed (no need to call into librpm) 2008-11-30 James Antill * yum/metalink.py: Fix the protocol attribute to use the "std" attribute name 2008-11-25 James Antill * yum/Errors.py, yum/__init__.py, yummain.py: Show task info. when we don't get the lock 2008-11-25 James Antill * cli.py: When showing dups, also show "reinstall dups" 2008-11-22 Tim Lauridsen * po/de.po: updated German translation by Fabian Affolter 2008-11-22 Tim Lauridsen * po/pl.po, yum/update_md.py: updated Polish translation by Piotr Drąg 2008-11-21 James Antill * cli.py, yum/config.py: Fix the color config. option to work the same as the --color cmd line opt. 2008-11-21 James Antill * docs/yum.conf.5: Add documentation for all the color* config. options 2008-11-21 James Antill * docs/yum.8: Add documentation for the --color option 2008-11-21 James Antill * output.py: Minor opt. for no highlighting 2008-11-21 James Antill * output.py: Use highlighting config. in groupinfo -v 2008-11-20 James Antill * output.py, yum/config.py: Fix search highlighting to ignore case, allow configurable highlight 2008-11-20 James Antill * cli.py, output.py, yum/config.py, yum/i18n.py, yumcommands.py: Make list color programable, so Seth can have blink :). Allow color to be turned off/on al. la. GNU cmd line (plus .conf). Add hilight data for fmtColumns(). Add prefix/suffix arguments for utf8_width_fill(). 2008-11-20 James Antill * yum/sqlitesack.py: Use to_utf8 for changelog data 2008-11-20 James Antill * output.py: Deal with utf8 in licenses! Given it's there just shoot everything with it 2008-11-20 James Antill * cli.py: Add sections for entering/leaving rpm code 2008-11-20 James Antill * output.py: Use utf8_width for fmtSection 2008-11-20 James Antill * cli.py, output.py, yumcommands.py: Allow _highlight() to do colour and other modes. Extra whizbang highlighting: . Show installed "extra" packages in bold red. . Show installed "newer than available" packages in bold yellow. . Show installed "update available" packages in bold. . Show available "old" packages in dim cyan. . Show available "newest" packages in bold blue. ...it's still mostly blank, and all seem to be visible when they are used, on white and black backgrounds. Do highlighting for "list available". 2008-11-20 James Antill * yum/__init__.py: Add reinstall_available and old_available do doPkgLists 2008-11-18 James Antill * yumcommands.py: Do dynamic repolist columns, always output the id and num, chop name 2008-11-18 James Antill * output.py: Add repo back into search -v 2008-11-18 James Antill * cli.py, yumcommands.py: Do the update pkg highlighting for "yum list install", turn off when no bold 2008-11-18 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Test cases for kernel/kernel-xen obsoletes Remove debug lines, fix "yum update foo" where foo is obsolseted by an update Add test case and fix for 471736, same as 470440 but for update not install Cleanup the repomd.xml.asc files with the metadata Only try importing the repo key, if the sig verify failed (like pkgs). 2008-11-18 Seth Vidal * yum/yumRepo.py: yes, umm, if you do need to get headers for some crack reason (like checking for potential file conflicts) then you need to make the header dir. 2008-11-17 James Antill * test/simpleobsoletestests.py: Test cases for kernel/kernel-xen obsoletes 2008-11-15 James Antill * test/simpleobsoletestests.py, yum/__init__.py: Remove debug lines, fix "yum update foo" where foo is obsolseted by an update 2008-11-15 James Antill * test/simpleobsoletestests.py, yum/__init__.py: Add test case and fix for 471736, same as 470440 but for update not install 2008-11-14 James Antill * yum/__init__.py: Cleanup the repomd.xml.asc files with the metadata 2008-11-14 James Antill * yum/yumRepo.py: Only try importing the repo key, if the sig verify failed (like pkgs). 2008-11-13 James Antill * yum/metalink.py: Catch XML parse exceptions and convert to MetaLinkRepoErrorParseFail 2008-11-12 James Antill * shell.py: Explain "repo list" better in shell command help 2008-11-13 Seth Vidal * cli.py, docs/yum.conf.5, yum/__init__.py, yum/config.py: add bugtracker_url as a config option - for when we tell someone to file a bug rh bug #471164 2008-11-12 James Antill * yum/yumRepo.py: Allow re-adding deleted keys 2008-11-11 James Antill * yum/yumRepo.py: Revert the previous attempt to fix repomd.xml verification failing Use download to tempfile + rename. This means even if someone pulls the plug after the download, but before the failure, we'll still not have a bad repomd.xml file there. 2008-11-11 James Antill * yum/yumRepo.py: If anything bad happens with the repomd.xml checking, delete it for safety 2008-11-11 James Antill Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: make skip-broken handle a case where foo.x86_64 is skipped, and the foo.i386 is pulled in instead (rhbz #470291) handle obsoleted txmbr without obsoleting txmbr in skip-broken add tsInfo debug messages to output in broken tests 2008-11-11 James Antill * utils.py: Obey enable/disable plugins for yumdownloader etc. ... fixes bug 470936 2008-11-11 Tim Lauridsen * test/skipbroken-tests.py, yum/__init__.py: make skip-broken handle a case where foo.x86_64 is skipped, and the foo.i386 is pulled in instead (rhbz #470291) 2008-11-10 James Antill * cli.py, yum/__init__.py: Allow arguments to grouplist to only show a subset of groups 2008-11-09 Tim Lauridsen * yum/__init__.py: handle obsoleted txmbr without obsoleting txmbr in skip-broken 2008-11-09 Tim Lauridsen * test/testbase.py: add tsInfo debug messages to output in broken tests 2008-11-07 James Antill * test/simpleobsoletestests.py: Fix typo which stopped a testcase from running 2008-11-07 James Antill * test/simpleobsoletestests.py: Test multi. obsoletes for install 2008-11-07 James Antill * test/simpleobsoletestests.py: Add testcase for install obsoleters 2008-11-07 Seth Vidal * yum/__init__.py: make sure we mark as obsoleted pkgs when we do an install. closes rh bug 470440 2008-11-07 Seth Vidal * shell.py: minor modification to make the error message be more accurate 2008-11-06 James Antill * yum/yumRepo.py: Only eat the exception if it's ENOENT 2008-11-06 James Antill * yum/yumRepo.py: Don't die if we haven't downloaded anything before we get the URLGrabError 2008-11-04 James Antill * yum/comps.py: Minor comment copy/paste fix, group => category 2008-11-06 Tim Lauridsen * po/ca.po: updated catalan translation Xavier Conde 2008-11-04 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Add bigger doc comments to utf8_width_chop and utf8_width_full check-update -v lists obsoleted pkgs too, related to 462999 2008-11-04 Seth Vidal * yum/comps.py: make sure the bools in the xml output of groups are lowercase b/c relaxng is fairly retarded. 2008-11-03 James Antill * yum/i18n.py: Add bigger doc comments to utf8_width_chop and utf8_width_full 2008-11-03 James Antill * yumcommands.py: check-update -v lists obsoleted pkgs too, related to 462999 2008-11-02 James Antill * yum/i18n.py: Fix stupid typo in port of utf8_width, all 2 pair sequences were seen as bad 2008-11-02 James Antill * yumcommands.py: Make the width of enabled/disable in repolist, correct for i18n 2008-11-02 James Antill * po/zh_CN.po: Space the info output for po/zh_CN, to prove we can make non-en look good 2008-11-02 James Antill * yumcommands.py: Use utf8_width_fill for repolist 2008-11-01 Tim Lauridsen * yum/__init__.py: better skip-broken transaction debug data (-d7) 2008-11-01 Tim Lauridsen * po/sr.po, po/sr@latin.po: Updated Serbian translations by Milos Komarcevic 2008-11-01 Tim Lauridsen * po/pt_BR.po: Updated Brazilian Portuguese translation by Igor Pires Soares 2008-11-01 Tim Lauridsen * po/nb.po: added updated Norsk translation by Kjartan Maraas 2008-11-01 Tim Lauridsen Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X 2008-11-01 Tim Lauridsen * yum/__init__.py: add some extra skip-broken debug output and minor cleanups 2008-11-01 James Antill * output.py: Fix the total download line to use utf8_width_fill too 2008-10-31 James Antill * yum/plugins.py: Fix "Loaded plugins" line to use correct utf8 widths 2008-10-31 James Antill * output.py: Fix fmtKeyValFill, fmtColumns and progress to work with correct utf8 widths 2008-10-31 James Antill * yum/i18n.py: Add utf8_width chop/fill as helper functions for printing utf8 stuff 2008-10-31 James Antill * yum/i18n.py: Add testing code for utf8_width 2008-10-29 James Antill * yum/i18n.py: Add utf8_width to i18n, so we can do progress bars etc. well 2008-10-31 Tim Lauridsen * test/skipbroken-tests.py, yum/__init__.py: * Added an extra depsolve on the result transaction after skip-broken has ripped out the disty stuff, to make sure that allready depsolved packages, not has been broken by the skipped package. * Added a check for missing TS_OBSOLETED members, this problem occours if multiple packages are obsoleting the same packages and one of these get skipped. (rhbz# 468785) (It is totally DIRTY HACK, but need for now) 2008-10-31 Tim Lauridsen * test/skipbroken-tests.py: Added testcase to show the skipbroken problem in rhbz #468785 2008-10-30 Tim Lauridsen * yum/__init__.py: Extra skip-broken debug info 2008-10-29 Tim Lauridsen * test/skipbroken-tests.py, yum/__init__.py: make skip-broken better and solve the latest added test case 2008-10-29 Tim Lauridsen * test/skipbroken-tests.py: added a failing skip-broken test case there reproduces the case in rhbz #468394 and others 2008-10-29 Tim Lauridsen * test/skipbroken-tests.py: added a skipbroken test case 2008-10-29 Tim Lauridsen * test/testbase.py: make at FakeRpmDB class to use as self.rpmdb when doing unit tests, because PackageSack dont always behave the same as RPMDBSack, so it can break skipbroken tests using unversioned lib requests 2008-10-29 Tim Lauridsen * test/skipbroken-tests.py, test/testbase.py: Added depsolve callbacks to skipbroken tests, to get better output if a test fails 2008-10-28 Tim Lauridsen * test/skipbroken-tests.py: remove failing skip-broken test and add FIXME note the the working one, it causes to much confusion when testing the skipbroken code 2008-10-28 James Antill * output.py: Merge the txmbr and po loops in listTransaction, code tidy up 2008-10-27 James Antill * output.py: Iterate skipped_packages properly as they are pos not txmbrs, fixes BZ 468785 2008-10-27 Seth Vidal * ChangeLog: merge changelog 2008-10-27 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.20 2008-10-27 James Antill * yum/depsolve.py: Allow rm only trans. but allow later install too 2008-10-27 James Antill * yum/depsolve.py: Add the pkgSack to the transaction, if we have a remove followed by an install 2008-10-27 James Antill * test/simpleupdatetests.py: Test update which requires specific version, but not a later one 2008-10-27 James Antill * output.py: Underflow for utf8 width in progressbar, too 2008-10-27 James Antill * output.py: Workaround not having a real width() method for utf8 2008-10-27 James Antill * output.py: Limit terminal width to 20 chars, do the right thing for serial console 2008-10-27 James Antill * yum/__init__.py: combat => compat, typos in comments 2008-10-27 Tim Lauridsen * test/skipbroken-tests.py: Added note to skip-broken test case 2008-10-27 Tim Lauridsen * output.py, yum/__init__.py: Added skipped packages to transaction overview 2008-10-27 Tim Lauridsen * yum/__init__.py: more skipbroken debug output, show what packages there gets pulled out of the transaction 2008-10-27 Tim Lauridsen * yum/__init__.py: make the packages skipped by skip-broken public, so it can be accessed from the outside. it make it posible to add the skipped packages to the transaction results etc. 2008-10-27 Tim Lauridsen * yum/__init__.py: - Added extra skip-broken debug output, so we better can see what is going on - don't remove the same package from pkgSack & up more than once - make sure that the compat arch packages get removed from the pkgSack & up too and not just from the transaction, else they can get pulled in again in the next depsolve loop. 2008-10-27 Tim Lauridsen * po/pl.po: updated Polish translation by Piotr Drąg 2008-10-27 James Antill * yum/__init__.py: Check if the package has appeared before we try and download it, bug 468401 2008-10-26 Tim Lauridsen * po/de.po: updated german translation by Fabian Affolter 2008-10-26 Tim Lauridsen * po/pl.po: updated Polish translation by Piotr Drąg 2008-10-25 James Antill * yum/__init__.py: Add proxy/etc. config. to gpgkey downloads, fixes Fedora BZ 445336 2008-10-22 James Antill * docs/yum.8: Add documentation on install @grp 2008-10-24 Seth Vidal * yum/__init__.py: comment about allowdowngrade/downgrade in general 2008-10-24 James Antill * cli.py, utils.py, yum/__init__.py: Add preconf, so we can remove doConfigSetup etc. 2008-10-24 James Antill Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: fix installed size being wrong for metadata/local pkgs 2008-10-24 Seth Vidal * yum/packages.py: fix installed size being wrong for metadata/local pkgs 2008-10-22 James Antill * docs/yum.8: Add documentation on install @grp 2008-10-22 James Antill * yum/yumRepo.py: Change fixed_repoid to timestamp_check, to make it more obvious wtf it does :) 2008-10-22 James Antill * yum/yumRepo.py: Add a fixed_repoid attribute, which tells us if we can do timestamp checks on the repo. etc. -- fixes the repodiff/repoquery problems where you have a single repoid that referrs to a bunch of different repos. When using metalink, check to see if we already have the latest repomd.xml and if so don't re-download 2008-10-21 James Antill * yumcommands.py: Show revision/tags in repolist -v 2008-10-21 James Antill * yum/repoMDObject.py: Parse out revision and tags from repomd.xml 2008-10-21 James Antill * yumcommands.py: Add metalink to repolist -v 2008-10-21 James Antill * yum/yumRepo.py, yumcommands.py: Fix baseurl output in repolist -v, when we've got a new mirrorlist/metalink 2008-10-20 James Antill * yum/yumRepo.py: Use the metadata index name, and not the filename for the progress output 2008-10-20 James Antill * yum/config.py: Revert kernel-firmware addition to default installonly 2008-10-19 James Antill * yum/config.py: Add kernel-firmware to the kernel pkgs list, bug 467628 2008-10-19 Tim Lauridsen * po/POTFILES.skip: Added POTFILES.skip with pygettext.py, to avoid warning in translate system (rhbz# 467413) 2008-10-19 Tim Lauridsen * po/ca.po: added updated catalan translation by Xavier Conde 2008-10-19 Tim Lauridsen * po/POTFILES.in, po/ca.po, po/da.po, po/de.po, po/fr.po, po/it.po, po/pt_BR.po, po/sr.po, po/sr@latin.po, po/zh_CN.po: rebuild POTFILES.in and *.po files 2008-10-17 James Antill * yum/__init__.py: Allow yum-complete-transaction to turn off the unfinished transactions check 2008-10-17 James Antill * yum/__init__.py: Fix typo in unfinished transactions msg 2008-10-17 Seth Vidal * yum/update_md.py: add xml() method for UpdateMetadata and UpdateNotice objects to push back out xml from these objects 2008-10-17 David Cantrell * cli.py: Allow sys.argv to be overridden by "clever" callers, fixes bug 465653 2008-10-17 James Antill * cli.py: Don't show the 3.0.x provides warning for full path names 2008-10-17 James Antill * yum/yumRepo.py: Catch repo/mirror errors as w3ell as urlgrabber errors, if we can revert 2008-10-15 James Antill * output.py: Use terminal_width_cached() in YumTerm, if available, for dynamic widths. Make progressbar and YumCliRPMCallBack._makefmt dynamicaly wide. Use the pkgname in YumCliRPMCallBack._makefmt, to get better output. 2008-10-15 Seth Vidal * yum/packages.py: magic combination of to_unicode and to_utf8: to_unicode makes the string combination happy coming out of the sqlite to_utf8 makes the string happy going into the gzip'd xml. LOVE LOVE LOVE 2008-10-14 James Antill * output.py: Cleanup the post transaction text 2008-10-14 James Antill * yum/__init__.py: Don't explicitly list metalink.xml for cleanup, as it's got by *.xml filter 2008-10-14 Seth Vidal Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum: Don't output progress for rpm callbacks when in -e 0 -d 0 Fix unicode exceptions in reinstall, bug 466838 Fix another unicode problem, locale.format("%d", ...) in cs_CZ Add documentation for metalink Undeprecate metadataCurrent(), and use it for metalink.xml and repomd.xml Add metalink config. option to each repo. Fix metalink exceptions, and make it easier to use for yumRepo Cleanup metalink data Add length/checksums to the RepoMD object Expand on checksum() to allow multiple checksums over a single file Give a nicer message when filelists contains pkgKeys primary doesn't 2008-10-14 Seth Vidal * yum/packages.py, yum/sqlitesack.py: some minor changes to how we output the xml - to, theoretically, solve the unicode/random-encoding problems. 2008-10-14 James Antill * output.py: Don't output progress for rpm callbacks when in -e 0 -d 0 2008-10-13 James Antill * yumcommands.py: Fix unicode exceptions in reinstall, bug 466838 2008-10-08 James Antill * yumcommands.py: Fix another unicode problem, locale.format("%d", ...) in cs_CZ 2008-10-06 James Antill * docs/yum.conf.5: Add documentation for metalink 2008-10-04 James Antill * yum/yumRepo.py: Undeprecate metadataCurrent(), and use it for metalink.xml and repomd.xml We can't have a newer repomd.xml than we have a metalink file, or it fails. Download/use metalink data if it's configured. It overrides mirrorlist, so you can use both for older versions of yum Check repomd.xml against metalink data, if we have it. Failover to next mirror, if it fails (like repomd.xml gpg signing). 2008-10-04 James Antill * yum/config.py: Add metalink config. option to each repo. 2008-10-04 James Antill * yum/metalink.py: Fix metalink exceptions, and make it easier to use for yumRepo 2008-10-04 James Antill * yum/__init__.py: Cleanup metalink data 2008-10-04 James Antill * yum/repoMDObject.py: Add length/checksums to the RepoMD object 2008-10-04 James Antill * yum/misc.py: Expand on checksum() to allow multiple checksums over a single file 2008-10-04 James Antill * yum/repoMDObject.py, yum/sqlitesack.py: Give a nicer message when filelists contains pkgKeys primary doesn't 2008-10-02 James Antill * cli.py: Expand the "Maybe you meant" messages for update/remove 2008-10-01 James Antill * yum/plugins.py: Do a simple try/except on the plugin load_module, dtops 464920 going critical 2008-09-29 Seth Vidal * yum.spec: change spec file url to yum.baseurl.org 2008-09-27 Jeff Seltren * docs/yum.conf.5: Fix typos in man pages, bug 447588 2008-09-24 Tim Lauridsen * po/fr.po: Updated French translation by Michael Ughetto 2008-09-23 James Antill * yum/rpmtrans.py: Protect I/O calls within RPMTransaction itself, due to rpm insane mode. Try and cleanup if they trigger, so we don't have half a transaction saved in the log files. 2008-09-23 James Antill * yum/rpmtrans.py: Wrap all calls to the display callbacks within the rpm transaction. The problem here is that rpm gets _very_ unhappy if exceptions happen in any of the code it calls during the transaction, and can basically destroy the system (stopping the install phase but doing the cleanup phase). This doesn't 100% protect us, as we can still have errors in our code but it'll protect against anything in the callbacks. 2008-09-22 James Antill * output.py: Use ui_name and ui_description in displayPkgsInGroups 2008-09-22 James Antill * yum/comps.py: Add ui_description for ease of use 2008-09-22 James Antill * yum/__init__.py: Have doGroupLists returned "user sorted data" 2008-09-22 James Antill * yumcommands.py: Do the Remove only TS thing for GroupRemove 2008-09-22 James Antill * cli.py: Fix the sorting of grouplist to obey display_order, just use the group cmp 2008-09-22 James Antill * yum/comps.py: Add return_categories() to comps object. Add nameByLang/descriptionByLang to category objects. Add ui_name to groups/categories, using the current locale's name. Add __cmp__ function to group/categories. 2008-09-22 James Antill * yum/misc.py: Minor fix to get_my_lang_code, no need to import locale as it already is 2008-09-20 James Antill * yumcommands.py: Dynamically size check-update using the "list updates" code 2008-09-20 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: groups are already sorted, so sort the contents. Makes comps stable. Use sys.exit instead of exit as it's not a keyword in python. 2008-09-20 Seth Vidal * rpmUtils/arch.py: make sure noarch is added to all the freaky-deaky arches 2008-09-19 James Antill * yum/comps.py: groups are already sorted, so sort the contents. Makes comps stable. 2008-09-18 James Antill * rpmUtils/miscutils.py: Use sys.exit instead of exit as it's not a keyword in python. causes a traceback if interupt_handler isn't setup (spacewalk/etc.) 2008-09-18 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: remove extra spaces in indent Include the indent in the column calculation for groupinfo -v Use calcColumns for groupinfo -v, per. group. Tidy up group section printing Create a calcColumns() from the work in listTransaction. Dynamically size the width for the Loaded plugins message, if possible 2008-09-18 Seth Vidal * Makefile: limit the changelog to 3.2.0 and up 2008-09-17 Tim Lauridsen * yum/yumRepo.py: remove extra spaces in indent 2008-09-16 James Antill * output.py: Include the indent in the column calculation for groupinfo -v 2008-09-16 James Antill * output.py: Use calcColumns for groupinfo -v, per. group. Tidy up group section printing 2008-09-15 James Antill * output.py, yumcommands.py: Create a calcColumns() from the work in listTransaction. Call calcColumns() from the list command. Tweak the APIs used to pass the column data down to simpleList(). Make simpleList etc. work based on fmtColumns(). Tweak the output format for list obsoletes. 2008-09-15 James Antill Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: - add crazy utf8 conversion routine for outputting xml for metadata 2008-09-15 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Make sure we get two packages with the same nevra, but different pkgKey's Fix the testcases to not die due to missing persistdir Speedup for includepkgs, use a set for main in test Don't use parsePacakges where just returnPackages() dtrt. now Make rpmdb.returnPackages dtrt. like sqlitesack, always doing the minimization Patterns max constant change, adding PATTERNS_INDEXED_MAX and comments. 2008-09-15 Seth Vidal * yum/misc.py: - add crazy utf8 conversion routine for outputting xml for metadata - if/when non-utf8 filenames/metadata content becomes good and illegal then we should be able to clean this all out 2008-09-15 James Antill * yum/plugins.py: Dynamically size the width for the Loaded plugins message, if possible 2008-09-12 James Antill * yum/sqlitesack.py: Make sure we get two packages with the same nevra, but different pkgKey's 2008-09-12 James Antill * test/testbase.py: Fix the testcases to not die due to missing persistdir 2008-09-12 James Antill * yum/__init__.py: Speedup for includepkgs, use a set for main in test 2008-09-12 James Antill * yum/__init__.py: Don't use parsePacakges where just returnPackages() dtrt. now 2008-09-12 James Antill * yum/rpmsack.py: Make rpmdb.returnPackages dtrt. like sqlitesack, always doing the minimization 2008-09-11 James Antill * yum/constants.py, yum/sqlitesack.py: Patterns max constant change, adding PATTERNS_INDEXED_MAX and comments. Also dtrt. wrt. large returnPackages() pattern lists (using parsePackages instead of returning everything). Testing done with: time yum ls $(perl -e 'print "python-urlgrabber " x 8') time yum ls $(perl -e 'print "ustr " x 128') ...the last two are stupidly fast still, due to the index on name so they get a different limit. Also tested: time yum search $(perl -e 'print "ustr " x 14') ...but that doesn't seem affected, as it grows linearly but takes even longer in python. And: time yum groupinfo -v \* ...but that seems to be just as fast when PATTERNS_*MAX is low and thus. requires multiple SQL queries. 2008-09-11 Seth Vidal * yum/__init__.py: emit a warning and pause for 3s when there are unfinished transactions hanging about 2008-09-11 Seth Vidal * po/de.po, yum/rpmsack.py: - check in new german translation - correct a docstring 2008-09-07 James Antill * output.py: Use self.verbose_logger.log instead of print for download_callback_total_cb 2008-09-04 James Antill * yum/__init__.py: Fix stupid python syntax error in previous commit 2008-09-04 James Antill * yum/__init__.py: Only return a single package name on provide based installs, bug 460783 2008-09-02 James Antill * test/depsolvetests.py: Add some test cases, including weird behaviuor for inst_require_obsoletes 2008-09-02 James Antill * cli.py, yum/__init__.py, yum/depsolve.py, yum/rpmsack.py, yumcommands.py: Allow yum to create "remove only" transactions, use it for rm cmd: bug 240821 2008-08-29 Seth Vidal * yum/misc.py: make sure we do a fulle search for name.arch separations, too - so if a . is present, search the whole shooting match, not just the name. 2008-08-28 Tim Lauridsen * yum/config.py: Restore Standard ConfigParser compatibility to config.py 2008-08-28 Tim Lauridsen * Makefile, test/skipbroken-tests.py: Added test-skipbroken make target and some extra testcases 2008-08-27 James Antill * yum/sqlitesack.py: Fix typo for arch excludes for obsolete tuples fix 2008-08-27 James Antill * yum/sqlitesack.py: Do arch excludes for obsolete tuples 2008-08-26 James Antill * yum.spec: Fixup the License to be the same as Fedora 2008-08-26 Seth Vidal * ChangeLog: merge changelog 2008-08-26 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Set the close on exec flag. for the transaction-done file, bug 460098 2008-08-26 Seth Vidal * yum.spec, yum/__init__.py, yum/comps.py: - make group* commands default to case insensitive like they used to - mark as 3.2.19 2008-08-26 James Antill * yum/rpmtrans.py: Set the close on exec flag. for the transaction-done file, bug 460098 2008-08-25 James Antill * yum/__init__.py: Auto unlock when YumBase is destroyed, hopefully better dtrt. behaviour 2008-08-25 Seth Vidal * yumcommands.py: add parens to make the or'd case for checkGPGKey be tied together. 2008-08-24 James Antill * yum/__init__.py: Make list extras a lot faster, ~5x speedup here 2008-08-24 James Antill * output.py, yumcommands.py: Fix listPkgs() so we don't highlight with old packages using showduplicates 2008-08-22 James Antill * output.py: Give gpgkeys a noarch arch. in listTransaction() 2008-08-22 James Antill * output.py: Add fmtColumns(), just move of code from listTransaction so we can reuse 2008-08-22 James Antill * test/check-po-yes-no.py: do to_utf8 for check-po-yes-no error reporting 2008-08-22 James Antill * yum/__init__.py: Don't allow an installed repo. 2008-08-21 James Antill * shell.py: Make "echo repo list | yum shell" show just enabled, like "yum repolist" 2008-08-21 James Antill * shell.py: Setup the normal repos. if we are enabling a new one. Fixes bug 459654 2008-08-19 James Antill * yum/sqlitesack.py: Use a list comprehension instead of map, mildly more readable 2008-08-19 James Antill * yum/sqlitesack.py: Fix LIKE SQL queries with [] in the input. Eg. yum list yum[!a]3.2.17[!a]2.fc9 Needs to match yum-3.2.17-2.fc9 Yes, it's a crazy corner case ... yes, it's a simplish fix to dtwt. 2008-08-19 James Antill * yum/misc.py: Add [] to set of wildcards 2008-08-18 James Antill * yum/sqlitesack.py: Really do the API compat. fix for excludeArchs() now, not just make it work 2008-08-18 James Antill * yum/sqlitesack.py: Minor API fixup for arch_allowed. now compatible with old behaviour if you don't call excludeArch() or you call it twice with different args. (crack) 2008-08-18 James Antill * yum/misc.py: Fix re_full_search_needed() 2008-08-18 James Antill * cli.py: Suggest installed pkgs too, in "maybe you meant" output 2008-08-18 James Antill * yum/yumRepo.py: Skip checksumming old downloaded .sqlite files, we still check when we download them. Note that this _used_ to be needed before atomic MD because we might have an old DBMD file lying around ... that cannot be true anymore, unless the user does it via. cp. And it's costing is ~25% for simple operations. Note because of the historical behaviour I added skip_old_DBMD_check to turn this on/off, if we are super paranoid we _might_ want to have it off by default but on in yumcli? 2008-08-18 James Antill * yum/misc.py, yum/sqlitesack.py: If we can get away with searching just the name field, do that as it's indexed so is basically as fast as searchNames(). This "fails" on terms like "python-*" ... but so what. Saves about 0.1 seconds on my machine (which is ~10% now). 2008-08-18 James Antill * yum/sqlitesack.py: We don't want to do a single "search for all packages with a bad arch" SQL search because "normally" there are no bad arches. So we move to looking at the arch. at pkg load time, a la exclude by pkgKey. This saves about .2 seconds on my machine. 2008-08-18 James Antill * yum/config.py: Don't walk each config. option in populate(), .1 - .2 opt. 2008-08-16 Tim Lauridsen * po/zh_CN.po: Added chinese translation by lijiansheng 2008-08-14 James Antill * output.py: Fix stupid missing line from _group_names2aipkgs conversion 2008-08-14 James Antill * cli.py: Add comments about the previous bug, and better long term. fix 2008-08-14 James Antill * cli.py: Fix "full" available list by using parsePackages, bug 459076 2008-08-13 James Antill * yum/metalink.py: First attempt at a parser for the new MirrorManager MetaLink output. Anyone relying on this API atm. is liable for a free stabbing. This just parses the data into a usable form, hooking it into yumRepos is not done, neither is the metalink= [urls] repo. config. variable. 2008-08-13 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Delete some old, misleading, comments in returnPkgLists Add highlighting to packages which have updates in list commands, Minor extra fixes for non-existant args. in doPackageLists, these are only 2008-08-13 Seth Vidal * yum/packages.py: merge over the bits from createrepo to let us dump xml data from YumLocalPackage objects 2008-08-13 James Antill * cli.py: Delete some old, misleading, comments in returnPkgLists 2008-08-13 James Antill * output.py, yumcommands.py: Add highlighting to packages which have updates in list commands, like list/info/groupinfo. Add some helper functions. This makes it more obvious what is "available to install" and what is "available to update". We also only do the processiing when we have the installed+available this is a feature. 2008-08-12 James Antill * yum/__init__.py: Minor extra fixes for non-existant args. in doPackageLists, these are only really noticable from the API. 2008-08-12 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Dynamically balance the field widths in listTransaction(). Tweak output of the transaction, helps RHEL a lot due to long repoids 2008-08-12 Seth Vidal * yum/__init__.py, yum/transactioninfo.py: fix for the conditional pkgs installing too much but this time in an API-compliant way :) 2008-08-11 James Antill * output.py: Dynamically balance the field widths in listTransaction(). We try and make as many lines as possible not "overflow" Also when they do overflow, it's slightly better to do so on the left. This helps the weird cases like long package names or long evr's a lot. Also RHEL with it's 30+ character repoid's. This is a lot of code to print the transaction now, _but_ it's always the same code path so if it works once it should always do so. Of course, in theory, it's possible for it to look worse than before. 2008-08-11 James Antill * output.py: Tweak output of the transaction, helps RHEL a lot due to long repoids 2008-08-11 Seth Vidal * yum/__init__.py, yum/repos.py, yum/yumRepo.py: - when we delete a repo from our repos object, also close it - when we add_enable_repo make sure we call setup on it, too, just to make sure we get the dirs and caches setup - when _resetSack is called just set _sack to None not sack 2008-08-11 James Antill * test/depsolvetests.py, yum/__init__.py: Turn on fix for test_min_up_and_dep[12] and add fix for test_min_up_and_dep3 2008-08-11 James Antill * output.py: Tweak listTransaction() output so columns are always aligned 2008-08-11 James Antill * yum/__init__.py: Remove two FIXME's: . Print better messages (and don't error) for install'ing things already installed but unavailable. . Put a deprecation warning in getInstalledPackageObject() 2008-08-10 James Antill * yum/__init__.py: Fix yum install foo.src.rpm (bug 458589) 2008-08-10 James Antill * yum/misc.py, yummain.py: Create helper function setup_locale() to work around broken python unicode 2008-08-09 James Antill * test/depsolvetests.py, yum/depsolve.py: Add test_multi_inst_dep[45] and tweak the comments for _sort_reqs 2008-08-09 James Antill * test/depsolvetests.py, yum/depsolve.py: Shared lib. deps sorted after pkg. deps., solves test_multi_inst_dep3, 443459 2008-08-09 James Antill * yum/depsolve.py: Sort the requires, so we handle things like BZ 443459 and test_multi_inst_dep* 2008-08-08 James Antill * test/depsolvetests.py: Add a testcase where pkgA has deps. on an older available version of pkgB 2008-08-08 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Add test for no pygpgme, and give useful error message Fail valid_detached_sig if gpgme isn't installed Fix ts used for rpm-4.5.90-0.git8461.1 gpg key importing Fix copy&paste typo with syslogFacilityMap, and fix YumBase.doLoggingSetup Move syslog configs. to StatupConfig, act on them in logging. use LOG_DAEMON Another unicode => to_unicode, hopefully fixes 447504 2008-08-08 Seth Vidal * yum/packages.py: minor clean up to make sure when re-assemble the remote path we also make sure basepath isn't stupid for urljoin() 2008-08-08 James Antill * yum/yumRepo.py: Add test for no pygpgme, and give useful error message 2008-08-08 James Antill * yum/misc.py: Fail valid_detached_sig if gpgme isn't installed 2008-08-08 James Antill * yum/__init__.py: Fix ts used for rpm-4.5.90-0.git8461.1 gpg key importing 2008-08-07 James Antill * yum/__init__.py, yum/logginglevels.py: Fix copy&paste typo with syslogFacilityMap, and fix YumBase.doLoggingSetup 2008-08-07 James Antill * yum/__init__.py, yum/config.py, yum/logginglevels.py: Move syslog configs. to StatupConfig, act on them in logging. use LOG_DAEMON Fixes: bug 450949 2008-08-07 James Antill * yummain.py: Another unicode => to_unicode, hopefully fixes 447504 2008-08-07 James Antill * yum/__init__.py: Don't fail list cmd for packages which are installed but not in any repos. 2008-08-07 Seth Vidal * ChangeLog: merge changelog 2008-08-07 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.18 2008-08-06 Seth Vidal * yum/__init__.py, yum/depsolve.py, yum/transactioninfo.py: make sure conditional pkg installs pass through install() just like anything else should 2008-08-06 James Antill * yum/__init__.py: Add @group cmd line support to install/update/remove 2008-08-06 Seth Vidal * docs/yum.conf.5: check in docs for repo_gpgcheck 2008-08-06 James Antill * yum/__init__.py: Work well with unicode in repo names, repolist etc. 2008-08-06 James Antill * cli.py, shell.py, yum/__init__.py, yum/config.py, yum/yumRepo.py, yumcommands.py: Change gpgcheck again, back to two Bool options -- repo_gpgcheck is the new one 2008-08-06 James Antill * cli.py, output.py, yum/__init__.py: Remove the prints out of __init__ and into. output.py 2008-08-06 James Antill * test/depsolvetests.py, yum/__init__.py: Add almost working test_min_up_and_dep fix, but turn it off 2008-08-06 James Antill * yum/yumRepo.py: Make repo. gpgcheck test work again until we change it back to two bools 2008-08-06 James Antill * test/depsolvetests.py, yum/__init__.py: Fix testMultiPkgVersions[45] and don't break anything else 2008-08-06 Seth Vidal * yum/__init__.py, yum/yumRepo.py: clean up output garbage and behavior when user will not allow gpg key import to repo-local pubrin 2008-08-06 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Add failing test case for non-latest update/install with dep. -- update fails Don't display download count if 1 pkg to download Don't display download total if <= 1 pkgs downloaded Return [] instead of None in named get_notices, to match non-named path Return the get_applicable_notices() result in the right order (descending) Don't show ppc packages on .i386 in UpdateNotice.__str__ Fix bad format string in UpdateNotice.__str__ Add get_applicable_notices() call to UpdateMetadata class Fix UpdateNotice.__str__ when it's None, add name only lookups for notices Add total download stats. line Don't give up if PATTERNS_MAX reached, just do the operation multiple times Make gpgcheck true/false work again Remove the assoc. of gpgcheck=1/true meaning gpgcheck=all Give more info. when we fail the disk space checks 2008-08-06 Seth Vidal * cli.py, output.py, yum/__init__.py, yum/misc.py, yum/repos.py, yum/yumRepo.py: merge changes for repomd.xml signature checking and key import 2008-08-05 James Antill * test/depsolvetests.py: Add failing test case for non-latest update/install with dep. -- update fails 2008-08-05 James Antill * yum/__init__.py: Don't display download count if 1 pkg to download 2008-08-05 James Antill * yum/__init__.py: Don't display download total if <= 1 pkgs downloaded 2008-08-05 James Antill * yum/update_md.py: Return [] instead of None in named get_notices, to match non-named path 2008-08-04 James Antill * yum/update_md.py: Return the get_applicable_notices() result in the right order (descending) 2008-08-04 James Antill * yum/update_md.py: Don't show ppc packages on .i386 in UpdateNotice.__str__ 2008-08-01 James Antill * yum/update_md.py: Fix bad format string in UpdateNotice.__str__ 2008-08-01 James Antill * yum/update_md.py: Add get_applicable_notices() call to UpdateMetadata class 2008-07-31 James Antill * yum/update_md.py: Fix UpdateNotice.__str__ when it's None, add name only lookups for notices 2008-07-31 James Antill * yum/__init__.py: Add total download stats. line 2008-07-29 James Antill * yum/misc.py, yum/sqlitesack.py: Don't give up if PATTERNS_MAX reached, just do the operation multiple times 2008-07-29 James Antill * yum/config.py: Make gpgcheck true/false work again 2008-07-28 James Antill * cli.py, yum/__init__.py, yum/config.py: Remove the assoc. of gpgcheck=1/true meaning gpgcheck=all 2008-07-28 James Antill * yum/__init__.py: Give more info. when we fail the disk space checks 2008-07-27 James Antill * cli.py, yum/__init__.py, yum/plugins.py: Add --enableplugin option 2008-07-27 James Antill * yum/packageSack.py: Minor cleanup for obsoletes processing 2008-07-25 James Antill * cli.py: Remove debugging code, I accidentally committed *sighs* 2008-07-25 James Antill * cli.py, yum/config.py: Fix typo in CaselessSelectionOption.parse() 2008-07-25 James Antill * shell.py, yum/__init__.py, yum/config.py, yumcommands.py: Use the mapper for gpgcheck false/true, and tidy up the using code. 2008-07-25 James Antill * yum/config.py: Use repo instead of repository as the canonical option name for gpgcheck 2008-07-25 James Antill * cli.py, shell.py, yum/__init__.py, yum/config.py, yumcommands.py: Convert the gpgcheck option to have all the options for repomd.xml signing 2008-07-24 James Antill * cli.py: Give nicer messages when we can't find things due to case sensitivity 2008-07-24 James Antill * yum/sqlitesack.py: Return the correct thing for skipped matchPackageNames, eg. 'yum update blah' 2008-07-24 James Antill * yumcommands.py: Output header again in repolist (logger's output nothing on errors, is weird). Allow extra patterns to match sub-sets of repos. Add more stats. to repolist -v, updated/size/etc. 2008-07-23 James Antill * yum/depsolve.py: And fix _prco_req2req after the cleanup, testing is good 2008-07-23 James Antill * yum/depsolve.py: Minor reuse of code for prco requirement to internal requirements conversion 2008-07-23 James Antill * yum/depsolve.py: If we still have the requirement we are upgrading out of, try again 2008-07-22 James Antill * yum/misc.py: Fix for python-2.4.z, as it has no hashlib 2008-07-22 James Antill * output.py: Change function name from simpleNevraList to Envra, as that's what it outputs 2008-07-22 James Antill * yum/misc.py: Move to using hashlib directly in checksum, also add sha256/sha512 options 2008-07-22 James Antill Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: add a __version_info__ tuple of ints derived from __version__ Add parameters to selectGroup() new german translation updates from Fabian Affolter silence the "No package matched to remove" lines during groupremove operations. 2008-07-22 James Antill Merge branch 'repo-sacks' into yum-3_2_X * repo-sacks: Don't create sacks for repos that we don't care about 2008-06-11 James Antill * yum/depsolve.py: Try and solve the 666 requires on a single package problem, the kernel people want to try this for ABI stuff (each symbol is a provides). 2008-07-22 James Antill Merge conflict 2008-07-22 Seth Vidal * yum/__init__.py: add a __version_info__ tuple of ints derived from __version__ 2008-07-22 Seth Vidal * yum/__init__.py: Add parameters to selectGroup() group_package_types=List - overrides self.conf.group_package_types enable_group_conditionals=Bool - overrides self.conf.enable_group_conditionals 2008-07-22 Seth Vidal * po/de.po: new german translation updates from Fabian Affolter 2008-07-21 Seth Vidal * yum/__init__.py: silence the "No package matched to remove" lines during groupremove operations. 2008-07-20 James Antill * yum/misc.py: Make 'import gpgme' less fatal ... it isn't required, yet 2008-07-20 James Antill * yum/sqlitesack.py: Add _skip_all paths to a bunch more functions, some of them do _all_excludes processing anyway ... but make sure. 2008-07-20 James Antill * yum/sqlitesack.py: Merge skip_all code paths into a helper function 2008-07-20 James Antill * yum/sqlitesack.py: Add skip_all path to searchNames(), minor speed up 2008-07-20 James Antill * yum/constants.py, yum/sqlitesack.py: Add PATTERNS_MAX path to searchNames(), so large groups work. Bump PATTERNS_MAX to be larger. Divide usage of PATTERNS_AMX by the number of fields per. pattern. 2008-07-20 James Antill * output.py: Add simpleNevraList() which is like simpleList() but uses nevra instead of na and evr Add _group_names2pkgs as a template for usage of .searchNames() (for PK, etc.) Add verbose mode to groupinfo, to output pkgs in simpleNevraList() format which uses the above. 2008-07-19 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Don't do SQL escaping combined on each SQL field Make error reporting work with python-2.4.z, dito. SQL escaping. Tweak provides warning message to be quiet on anything with a * in it Conflicts: yum/sqlitesack.py 2008-07-19 Seth Vidal * yum/sqlitesack.py: make yum list \*.noarch work again for repos. Pattern was being escaped multipled times due to for loop for the 'field' option. moved the escaping around to avoid that problem. 2008-07-18 James Antill * yum/sqlitesack.py: Don't do SQL escaping combined on each SQL field 2008-07-18 James Antill * yum/sqlitesack.py: Make error reporting work with python-2.4.z, dito. SQL escaping. 2008-07-17 James Antill * cli.py: Tweak provides warning message to be quiet on anything with a * in it 2008-07-18 Seth Vidal * yum/comps.py: - add add_group and add_category methods to comps object - add a \n to make xml() output look better 2008-07-18 Seth Vidal * output.py: fix unicode traceback due to str() call on exception which was already unicode :( 2008-07-16 Seth Vidal * cli.py, yum/__init__.py, yummain.py: return non-zero exit code if the rpm transaction has semi-fatal scriptlet failures. adds a fake resultobject returned from runTransaction() so that any future extensions we add can be bolted onto the object. resultobject.return_code is the important attribute 2008-07-16 Seth Vidal * cli.py, yum/__init__.py: - make cli.updatePkgs() call YumBase.update() for most everything <-- watch this for interaction regressions - closes rh bug #455301 - add add_enable_repo method to YumBase to facilitate adding repos by baseurl/mirrorlist easily 2008-07-16 tla@dk.ibm.com * po/ca.po: Added Catalan translation by Xavier Conde 2008-07-15 James Antill * yum/repoMDObject.py, yum/yumRepo.py: Add RepoMD.timestamp attribute, for mirrormanager etc. Defined as the biggest/newest timestamp within a data section. Use this as the canonical timestamp in the repomd checking, and tweak the error message. 2008-07-14 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fix available comparison in "all" mode, use new .ver*() methods 2008-07-14 Seth Vidal * yum/misc.py, yum/packages.py, yum/sqlitesack.py: move the xml-generating-bits into yum proper - out of createrepo 2008-07-10 James Antill * yum/__init__.py: Fix available comparison in "all" mode, use new .ver*() methods 2008-07-10 Seth Vidal * yum/depsolve.py: make sure the reqpo exists before we compare it 2008-07-08 Seth Vidal * ChangeLog: changelog merge 2008-07-08 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.17 2008-07-08 James Antill * yum/yumRepo.py: And fix the second call to readMirrorList, for the new return 2008-07-08 James Antill * yum/yumRepo.py: Another fix for the simple mirrorlist change, pass full file contents to write 2008-07-08 James Antill * yum/depsolve.py: Use getBestArch instead of getCanonArch, when comnparing providers, helps ppc64 2008-07-07 James Antill * yum/depsolve.py: Fix rpmdb.contains(pkg.pkgtup) typo, *pkg.pkgtup works but po=pkg is nicer 2008-07-07 James Antill * yum/yumRepo.py: Don't die if the mirrorlist download fails, and we have an old one around. 2008-07-06 James Antill * test/depsolvetests.py, test/simpleupdatetests.py, yum/__init__.py: When we are updating from foo.noarch to foo.i386/foo.x86_64 ... then sort the available pkgs by ._compare_providers(). This does the consistently corrct thing. Also tweak the unittests to use os.uname()[-1] instead of rpmutils.getBestArch(). make check now passes on .i386 and .x86_64 ... wooo! 2008-07-06 James Antill * yum/depsolve.py: Do much faster pkgtup lookup, when checking if "req" providers are installed 2008-07-06 James Antill * yum/packageSack.py: Fix the "make check" failures where empty sacks call returnNewestByName() 2008-07-06 James Antill * cli.py, yum/__init__.py, yum/depsolve.py, yum/misc.py, yum/packageSack.py: Convert .EVR usage to .ver* ... stop making/destroying objects all the time. 2008-07-06 James Antill * yum/__init__.py, yum/packageSack.py: Move from comparing version data in pkgs with __cmp__ to using verCMP/etc. 2008-07-06 James Antill * yum/__init__.py: Unicode fix for GPG key imports, bug#454163 2008-07-04 James Antill * yum/packages.py: Add versioned only comparison functions to the base package object 2008-07-03 James Antill * yum/__init__.py, yum/sqlitesack.py: Do real SQLite escaping, if required. Fixes search and list % _ usage 2008-07-03 James Antill * yum/sqlitesack.py: Brown paper bag bug, typo in _packageByKeyData *sighs* 2008-07-03 James Antill * yum/sqlitesack.py: Add an arg. so _sql_pkgKey2po can use Data, convert some callers to use it. 2008-07-03 James Antill * yum/sqlitesack.py: Add helper function to do self._packageByKey without the SQL lookup 2008-07-03 James Antill * yum/__init__.py, yum/packageSack.py, yum/sqlitesack.py: Add ignore_case with patterns argument, to fix commands (eg. list) 2008-07-03 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fix doPackageLists() and rpmdb.returnPackages() to have ignore_case option. Tidy up extra --version output, add rpm/etc. packages we dep. on 2008-07-03 Seth Vidal * yum/packageSack.py, yum/rpmsack.py, yum/sqlitesack.py: implement searchNames() to let you quickly do exact name matches of multiple names. 2008-07-01 James Antill * cli.py, yum/__init__.py, yum/rpmsack.py: Fix doPackageLists() and rpmdb.returnPackages() to have ignore_case option. 2008-07-01 James Antill * cli.py: Tidy up extra --version output, add rpm/etc. packages we dep. on 2008-06-30 James Antill * cli.py: Add installed yum info. to --version 2008-06-30 James Antill * output.py: Use normal packaging sorting in simpleList() 2008-06-25 Tim Lauridsen * test/misc-tests.py, test/skipbroken-tests.py: Add a testcase for the libBCD case studie, just for the fun of it 2008-06-24 James Antill * yum/__init__.py: Make sure we only consider the newest names, among all the arch varients 2008-06-24 James Antill * yum/packageSack.py: Fix packagesNewestByName() to use comparePoEVR as pkg.__cmp__ uses .arch info. thus we'd only get one pkg from the alph sorted arch. kind of a weird interface, not quite the "same" as packageNewestByNameArch() 2008-06-24 James Antill * yum/__init__.py: Allow noarch packages when in multilib_policy=best 2008-06-23 Florian Festi * cli.py: Fix unicode traceback If error message contains non UTF-8 characters yum bails out in this line May be this should (also) be fixed in the rpmlib Python bindings. 2008-06-20 Seth Vidal * yum/yumRepo.py: make sure url's end in '/' otherwise our urlparse.urljoin() won't be correct 2008-06-16 James Antill * yum/__init__.py: Re-align the total progress after each download, in case of errors+no-size 2008-06-13 Seth Vidal * yum/__init__.py: make the logging call correct for 3.2.X 2008-06-13 Seth Vidal * yum/__init__.py: make sure we don't accidentally install any incompatible architectures (especially things like local-install src rpms) 2008-06-12 Jeremy Katz * yum/__init__.py: Give a nicer error message if there are no groups configured (#446613) 2008-06-12 Jeremy Katz * yummain.py: Log formatters use localized bits, but logs should use C locale (#433091) 2008-06-12 James Antill * output.py: rm extra space 2008-06-11 James Antill * yum/packageSack.py: Fix seth's fix, of my fix, ... :) 2008-06-11 James Antill * output.py: More merges from the logging branch. Fix the "yum list php-pear-Str*" problem. Do the specspo. lookup/encoding for verbose matchcallback. Minor UI tweak for verbose matchcallback. 2008-06-11 James Antill * output.py: Add times to verbose info. -- hand merge from logging branch 2008-06-11 Seth Vidal * yum/config.py: commit comment correction for config.py from Kulbir Saini 2008-06-11 James Antill * cli.py: Try and fix bug#450826 2008-06-11 James Antill * yum/packages.py: Use sets for lookup on large prco tuples 2008-06-10 Seth Vidal * yum/packageSack.py: make sure the exceptions for 'no packages found' continue to be true 2008-06-09 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login1.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login1.linux.duke.edu/home/groups/yum/git/yum: Fix provides output, to have highlights and make it always "verbose". updated de translation by Jochen Schmitt The postresolve hook should run after the installonlyn magic. 2008-06-09 Seth Vidal * yum/__init__.py, yum/misc.py, yum/pgpmsg.py: make gpg key importing support muleiple keys per file 2008-06-06 James Antill * cli.py, output.py, yum/__init__.py: Fix provides output, to have highlights and make it always "verbose". Give warning about old behaviour when nothing matches. 2008-06-06 Tim Lauridsen * po/de.po: updated de translation by Jochen Schmitt 2008-06-03 Jack Neely * yum/__init__.py: The postresolve hook should run after the installonlyn magic. 2008-06-03 Tim Lauridsen * yum/config.py, yum/yumRepo.py: make repo.enable/disablePersistant() dont messup the repo files by replacing etc. (rhbz# 446098) 2008-06-02 James Antill * cli.py: Give the --showduplicates output for provides, as that's how it's calc'd. 2008-06-02 James Antill * README: Add text for git diff, to make sure we don't have HEAD merges 2008-06-02 James Antill * README.API_CHANGES, rpmUtils/miscutils.py, test/depsolvetests.py, test/operationstests.py, test/packagetests.py, test/simpleobsoletestests.py, test/simpleupdatetests.py, test/skipbroken-tests.py, test/testbase.py, yum/__init__.py, yum/depsolve.py, yum/packageSack.py, yum/packages.py, yum/rpmsack.py, yum/sqlitesack.py: Revert "Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum" This reverts commit 7bf7ce04f34b0fa1540b02de70d696675864efc3. Another stupid HEAD => 3.2.x branch merge. *hates SCMs for a while* 2008-06-02 James Antill * yum/sqlitesack.py: Revert "Remove old excluded mechanism from SqliteSack" This reverts commit 4a7acc768e4b466fe23c09435a2beff963461ecb. This shouldn't be on the stable branch. 2008-05-31 James Antill * yum/sqlitesack.py: Allow searches with ' in them (need to escape other chars?). bug#240606 2008-05-31 James Antill * yum/__init__.py: We want to keep other arches in the multilib_policy=all case. bug#449056 2008-05-30 Seth Vidal Merge branch 'yum-3_2_X' of ssh://login1.linux.duke.edu/home/groups/yum/git/yum into yum-3_2_X * 'yum-3_2_X' of ssh://login1.linux.duke.edu/home/groups/yum/git/yum: Allow non-obs. looping installs too :) Work around mutual obs. looping insanity update sr & sr@latin translation by Igor Miletic Fix i18n for y/N prompt and sr_RS.utf8 locale, also allow y/N if no overlap Fix -y config. option in man page: bug#447305 Allow -c URL to work again commit and/or match from HEAD back to 3.2.X mention the branch name specifically label as 3.2.X branch 2008-05-30 Seth Vidal * docs/yum.8, docs/yum.conf.5: man page patch to close #446587 2008-05-27 James Antill * output.py: Fix i18n for y/N prompt and sr_RS.utf8 locale, also allow y/N if no overlap 2008-05-16 Seth Vidal * README: mention the branch name specifically 2008-05-16 Seth Vidal * README: label as 3.2.X branch 2008-05-29 James Antill * yum/__init__.py: Allow non-obs. looping installs too :) 2008-05-28 James Antill * yum/__init__.py: Work around mutual obs. looping insanity 2008-05-27 Tim Lauridsen * po/sr.po, po/sr@latin.po: update sr & sr@latin translation by Igor Miletic 2008-05-27 James Antill * output.py: Fix i18n for y/N prompt and sr_RS.utf8 locale, also allow y/N if no overlap 2008-05-27 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: update sr & sr@latin translation by Igor Miletic Remove old excluded mechanism from SqliteSack 2008-05-27 Tim Lauridsen * po/sr.po, po/sr@latin.po: update sr & sr@latin translation by Igor Miletic 2007-12-13 Florian Festi * yum/sqlitesack.py: Remove old excluded mechanism from SqliteSack 2008-05-26 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fix flag conversion in YumHeaderPackage._populatePrco() Use already known txmbr when resolving installed pkgs problems Restart .check* every time the tsInfo got modified to only resolve problems that still exist Make Depsolve.check* generators instead of returning lists Make sure rpm.RPMSENSE_* int constants are used as flags in PRCOs. Fix code merge error in RpmSack._getPRCO PackageSack API cleanup Remove Depsolve.whatProvides 2008-05-26 Florian Festi * yum/packages.py: Fix flag conversion in YumHeaderPackage._populatePrco() broken in febe35eee130212380e5688bd119f19a032d74fc 2008-02-13 Florian Festi * yum/depsolve.py: Use already known txmbr when resolving installed pkgs problems 2008-02-18 Florian Festi * yum/depsolve.py: Restart .check* every time the tsInfo got modified to only resolve problems that still exist 2008-02-18 Florian Festi * yum/depsolve.py: Make Depsolve.check* generators instead of returning lists 2008-05-23 Florian Festi * rpmUtils/miscutils.py, test/depsolvetests.py, test/operationstests.py, test/packagetests.py, test/simpleobsoletestests.py, test/simpleupdatetests.py, test/skipbroken-tests.py, test/testbase.py, yum/depsolve.py, yum/packages.py, yum/sqlitesack.py: Make sure rpm.RPMSENSE_* int constants are used as flags in PRCOs. Added short hand constants to testbase Adjusted the test cases 2008-05-26 Florian Festi * yum/rpmsack.py: Fix code merge error in RpmSack._getPRCO Thanks to Terje Røsten for testing and reporting. 2008-05-23 James Antill * yum/depsolve.py: Minor bit rot, pointed out by Jay Soffian 2008-05-23 Florian Festi * README.API_CHANGES, yum/packageSack.py, yum/rpmsack.py, yum/sqlitesack.py: PackageSack API cleanup Removed PackagesSack.search(Provides|Requires|Conflicts|Obsoletes) RpmSack.what(Provides|Requires) SqliteSack.searchPrco Added PackagesSack.get(Conflicts|Obsoletes) 2007-11-30 Florian Festi * yum/__init__.py, yum/depsolve.py: Remove Depsolve.whatProvides 2008-05-19 James Antill * docs/yum.8: Fix -y config. option in man page: bug#447305 2008-05-19 James Antill * yum/config.py: Allow -c URL to work again 2008-05-20 Seth Vidal * yum/sqlitesack.py: commit and/or match from HEAD back to 3.2.X 2008-05-19 James Antill * docs/yum.8: Fix -y config. option in man page: bug#447305 2008-05-19 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: gotta check both, not either - otherwise filedeps don't work :( 2008-05-19 James Antill * yum/config.py: Allow -c URL to work again 2008-05-17 Seth Vidal * yum/sqlitesack.py: gotta check both, not either - otherwise filedeps don't work :( 2008-05-16 Seth Vidal * README: mention the branch name specifically 2008-05-16 Seth Vidal * README: label as 3.2.X branch 2008-05-16 James Antill * yum/sqlitesack.py: Work around SQL limits for searching, still unbearably slow at 1,000s of terms 2008-05-16 James Antill * yum/constants.py, yum/rpmsack.py, yum/sqlitesack.py: Limit excessive pattern usage 2008-05-16 James Antill * yumcommands.py: Add repo size to repolist info. 2008-05-16 Seth Vidal * ChangeLog: merge changelog, again 2008-05-15 Seth Vidal * yum/comps.py: we screwed up generating some earlier comps which made us have lang_only not langonly in the xml. To help cope with potential outstanding issues this created we're going to honor either in the incoming comps xml. 2008-05-14 Seth Vidal * ChangeLog: merge changelog 2008-05-14 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.16 2008-05-14 James Antill * yum/transactioninfo.py: Don't install things that are already installed ... updates also work 2008-05-14 Seth Vidal * ChangeLog: merge changelog 2008-05-14 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.15 2008-05-14 James Antill * yum/__init__.py: Add : to allowed chars in repo ids ... for SuSE 2008-05-14 James Antill * yum/sqlitesack.py: Undo memoize/re-load for requires as it seems to only be hurting us now and in the 20% range for Fed-8 => Fed-9 :(. 2008-05-14 Seth Vidal * yum/__init__.py: fix the error message so it talks about the right repo field 2008-05-14 Seth Vidal * yum/sqlitesack.py: make sure we're not searching files when it is a globbed requires, obsoletes or conflict. 2008-05-14 James Antill * yum/yumRepo.py: Kind of fix yum behind password protected AP, aka. bug#446248 etc. Don't spam screen with html. Don't die on unicode() (hopefully :). No "you might be behind a protected AP" text though ... do we need it? 2008-05-13 James Antill * yum/comps.py: Fix comps XML production to match expected input, bug#446186 Patch by: morioka@at.wakwak.com 2008-05-09 Seth Vidal * yum/sqlitesack.py: 'fixes' for invalid metadata made with createrepo -n - this harkens back to rhl 9 and stupidity with epochs 2008-05-06 Luke Macken * callback.py, cli.py, output.py, utils.py, yum/__init__.py, yum/depsolve.py, yum/i18n.py, yum/plugins.py, yum/rpmtrans.py, yumcommands.py, yummain.py: Make yum.i18n less intrusive. Instead of altering the global __builtin__ namespace, which can potentially break applications that import yum as a module, make internationalization within yum as easy as doing `from yum import _`. This change also ensures that the yum.i18n.dummy_wrapper can still be used in 'gaftonmode' to bypass gettext completely. 2008-05-04 Seth Vidal * yum/comps.py: make groups returning support wildcards and commas - just like repos do. 2008-05-03 James Antill * yum/misc.py, yum/yumRepo.py: Fix non-ascii package names to urlgrabber: bug#261961 Patch from: a.badger@gmail.com This new patch creates a to_utf8() method like to_unicode() that only converts if the object passed to it is unicode. Using it in _get_file() does the right thing whether we are handing in a unicode or YumRepository. 2008-05-02 James Antill * test/check-po-yes-no.py: Add checks related to not allowing bug#44941 again 2008-04-25 Seth Vidal * yum/plugins.py: fix for rh-bug 444118 2008-04-25 Tim Lauridsen * po/de.po: Updated de translation by Fabian Affolter 2008-04-24 James Antill * cli.py: Typo, bug#444022 2008-04-24 James Antill * po/fr.po: New fr upload from johan@x-tnd.be / bug#436194 ... mostly comment changes 2008-04-23 James Antill * yum/__init__.py: Fix C-c again, bug#442232 and probably rhbz#240138 2008-04-22 James Antill * yum/__init__.py: Grr ... fix stupido 2008-04-22 James Antill * output.py: Fix translated process name chopping, for another 5 chars, fixes bug#442935. Don't chop pkg names on 100%, ala. downloads. Don't chop name in progressbar, ala. downloads. Add tester "output.py progress" 2008-04-21 James Antill * yum/__init__.py: Download pkgs smallest to largest, to get full pkg downloads sooner 2008-04-20 James Antill * test/check-po-yes-no.py: Just compare yes/no so we don't fail on ms where y=y for first letter of ya 2008-04-20 James Antill * po/ms.po: Fix i18n yes/no problem in ms 2008-04-19 James Antill * test/yum-release-i18n-test.sh: Add -y arg, for full automation 2008-04-19 James Antill * yum/rpmsack.py: Use just to_unicode(), tested i18n ... it was just errors we need 2008-04-19 James Antill * yum/misc.py: Use replace by default, there is no reason we want more tracebacks 2008-04-19 James Antill * cli.py: Sort grouplist 2008-04-19 James Antill * yum/comps.py: Fix grouplist for fr_FR etc. 2008-04-18 James Antill * yum/yumRepo.py: Die if we fail to download, leads to adding None dobj anyway 2008-04-18 James Antill * yum/sqlitesack.py: Complain loudly if we try and add None, bug#442819 among others 2008-04-18 James Antill * yum/__init__.py: Don't do total size if we only have one thing to download 2008-04-18 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: make errors raised for available and installed packages having incorrect attributes be the same Updated de translation by Fabian Affolter 2008-04-18 Seth Vidal * yum/packages.py, yum/sqlitesack.py: make errors raised for available and installed packages having incorrect attributes be the same mark as a FIXME to make this an attribute error after we break the api in the next major version change 2008-04-17 James Antill * test/depsolvetests.py: Add unison test case 2008-04-17 Tim Lauridsen * po/de.po: Updated de translation by Fabian Affolter 2008-04-15 James Antill * test/yum-release-i18n-test.sh: See, now this is why I hate sh ... so why do I keep doing this to myself 2008-04-15 James Antill * test/yum-release-i18n-test.sh: Add grouplist/groupinfo to the i18n tests 2008-04-15 James Antill * yum/yumRepo.py: Edge case ... if the MD files checksums match we assume they are the same. The fails if we have --unique-md-filenames in one run, but not the other. So if the locations don't match ... just delete the old name and redownload 2008-04-15 Seth Vidal * cli.py, output.py, yum/__init__.py, yum/comps.py, yum/misc.py: - make groups work for groups with different groupids but the same name (dumb!) - make groupinfo and grouplist display properly in other languages - add return_groups() method to comps object - returns all matches not just the first one like return_group() did 2008-04-15 James Antill * yum/__init__.py: fr_FR broke for missing GPG key, this fixes it 2008-04-15 Seth Vidal * yum/__init__.py: revert changes which handback a string instead of a list of tuples 2008-04-15 Seth Vidal * etc/yum.logrotate: make logrotate cycle the yum.log file yearly to close rh bug 174969 2008-04-14 James Antill * output.py: sort groupinfo output 2008-04-14 Jeremy Katz * yum/misc.py: Fix finding the running kernel version (#441484) Don't try to guess the way that uname -r matches up with kernel version release and instead go on /boot/vmlinuz-$(uname -r) existing and then mapping that to the package it came from 2008-04-14 James Antill * yum/misc.py: Stupid typing error wasting our time 2008-04-14 Seth Vidal * yum/__init__.py: tab snuck in there 2008-04-14 Seth Vidal * yum/__init__.py: merged patch from Panu from rh bug: #427866 2008-04-14 Seth Vidal * yum/__init__.py: merge patch from Todd Zullinger to output more info if we've changed the package we're acting on b/c of obsoletes. Closes rh bug #440159 2008-04-14 Tim Lauridsen * po/pt_BR.po: Updated pt_BR translation by Igor Pires Soares 2008-04-13 James Antill * yum/rpmsack.py: patterns=[] means match everything, not nothing 2008-04-13 James Antill * cli.py: Stupid optparse 2008-04-12 James Antill * test/yum-release-i18n-test.sh: Drop the "look for error" timeouts a little, and fix livna key tests 2008-04-12 James Antill * test/depsolvetests.py, test/simpleupdatetests.py: Show problems with update for deps. and multi arch Fix other multiarch tests 2008-04-12 James Antill * Makefile, test/check-po-yes-no.py: Add check-po-yes-no.py to make check 2008-04-12 James Antill * test/yum-release-i18n-test.sh: Add auto testing for i18n issues 2008-04-12 James Antill * cli.py, yummain.py: Move locale, so we don't die on unsupported locale's in getpreferredencoding Override optparses print_help() from --help, as it screws up the encoding. 2008-04-12 James Antill * test/check-po-yes-no.py: Add an automatic checker for the dependant yes/no translations 2008-04-12 James Antill Merge branch 'i18n' * i18n: Move gaftonmode to the startupconf Convert str(e) to unicode(e) for translated exceptions Fix for optparse tries to convert from unicode to ascii 2008-04-12 James Antill * yummain.py: Missed two translated exceptions 2008-04-12 James Antill * yum/__init__.py: Move gaftonmode to the startupconf 2008-04-12 James Antill * yum/__init__.py, yummain.py: Convert str(e) to unicode(e) for translated exceptions 2008-04-12 James Antill * cli.py, output.py, yummain.py: Fix for optparse tries to convert from unicode to ascii Re-fix 436361 and fix part of 438580, probably due to the string being translated now. Tell stdout's encoder that it should replace bad chars instead of splatting tracebacks. 2008-04-11 James Antill * cli.py, output.py: Allow searching for unicode, i.e.: ® This only didn't work for "search linux" on pl_PL, it works fine on pl_PL.UTF-8. And pl_PL doesn't work anyway for "search linux" due to ® not being displayable in iso8859_2 ... too much crack. 2008-04-11 James Antill * yum/rpmsack.py: Fix bad translation by using replace, bug#440009 2008-04-11 James Antill * cli.py, output.py: Revert "Allow searching for unicode, i.e.: ®" This reverts commit 3ef1cadbdc56950979c8e8034da58f01cb9c2c9d. Obviously this blows up on other languages, so n/m. 2008-04-11 James Antill * cli.py, output.py: Allow searching for unicode, i.e.: ® 2008-04-11 James Antill * yum/misc.py: Stupid python and it's global rules 2008-04-11 James Antill * yum/misc.py: Hacky-ish fix for Jesse and createrepo 2008-04-11 James Antill * callback.py, cli.py, output.py, utils.py, yum/__init__.py, yum/config.py, yum/depsolve.py, yum/i18n.py, yum/plugins.py, yum/rpmtrans.py, yumcommands.py, yummain.py: Make i18n configurable ... all post to f-d-l that we've added choice! Always do the codecs magic thing, because that seems to help: sys.stdout.write(_('GPG key retrieval failed: ')) ...in pl_PL. 2008-04-10 James Antill * output.py, yum/misc.py: Create unicode_maybe ... try and ignore errors ... so at least we don't crash 2008-04-10 James Antill * yum/rpmsack.py: Work around weird version type ... problem was fixed by touch *.py 2008-04-10 James Antill * yum/__init__.py: Magic rpm errors, bug#441860 2008-04-09 James Antill * cli.py: Tiny pychecker fix 2008-04-08 James Antill * yum/misc.py: Add comment 2008-04-10 Seth Vidal * output.py: make sure we catch random emissions from rpm :( 2008-04-10 Tim Lauridsen * po/de.po: updated de translation by Dominik Sandjaja 2008-04-08 Seth Vidal * po/fr.po: and more french translation fixes 2008-04-08 Seth Vidal * po/fr.po: fix y/n, oui/non message - thanks to Johan Cwiklinski 2008-04-08 James Antill * output.py: Really fix the misc.to_str call 2008-04-08 James Antill * yum/misc.py, yum/rpmsack.py, yum/sqlitesack.py: Don't let the shared_data_store convert between str and unicode 2008-04-08 James Antill * output.py: Make the last patch work 2008-04-08 James Antill * output.py, yum/misc.py: Fix stupid python str() call, add helper 2008-04-08 Seth Vidal * po/sr.po, po/sr@latin.po: - check in serbian translation update from Igor Miletic - check in serbian latin translation update from Igor Miletic 2008-04-07 Seth Vidal * ChangeLog, po/pl.po: - fix bogus %s in polish translations - merge changelog 2008-04-07 Seth Vidal * yum.spec, yum/__init__.py: 3.2.14 2008-04-07 James Antill * yum/__init__.py: By popular demand, add the "total progress" to Fedora urlgrabber 2008-04-07 James Antill * yum/__init__.py: Get rid of the final stats. -- we can't call .format_number() from here 2008-04-07 James Antill * yum/__init__.py: Add minimal total pkg download progress indicator 2008-04-04 James Antill * yum/__init__.py: Add showdups arg. like searchGenerator() 2008-04-04 James Antill * yum/__init__.py: Fixup available list when you've installed a newer pkg from a disabled repo 2008-04-04 Tim Lauridsen * po/yum.pot: Added comment about [Y/N] Translation in pot file 2008-04-04 Tim Lauridsen * po/it.po: fix [y/N] - >[s/N] in it translation 2008-04-04 Tim Lauridsen * po/pl.po: updated pl translation by Piotr Drąg 2008-04-03 Tim Lauridsen * po/de.po: fix [y/N] - >[j/N] in de translation 2008-04-02 Seth Vidal * test/depsolvetests.py, yum/__init__.py, yum/depsolve.py: - __init__.py remove bogus print 1 in update() - depsolve.py replace compare_providers() - 'fix' arch-specific testcases in depsolvetests.py - we need to have arch be persistent and probably settable in the config before we can implement a proper fix for this one. 2008-04-02 James Antill * cli.py: Add optparse like explanation, so "yum -c" errors like "yum -R" 2008-04-02 James Antill * yumcommands.py: If they do "yum list installed blah" we still do not need the Ts 2008-04-01 James Antill * yumcommands.py: Fix repolist disabled. Add colour to: repolist all Add verbose option, for long id's/names 2008-04-01 James Antill * output.py: Make sure val is a string, so textwrap isn't confused 2008-04-01 Seth Vidal * yum/comps.py: correct typo in comps.py =+ != += 2008-04-01 James Antill * test/depsolvetests.py: Spelink not so gud 2008-04-01 Tim Lauridsen * po/fr.po: updated fr translation by Johan Cwiklinski 2008-03-31 James Antill * test/depsolvetests.py: Arch vs. len doom testcase ... fun for skvidal 2008-03-29 James Antill * yum/rpmsack.py: Remove extra searchFiles ... searchProvides does it already Also remove files from _cache, as searchProvides() now does it well enough. 2008-03-29 James Antill * yum/rpmsack.py: Drop _cache data in dropCachedData 2008-03-29 James Antill * yum/rpmsack.py: Share data from the pkglist thing, save about 0.5MB -- 0.25% ish :O 2008-03-28 James Antill * yum/packages.py, yum/rpmsack.py: Add getProvides() and getRequires() caches in rpmsack. Saves about 10% runtime, takes about 2% RSS overhead. That's saves 5 seconds, and takes 5.5MB 2008-03-28 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: partial fix for incorrect update for dependency resolution. 2008-03-28 James Antill * yum/depsolve.py: Change name so we don't stomp on provs 2008-03-28 Seth Vidal * yum/__init__.py: partial fix for incorrect update for dependency resolution. still fails: testUpdatenoarchToMultilibForDependency 2008-03-28 James Antill * yumcommands.py: Sort "list obsoletes" results, because non-sorted results make me cry 2008-03-28 Seth Vidal * yum/__init__.py: dump a little duplicated code 2008-03-28 Seth Vidal * docs/yum.8: commit clean all documentation patch from shawn starr 2008-03-28 Seth Vidal * yum/__init__.py: make our verifyPkg() function handle corrupted files more correctly closes rh bug: https://bugzilla.redhat.com/show_bug.cgi?id=439275 2008-03-27 James Antill * yum/__init__.py: Fix traceback bug#439228 2008-03-27 James Bowes * yumcommands.py: Add expire-cache to clean's usage 2008-03-27 James Antill * test/depsolvetests.py: Add some unit tests, testMultiPkgVersions[34] are wrong 2008-03-27 Tim Lauridsen * po/sr.po: Added Serbian translation by Igor Miletic 2008-03-26 Seth Vidal * docs/yum.8: add yum-utils see-also 2008-03-26 James Antill * yum/yumRepo.py: Add developer comment, and stab seth/RHN people who did this 2008-03-26 James Antill * yum/yumRepo.py: Don't create sacks for repos that we don't care about 2008-03-26 James Antill * yum/__init__.py: Fix user_agent when creating multiple YumBase instances 2008-03-26 James Antill * yum/plugins.py, yum/repos.py: Use weakref to avoid circular refs 2008-03-26 James Antill * yum/repos.py: Another glob hack, gone 2008-03-26 James Antill * yum/yumRepo.py: Got to excited about _() 2008-03-26 James Antill * yum/yumRepo.py: Warn users when their MD is being updated 2008-03-25 James Antill * yum/misc.py, yum/packages.py, yum/rpmsack.py, yum/sqlitesack.py: Generalize sqlite's share_data, saves 9MB 5% RSS on Fed-8 => rawhide 2008-03-25 James Antill * yum/__init__.py, yum/rpmsack.py: Drop caches from rpmsack too 2008-03-25 James Antill * yum/__init__.py: Might as well make list extras faster too :) 2008-03-25 James Antill * yum/packageSack.py: Minor re_glob, plus comment that matchPackageNames() function needs to die 2008-03-25 James Antill * yum/__init__.py, yum/rpmsack.py: Push search data down to rpm too, again roughly 0.3 and 15MB ... plus nicer 2008-03-25 James Antill * yum/rpmsack.py: If we are filtering don't mark everything as loaded 2008-03-25 James Antill * yum/__init__.py, yum/rpmsack.py: Push pkg matching down to rpmsack, roughly 0.3 and 15MB better for list 2008-03-25 James Antill * yum/packages.py: Use re_glob() instead of function 2008-03-25 Seth Vidal * yum/__init__.py: call simplePkgList() to rpmdb not pkglist so that tests will work need to fix the tests eventually, too 2008-03-25 Tim Lauridsen * yum/__init__.py, yum/misc.py: Added a generic unicode converter func to misc, and use it on rpm po in search generator (rhbz #438633) 2008-03-25 Tim Lauridsen * po/da.po, yum/rpmtrans.py: * Fixed [y/N] -> [j/N] in danish translation * make Updating,Installing etc translate able (rhbz #438764) 2008-03-25 Tim Lauridsen * po/da.po: updated latest string in da translation 2008-03-25 Tim Lauridsen * po/da.po, po/de.po, po/fr.po, po/it.po, po/ms.po, po/nb.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ru.po, po/yum.pot: updated yum.pot and all po with latest added _() strings 2008-03-25 Tim Lauridsen * po/pt_BR.po: Added Brazilian Portuguese translation by Igor Pires Soares 2008-03-24 Seth Vidal * yum/__init__.py: raises take strings, not lists - thanks to robin norwood for pointing out the silliness here 2008-03-24 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Add some missing options 2008-03-24 Seth Vidal * yum/packages.py: make sure we return the right stuff for src rpm's - arch == src not whatever rpm has shoved in there. 2008-03-24 James Antill * docs/yum.8: Add some missing options 2008-03-24 Seth Vidal * yum/__init__.py: stop making the objects only to immediately delete them. 2008-03-24 Seth Vidal * yum/__init__.py: die tabs, die 2008-03-24 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Special workaround for depsolving, load prco data without keeping hdr Add buildtime for hacky pkgid 2008-03-24 Seth Vidal * yum/__init__.py, yum/rpmsack.py: make rpmsack._pkglist return direct from the rpm hdr objects and not pass through ReturnPackages() saves us a 1/2 second on any load of the pkglist not preceded by a call to returnPackages() 2008-03-24 James Antill * yum/packages.py, yum/rpmsack.py: Special workaround for depsolving, load prco data without keeping hdr yum update (Fed-8 => rawhide) ----------------------------- Before: 48.6470 Peak[527.20MB] Size[518.20MB] RSS[297.44MB] After: 49.1763 Peak[458.98MB] Size[449.98MB] RSS[229.27MB] 2008-03-24 James Antill * yum/rpmsack.py: Add buildtime for hacky pkgid 2008-03-24 James Antill * yum/rpmsack.py: Huge memory decrease, by using sqlitesack algo. on installed rpm packages. . Add RPMInstalledPackage() class . Drop the header, after reading "core" data like name/version/etc. . Reload header, using po.idx if we need anything weird (Ie. depsolving) search ustr ----------- Before: 1.6563 Peak[336.28MB] Size[336.28MB] RSS[116.11MB] After: 1.6043 Peak[268.40MB] Size[268.40MB] RSS[ 48.41MB] list ustr --------- Before: 1.7527 Peak[338.85MB] Size[338.10MB] RSS[117.94MB] After: 1.6412 Peak[270.32MB] Size[270.32MB] RSS[ 49.96MB] provides ustr ------------- Before: 0.8444 Peak[250.99MB] Size[250.99MB] RSS[30.87MB] After: 0.8489 Peak[250.99MB] Size[250.99MB] RSS[30.88MB] list updates ------------ Before: 3.9209 Peak[388.59MB] Size[388.59MB] RSS[168.45MB] After: 3.8675 Peak[320.07MB] Size[320.07MB] RSS[ 99.94MB] update (Fed-8 to rawhide) ------------------------- Before: 48.0007 Peak[526.92MB] Size[517.16MB] RSS[296.41MB] After: 48.6470 Peak[527.20MB] Size[518.20MB] RSS[297.44MB] 2008-03-23 James Bowes * yum/__init__.py, yum/depsolve.py: Remove some unused imports 2008-03-23 James Bowes * yum/config.py: Add some docstrings for yum.config 2008-03-23 James Bowes * yum/Errors.py: Add some docstrings for yum.Errors 2008-03-23 James Bowes * yum/packageSack.py: Add missing repoid kwarg to PackageSackBase.returnPackages 2008-03-23 James Bowes * Makefile: Update doccheck target for removed modules 2008-03-20 Seth Vidal * ChangeLog: changelog merge 2008-03-20 Seth Vidal * yum.spec, yum/__init__.py, yum/depsolve.py: - bump ver for 3.2.13 - fix oddball tabs in yum/__init__.py 2008-03-19 James Antill * yum/sqlitesack.py: Drop stuff when we see no arch. Drop key2pkg in dropCachedData/close 2008-03-19 James Antill * yum/depsolve.py, yum/sqlitesack.py: Remove DepCheck() as it's unused. Don't double cache data in _search_cache(). Skip provides from unused repos. 2008-03-19 James Antill * yum/plugins.py: Merge output for multiple dirs. of plugins. Don't output empty line when disabling all plugins. Output disableplugin args that don't match anything. 2008-03-19 James Antill * yum/plugins.py: Add wildcard support to disableplugin 2008-03-19 James Bowes * test/simpleobsoletestests.py: Add some obsoletes tests for the git metapackage rename I was all ready to blame yum for my inability to update git in F8 to the new and renamed version in rawhide, so much so that the first thing I did was write these tests, which would surely fail and lead me to some obscure bug in yum. I would fix the bug and everyone would be happy. Well the version obsoletes I put in git's spec was off by one. So here are the tests, which will serve as a testament to yum's awesomeness, and my carelessness. 2008-03-18 James Antill * yum/packageSack.py: Make the unit tests happy again, and skvidal by proxy :) 2008-03-18 James Antill * yum/__init__.py, yum/depsolve.py, yum/misc.py, yum/sqlitesack.py: Cleanup RE matching for globs and primary.xml filename matching 2008-03-18 James Antill * yum/sqlitesack.py: Move pkgoblist into droCachedData 2008-03-18 James Antill * yum/__init__.py, yum/packageSack.py, yum/sqlitesack.py: Pre-load the requires data when we first need it, in depsolving. Tweak what we _share_data() Add dropCachedData() call, in sqlitesack and MetaSack. Call it after resolveDeps(). 2008-03-18 James Antill * yum/packageSack.py: Fix packagesNewestByName() to have multiple pkgs/arches per. name/version 2008-03-17 James Antill * yum/packageSack.py: Merge MetaSack.returnObs and PackageSack.returnObs 2008-03-17 James Antill * yum/__init__.py, yum/packageSack.py: export packagesNewestByName* and use in __init__ 2008-03-17 James Antill * yum/packageSack.py: Don't create ListPackageSack() just to do a newest operation 2008-03-17 James Antill * yum/packageSack.py: Fix packagesack.returnObs 2008-03-17 Seth Vidal * yum/Errors.py, yum/__init__.py: when doing a reinstall, if the package is one of the ones that can be installed multiple times, just take it out and tell the user about it. It will end in sadness if they do a reinstall on a kernel or a kernel-module so let's just tell them 'no' rather than having the whole thing explode in awkward ways, for now. also add reinstallError to errors 2008-03-17 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fix the last commit *grumble*, stupid mondays, *grumble* Manually clean expire cache, so network manager can run when we move networks Don't count on len(self._oldRepoMDData) to mean we have old repo MD 2008-03-17 Seth Vidal * cli.py: make deplist able to work on localpackages ex: yum deplist /path/to/foobar.rpm 2008-03-17 James Antill * cli.py, yumcommands.py: Fix the last commit *grumble*, stupid mondays, *grumble* 2008-03-17 James Antill * cli.py, yum/__init__.py: Manually clean expire cache, so network manager can run when we move networks 2008-03-17 James Antill * yum/yumRepo.py: Don't count on len(self._oldRepoMDData) to mean we have old repo MD 2008-03-17 Seth Vidal * po/it.po: Check in italian translation from Silvio Pierro 2008-03-17 James Bowes * rpmUtils/transaction.py, yum/__init__.py: Use rpm's problem set details to give arch information on bad transactions. Resolves rhbz #349091. Original patch from Panu. 2008-03-15 James Antill * AUTHORS: I can haz creditz? kthxbai! Oh, and: Florian, Jack, and Panu 2008-03-15 James Antill * docs/yum.8: Add help on help :) 2008-03-15 James Antill * docs/yum.8: Add keywords people might search for. Give a longer summary, point to PK 2008-03-15 James Antill * cli.py, output.py, yum/__init__.py: Add section headers to "yum search" which show which arguments matched. Show which arguments didn't match anything. Add fmtSection() and fmtKeyValFill() to output.py API. 2008-03-13 James Antill * test/depsolvetests.py, yum/depsolve.py: With lots of discussion/consultation with Seth Fix multilib. edge case. Fixes the testcase. Also fixes the case we've seen IRL where pkgA.32 deps. on libfoo.so.2 pkgB-1.64 provides libfoo.so.1()(64bit) pkgB-2.64 provides libfoo.so.2()(64bit) pkgB-2.32 provides libfoo.so.2 ...and we need to install pkgB-2.32 and update to pkgB-2.64 2008-03-13 Jeremy Katz * output.py: Set encoding of the string to avoid tracebacks (#436361) 2008-03-13 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Add docs for group* command, and makecache Don't traceback if we can't read the mirrorlist (#428249) Fix proxy=http://foo:123 - bug#328121 Support justdb as a tsflag (Dmitry Butskoy , #394141) Updated German Translation by Fabian Affolter 2008-03-13 Seth Vidal * yum/rpmtrans.py: silence the log output when we hit a %pretrans or a %postrans. would be nice if rpm let us know where we were in the transaction, though. 2008-03-13 James Antill * docs/yum.8: Add docs for group* command, and makecache 2008-03-13 Jeremy Katz * yum/yumRepo.py: Don't traceback if we can't read the mirrorlist (#428249) 2008-03-13 James Antill * yum/yumRepo.py: Fix proxy=http://foo:123 - bug#328121 2008-03-13 Jeremy Katz * yum/depsolve.py: Support justdb as a tsflag (Dmitry Butskoy , #394141) 2008-03-13 Tim Lauridsen * po/de.po: Updated German Translation by Fabian Affolter 2008-03-13 Seth Vidal * yum/__init__.py: make sure that intentional yum install somepkg-not-newest works 2008-03-13 Seth Vidal * yum/__init__.py: if there is an older ver than they have installed available yum doesn't try to install it when someone types: yum install some-pkg don't install it. 2008-03-11 Seth Vidal * yum/rpmtrans.py: once more, make sure nothing in the transaction can EVER occur w/o our persistent dir being made 2008-03-08 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fix includepkgs, patterns can't work here as we need 'not matched' 2008-03-08 Seth Vidal * yum/packages.py: make po.checksums work again for sqlite packages make sure installedpo.checksum does something quasi-sensible - which in this case is raise NotImplementedError 2008-03-05 James Antill * yum/__init__.py: Fix includepkgs, patterns can't work here as we need 'not matched' 2008-03-06 Jeremy Katz * output.py: Make the responses translatable too (#436386) 2008-03-06 Seth Vidal * yum.spec: conflict skip-broken 2008-03-06 Seth Vidal * yum/rpmtrans.py: make sure the persistdir is made when we setup the transaction so it doesn't cause problems in chroots 2008-03-06 James Antill * output.py: Don't hide unicode errors on the prompt 2008-03-06 James Antill * yum/sqlitesack.py, yum/sqlutils.py: python-sqlite-1.x compatability fixes 2008-03-06 Tim Lauridsen * po/fr.po: Added french translation by Johan Cwiklinski 2008-03-05 Seth Vidal * yum/depsolve.py: make the log indentation easier to follow 2008-03-05 James Antill * test/depsolvetests.py, yum/depsolve.py: Add unit tests for compare_providers. Fix bugs: 1. Do sourcerpm compare both directions (reqpo.arch in [noarch, other]). 2. Don't switch on arch if bestpkg.arch == po.arch (reqpo.arch in [noarch]). 2008-03-05 James Antill * test/depsolvetests.py, test/testbase.py: Add tests for "interesting" multilib. cases, one current failure marked as FIXME 2008-03-05 James Antill * test/transactiontests.py: Remove failing AddTheSameTwice() check 2008-03-05 James Antill * output.py: Fix encoding, must go back to unicode even though gettext needs ascii, *sigh* 2008-03-04 Seth Vidal * yum/depsolve.py: make sure best doesn't obsolete po before we do the arch tests in _compare_providers() 2008-03-04 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Add documentation for new option Show versions when showing dups, and fix the large key problem Add --showduplicates option, and make search obey showdupesfromrepos 2008-03-04 Seth Vidal * yum/depsolve.py: - make sure on mutual obsoletes we do _something_ useful so we don't constantly oscillate - better debugging in _compare_providers() 2008-03-04 James Antill * docs/yum.8: Add documentation for new option 2008-03-03 James Antill * output.py: Show versions when showing dups, and fix the large key problem 2008-03-03 James Antill * cli.py: Add --showduplicates option, and make search obey showdupesfromrepos 2008-03-03 Seth Vidal * ChangeLog: merge changelog 2008-03-03 James Antill * yum/sqlitesack.py: Fix typo fix 2008-02-25 James Antill * yum/depsolve.py: Work around for python-2.4.x 2008-03-03 Seth Vidal * yum.spec, yum/__init__.py, yum/sqlitesack.py: bump version number fix traceback due to one-key-off-typo in matchPackageNames() 2008-03-03 James Antill * yum/packages.py: Add params. for deps/script which we don't do atm. 2008-03-01 James Antill * yum/packages.py: Allow other callers than yum-verify to turn fake-problems off 2008-03-01 James Antill * yum/packages.py: Deal with rpm file states, add "fake problems" for multilib comparisons 2008-03-01 James Antill * yum/packages.py: Obey verify flags, for extra "excludes" 2008-02-28 James Antill * yum/packages.py: Create a real class for verify problems, so we can sort it 2008-02-28 James Antill * yum/sqlitesack.py: Add group to shared data 2008-02-28 James Antill * yum/packages.py: Compare file types, also match content if files move to symlinks 2008-02-28 Seth Vidal * yum/__init__.py: when searching provides and the input does not have a glob and looks like a file, we can accept as true the results from returnPackagesByDep() this helps us avoid unnecessarily downloading the filelists when they aren't needed 2008-02-28 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Add the magic readlink from DB call, thanks Panu Pass include patterns down to returnPackages Pass install patterns down to returnPackages Also share the tuples Generalize _reverse_prco, saves ~4% RSS 2008-02-28 Seth Vidal * cli.py, yum/__init__.py, yummain.py: output some debug timing numbers for various operations 2008-02-28 James Antill * yum/packages.py: Add the magic readlink from DB call, thanks Panu 2008-02-28 James Antill * yum/__init__.py: Pass include patterns down to returnPackages 2008-02-28 James Antill * yum/__init__.py: Pass install patterns down to returnPackages 2008-02-28 James Antill * yum/sqlitesack.py: Also share the tuples 2008-02-28 James Antill * yum/sqlitesack.py: Generalize _reverse_prco, saves ~4% RSS 2008-02-27 Seth Vidal * rpmUtils/arch.py: allow ia64 to work again. closes rh bug 435226 2008-02-27 James Antill * yum/yumRepo.py: Don't do any repo MD work when in caching mode 2008-02-27 James Antill * yum/misc.py, yum/packages.py: Use non-hacker name :) 2008-02-26 James Antill * yum/packages.py: Give different info. for permission denied (missing) 2008-02-26 James Antill * yum/packages.py: Add file_types, add some logic to match rpm verify. Fix size calcs. when using prelink. 2008-02-26 James Antill * yum/packages.py: Don't read stderr, blocking is much easier this way ... just hope we don't get too much stderr and block the other way. 2008-02-26 James Antill * yum/packages.py: Fix mode value. Check mode and size. Skip checks that don't make sense for dirs and links. 2008-02-26 James Antill * yum/packages.py: Minor cleanup, drop prelink stderr 2008-02-26 James Antill * yum/packages.py: Fix very checksum with prelink 2008-02-25 James Antill * yum/__init__.py: Do _var substitution for repos in the main yum.conf file. Do repo name checking for repos in the main yum.conf file. Don't allow repos called "main" even in yum.repos.d/*.repo files. 2008-02-22 James Antill * yum/depsolve.py: Add sourcerpm and common prefix length into deciding best pkg, solves installing totem-debuginfo giving you xmms-lirc instead of totem-lirc as a dep. 2008-02-24 Seth Vidal * yum/comps.py: implement xml() method to comps, group and category object - to dump back out what we just read in/merged. 2008-02-23 Tim Lauridsen * yum/__init__.py: added some unicode convertion to searchGenerator to make sure that summary,description always are unicode, to avoid to errors using search generator from a DBUS method, with summary and description containing non ascii chars 2008-02-22 James Antill * yum/depsolve.py: Do the right thing in compare_providers() when nothing else is better 2008-02-22 Seth Vidal * yum/depsolve.py, yum/packages.py: depsolve: make sure our providers are obsolete-checked against one another packages: if the the compared package is None then it is clear that these packages are NOT EQUAL - return true 2008-02-21 Seth Vidal * yum/packages.py: move where we do the stats for YumLocalPackages so it doesn't get overwritten by the init call to YumHeaderPackage 2008-02-21 Seth Vidal * yum/rpmtrans.py: this patch makes pretrans inside packages not cause the transaction to explode thanks(?) to Bill Nottingham for pointing it out. 2008-02-20 Seth Vidal * utils.py: add a waitForLock to utils.py YumUtilsBase - let's a yum-util easily use the yum timing thing. 2008-02-18 Florian Festi * yum/__init__.py: Fix traceback when we did not get a comps file 2008-02-18 Florian Festi * yum/depsolve.py: Fix copy/paste error 2008-02-16 James Antill * test/transactiontests.py, yum/depsolve.py, yum/transactioninfo.py: Change relatedto to be actual packages, hopefully real fix for bug#433047 2008-02-16 James Antill * yum/depsolve.py: Run make check, and fall back to old behaviour 2008-02-16 James Antill * yum/depsolve.py: Convert the pkgtup back into a po, bug#433047 2008-02-16 James Antill * yum/__init__.py: Merge some duplicate code 2008-02-16 Seth Vidal * yum/misc.py, yum/repos.py, yum/yumRepo.py: when we're running as a user or using a set cachedir then we should attempt to make a copy of anything we can from the systemwide cache dir. Essentially, we're making an opportunistic grab of the md files which are on disk for the yum-utils that can be run as a user 2008-02-14 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: set() is in 2.4 and 2.5 so no need to import sets Conflicts: yum/packageSack.py 2008-02-14 James Antill * rpmUtils/transaction.py, yum/packageSack.py: set() is in 2.4 and 2.5 so no need to import sets 2008-02-14 Seth Vidal * yum/packageSack.py: set() is in 2.4 and 2.5 so no need to import sets 2008-02-14 Seth Vidal * yum/packageSack.py: add a returnLeafNodes() to the packagesackbase object 2008-02-14 Florian Festi * yum/transactioninfo.py: Use id() instead of hash() as it is granted to be unique 2007-11-28 Florian Festi * yum/depsolve.py, yum/transactioninfo.py: Add tsInfo.getUnresolvedMembers() and use if for depsolving Drop tsInfo.removedmembers and DepCheck.already_seen* 2008-02-13 Florian Festi * test/depsolvetests.py, yum/depsolve.py: New processConflict implementation 2008-02-14 Florian Festi * rpmUtils/updates.py, yum/__init__.py: Implement Updates.delPackage() to remove skipped packages from Depsolve.up 2008-02-13 Seth Vidal * cli.py: it's named probFilterFlags not problemFilterFlags :( 2008-02-13 James Antill * yum/sqlitesack.py: Fix bracket typo 2008-02-13 James Antill * yum/sqlitesack.py: Add check for filelists/primary pkgId corruption before using filelists 2008-02-13 James Antill * yum/sqlitesack.py: Cleanup __len__, and fix for multi repos per. sack 2008-02-13 James Antill * yum/sqlitesack.py: Minor cleanup using helper 2008-02-13 James Antill * yum/sqlitesack.py: Add an SQL helper function to the YumSqlitePackageSack 2008-02-12 James Antill * yum/sqlitesack.py: Use the YumAvailablePackage SQL helper, minor cleanup. 2008-02-12 James Antill * yum/sqlitesack.py: Add an SQL helper function to the YumAvailablePackage 2008-02-13 Seth Vidal * yum/sqlitesack.py: apply pach from Fajar Nugraha. for rh bug: 431144 2008-02-12 Florian Festi * yum/depsolve.py: Use update() in _requiringFromInstalled() instead of specialized code Ignore packages that already got removed 2008-02-12 Tim Lauridsen * po/ms.po: Added Malay translation by Sharuzzaman Ahmat Raslan 2008-02-12 James Antill * yum/__init__.py, yum/packages.py: Fix double nevra package in repo. excluding 2008-02-12 Florian Festi * test/simpleupdatetests.py: More update test cases: Update packages because an requirement got updated and does no longer fullfill the requires 2008-02-12 Tim Lauridsen * po/nb.po: Updated Norwegian translation by Terje Røsten 2008-02-12 Florian Festi * yum/packageSack.py: Fix tiny but fatal typo 2008-02-11 Tim Lauridsen * po/de.po: Added german translation by Fabian Affolter 2008-02-11 Seth Vidal * rpmUtils/arch.py: add patch from Masaki Chikama for Super-H architecture support closes rh bug: 432261 2008-02-11 Florian Festi * yum/__init__.py: make _nevra_kwarg_parse a bit more forgiving when version or release is 0 (int) 2008-02-11 Florian Festi * yum/__init__.py: Simplify _nevra_kwarg_parse() 2008-02-10 Tim Lauridsen * po/pt.po, po/pt_BR.po, pt.po: Added Brazilian Portuguese translation by José Nuno Coelho Sanarra Pires 2008-02-10 Tim Lauridsen * pt.po: Added European Portuguese translation by José Nuno Coelho Sanarra Pires 2008-02-10 Tim Lauridsen * po/pl.po: added polish translation by Piotr Drąg 2008-02-09 Tim Lauridsen * po/da.po: updated danish translation by Rasmus Ory Nielsen 2008-02-09 James Antill * yum/sqlitesack.py: And fix the midnight commit but 2008-02-08 James Antill * yum/sqlitesack.py: Remove more code, minor speed/clean up 2008-02-08 James Antill * yum/sqlitesack.py: Remove code duplication 2008-02-08 James Antill * yum/packages.py: Fix pkg.__cmp__ to use comparePoEVR() 2008-02-08 James Antill * yum/__init__.py: Make exclude processing faster 2008-02-08 Seth Vidal * ChangeLog: changelog merge 2008-02-08 James Antill * bin/yum.py: Have user_mina() just call exit 2008-02-08 James Antill * yummain.py: Return actual exit code, if anyone cares 2008-02-08 Seth Vidal * yum.spec, yum/__init__.py: bump ver for 3.2.11 2008-02-08 Tim Lauridsen * yum/plugins.py: removed a single plugin translation wrapper, because it gives a weird Traceback 2008-02-08 Tim Lauridsen * po/da.po, po/nb.po, po/ru.po, po/yum.pot: updates pot & po files, updating danish translation 2008-02-08 Tim Lauridsen * po/yum.pot, yum/plugins.py: Tilføjede _() translation wrapper til plugin.py 2008-02-08 Tim Lauridsen * po/da.po: completed the danish translation and converted it to UTF-8 2008-02-07 Tim Lauridsen * po/da.po: revert the da utf-8 convertion 2008-02-07 Tim Lauridsen * po/nb.po: added update norwegien translation (urf-8) 2008-02-07 Tim Lauridsen * po/da.po: converted da.po to utf-8 2008-02-07 Tim Lauridsen * po/da.po: opdaterede dansk (danish) translation 2008-02-07 Tim Lauridsen * po/da.po, po/nb.po, po/ru.po, po/yum.pot: Refreshed yum.pot & po files again 2008-02-07 Tim Lauridsen * callback.py: Added some _() translation wrappers 2008-02-07 Tim Lauridsen * po/da.po, po/nb.po, po/ru.po, po/yum.pot: Refreshed yum.pot & po files 2008-02-07 Tim Lauridsen * output.py, yumcommands.py: Added a lot of more _() translation wrappers 2008-02-07 Tim Lauridsen * yum/i18n.py: Added a much more simple translation setup module 2008-02-07 Tim Lauridsen * yum/i18n.py: Make the _() translation wrapper make sure that the translated string is Unicode, to solve problem with ISO-8859-1 translation files 2008-02-07 Tim Lauridsen * output.py: Make sure all strings are unicode in listTransaction, to avoid UnicodeDecodeError on non US locales 2008-02-07 Tim Lauridsen * po/da.po, po/nb.po, po/ru.po, po/yum.pot: refreshed yum.pot and po files 2008-02-07 Tim Lauridsen * yummain.py: added translation wrappers to yummain.py 2008-02-06 James Antill * cli.py: Clean dbcache (aka. compiled metadata) when the user asks to clean metadata 2008-02-06 Tim Lauridsen * po/nb.po: Added a norsk (norwegien) translation file by Terje Røsten 2008-02-05 Seth Vidal * yum/__init__.py, yumcommands.py: make sure we're installing exactly what we're removing on a reinstall if we can't then bail. remove unneeded rpm import 2008-02-04 James Antill * cli.py, yum/__init__.py: Fix pirut search box problem, due to minor API breakage 2008-02-04 Seth Vidal * cli.py, yum/__init__.py, yumcommands.py: make reinstall a base method and clean up its error handling. 2008-02-04 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Only show URL if it has one, Ie. glibc 2008-02-04 Seth Vidal * cli.py, rpmUtils/transaction.py, yumcommands.py: implement a 'reinstall'. It does not work automatically and it clearly shouldn't. reinstall is a weird and special case and should be treated as such. 2008-02-04 James Antill * output.py: Only show URL if it has one, Ie. glibc 2008-02-04 James Antill * yum/yumRepo.py: Initial code at integrating group_gz with mdpolicy 2008-02-04 Tim Lauridsen * yum/transactioninfo.py: added __repr__ to TransactionMember 2008-02-04 Tim Lauridsen * yum/packages.py, yum/sqlitesack.py: added memory address to package object __repr__, so we can see if a object is unigue, removed the __repr__ for YumAvailablePackageSqlite and use the default one 2008-02-04 Tim Lauridsen * yum/packages.py, yum/sqlitesack.py: Use the real Classname for package object information, moved the __repr__ to PackageObject so child classes has some useful object info 2008-02-04 Tim Lauridsen * yum/sqlitesack.py: Added a hash to make the object unigue 2008-02-03 Tim Lauridsen * yum/packages.py, yum/sqlitesack.py: * make package object show some useful info when printed. * make print str(po) look the same for installed and available packages. 2008-02-04 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Get the txmbr so we can use it Another cli to __init__ move fix Fix installupdate command, from move to __init__, rhbz#431207 fixed typo Fix misnamed variable Make it obvious that showdupesfromrepos affects list/info Make the dirs. we need for the log file Remove the undocumented config. var yumversion. Have a single loaded plugins line * fix problem with skip-broken (rhbz #430936) * Added multilib skip-broken test case. 2008-02-04 Seth Vidal * yum/__init__.py, yum/yumRepo.py: make sure we can happily handle group_gz types in repomd.xml and make sure comps has something it can cope with, too. 2008-02-02 James Antill * yum/__init__.py: Get the txmbr so we can use it 2008-02-02 James Antill * yum/__init__.py: Another cli to __init__ move fix 2008-02-02 James Antill * cli.py: Fix installupdate command, from move to __init__, rhbz#431207 2008-02-02 Tim Lauridsen * yum/__init__.py: fixed typo 2008-02-01 James Bowes * yum/logginglevels.py: Fix misnamed variable 2008-02-01 James Antill * docs/yum.conf.5: Make it obvious that showdupesfromrepos affects list/info 2008-02-01 James Antill * yum/logginglevels.py: Make the dirs. we need for the log file 2008-02-01 James Antill * cli.py, yum/__init__.py, yum/config.py, yum/yumRepo.py: Remove the undocumented config. var yumversion. Add the yum name/version into the default_grabber user_agent, and use that in all our URLGrabber() instances. 2008-02-01 James Antill * yum/plugins.py: Have a single loaded plugins line 2008-02-01 Tim Lauridsen * yum/__init__.py, yum/depsolve.py: * fix problem with skip-broken (rhbz #430936) * Make the skipped packages show only once and sorted. * cleanup some leftovers 2008-02-01 Tim Lauridsen * test/skipbroken-tests.py, yum/__init__.py: * Added multilib skip-broken test case. * Make skip-broken remove packages with same nevr and combatible arch, to avoid error in the transaction test where foo-1.x86_64->foo-2.x86_64, get skipped, but foo-1.i386->foo.2.i386 is not. * If skip-broken cant fix the problems the tell it to the user and show the orignal problems 2008-01-31 James Bowes * cli.py, yum/__init__.py: Use remove's pattern kwarg for cli's erasePkgs 2008-01-31 Tim Lauridsen * test/testbase.py: fixed errors in unittest because of new multilib_policy conf parameter 2008-01-31 Tim Lauridsen * docs/yum.8: add --skip-broken to man file 2008-01-31 Seth Vidal * rpmUtils/arch.py: alpha* arch patch from Oliver Falk 2008-01-30 Tim Lauridsen * po/da.po: Added semi complete danish translation 2008-01-29 Seth Vidal * docs/yum.conf.5, rpmUtils/arch.py, yum/__init__.py, yum/config.py, yum/rpmsack.py: multlib_policy patch to handle installs by wildcard or package name. see yum.conf man page for details 2007-12-10 Florian Festi * yum/rpmsack.py: Optimize RpmSack - Create each package only once - fix wrongly nested file search in .searchProco() - make _search return pkg objects - avoid loading all headers if not neccessary 2008-01-29 James Antill * output.py: Only output committer when in verbose mode, as it requires other MD 2008-01-29 James Antill * output.py: ...and the it's a 1am commit bug, fixed 2008-01-29 James Antill * output.py: Add committer and URL to info output. Make two column display into a function and use from info output for summary/description. 2008-01-28 James Antill * yum/config.py: Fix installonly_limit set to "0" 2008-01-28 James Antill * yum/yumRepo.py: Make revert work for repos. without old repomd.xml files 2008-01-28 James Antill * yum/__init__.py: Change API to more generic validate() param. 2008-01-28 James Antill * cli.py: Always have space between name and summary 2008-01-28 James Antill * cli.py: Move this to a plugin instead. Revert " Add --tmprepo option, to download .repo files and use them." This reverts commit 598c1fad3a60dae0e23a524e9159354fd0bca93e. 2008-01-28 James Antill * cli.py: Add --tmprepo option, to download .repo files and use them. 2008-01-28 James Antill * yum/__init__.py: Move .repo file loading into it's own function. Add gpgcheck argument, so it fails if .repo doesn't have gpgcheck=true Add repo/section name handling. 2008-01-28 Seth Vidal * yum/packages.py: verify() method to YumInstalledPackageObjects 2008-01-28 Tim Lauridsen * output.py, po/POTFILES.in, po/ru.po, po/yum.pot: added _() translation wrappers to output.py 2008-01-28 Tim Lauridsen * cli.py, po/ru.po, po/yum.pot: Added _() translation wrappers to cli.py and updated yum.pot & po files 2008-01-27 James Bowes * output.py: Fix up import path for i18n in output module 2008-01-27 James Bowes * yum.spec: remove yumupd from main package 2008-01-27 James Bowes * progress_meter.py, translate.py: Remove old and unused progress_meter and translate modules 2008-01-27 Tim Lauridsen * po/ru.po, po/yum.pot, yum/depsolve.py: add _() translation wrappers to depsolve.py and refreshed yum.pot & po files 2008-01-26 Tim Lauridsen * yum.spec: changelog entry and %find_lang %name to spec file 2008-01-26 Tim Lauridsen * yum.spec: added -f %{name}.lang to %files section 2008-01-26 Tim Lauridsen * yum.spec: added BuildRequires: intltool to support po/mo/pot file generation 2008-01-26 Tim Lauridsen * Makefile, callback.py, cli.py, i18n.py, po/Makefile, po/POTFILES.in, po/ru.po, po/yum.pot, utils.py, yum/__init__.py, yum/i18n.py, yumcommands.py: * moved i18n.py to yum/i18n.py * created po/Makefile to handle generation/updating/installing of translation files * make main Makefile call po/Makefile * added _() translation wrappers to strings in yum/__init__.py 2008-01-25 James Antill * yum/packages.py: Move from unique repos. to a single repo. for installed packages. 2008-01-25 Florian Festi * test/yum-release-test.sh: Added release test script 2008-01-25 James Bowes * yumcommands.py: Remove copy/paste artifact from info/list split 2008-01-25 James Bowes * yumcommands.py: Display command aliases in help 2008-01-25 James Bowes * cli.py, yumcommands.py: Split out info and list into two commands 2008-01-25 James Bowes * yumcommands.py: package names are optional arguments to 'update' 2008-01-25 James Bowes * cli.py, yumcommands.py: Be watchful of plugin commands that mightn't have the help methods Catch exceptions that might be thrown by missing getUsage and getSummary methods on YumCommands implemented by plugins. We should remove this after a while, once enough plugins implement these methods. 2008-01-25 James Bowes Merge commit 'origin/master' 2008-01-24 Seth Vidal * ChangeLog: changelog merge 2008-01-24 Seth Vidal * yum.spec, yum/__init__.py: 3.2.10 numbering b/c of the paperbag issues in 3.2.9 2008-01-24 James Antill * yumcommands.py: Add back in the populateSack() calls to makecache, needs more work to remove 2008-01-24 James Antill * yum/yumRepo.py: Work after: yum clean all 2008-01-24 James Bowes Merge commit 'origin/master' 2008-01-24 James Bowes * cli.py: Display subcommand summaries on --help --help used to output subcommand names on the same line. Instead format them one per line, along with their summary string. 2008-01-24 James Bowes * cli.py, yumcommands.py: Add a help command, to display command usage 2008-01-24 James Antill * yum/yumRepo.py: Wrong way around 2008-01-24 James Antill * yum/yumRepo.py: Fix the downloading compressed MD files problem. Save DL'ing filenames so they can be unlinked() on revert. 2008-01-24 Seth Vidal * ChangeLog: changelog-merge 2008-01-24 James Antill * yumcommands.py: Fix broken makecache 2008-01-24 James Antill * yum/yumRepo.py: Always cleanup old metadata files, allows unique names 2008-01-24 Seth Vidal * Makefile: changelog command in makefile so I don't have to remember the damned incantation 2008-01-24 Seth Vidal * yum.spec, yum/__init__.py: bump ver numbers for 3.2.9 2008-01-24 James Antill * docs/yum.conf.5: Help people who are confused by distroverpkg 2008-01-24 Florian Festi * cli.py: Remove duplicate copy of ._run_rpm_check_debug() - original copy can be found in __init__.py 2008-01-23 James Antill * yum/__init__.py, yum/packageSack.py: Add the patterns arg to the other list/info commands 2008-01-23 James Antill * cli.py, yum/__init__.py, yum/packageSack.py, yum/rpmsack.py, yum/sqlitesack.py: Move the SQL all the way down for list/info commands too. 2008-01-23 James Antill * yum/sqlitesack.py: Skip loading packages for unused repos 2008-01-23 James Antill * bin/yum.py, yummain.py: Extend the profiling env options to generic bin/yum 2008-01-23 James Antill * yummain.py: Make running profiling easier, jbowes owes me a cherry coke 2008-01-23 James Bowes * yumcommands.py: Add docstring for yumcommands.checkShellArg 2008-01-23 Seth Vidal * docs/yum.8: edit the the docs to reflect change to search fields 2008-01-23 James Antill * cli.py: After timings and discussion on #yum, drop group and packager 2008-01-23 James Antill * yum/__init__.py: Fix variable name, improvement not as good ... but still ok 2008-01-23 James Antill * yum/__init__.py: Move the s.lower() out of the loops, this saves a lot of time on large matches 2008-01-22 James Antill * output.py: Calculate already downloaded package sizes, to make download size correct. 2008-01-22 James Antill * yum/sqlitesack.py: weakref doesn't work with tuples, *sigh* 2007-12-18 James Antill * yum/sqlitesack.py: Use a reverse prco dict to drop memory (32MB for a full F8 install). Use weakref so we shouldn't gain any memory due to the cache. 2008-01-22 James Antill * output.py: Wrap the output for search results 2008-01-22 James Antill * yum/packages.py: Add comparison operator to pacakges 2008-01-22 James Antill * yum/packages.py: Add committer and committime properties to packages 2008-01-22 James Antill * yum/config.py: Fix ranges on IntOption 2008-01-22 James Antill * yum/sqlitesack.py: Fix speed problem with having src repos enabled 2008-01-18 James Antill * docs/yum.conf.5, yum/config.py: Add ranges to IntOption. Add PositiveIntOption, with names. 2008-01-22 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: (29 commits) Two more "install kernel" test cases Fix for InstallKernel operation test. make str(po) show epoch:name-ver-rel.arch This might be the wrong fix. This makes sure that __len__ always returns a Fix doc. comment, repomd.xml isn't usually gotten here Fix spacing Fix variable name Fix function and argument names, due to usage Don't re-download when we have uncompressed data Remove updated/obsoleted txmbr when removing deps during skip-broken Add requiringPO as dep when updating for dependency (needed for skip-broken) Some more skip-broken tests Make the depsolver debug messages show full package name, instead of only name, to make it easier to track down problems make the depsolver errors show the full package names & repo make str(po) return foo-1.0-1.fc8.noarch, insted of foo - 1.0-1.fc8.noarch Docs for mdpolicy show releated errmsg when printing packages with problems, it dont make much sense, to write that foo has a depsolve problem with telling what the problem is :)' Grouped the output of skipped packages, when using --skip-broken' skip "skipping reposetup" debug message skip-broken: next iteration ... 2008-01-22 Seth Vidal * yum/__init__.py, yum/sqlitesack.py, yummain.py: - fix search lockup and inability to ctrl-c it - make search much faster by much-enhanced sql query - clean up unicode errors when piping to a file. 2008-01-21 Florian Festi * test/operationstests.py: Two more "install kernel" test cases 2008-01-18 James Bowes * cli.py, yum/__init__.py: Fix for InstallKernel operation test. Just use the logic in yumBase.install(pattern=foo). That code is smart enough to do the right thing with multiple install packages. 2008-01-18 Tim Lauridsen * yum/packages.py: make str(po) show epoch:name-ver-rel.arch 2008-01-16 James Antill * yum/sqlitesack.py: This might be the wrong fix. This makes sure that __len__ always returns a number, which is good otherwise we get: self.doUtilYumSetup(opts) # in /usr/bin/yumdownloader -> self._getSacks(archlist=archlist) # in /usr/bin/yumdownloader -> if self._pkgSack and thisrepo is None: # in yum/__init__ -> ret += len(sack) # in yum/packageSack.py ...due to no addDict() being called on the sack yet, so 0 is the correct value. But it seems like we shouldn't get here before we've done the init. 2008-01-16 James Antill * yum/__init__.py: Fix doc. comment, repomd.xml isn't usually gotten here 2008-01-16 James Antill * yum/yumRepo.py: Fix spacing 2008-01-16 James Antill * yum/yumRepo.py: Fix variable name 2008-01-16 James Antill * yum/yumRepo.py: Fix function and argument names, due to usage 2008-01-16 James Antill * yum/yumRepo.py: Don't re-download when we have uncompressed data 2008-01-16 Florian Festi * yum/__init__.py: Remove updated/obsoleted txmbr when removing deps during skip-broken 2008-01-16 Florian Festi * yum/__init__.py, yum/depsolve.py: Add requiringPO as dep when updating for dependency (needed for skip-broken) 2008-01-15 Florian Festi * test/skipbroken-tests.py: Some more skip-broken tests 2008-01-12 Tim Lauridsen * yum/depsolve.py: Make the depsolver debug messages show full package name, instead of only name, to make it easier to track down problems 2008-01-11 Tim Lauridsen * yum/depsolve.py: make the depsolver errors show the full package names & repo 2008-01-11 Tim Lauridsen * yum/packages.py: make str(po) return foo-1.0-1.fc8.noarch, insted of foo - 1.0-1.fc8.noarch 2008-01-11 James Antill * docs/yum.conf.5: Docs for mdpolicy 2008-01-11 Tim Lauridsen * yum/__init__.py, yum/depsolve.py: show releated errmsg when printing packages with problems, it dont make much sense, to write that foo has a depsolve problem with telling what the problem is :)' 2008-01-11 Tim Lauridsen * yum/__init__.py: Grouped the output of skipped packages, when using --skip-broken' 2008-01-11 Florian Festi * cli.py, yum/__init__.py: skip "skipping reposetup" debug message 2008-01-11 Florian Festi * test/skipbroken-tests.py, yum/__init__.py: skip-broken: next iteration 2007-12-18 James Antill * yum/config.py, yum/yumRepo.py, yumcommands.py: Create an atomic MD update code path: Pros. ----- Should stop these metadata update problems: 1. We get corrupted comps/etc. files on the master and everyone has problems. 2. We hit mirror(s) that have an updated repomd.xml but nothing else. 3. We don't have a network but the cache does a timeout and urlgrabber kills repomd.xml and we can't get a new one (makes yum stop working). Should stop "back in time updates". Ie. we hit an old mirror, and we basically go back in time for updates. Helps stop yum cmd line usage hitting network. Basically yum-updatesd can now download all of MD data we need and not just primary.xml so we don't have a problem where user does "yum blah" which happens to need an MD file we don't have so we hit the network. This actually has follow-on problems where the file isn't the same anymore but we haven't updated repomd.xml yet (or the network is down, think yum deplist /usr/bin/foo). Cons. ----- Downloads more stuff at once. Basically the current yum model only ever downloads what we need, when we need it, now we'll download more of the MD files whenever repomd.xml gets updated and they need it. However we can config. to do the old behaviour (and/or how much of the MDs we get). _If_ we don't have a full set of MD currently, and we fail to get a new batch of data then we'll revert back to the non-full set. So it's _possible_ that we'll need one of the files in the set we don't have, but that would be available if we had used the traditional code path (Ie. the error was in one of the files we don't currently need). This is a very weird edge case, and if you care a good solution IMO is to always use group:all ... then we always have a complete set. Minor CPU speed hit, due to parsing two sets of repomd.XML. 2008-01-10 James Antill * yum/logginglevels.py: Fixes double messages when we call doConfigSetup() more than once, errorlevel etc. is still global which might be unexpected, but tough. Reproducer: import yum print "First time" prova = yum.YumBase() prova.doConfigSetup() print "Second time" prova2 = yum.YumBase() prova2.doConfigSetup() 2008-01-10 Tim Lauridsen * test/skipbroken-tests.py: creating just another testcase to skipbroken testing (failing at the moment) 2008-01-10 Tim Lauridsen * test/skipbroken-tests.py: removed _create prefix on packages for the lasy typer 2008-01-10 James Antill * yum/yumRepo.py: Move _check_db_version to YumPackageSack to YumRepository 2008-01-10 James Antill * yum/yumRepo.py: Add missing MD file from init. 2008-01-10 James Antill * yum/yumRepo.py: Next step for policy MD downloading, convert loadRepoXML() into helper functions and add "can_fail" parameter options. 2008-01-09 James Antill * yum/yumRepo.py: Split _loadRepoXML() into helper functions, 1st step toward having configurable metadata update policies. 2008-01-09 Tim Lauridsen * yum/depsolve.py: don't set a deps in Desolve._checkInstall, set only relatedto 2008-01-09 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: fixed another unneeded call to pkgtup 2008-01-09 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fix typo, for pkgtup change 2008-01-09 Tim Lauridsen * yum/depsolve.py: fixed another unneeded call to pkgtup 2008-01-09 Seth Vidal * yum/depsolve.py: yes, well, it helps if the code you check in has any chance of working 2008-01-09 James Antill * yum/depsolve.py: Fix typo, for pkgtup change 2008-01-09 Seth Vidal * yum/depsolve.py: get rid of the unnecessary call to pkg.pkgtup when pkg.arch is all that's needed 2008-01-09 Tim Lauridsen * test/skipbroken-tests.py: Added extra skip-broken testcase 2008-01-09 Tim Lauridsen * yum/__init__.py: Only print skip messages for the available packages and add info about repo 2008-01-09 Tim Lauridsen * test/skipbroken-tests.py, test/testbase.py, yum/__init__.py, yum/depsolve.py: fixing errors in unittests after the latest skipbroken changes. fixing an issue with _processConflict in the depsolver. cleanup the the skipbroken unittest and make then more readable 2008-01-08 Florian Festi * yum/__init__.py, yum/depsolve.py: Fix skip-broken Just remove the problematic packages but also remove them from .pkgSack Use a stack in ._getPackagesToRemove() to avoid stack overflow Add counter for skip-broken loop Reset tsInfo.removedmembers before each depsolving call 2008-01-08 Florian Festi * yum/transactioninfo.py: Fix performance issue for large transactions: Move sort() calls out of the loop 2007-12-21 James Antill * cli.py, output.py, rpmUtils/updates.py, shell.py, yum/__init__.py, yum/comps.py, yum/mdparser.py, yum/packageSack.py, yum/packages.py, yum/rpmsack.py, yum/sqlitesack.py, yum/yumRepo.py: Change: if mydict.keys(): => if mydict: for x in mydict.keys() => for x in mydict: # If no del mydict in there len(mydict.keys()) => len(mydict) mylist.extend(mydict.keys()) => mylist.extend(mydict) if x in mydict.keys() => if x in mydict: ...to stop creating temporary lists. 2007-12-20 Florian Festi * yum/sqlitesack.py: Add strict param to SqliteSack.searchFiles - used in .getProvides() 2007-12-19 James Bowes Merge branch 'localinstall' 2007-12-18 Florian Festi * test/testbase.py, yum/packages.py, yum/sqlitesack.py: Make Package.pkgtup a real tuple to save memory and runtime 2007-12-18 Florian Festi * yum/sqlitesack.py: Create YumAvailablePackageSqlite._files and ._checksums on demand only 2007-12-14 Florian Festi * yum/packages.py, yum/sqlitesack.py: cache hash value of Package objects 2007-12-11 Florian Festi * yum/sqlitesack.py: Move most operation to be based on pkgKey instead of pkgId to gain some speed. Generate only one package object per package to avoid duplicates. Load only minimal tags per default. 2007-12-18 James Bowes * cli.py, yum/__init__.py: Add a method for installing local packages onto YumBase This is just the method from cli.py, only taking one path at a time, and optionally a package object instead of a path. 2007-12-18 James Antill * yum/yumRepo.py: Fix typo 2007-12-18 James Antill * cli.py: Split arguments at comma and whitespace 2007-12-18 Seth Vidal * yum/__init__.py: make sure we don't traceback if returnInstalledPackagesByDep() raises an exception 2007-12-18 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fixed cut/paste error 2007-12-18 Seth Vidal * yum/__init__.py: whoops make removes work 2007-12-18 Tim Lauridsen * yum/__init__.py: Fixed cut/paste error 2007-12-17 Seth Vidal * yum/__init__.py: - add support for install by dep and remove by dep to pattern kwarg on install() and remove() - this lets us remove one more item from the checks and handling in cli.installPkgs() and cli.erasePkgs() 2007-12-17 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: make the skipbroken messages info instead of debug, the user what to see what is being skipped print repo when showing packages with depsolving problems to make it easier to detect repo mixing issues Support profiling for yum as a whole 2007-12-17 Seth Vidal * output.py, yum/packages.py: - modify search output so that searches output something even in -d1 and -d0, just like 'yum list' does. closes rh bug 422571. - add checksum and stat information to YumLocalPackage objects 2007-12-14 Tim Lauridsen * yum/__init__.py: make the skipbroken messages info instead of debug, the user what to see what is being skipped 2007-12-14 Tim Lauridsen * yum/depsolve.py: print repo when showing packages with depsolving problems to make it easier to detect repo mixing issues 2007-12-13 Florian Festi * yummain.py: Support profiling for yum as a whole 2007-12-12 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Reimplement Updates.checkForObsolete() for better runtime behavior Fix previous excludes fix, no donut for you Fix __len__ for sqlitesack to not count excluded packages Faster __len__ method for MetaSack, should fix speed regression with updates 2007-12-12 Seth Vidal * yum.spec, yum/__init__.py, yum/misc.py: add in gpg key handling routines - beginning work for having per-repo gpgkey checks for packages 2007-12-12 Florian Festi * rpmUtils/updates.py: Reimplement Updates.checkForObsolete() for better runtime behavior 2007-12-12 James Antill * yum/sqlitesack.py: Fix previous excludes fix, no donut for you 2007-12-12 James Antill * yum/sqlitesack.py: Fix __len__ for sqlitesack to not count excluded packages 2007-12-12 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: added at 'install kernel' testcase to test a current problem with 'install kernel' installing old kernels cleanup skip broken code and fixes some issues 2007-12-12 James Antill * yum/packageSack.py, yum/sqlitesack.py: Faster __len__ method for MetaSack, should fix speed regression with updates 2007-12-12 Tim Lauridsen * test/operationstests.py, test/testbase.py: added at 'install kernel' testcase to test a current problem with 'install kernel' installing old kernels 2007-12-12 Tim Lauridsen * test/skipbroken-tests.py, yum/__init__.py: cleanup skip broken code and fixes some issues 2007-12-11 James Antill * yum/packages.py: Revert "Make parsePackages() faster for common case" This reverts commit 616141b3a263097a6a3efac8d331b471aa6f8e5b. 2007-12-11 James Antill * yum/packages.py: Make parsePackages() faster for common case 2007-12-11 James Antill * yum/packages.py: Make wildcard test more readable 2007-12-11 Seth Vidal * yum/__init__.py: add pattern= kwarg support to update(), too. 2007-12-11 James Antill * yum/sqlitesack.py: Remove bad comment, excludes are done in returnPackages 2007-12-11 James Antill * yum/packages.py: Add .lower ops for the rest of the pkgtup, Doh! 2007-12-11 James Antill * yum/packages.py: Make parsePackages() faster, add casematch argument to buildPkgRefDict(). 2007-12-11 James Antill * yum/sqlitesack.py: Stop rebuilding returnPackages when we don't need to 2007-12-11 James Antill * yum/packageSack.py, yum/sqlitesack.py: Use the inherited simplePkgListk, rm more code 2007-12-11 James Antill * yum/sqlitesack.py: Make simplePkgList a wrapper for returnPackages, less code more speed 2007-12-11 Tim Lauridsen * test/skipbroken-tests.py: Enabled yum logging output in skip-broken unit test, so we can see the yum depsolver output when a test is failing 2007-12-11 Florian Festi * test/skipbroken-tests.py: More skip-broken tests 2007-12-11 Tim Lauridsen * cli.py: Added --skip-broken command line option to yum-cli to enable the skip-broken code 2007-12-11 Tim Lauridsen * test/skipbroken-tests.py: Added skip-broken unit tests 2007-12-10 Florian Festi * yum/rpmsack.py: Add caching for RpmSack.searchPrco/searchFiles 2007-12-11 Tim Lauridsen * test/testbase.py, yum/__init__.py, yum/config.py, yum/depsolve.py: Added skip-broken code 2007-12-11 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Compat. fix for -1 seconds usage, document that behaviour. Change default metadata_expire to 1.5h, for better UI with yum-updatesd running Add SecondsOption() class, for user friendlier config. files 2007-12-11 Seth Vidal * yum/__init__.py: add pattern= support to kwargs for remove() method in YumBase 2007-12-10 James Antill * docs/yum.conf.5, yum/config.py: Compat. fix for -1 seconds usage, document that behaviour. 2007-12-10 James Antill * yum/config.py: Change default metadata_expire to 1.5h, for better UI with yum-updatesd running 2007-12-10 James Antill * docs/yum.conf.5, yum/config.py: Add SecondsOption() class, for user friendlier config. files 2007-12-10 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Added missing import 2007-12-10 Seth Vidal * yum/misc.py: leftover typo from reshuffling things 2007-12-08 Tim Lauridsen * yum/sqlitesack.py: Added missing import 2007-12-07 Seth Vidal * yum/misc.py: add misc.find_unfinished_transactions() - makes it easier to deal with multiple unfinished transactions. 2007-12-06 Seth Vidal * cli.py: fix for rh bug 252011 right before we run the transaction and confirm with the user, just for grins check to make sure the transaction is not empty. 2007-12-06 Seth Vidal * output.py: correct spelling of interrupt and clarify 2007-12-06 Seth Vidal * output.py: make sure we're strict about what we accept for the y/n prompt patch from Josh Bressers in rh bug 351591 2007-12-06 Seth Vidal * yum/misc.py: commit find_ts_remaining(): this function takes the path to the yum lib dir (defaults to /var/lib/yum) returns a list of tuples(action, pkgspec) for the unfinished transaction elements. Returns an empty list if none. If there is more than one unfinished transaction it operates only on the most recent one. In general there shouldn't be more than one but weird things happen. will be used to allow yum to auto-cleanup failed transactions. 2007-12-06 Florian Festi * test/testbase.py: Fix test cases by adding .disable_excludes to FakeConfig 2007-12-05 Florian Festi * yum/sqlitesack.py: Catch sqlite exceptions and convert them to RepoError as requested in rhbz #403371 2007-12-05 Jeremy Katz * yum/__init__.py: If the sack has no packages, we want to go back through and try to set it up If a caller ends up grabbing a package sack and then later adding repos, we need to ensure that the sack setup can still happen later. If there aren't any packages, then self._pkgSack is an empty iterator which evaluates to False 2007-12-04 James Bowes * yum/logginglevels.py: Move syslog definition to the top level to silence static code checkers. 2007-12-04 James Bowes * rpmUtils/__init__.py, yum/Errors.py, yum/update_md.py: Use the builtin Exception rather than importing exceptions.Exception 2007-12-05 Seth Vidal * cli.py: remove an = so the set functions 2007-12-04 Seth Vidal * cli.py: make sure the summary errors show the highest amount disk space required not the total b/c the totals don't normally make any sense. 2007-12-04 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: added unit tests for yum.transactioninfo.TransactionData basic operations 2007-12-04 Seth Vidal * yum/pgpmsg.py: fix for rh bug 410421 from Fabrice Bellet 2007-12-03 Tim Lauridsen * test/transactiontests.py: added unit tests for yum.transactioninfo.TransactionData basic operations 2007-12-03 Seth Vidal * ChangeLog: changelog merge 2007-12-03 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.8 2007-12-03 Tim Lauridsen * Makefile: make clean will clean the test dir too 2007-11-30 James Bowes Merge branch 'epydoc' 2007-11-30 James Bowes * yum/update_md.py: Docstring additions for yum.update_md 2007-11-30 Luke Macken * rpmUtils/arch.py: s/=/==/ with comparison in getCanonX86Arch 2007-11-30 Seth Vidal * rpmUtils/arch.py: apply Dennis Gilmore's patch for geode arch support 2007-11-29 James Bowes Merge branch 'nose' Conflicts: test/alltests.py test/depsolvetests.py test/operationstests.py 2007-11-29 James Bowes * test/depsolvetests.py: Add some erase depsolve tests 2007-11-25 James Bowes * test/packagetests.py, test/testbase.py: Remove duplication of settestpath contents 2007-11-29 Seth Vidal * yum/depsolve.py, yum/transactioninfo.py: make sure pkgs are added to the tsInfo for depsolving in the proper mode if they are an installonlypkg then treat them as such. Appears to fix rh bug 330711 2007-11-29 Seth Vidal * yum/yumRepo.py: expose copy_local sensibly to callers 2007-11-29 James Antill Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Fix copy/paste error Packages that are to be removed can't be local packages. Work around unreliable result of .update() Add some remove test cases Fix PackageSack.getProvides to also return files Add ObsoletesChain and ObsoletesCircle test cases Make the Update i386,x86_64 -> i386/x86_64 tests stop complaining set default values for the FakePackage constructor Move SimpleUpdateTests into an own module Move SimpleObsoletesTests into an own module Read test modules from file systeRead test modules from file systemm Do arch checks for versioned obsoletes, too 2007-11-29 James Antill * output.py: Give message on first C-c, so new user knows what is happening 2007-11-29 James Antill * output.py: Alter C-c urlgrabber mirror timeout to 2 seconds 2007-10-23 Florian Festi * yum/rpmsack.py: Fix copy/paste error 2007-11-08 Florian Festi * test/depsolvetests.py, yum/transactioninfo.py: Packages that are to be removed can't be local packages. This fixes remove test cases for now - better criteria still needed. 2007-11-12 Florian Festi * test/operationstests.py, yum/depsolve.py: Work around unreliable result of .update() Add test cases 2007-11-08 Florian Festi * test/simpleremovetests.py: Add some remove test cases 2007-11-08 Florian Festi * yum/packageSack.py: Fix PackageSack.getProvides to also return files 2007-11-06 Florian Festi * test/operationstests.py: Add ObsoletesChain and ObsoletesCircle test cases 2007-11-06 Florian Festi * test/simpleupdatetests.py: Make the Update i386,x86_64 -> i386/x86_64 tests stop complaining 2007-11-06 Florian Festi * test/testbase.py: set default values for the FakePackage constructor 2007-11-06 Florian Festi * test/operationstests.py, test/simpleupdatetests.py: Move SimpleUpdateTests into an own module 2007-11-05 Florian Festi * test/operationstests.py, test/simpleobsoletestests.py: Move SimpleObsoletesTests into an own module Complete the coverage to all noarch, i386, x86_64, i386+x86_64 combinations 2007-11-05 Florian Festi * test/alltests.py: Read test modules from file systeRead test modules from file systemm 2007-11-12 Florian Festi * rpmUtils/updates.py: Do arch checks for versioned obsoletes, too Reduce duplicated code in doObsoletes 2007-11-26 Jeremy Katz * yum/depsolve.py: Avoid missing deps We need to reset already_seen_removed as well as already_seen to avoid missing broken deps on a second run through resolveDeps(). (rh#397161) 2007-11-25 James Bowes * test/alltests.py, test/depsolvetests.py, test/operationstests.py, test/packagetests.py: Remove unit test suite creation (nose does it for us). 2007-11-25 James Bowes * Makefile: Use nosetests for running unit tests 2007-11-25 James Bowes * Makefile, test/testbase.py: Get new_behaviour test option from env variables. 2007-11-15 James Bowes * yum/config.py: Docstring additions for yum.config 2007-11-15 James Bowes * yum/__init__.py: Docstring additions for yum.__init__ 2007-11-15 James Bowes * yum/packages.py: Docstring additions for yum.packages 2007-11-15 James Bowes * yum/packageSack.py: Docstring additions for yum.packageSack 2007-11-15 James Bowes * yum/depsolve.py: Docstring additions for yum.depsolve 2007-11-15 James Bowes * yum/constants.py: Docstring additions for yum.constants 2007-11-15 James Bowes * yum/transactioninfo.py: Docstring additions for yum.transactioninfo 2007-11-15 James Bowes * yum/sqlutils.py: Docstring additions for yum.sqlutils 2007-11-15 James Bowes * yum/callbacks.py: Indentation fixes for yum.callbacks epydoc 2007-11-14 Seth Vidal * yum/rpmsack.py: make sure we're passing the right kind of objects to newestInList() closes rh bug #381551 2007-11-14 Seth Vidal * cli.py: make sure errors frpm the rpm_check_debug() exit with an error code thanks to matt miller for pointing it out. 2007-11-12 Jeremy Katz * yum/__init__.py: look at the actual object (rh#376121) 2007-11-12 James Bowes Merge branch 'epydoc' 2007-11-11 James Bowes * shell.py: Docstring additions for the shell module. 2007-11-11 James Bowes * output.py: Docstring updates for the output module. 2007-11-10 James Bowes * yum/misc.py, yumcommands.py: More doc changes 2007-11-10 James Bowes * yumcommands.py: Add some docstrings for the yumcommands module. 2007-11-10 James Bowes * cli.py: Add docstrings for the cli module. 2007-11-07 Tim Lauridsen * yum/depsolve.py: Fix for the depsolver going into endless loop, in rare situations big transaction with lot of local packages (rhbz #360291) 2007-11-06 Florian Festi * test/testbase.py: Set arch for the depsolving/operation test cases 2007-11-06 Florian Festi * rpmUtils/updates.py: Make rpmUtils.update use rpmUtils.arch.canonArch to avoid problems with test cases 2007-11-02 Florian Festi * test/operationstests.py: fix copy/paste errors 2007-11-02 Florian Festi * test/operationstests.py: Make update tests complete 2007-11-02 Florian Festi * test/operationstests.py: Change test cases to check for the new - now fixed - behavior of yum 2007-10-31 Florian Festi * test/depsolvetests.py, test/testbase.py: Further depsolving test cleanups: * remove TestingDepsolve class - do initialization in resolveCode * remove build_depsolver() - do initialization in resolveCode * set po.repoid po.repo.id in resolveCode * remove FakeInstPkg - directly use FakePackage() Set po.repoid and po.repo.id = "TestRepository" for available pkgs for operations tests 2007-10-25 Florian Festi * test/testbase.py: Fix double complaints in assertResult Also output the source code of the failed test case 2007-10-25 Florian Festi * test/depsolvetests.py, test/operationstests.py, test/testbase.py: Refactor depsolving test infrastructure and move it to test/testbase.py 2007-10-23 Florian Festi * test/operationstests.py: Fix test names that got broken by query/replace Make some test cases a bit more tolerant 2007-10-23 Florian Festi * test/depsolvetests.py: Print depsolve message if test fails 2007-10-17 Florian Festi * test/depsolvetests.py: Remove tsInfo checks in depsolve test cases as we have assertResult() now Enable testUpdateForConflictProvide 2007-10-17 Florian Festi * Makefile, test/alltests.py, test/depsolvetests.py, test/operationstests.py, test/packagetests.py, test/testbase.py: Add --new_behavior param to test suite Rename settestpath to testbase Support --new_behavior in all operationstests cases where current behavior is questionable 2007-10-17 Florian Festi * test/operationstests.py: Use more verbose pkg names 2007-10-17 Florian Festi * test/operationstests.py: Add test cases to see what happens when running "yum update" afterwards 2007-10-16 Florian Festi * test/depsolvetests.py: Add assertResult() to all test cases that don't fail 2007-10-16 Florian Festi * test/depsolvetests.py: fix Obsoletes test case 2007-10-16 Florian Festi * test/operationstests.py: Move tests from assertInstalled/assertNotInstalled to assertResult for better readability 2007-10-11 Florian Festi * cli.py, test/depsolvetests.py, test/operationstests.py, yum/__init__.py, yum/depsolve.py, yum/packageSack.py, yum/rpmsack.py: Move RpmSack.installed() to PackageSackBase.contains() Keep now unused RpmSack.installed() for backward compatibility 2007-10-10 Florian Festi * test/operationstests.py: More obsolete related test cases: * testObsoletenoarchToMultiarchForDependency * testObsoletei386ToMultiarchForDependency * testObsoletex86_64ToMultiarch * testObsoletex86_64ToMultiarchForDependency * testObsoleteMultiarchToMultiarchForDependency * testObsoleteMultiarchTonoarchForDependency 2007-10-05 Florian Festi * test/alltests.py, test/depsolvetests.py, test/operationstests.py: Add operations test suite (some sub tests are still commented out) * testUpdatei386ToMultilib * testUpdatei386ToMultilibForDependency * testUpdatex86_64ToMultilib * testUpdatex86_64ToMultilibForDependency * testUpdateMultilibToMultilib * testUpdateMultilibToMultilibForDependency * testUpdatei386Tonoarch * testUpdatei386TonoarchForDependency * testUpdateMultilibTonoarch * testUpdateMultilibTonoarchForDependency * testUpdatenoarchToMultilib * testUpdatenoarchToMultilibForDependency * testObsoletenoarchToMultiarch * testObsoletei386ToMultiarch * testObsoleteMultiarchToMultiarch * testObsoleteMultiarchTonoarch * _XXX_testObsoleteForConflict - disabled Make FakePackge a YumAvailablePackage Add needed attributes to FakeConf 2007-10-05 Florian Festi * test/depsolvetests.py, yum/__init__.py: Switch depsolving tests to YumBase instead of Depsolver Add the needed attributes to FakeConf Add new test cases * testUpdateForDependency * testUpdateSplitPackage * _XXX_testUpdateForConflict - disabled * testUpdateForConflict2 * _XXX_testUpdateForConflictProvide * testUpdateForConflictProvide2 - disabled Minor fix for empty pkgSack (False != None) 2007-10-01 Florian Festi * test/settestpath.py: Use a more defensive path order 2007-10-01 Florian Festi * test/depsolvetests.py: Add defaults to FakePackage.add* Use "EQ" instead of "=" FakePackage.addFile() 2007-10-05 Florian Festi * test/depsolvetests.py: Really implement FakeRpmSack.installed() 2007-10-04 Florian Festi * test/depsolvetests.py: Adjust test case to the now fixed PackageSack: There now is one "remove" transaction member as the "zip" package now is updated instead of just installed 2007-10-04 Florian Festi * yum/packageSack.py: Add support searching only for some parts of the pkgtup in PackageSack.searchNevra 2007-10-05 Florian Festi * yum/packageSack.py, yum/sqlitesack.py: Add newest parameter to all .returnObsoletes() methods - either by supporting it or by raising a NotImplementedError if set to True 2007-10-31 Seth Vidal * rpmUtils/updates.py, yum/__init__.py: Applied patches from Florian Festi: "The attached patches improve YumBase.update to handle multilib updates and obsoletes better. This improves several situations: Updating noarch to multilib (32 + 64 bit) and vice versa. Check obsoletes not only for the updating pkg but also for pkgs obsoleted by the updating pkgs. Also handle noarch <-> multilib transitions in obsoletes better." 2007-10-31 Seth Vidal * yum/depsolve.py: applied patch from florian festi: "The following patch tries to update already installed pkgs instead of just installing the "best" arch and think about updates later on. This makes updates for dependencies more like regular updates and avoids ending up with pkgs of different version and different arches installed at once - which will most likely result in multilib file conflicts." 2007-10-31 Seth Vidal * yum/transactioninfo.py: commit patch from Florian Festi: "The attached patch makes sure that an updated pkg is removed even if the updating pkg already got added to the transaction. This fixes updates from multilib (32 and 64 bit installed) to noarch. Currently the first update operation (e.g. 32bit -> noarch) works but the second (64bit -> noarch) is ignored. As result there are two pkg in different arches and versions which will most likely result in an multilib file conflict. The current patch makes sure that the updated pkg is only rejected if itself is already in the transaction (as a REMOVE)." 2007-10-30 Seth Vidal * yum/config.py: fix disable_excludes for non-cli callers of yum 2007-10-29 Seth Vidal * docs/yum.8: docs for --disableexcludes 2007-10-29 Seth Vidal * cli.py, output.py, yum/packages.py: apply patches from jantill: - make search terms bold in cli output - remove \n's from summary lines in packages 2007-10-29 Seth Vidal * cli.py, yum/__init__.py: apply --disableexcludes option patch from jantill 2007-10-28 James Bowes * yum/__init__.py: Fix some namespacing issues in __init__.py yum.misc and yum.Errors should be just misc and Errors (yum isn't imported). 2007-10-18 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Added missing imports Added a cleanup edition of a DownloadBaseCallback to make it simple to create custom download progress handlers. 2007-10-18 Seth Vidal * yum/rpmtrans.py: apply patch from Christoph Thiel for suse's rpm handling scriptFd setting 2007-10-18 Tim Lauridsen * yum/callbacks.py: Added missing imports 2007-10-17 Tim Lauridsen * yum/callbacks.py: Added a cleanup edition of a DownloadBaseCallback to make it simple to create custom download progress handlers. 2007-10-12 Seth Vidal * ChangeLog: 3.2.7 changelog merge 2007-10-12 Seth Vidal * yum.spec, yum/__init__.py: ver kick to 3.2.7 2007-10-12 Jeremy Katz * yum/depsolve.py, yum/transactioninfo.py: fix transaction listing to properly display only deps as deps as opposed to some things which are manually done and also deps (rh#283961) 2007-10-12 Jeremy Katz * yum/depsolve.py: fix requirements moving to new packages when a package is obsoleted 2007-10-11 Jeremy Katz * rpmUtils/updates.py: use the right variable 2007-10-09 Jeremy Katz * yum/misc.py: catch exception when uncompressing (#325771) 2007-10-10 Jeremy Katz * rpmUtils/updates.py: when an obsolete is available for a package, only install most matching arch rather than all available arches (rh#301661) 2007-10-10 Seth Vidal * yum/__init__.py, yum/misc.py: apply patch from Robin Norwood to expose more information from the gpg keys we read in - timestamp and fingerprint 2007-10-09 James Bowes * cli.py: Remove extra 'None' from output when showing help/usage. 2007-10-09 Jeremy Katz * yum/repos.py: make this a debug message -- it's confusing to most users as with the initialization ordering changes, we can get here a lot more ways now 2007-10-07 James Bowes * yummain.py: Add docstring for yummain.py 2007-10-07 James Bowes * callback.py: Add some docstrings to callback.py 2007-10-07 James Bowes * Makefile: Add a doccheck Makefile target for epydoc completeness. 2007-10-08 James Bowes * test/depsolvetests.py: Add unit tests for package updates. This includes a failing test for the following case: A, B on system A requires B A' updates A A' obsoletes B Expected results: A, B removed A' on system Actual results: A not marked for removal Originally seen on rawhide, running yum update moving from NetworkManager 0.6.5 to 0.7.0 2007-10-07 James Bowes * yum/depsolve.py: Remove unused import from depsolve.py 2007-10-08 Seth Vidal * yum/rpmtrans.py: fix up the filelog fix 2007-10-08 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: fix infinite loop with no repos enabled 2007-10-08 Seth Vidal * yum/rpmtrans.py: proper call to filelog to emit transaction logging errors 2007-10-07 Jeremy Katz * yum/__init__.py: fix infinite loop with no repos enabled 2007-10-05 Seth Vidal * ChangeLog: merge changelog for 3.2.6 2007-10-05 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.6 2007-10-04 Tim Lauridsen * yum/__init__.py, yum/depsolve.py, yum/rpmsack.py: patches by ffesti * use package objects in the cheaterlookup instead of pkgtups * move from whatProvides to getProvides in returnInstalledPackagesByDep 2007-10-03 Seth Vidal * yum/rpmtrans.py: make the quasi-warning messages just go to the log and not bitch on the console 2007-10-03 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: remove duplicate code; ensure that we reset what we've seen between depsolves don't delete non-existent attrs 2007-10-03 Seth Vidal * yum/misc.py: don't traceback on running kernel check 2007-10-02 Jeremy Katz * yum/depsolve.py: remove duplicate code; ensure that we reset what we've seen between depsolves 2007-10-02 Jeremy Katz * yum/sqlitesack.py: don't delete non-existent attrs 2007-10-02 Seth Vidal * yum/yumRepo.py: closes rhbug #312781 - if we encounter a mirrorlist which ends up having no valid urls in it - then make sure we unlink the cached mirrorlist so we don't break the user 2007-10-02 Seth Vidal * yum/__init__.py, yum/config.py, yum/misc.py: close bug: 296771 - handle case where running kernel is in a package we don't expect 2007-10-01 James Bowes * Makefile, docs/Makefile, docs/yum-updatesd.8, docs/yum-updatesd.conf.5, etc/Makefile, etc/yum-updatesd.init, yum-updatesd.py, yum.spec: Revert "Remove yum-updatesd, as it's a distinct project now." yum-updatesd is still needed for F7. This reverts commit bab47e934196b94a8afdca6d306806e46e73f4e3. 2007-09-30 James Bowes * yum/packageSack.py: Don't override built-in 'file' in the packagesack searchFiles method. 2007-09-30 James Bowes * docs/.gitignore: Add gitignore for epydoc 2007-09-30 James Bowes * yum/misc.py, yum/parser.py, yum/repos.py, yum/rpmtrans.py, yum/update_md.py: Fix some epydoc syntax errors in yum 2007-09-30 James Bowes * .gitignore: Ignore vim swap files 2007-09-30 James Bowes * rpmUtils/miscutils.py, rpmUtils/updates.py: Fix some epydoc syntax errors in rpmUtils 2007-09-30 James Bowes * cli.py, yum/__init__.py: Fix some epydoc syntax errors in cli.py and yum/__init__.py 2007-09-30 James Bowes * Makefile, docs/Makefile, docs/yum-updatesd.8, docs/yum-updatesd.conf.5, etc/Makefile, etc/yum-updatesd.init, yum-updatesd.py, yum.spec: Remove yum-updatesd, as it's a distinct project now. 2007-09-28 Tim Lauridsen Merge branch 'check' of http://people.redhat.com/jantill/gits/yum 2007-09-24 Seth Vidal * yum/depsolve.py: merge patch for proper return order of results from _resolveRequires patch from Florian Festi 2007-09-18 Jeremy Katz * yum/yumRepo.py: make metadata_expire=-1 to imply "never expire" 2007-09-18 Jeremy Katz * yum/__init__.py, yum/yumRepo.py: for frontends which aren't media-aware (ie, don't provide a mediafunc for grabbing packages from media), disable any media-only repositories 2007-09-18 Seth Vidal * docs/yum.conf.5, yum/__init__.py: add debug output to costExclude add cost man page entry 2007-09-18 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: sigmd5 isn't guaranteed to be there either. this should be fine, though and capture scriptlet output via a pipe and pass it via a callback method on a 2007-09-18 Seth Vidal * output.py, yum/__init__.py, yum/config.py, yum/packages.py, yum/transactioninfo.py, yum/yumRepo.py: - yum search output a little nicer for users - suggestions from tech-list and james antill - implement cost feature per repo - fix up cases where callers don't properly call addUpdated() for pkgs being updated by a txmbr - problem comes out in skip-broken thanks to bill nottingham for the replicated bug 2007-09-18 Jeremy Katz * yum/packages.py: sigmd5 isn't guaranteed to be there either. this should be fine, though and should be unique enough (#291471) 2007-09-13 Jeremy Katz * output.py, yum/rpmtrans.py: capture scriptlet output via a pipe and pass it via a callback method on a per-package basis 2007-09-17 Jeremy Katz * yum/sqlitesack.py: don't delete objects multiple times 2007-09-13 Jeremy Katz * cli.py: more making things obvious to people when they request things which are already installed or which aren't available (rh#261001) 2007-09-13 Jeremy Katz * output.py: add support for fetching strings out of specspo (rh#251891) 2007-09-12 Tim Lauridsen * yum/__init__.py, yum/callbacks.py: Make the processTransaction and extra optional parameteres, to make it posible to work with the list of packages to download in the callback. 2007-09-12 Seth Vidal * yum/yumRepo.py: not really a fix but having the message from the exception in parens is just a leftover 2007-09-12 Jeremy Katz * yum/__init__.py: event() only takes one argument 2007-09-12 Jeremy Katz * yum/rpmtrans.py: allow passing in an already created display object 2007-09-10 Seth Vidal * ChangeLog: merge Changelog 2007-09-10 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.5 2007-09-07 James Antill * test/depsolvetests.py: Add installed repo id, FakeInstPackage() Added methods for FakePackage prco: provides, requires, conflicts, obsoletes 2007-09-07 Seth Vidal * rpmUtils/miscutils.py: check for signalsCaught method to rpm, too. If not then things go boom on various versions of rpm. 2007-09-07 Jeremy Katz * yum/__init__.py: properly delete repos 2007-09-06 James Antill * test/depsolvetests.py: Multiple sacks 2007-09-06 James Antill * test/depsolvetests.py: Add check for empty 2007-09-06 James Antill * test/depsolvetests.py, yum/packages.py: Add lots of tests, and fix matchingPrcos to pass GE 2007-09-06 James Antill * Makefile: Make check an alias for test 2007-09-06 Seth Vidal * cli.py: if we're trying to localinstall a different arch and either the pkg we're installing or the one we have installed is a multilib pkg then it's okay to pass this package to be installed. Closed rh bug# 280491 2007-09-06 Seth Vidal * yum/rpmtrans.py: work around for obscure problem occuring with some obsoletes occasionally rpm sends along an extra callback event that wasn't in the transaction set to begin with. This ensures that if we receive those we don't explode. Thanks to Fajar A. Nugraha for providing with the replicating case and a system to test it on. 2007-09-05 Seth Vidal * shell.py: - fix a problem when enabling new repos, too that the sack would never get setup for that repo 2007-09-05 Seth Vidal * shell.py, yum/sqlitesack.py, yum/yumRepo.py: - clean up how we do repo disabling in yum shell - more completely destroy repository objects when we're done with them 2007-09-05 Seth Vidal * cli.py: change the output to log in info2 instead of debug3 - see if that helps people understanding why yum outputs 'Nothing to do' 2007-09-05 Seth Vidal * yum/__init__.py: merge typo patch from Mark McLoughlin 2007-09-04 Seth Vidal * cli.py, yumcommands.py: add needTs() method to yumcommands.YumCommand defaults to returning True return False for conditions where it is not necessary to setup the Ts to run the command closes rh bug #276151 2007-09-04 Seth Vidal * cli.py, output.py: fix up the rest of the places the typo impacts and maintain api 2007-09-04 Seth Vidal * output.py: random typo that's not been touched since 2005 - found by Bill Nottingham 2007-09-02 Seth Vidal * yum/packageSack.py: fix PackageSackBase.matchPackageNames iterating over the specs dict requires use of .items() I'm not sure how that code worked, ever, actually. I think it's just extremely rarely used. closes rh bug: 274281 2007-08-31 Tim Lauridsen * yum/callbacks.py: Make ProcessTransBaseCallback work with states without messages. 2007-08-31 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: * Added extra processTransaction callback event PT_DOWNLOAD_PKGS called with packages to download. 2007-08-31 Seth Vidal * yum/yumRepo.py: apply patch to fix output msg when the repomd.xml can't be found closes rh bug: 258081 2007-08-30 Tim Lauridsen * yum/__init__.py, yum/callbacks.py: * Added extra processTransaction callback event PT_DOWNLOAD_PKGS called with packages to download. * Make the processTransaction Download & GPG check a little smarter, no need to call the download & GPG check code, if there is nothing to download. 2007-08-29 Jeremy Katz * yum/depsolve.py: make sure that we ensure that the oldreq was satisfied; otherwise we could have had broken deps before leading to things breaking 2007-08-29 Seth Vidal * yum/packageSack.py, yum/rpmsack.py, yum/sqlitesack.py, yum/transactioninfo.py: merge patch from Florian. Fixes the changes made about 2 weeks ago to transactioninfo and packageSack 2007-08-28 Seth Vidal * ChangeLog: merge Changelog 2007-08-28 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.4 2007-08-28 Seth Vidal * yum/__init__.py, yum/config.py, yum/plugins.py, yum/yumRepo.py: merge patch to use iniparser and allow better interaction to .repo files from Debarishi Ray 2007-08-24 Jeremy Katz * yum/depsolve.py: if we have two versions of a package and a compat package available in our repo, we can set the old version to be installed first, then the new one replaces the old one. but we never go back and check for what required the provides of the old one and get something else (like the compat package) 2007-08-24 Jeremy Katz * yum/depsolve.py: fix depchecking on members removed from the ts 2007-08-24 Seth Vidal * yum/plugins.py: This patch should fix the case of people calling doPluginSetup() etc. with a non-list argument - From James Antill 2007-08-24 Seth Vidal * yum/__init__.py, yum/comps.py: if group file is empty or damaged in a repository, treat it like a missing groups file and skip it. Push out an error about it, though. 2007-08-24 Seth Vidal * yum/comps.py: make groupinfo work when the description is empty 2007-08-24 Tim Lauridsen * yum/__init__.py: Moved _run_rpm_check_debug into YumBase, so that processTransaction can do the rpm check 2007-08-23 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Reworked the processTransaction callback a little. 2007-08-23 Seth Vidal * output.py: bug in cli output transacation callback. closes rh bug #253955 2007-08-23 Tim Lauridsen * yum/__init__.py, yum/callbacks.py: Reworked the processTransaction callback a little. * Added yum/callbacks.py with callback classes to use with processTransaction * Dont parse strings to callback, use some flags insted * Dont call the callbacks at both start/end of each step, only at start 2007-08-22 Seth Vidal * ChangeLog: merge Changelog for 3.2.3 - new git2cl-format -please forgive the massive changeset 2007-08-22 Seth Vidal * yum/packages.py: make sure yum local packages have an 'id' attribute 2007-08-22 Seth Vidal * etc/yum.conf: get rid of ridiculous old repos in yum.conf 2007-08-22 Seth Vidal * yum.spec: get rid of no-longer-sensible python-elemmenttee dep 2007-08-22 Seth Vidal * yum.spec, yum/__init__.py: mark as 3.2.3 for tests add persistent dir to spec file 2007-08-22 Seth Vidal * Makefile: add persistent yum dir to make install 2007-08-21 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: ensure we have indexes before using self.nevra. otherwise, we can Remove duplicate code in Errors.py fix spelling error (rh#253448) Remove duplicate init methods in new added Exception classes Added some extra yum exeption and made the processTransaction helper functions cast distinct Exception, to make it easier for the API users to distinguish between the exceptions. Fix typo in update_md 2007-08-21 Seth Vidal * yum/depsolve.py, yum/packageSack.py, yum/transactioninfo.py: - merge florian's patches - fixes for the matchNaevr() tracebacks 2007-08-21 Jeremy Katz * yum/packageSack.py: ensure we have indexes before using self.nevra. otherwise, we can get tracebacks from people trying to install gcc on x86_64 when there's an updated glibc available (and other cases too, but that's the easy trigger for this) 2007-08-21 Tim Lauridsen * yum/Errors.py: Remove duplicate code in Errors.py 2007-08-20 Jeremy Katz * yum/depsolve.py: fix spelling error (rh#253448) 2007-08-20 Tim Lauridsen * yum/Errors.py: Remove duplicate init methods in new added Exception classes 2007-08-20 Tim Lauridsen * yum/Errors.py, yum/__init__.py: Added some extra yum exeption and made the processTransaction helper functions cast distinct Exception, to make it easier for the API users to distinguish between the exceptions. 2007-08-16 James Bowes * yum/update_md.py: Fix typo in update_md 2007-08-18 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Added progressTransaction to make it easier to process the yum transaction for a api program 2007-08-18 Tim Lauridsen * yum/__init__.py: Added progressTransaction to make it easier to process the yum transaction for a api program 2007-08-17 Seth Vidal * Makefile: get rid of .git dir 2007-08-17 Seth Vidal * yum/config.py: I don't know why I didn't think of this before. If we cannot find anything for our releasever variable - just return the variable unmodified - don't return this 'Null' silliness. 2007-08-16 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: Make the BaseConfig write method work better and make it support 2007-08-16 Seth Vidal * cli.py, docs/yum.conf.5, yum/__init__.py, yum/config.py, yum/rpmtrans.py: implement transaction journalling: transaction-done.datestamp and transaction-all.datestamp files will be made in /var/lib/yum (persistdir in the conf file). These files describe the entire transaction and which portions of it have finished. adds persistdir to configuration - for persistent information b/t runs - unlike cachedir fixes a couple of lingering bugs in the new rpm callback. 2007-08-15 Tim Lauridsen * yum/config.py: Make the BaseConfig write method work better and make it support other ConfigParser replacements like iniparse.compat.ConfigParser. 2007-08-14 Seth Vidal * yum/rpmtrans.py: kill i18n import from rpmtrans and the single user of it this will need to be partially put back when we finally fix translations 2007-08-14 Tim Lauridsen Merge branch 'fix-rpmtrans' * fix-rpmtrans: Added RPMBaseCallback class to reduce duplicate code and make it easier to make a callback class for a yum api user 2007-08-14 Tim Lauridsen * yum/rpmsack.py: Added patch by ffesti: Have only one instance of a RpmSack package at once 2007-08-14 Tim Lauridsen * output.py, yum/rpmtrans.py: Added RPMBaseCallback class to reduce duplicate code and make it easier to make a callback class for a yum api user 2007-08-13 Seth Vidal * yum/rpmtrans.py: clean up some garbage in rpmtrans.py 2007-08-13 Seth Vidal * cli.py, output.py: hook up yum-cli to the new transaction callback add YumCliCallback to output.py 2007-08-13 Seth Vidal * yum/sqlitesack.py: remove double trailing slashes as they are just crap. closes rh bug #246485 2007-08-11 Seth Vidal * cli.py: nuke the depsolve callback when we're running the rpm_check_debug() otherwise we get all the --> output twice. closes rh bug: 251576 2007-08-10 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum: add support for --quiet and --verbose on the command-line 2007-08-10 Seth Vidal * output.py, yum/rpmtrans.py: rpm transaction callback - initial cut at the simpleclicallback in output - not finished - check in rpmtrans.py - where the yum rpmtranscaction call back will be - more to come 2007-08-09 Jeremy Katz * cli.py, docs/yum.8: add support for --quiet and --verbose on the command-line 2007-08-07 Jeremy Katz * yummain.py: Wait for the lock to be released rather than exiting immediately. Give the user feedback about what's going on, but wait for the lock to be released in case the user ran the command and walked away while, eg, yum-updatesd is updating metadata. Based on a suggestion from Hans de Goede 2007-08-07 Jeremy Katz * yum/__init__.py: deciding to abort when the lock is held depends on the caller 2007-08-07 Seth Vidal * docs/yum-shell.8, docs/yum-updatesd.8, docs/yum.8: datestamps in man pages get rid of dates in manpages as we always forget to update them and they're fairly meaningless anyway. 2007-08-02 James Bowes * yum/storagefactory.py, yum/yumRepo.py: Remove storagefactory and reference sqlitecachec directly 2007-08-02 James Bowes * yum/sqlitecache.py, yum/storagefactory.py: Remove the internal metadata parser 2007-08-03 Seth Vidal * docs/yum.8: delete 'cache' from the list of things yum clean can take closes rhbug: 250553 2007-08-03 Seth Vidal * yum/__init__.py, yum/yumRepo.py: - setup a way to reset all the package sacks - add _resetSack() method to YumRepository objects - all other external repo objects need to add them as well, or we'll emit a warning but carry on like we did before 2007-08-03 Seth Vidal * yum/__init__.py, yum/repos.py: sigh - take the change out of repos and put it in __init__.py - otherwise for calls _through_ the repos object like: self.repos.listEnabled() we won't ever setup the config until too late 2007-08-02 Seth Vidal * yum/repos.py: make sure _something_ in the RepoStorage object calls _getConfig() before we try to setup the repos otherwise all sorts of silly things happen 2007-08-02 James Bowes * test/depsolvetests.py: Also set _tsInfo on the TestingDepsolve 2007-08-02 James Bowes * test/depsolvetests.py: Create an init method for TestingDepsolve, and move appropriate logic there. 2007-08-01 James Bowes * yum/Errors.py, yum/__init__.py, yum/rpmsack.py, yum/sqlitesack.py, yum/transactioninfo.py: Remove some unused imports 2007-08-01 James Bowes * test/depsolvetests.py: Replace FakeRpmDb with a PackageSack in the depsolve tests. 2007-08-01 James Bowes * yum/sqlitesack.py: Revert "move creation of sqlite idices to sqlitesack to create them even if the metadataparser is used" Generating the indices in sqlitesack changes the checksum, and so cause the sqlite files to always get downloaded. Index generation should live in yum-metadata-parser instead. This reverts commit 42283902f929ac131cda7b3497ae047b497e02bc. 2007-08-01 Seth Vidal Merge branch 'ffesti' of git://www.jur-linux.org/git-data/yum-ffesti * 'ffesti' of git://www.jur-linux.org/git-data/yum-ffesti: (21 commits) remove merge artifact move creation of sqlite idices to sqlitesack to create them even if the metadataparser is used only search in sqlite db if there are any sqlitedb pkgs in the transaction fix copy/paste error: match new conflicts against whole transaction Add some test cases for rangeCompare Don't treat installed obsoletes as conflicts load PRCO only once from the sqlitedb - even if it is empty Make PackageSack.matchPackageNames() match all other implementations of this method, needed to use PackageSack as a part of a MetaSack keep PackageSack indexes up2date remove code obsoleted by new search API trigger file requires check when install members got removed from transaction Check removed transaction members to avoid missing dependencies Use new search API in checkRemove New conflict check implementation using new search API, fixes rh#245707 use new search API in checkInstall ajust to new tsInfo interface add .get(Old|New)?Provides(), .get(Old|New)?Requires() to TransactionData (ak tsInfo) add .getProvides(), .getRequires() to PackageSack, MetaSack add .getProvides(), .getRequires() to SqliteSack move PRCO compare code out of package ... 2007-08-01 Seth Vidal Merge branch 'yum-list-cmd-exit' of http://people.redhat.com/jantill/gits/yum * 'yum-list-cmd-exit' of http://people.redhat.com/jantill/gits/yum: exit with non-zero when given a pattern that doesn't match 2007-08-01 Seth Vidal * docs/yum.conf.5: remove quotes from list of installonlypkgs. The quotes confuse some users who cut and paste the content into their yum.conf file to edit. Thanks to John Lockhart for bringing this to light. 2007-07-31 Seth Vidal * .gitignore: ~ and .bak files to be ignored 2007-07-31 Seth Vidal Merge branch 'list-none' of http://people.redhat.com/jantill/gits/yum 2007-07-31 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum 2007-07-31 Seth Vidal * .gitignore: add git ignore? 2007-07-31 Seth Vidal Merge branch 'pkg-self-obsolete' of http://people.redhat.com/jantill/gits/yum 2007-07-30 James Antill * yum/packageSack.py: fix for list(None) call 2007-07-30 James Antill * rpmUtils/updates.py: fix for self obsoleting packages 2007-07-30 James Antill * output.py, yumcommands.py: exit with non-zero when given a pattern that doesn't match 2007-07-30 James Bowes * .gitignore: Add .gitignore file for pyc and pyo files 2007-07-30 James Bowes * cli.py: Obsoletion is not a word. Just use Update 2007-07-29 Seth Vidal * yum/yumRepo.py: make sure we set repo.baseurl to be the complete list of all urls - both mirrorlist and baseurl - otherwise we break various other functions when we're in mirrorlist-only situations closes rh bug 249989 2007-07-27 Seth Vidal * yum/packages.py, yum/plugins.py, yum/sqlitesack.py: packages.py: add exclude method to all YumAvailablePackage objects plugins.py: make sure plugins automatically get the faster way to exclude/del packages sqlitesack.py: new sqlite doesn't deal well with single item tuples with commas ('foo',) - fix that issue with archlist 2007-07-25 Florian Festi * yum/depsolve.py: remove merge artifact 2007-07-24 Florian Festi * yum/sqlitesack.py: move creation of sqlite idices to sqlitesack to create them even if the metadataparser is used 2007-07-24 Florian Festi * yum/transactioninfo.py: only search in sqlite db if there are any sqlitedb pkgs in the transaction 2007-07-20 Florian Festi * yum/depsolve.py: fix copy/paste error: match new conflicts against whole transaction 2007-07-18 Florian Festi * test/packagetests.py: Add some test cases for rangeCompare 2007-07-17 Florian Festi * yum/depsolve.py: Don't treat installed obsoletes as conflicts 2007-07-13 Florian Festi * yum/sqlitesack.py: load PRCO only once from the sqlitedb - even if it is empty 2007-07-13 Florian Festi * yum/packageSack.py: Make PackageSack.matchPackageNames() match all other implementations of this method, needed to use PackageSack as a part of a MetaSack 2007-07-13 Florian Festi * yum/packageSack.py: keep PackageSack indexes up2date 2007-07-13 Florian Festi * yum/depsolve.py: remove code obsoleted by new search API 2007-07-25 Florian Festi * yum/depsolve.py: trigger file requires check when install members got removed from transaction 2007-07-13 Florian Festi * yum/depsolve.py, yum/transactioninfo.py: Check removed transaction members to avoid missing dependencies 2007-07-13 Florian Festi * yum/depsolve.py: Use new search API in checkRemove New .checkFileRequires() inow checks all file requires insted of removed files 2007-07-13 Florian Festi * yum/depsolve.py: New conflict check implementation using new search API, fixes rh#245707 2007-07-13 Florian Festi * yum/depsolve.py: use new search API in checkInstall 2007-07-13 Florian Festi * yum/depsolve.py: ajust to new tsInfo interface move flags maping to module name space 2007-07-13 Florian Festi * yum/transactioninfo.py: add .get(Old|New)?Provides(), .get(Old|New)?Requires() to TransactionData (ak tsInfo) 2007-07-13 Florian Festi * yum/packageSack.py: add .getProvides(), .getRequires() to PackageSack, MetaSack 2007-07-13 Florian Festi * yum/sqlitesack.py: add .getProvides(), .getRequires() to SqliteSack 2007-07-13 Florian Festi * rpmUtils/miscutils.py, yum/packages.py: move PRCO compare code out of package 2007-07-13 Florian Festi * yum/rpmsack.py: Add .getRequire() .getProvides() to RpmSack 2007-07-25 Seth Vidal Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum 2007-07-25 Seth Vidal * yum/depsolve.py: make sure the first pkg in the 'newest' list isn't of an archscore of 0 from the requiring pkgs' arch. This will not play nicely with ppc/ppc64 in a couple of obscure situations where a ppc package may actually want a ppc64 package to satisfy its dep. As mind-boggling as that is. 2007-07-25 James Bowes * test/depsolvetests.py: Really add the depsolvetests file. Apparently cvs add was too hard for me. 2007-07-25 Seth Vidal * yum/yumRepo.py: update error message. closes bug: 248726 2007-07-25 Jeremy Katz * yum/depsolve.py: fix traceback (rh#249531) 2007-07-24 Seth Vidal * output.py, rpmUtils/miscutils.py: apply panu's patch to catch rpm signals: should potentially close 241278 2007-07-24 Jeremy Katz * output.py: fix thinko in the fix to rh#245736 (ffesti) 2007-07-20 Seth Vidal * ChangeLog: merge changelog 2007-07-20 Seth Vidal * yum/logginglevels.py: set logging.raiseExceptions to false so that piping to less from normal calls won't result in spewed tracebacks that we can't catch. 2007-07-20 Seth Vidal * yum.spec, yum/__init__.py, yum/config.py: make rpm_debug_check the default mark as 3.2.2 in init and spec for release tests 2007-07-19 Seth Vidal * docs/yum.conf.5: fix typo 2007-07-17 Jeremy Katz * rpmUtils/arch.py: fix tyop 2007-07-16 Seth Vidal * yum/__init__.py: if you are downloadHeader()ing make sure we make the headers dir - only useful for other callers of the yum modules - and they all should be stopped eventually. 2007-07-06 Jeremy Katz * yum/packages.py: better fix for bad pkgid (rh#242604) 2007-07-05 Seth Vidal * cli.py, yum/config.py: as a result of the depsolving bugs we've been seeing I added in a temporary ts.check() debug option. If you're running yum from the cli and you set rpm_check_debug=True in your yum.conf then it will run an rpm ts.check() before it runs the transaction test. If it finds any problems it will bail out. This might help us find bogus depsolving. 2007-07-04 Seth Vidal * yum/__init__.py, yum/config.py: - move around where we get the config file age out of __init__ and into config - add the path to the config file into the config data for walking back from it for writing out our configs 2007-07-04 Seth Vidal * yum/__init__.py: note to self, always revert changes before committing unrelated patches Thanks again to terje. 2007-07-03 Seth Vidal * yum/__init__.py: revert updates item I broke. :( Thanks to terje for noticing it! 2007-07-03 Seth Vidal * yum/__init__.py, yum/yumRepo.py: check if the .repo file or config files are newer than our mirrorlist or cachecookie files. If so, then invalidate these files. idea from florian laroche. 2007-07-02 Seth Vidal * docs/yum.conf.5, yum/__init__.py, yum/config.py, yum/yumRepo.py: download and save mirrorlists locally when using them expire mirrorlist data based on mirrorlist_expire config variable in [main] and each repo config deprecate metadataCurrent() and getMirrorList from yumRepo.py 2007-07-02 Seth Vidal * yum/depsolve.py: fix for rh bug 246078 - when multiple packages provide the dep, choose the one with the closest arch to the requesting arch as possible. Helps ENDLESS multilib situations. 2007-06-29 Tim Lauridisen * yum/__init__.py: make 'yum clean all' work again, it fails trying to get the files in the headers directory there is not used anymore. 2007-06-28 Jeremy Katz * output.py: more hackery around python encoding disasters. the strings we get back from the rpmdb are just string objects (as opposed to unicode) but may have utf8 content. so if we try to encode them, we get errors. so only encode the unicode objects (rh#245445) 2007-06-27 Jeremy Katz * yum/Errors.py, yum/yumRepo.py: When downloading, it can be useful to distinguish between an error due to no more mirrors being available and other errors. Attached patch adds a new error type so that if you care, you can catch it instead and then uses it in yumRepo._getFile(). 2007-06-26 Jeremy Katz * output.py: if we get a traceback reading the input, just take it as a no (rh#245736) 2007-06-26 Seth Vidal * yum/depsolve.py: check installed pkgs for conflicts against installing pkgs closes bug: 245707 2007-06-26 Seth Vidal * yum/packages.py: make sure that parsePackges(casematch=0) returns correctly for non-globbed search strings 2007-06-25 Seth Vidal * docs/yum.conf.5, yum/__init__.py, yum/config.py, yum/misc.py: merge functionality of 'installonlyn' plugin into yum core. options installonly_limit in yum.conf. Setting to 0 disables it. Defaults to 0. 2007-06-21 Seth Vidal * ChangeLog: merge changelog 2007-06-21 Seth Vidal * shell.py: make sure we don't pass shlex.split() None or it will spin, forever. 2007-06-21 Seth Vidal * yum/__init__.py, yum/yumRepo.py: closes bug: 241557 about repo.ready() make yum grouplist work again, too 2007-06-21 Seth Vidal * ChangeLog: merge in changelog 2007-06-21 Seth Vidal * yum.spec, yum/__init__.py: update spec/ver for 3.2.1 2007-06-20 Jeremy Katz * yum-updatesd.py: fix failure cases (from ffesti) 2007-06-19 Jeremy Katz * yum/depsolve.py: fix another case where we would do an update and break deps 2007-06-18 Jeremy Katz * yum/depsolve.py: fix a case where we could traceback on not finding anything to update to get us out of a conflicts situation (rh#244488) 2007-06-18 Jeremy Katz * docs/yum-updatesd.conf.5: fix to be correct 2007-06-15 Jeremy Katz * docs/yum-updatesd.conf.5: updated (rh#244401) 2007-06-13 Jeremy Katz * output.py: encode output to work around python silliness (rh#244080) 2007-06-13 Jeremy Katz * yum/depsolve.py: only set a package as being "seen" if we've successfully managed to resolve its deps. otherwise, the missing deps just get lost. fixes at least rh#244077, and there are a number of other potential candidates as dupes... 2007-06-10 James Bowes * yum/__init__.py: Save 15% on "list all" commands. Have "list all" only loop through the rpmdb once. Patch by James Antill. 2007-06-07 James Bowes * test/alltests.py, yum/__init__.py, yum/depsolve.py: Add unit tests for the depsolver 2007-06-06 Jeremy Katz * yum/transactioninfo.py: minor optimization from Florian Festi 2007-06-05 Seth Vidal * yum/__init__.py: - modify searchGenerator() to rank and sort the results so the best results for ALL of the terms are returned first - mark searchPackages() as deprecated since it is kind of a crappy method anyway. 2007-06-05 Jeremy Katz * yum/depsolve.py: * make depcheck object a bit more private; we don't really want to expose this * reset dcobj.already_seen on each call to resolveDeps(). otherwise, there could have been changes that we don't know about 2007-06-05 Tim Lauridisen * cli.py, yum/__init__.py, yum/plugins.py: added a '--disableplugin=pluginname' option to temporary disable one or more plugins 2007-06-04 Jeremy Katz * yum/depsolve.py: * fix case where we ignore a missing dep on a provide as opposed to a package name. * only do the transformation to prco format once for the dep 2007-06-04 Jeremy Katz * rpmUtils/arch.py: add support for arm arches (Lennert Buytenhek ) 2007-06-04 Tim Lauridisen * yum/repos.py: Added logger to RepoStorage, it is needed because the repo setup code is moved here now. 2007-06-04 Tim Lauridisen * yum/config.py: Fix a Traceback in the config write method, that make yumex fail to save its perferences. The issue was introduced in config.py 1.120. 2007-06-04 Seth Vidal * yum/yumRepo.py: don't create the headers dir anymore. Leave the variable stub in place so things like 'yum clean headers' will clean out old leftover headers for people. closes rh bug: 242396 2007-06-03 James Bowes * yum/packages.py: Apply patch from Terje Røsten to fix indentation issues. 2007-06-03 James Bowes * yum/packages.py: Fix installing more than one package from a DVD repo. Patch from rhbz #241604 2007-05-30 Seth Vidal * yum/sqlitesack.py: add patch from Charlie Brej to improve performance with empty repositories. 2007-05-29 Jeremy Katz * yum/__init__.py, yum/repos.py: Basic idea is that we move the repo setup into the RepoStorage object instead of the YumBase object. And we end up kicking off the real repo setup when either a) someone explicitly calls YumBase.doRepoSetup() b) we go to populate package sacks based on the repos. This fixes things so that the presto callbacks continue to work without requiring API changes in presto (rh#236512) 2007-05-29 Jeremy Katz * yum/depsolve.py, yum/packages.py, yum/sqlitesack.py: Much of the file information that we ever need is stored in the primary info in addition to filelists; add a simple way to get at that information and use that instead of the full filelists to see if something has gone away; this avoids having to download the (large) filelists file. If we end up having a requirement on something outside of this step, we then later get the filelists 2007-05-29 Seth Vidal * yum/logginglevels.py: merge trivial log formatting patch from terje. 2007-05-24 James Bowes * cli.py: Remove unneeded arguments for adding arguments to the option parser 2007-05-16 Seth Vidal * ChangeLog: check in changelog 2007-05-16 Seth Vidal * mark as 3.2.0