Compare commits

...
Sign in to create a new pull request.

189 commits

Author SHA1 Message Date
Michal Domonkos
0d8aaac852 Superseded by DNF. For details, see: https://fedoraproject.org/wiki/Changes/Retire_YUM_3 2019-02-26 11:49:24 +01:00
Kevin Fenzi
688cfb5e58 Fix FTBFS by explicitly using python2. Fixes bug #1606775 2019-02-11 12:02:19 -08:00
Fedora Release Engineering
84805d96ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 13:04:26 +00:00
358c713d03 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:56 +01:00
57ec115c45
%{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:11:57 +02:00
Fedora Release Engineering
8d87562061 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:45:27 +00:00
Jason Tibbitts
9dca136504 Remove needless use of %defattr 2018-07-09 23:44:16 -05:00
Valentina Mukhamedzhanova
9c976dddcb Remove dnf-yum dependency for making DNF-3 release possible. 2018-05-16 15:34:36 +02:00
Iryna Shcherbina
76721139ae Update Python 2 dependency declarations to new packaging standards 2018-02-14 17:27:09 +01:00
3d2aa23374
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:58:27 +01:00
5cac482517 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:52:20 +01:00
d79a337290
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:06:34 +01:00
Valentina Mukhamedzhanova
d8e276dbe8 Really skip all gpg-agent files. 2017-08-17 16:17:33 +02:00
Valentina Mukhamedzhanova
fa99a8f614 Port to python2-gpg. 2017-08-17 14:29:15 +02:00
Fedora Release Engineering
cc5c2f2f8e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:37:39 +00:00
Fedora Release Engineering
c3cb7b2414 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:19:10 +00:00
Valentina Mukhamedzhanova
a646ca6ee9 Stop requiring python-sqlite. 2016-09-13 16:14:24 +02:00
Fedora Release Engineering
a83a29cd2e - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 13:14:09 +00:00
Fedora Release Engineering
c1ee0dcf4e - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 04:00:38 +00:00
James Antill
b392959973 Add weak deps. support.
- Add cashe support for fs diff.
2015-08-09 21:43:57 -04:00
Dennis Gilmore
8d49772d95 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:39:56 +00:00
Valentina Mukhamedzhanova
b474234c13 Drop dnf-plugins-extras-migrate requirement. 2015-04-08 17:01:55 +02:00
Valentina Mukhamedzhanova
04e63d086f Deprecate yum man page too. 2015-03-31 11:18:10 +02:00
Valentina Mukhamedzhanova
074468923b update to latest HEAD
- Make sure epoch is a string while checking for running kernel. BZ#1200159
- Fix rounding issue in required disk space message.
- Rename yum executable to yum-deprecated.
2015-03-31 09:33:08 +02:00
James Antill
1e5dc5d334 Hacky fix for recursion problem with cashe. BZ#1199315 2015-03-12 15:09:06 -04:00
James Antill
d4341a12a8 update to latest HEAD
- Have "yum check" ignore self conflicts.
- Add simple testcase for installing older intermediate kernel. BZ 1063181.
- Don't look for upgrades for install only packages. BZ 1063181.
- check if repos list is empty after excluding disabled repos. BZ 1109473.
- Allow caching local repos. BZ 1125387.
- Expect KB as well as MB in disk requirements message from rpm. BZ 1051931.
- Multiple lvm fixes. BZ 1047793, BZ 1145485.
- Change the sqlite synchronous mode for the history file, to NORMAL.
- Add CAShe config. and objects, use it for MD and packages.
- Add query_install_excludes conf./docs and use it for list/info/search/prov
2015-03-04 15:27:48 -05:00
James Antill
14a411704f update to latest HEAD
- Workaround history searching for [abc] character lists failures. BZ 1096147.
- yumRepos.py - preserve queryparams in urls
- Don't traceback in exRepoError() when repo info is not available. BZ 1114183.
- Make check-update respect --quiet option. BZ 1133979.
2014-09-16 16:37:59 -04:00
Valentina Mukhamedzhanova
1f7be3f25f update to latest HEAD
- Add armv6hl.
- Fix removing installed obsoleted package. BZ 1135715.
2014-09-03 12:58:47 +02:00
Tom Callaway
8766ee4672 fix license handling 2014-08-06 13:58:49 +02:00
Valentina Mukhamedzhanova
892f7648cc update to latest HEAD
- Workaround the TypeError in _filter_deps(). BZ 1108625
2014-06-18 14:07:40 +02:00
James Antill
c22e1f6702 update to latest HEAD
- Read FS yumvars before yum.conf setup, and reread if installroot changed.
- Call systemd Inhibit, to inhibit shutdowns during transactions. BZ 1109930.
- Have check provides check directly against the rpm index, and then quit.
- Read env vars in readStartupConfig() to make them work in yum.conf. BZ 1102575
- Add rules for naming files in /etc/yum/vars to yum.conf man page.
2014-06-16 15:16:51 -04:00
James Antill
7b4162930d update to latest HEAD
- Read FS yumvars before yum.conf setup, and reread if installroot changed.
- Call systemd Inhibit, to inhibit shutdowns during transactions. BZ 1109930.
- Have check provides check directly against the rpm index, and then quit.
- Read env vars in readStartupConfig() to make them work in yum.conf. BZ 1102575
- Add rules for naming files in /etc/yum/vars to yum.conf man page.
2014-06-16 14:57:56 -04:00
Dennis Gilmore
7d750fb30b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 12:54:31 -05:00
James Antill
be417351a1 update to latest HEAD
- Check /usr for writability before running a transaction.
- Add repo= arguments to almost all RepoError raises, so we don't print unknown.
- Add/fix upgrade-minimal typos from man page.
- Replace vars in include lines in .repo files. BZ 977380.
- Make --setopt handle spaces properly. BZ 1094373
- Fix traceback when the history dir is empty. BZ 875610
2014-05-21 18:30:06 -04:00
James Antill
13cd8412be update to latest HEAD
- Check /usr for writability before running a transaction.
- Add repo= arguments to almost all RepoError raises, so we don't print unknown.
- Add/fix upgrade-minimal typos from man page.
- Replace vars in include lines in .repo files. BZ 977380.
- Make --setopt handle spaces properly. BZ 1094373
- Fix traceback when the history dir is empty. BZ 875610
2014-05-21 17:04:01 -04:00
James Antill
4f178fb224 update to latest HEAD
- Fix for weird anaconda C NULL exception traceback. BZ 1058297.
- Add bash completion for fs.
- Fix summary for yum fs command. BZ 1086461.
2014-04-15 16:29:04 -04:00
James Antill
50e204e778 update to latest HEAD
- Fix for weird anaconda C NULL exception traceback. BZ 1058297.
- Fix apkgs setup for removing packages. BZ 1019960.
- Fix typo, so we can find the suggests/etc. tables.
- Change 'size' option to 'maxsize' in yum.logrotate. BZ 1005879.
- Mask st_mode to fix verifying permissions for ghost files. BZ 1045415.
- normpath() file URIs. BZ 1009499.
2014-04-08 09:40:18 -04:00
James Antill
125e9d0cda update to latest HEAD
- Fix dumping xml for suggests/etc.
2014-03-25 13:51:39 -04:00
James Antill
c70c2c8c6c update to latest HEAD
- Fix storing objects directly in the yumdb.
- Don't store uuid as var_uuid, or we create it all the time.
2014-03-25 10:11:19 -04:00
James Antill
bfaacdd99a update to latest HEAD
- No error for refilter cleanup, rm dirs. and eat all errors. BZ 1062959.
- Use get_uuid_obj() instead of get_uuid(), to help out ostree.
- Make utils.get_process_info() respect executable names with spaces.
- Fix traceback when history files don't exist and user is not root.
2014-03-25 00:19:19 -04:00
James Antill
6544e0cabb update to latest HEAD
- No error for refilter cleanup, rm dirs. and eat all errors. BZ 1062959.
- Use get_uuid_obj() instead of get_uuid(), to help out ostree.
- Make utils.get_process_info() respect executable names with spaces.
- Fix traceback when history files don't exist and user is not root.
2014-03-25 00:19:02 -04:00
James Antill
f8e6cbaf83 update to latest HEAD
- No error for refilter cleanup, rm dirs. and eat all errors. BZ 1062959.
- Use get_uuid_obj() instead of get_uuid(), to help out ostree.
- Make utils.get_process_info() respect executable names with spaces.
- Fix traceback when history files don't exist and user is not root.
2014-03-25 00:08:13 -04:00
Valentina Mukhamedzhanova
d5dbb0f3df update to latest HEAD
- Fix repo-pkgs check-update not showing any updates.
- Fix ValueError when /var/lib/yum/groups/installed is empty. BZ 971307
- Fix 'yum updateinfo list all new-packages' traceback. BZ 1072945
- Make yum quit when an invalid option is provided with --setopt.
2014-03-10 17:20:14 +01:00
James Antill
9928581d09 update to latest HEAD
- Fix yum.conf file saving for filters.
2014-02-23 21:02:03 -05:00
James Antill
a4c7ebfe1b update to latest HEAD
- Copy packages in/out of an installroot, for no downloads creating containers.
- A few cleanups for the fs sub-command UI.
- Add spec requires for fs sub-command.
2014-02-21 16:27:15 -05:00
James Antill
e160ee2afb update to latest HEAD
- Workaround for weird mash issue, probably.
2014-02-18 14:06:35 -05:00
Valentina Mukhamedzhanova
63f45cfc3f update to latest HEAD
- Fix debuginfo-install doLock() traceback. BZ 1062479
- Add 'autoremove' to yum --help output. BZ 1053348
2014-02-17 16:42:33 +01:00
James Antill
3c827a827a update to latest HEAD
- Minor fixes/cleanups for yum fs diff.
- Fix update-minimal traceback and ignoring updates. BZ 1048584.
2014-02-14 15:05:54 -05:00
James Antill
52af7cb44a update to latest HEAD
- Add yum fs sub-command. filter/refilter/refilter-cleanup/du/status/diff.
- Fix a possible "yum history stats" tb. BZ 1059184.
- Use requirement instead of calling string_to_prco_tuple.
- ppc64le is its own arch treat it as such.
2014-02-12 18:59:50 -05:00
James Antill
514558ac75 update to latest HEAD
- Add yum fs sub-command. filter/refilter/refilter-cleanup/du/status/diff.
- Fix a possible "yum history stats" tb. BZ 1059184.
- Use requirement instead of calling string_to_prco_tuple.
- ppc64le is its own arch treat it as such.
2014-02-12 18:26:42 -05:00
James Antill
39afdc0c61 update to latest HEAD
- Add yum-cron to run_with_package_names.
- Don't create lockdir directories, as they are magic now. BZ 975864.
-  Make 'yum install @group' give an error when trying to install a
- non-existent group.
- One more s/ouput/output/ fix
- Cleanup spec for rhel-7 builds.
2014-01-29 16:16:42 -05:00
James Antill
dc8445e775 update to latest HEAD
- Test for lvm binary before using. BZ 1047793.
- Split cron-daily and cron-hourly into separate packages. Add cron-security.
2014-01-23 17:03:16 -05:00
Valentina Mukhamedzhanova
53d526d47a yum-cron: EmailEmitter failure should not be fatal. BZ 1055042
- yum-cron: Add a retry loop around doLock().
- _set_repos_cache_req(): Handle missing cachedir. BZ 1044080
- repo-pkgs: Fix repoid parsing. BZ 1055132.
- Fix bash completion for 'autoremove'
- downloadonly: unlink .tmp files on ctrl-c. BZ 1045806
- repo-pkgs <repoid> info|list shouldn't require root UID.
- doPackageLists(repoid=<repoid>): filter 2nd ipkg lookup. BZ 1056489
2014-01-22 11:17:34 +01:00
Ville Skyttä
20f83a0050 Drop INSTALL from docs. 2014-01-16 23:14:45 +02:00
Zdenek Pavlas
e4412a50b7 update to latest HEAD
- fix "yum --help" with translated "Usage: %s\n". BZ 1033416
- completion: Fix file/dir completions for names containing spaces or tabs
- Fixed yum.8 manpage formatting. BZ 1050902
- yum-cron: fail on unsigned packages. BZ 1052440
- yum-cron: enable random_sleep by default.
2014-01-15 11:09:03 +01:00
Valentina Mukhamedzhanova
2f61fa742b Fix bad day of week in yum.spec in the changelog. 2014-01-08 11:58:18 +01:00
Valentina Mukhamedzhanova
63256eb563 update to latest HEAD
- Skip unavailable repos. BZ 1046076
- docs: yum.conf.5: Fix typo.
- docs: Update --downloadonly section of man page.
- Change emitCheckFailed() to a warning. BZ 1048391
2014-01-07 11:09:13 +01:00
James Antill
ff8a7874a4 update to latest HEAD
- Fix for traceback with group info -v.
2013-12-20 14:47:18 -05:00
James Antill
f1164bdd0f update to latest HEAD
- Fix for traceback with installed env. groups with owned groups in info.
- Again, thanks to Adam.
2013-12-19 00:12:14 -05:00
James Antill
6a31fb8d71 update to latest HEAD
- Fixes for typo in group remove/install mark messages tests.
- Again, thanks to Adam.
2013-12-18 16:58:42 -05:00
James Antill
d1d5e4bada update to latest HEAD
- Again, lots of groups UI changes/fixes thanks to Adam.
- Add "groups mark blacklist" command to get out of the upgrade problem.
- Tell users how to mark install/remove groups without packages.
- Show install groups as well as upgrading groups in transaction output.
- Fix mark-convert-whitelist, and add mark-convert-blacklist (default).
- Fix typo with simple groups compile of environment with only options.
- Pass the ievgrp to groups for new installed envs., so they belong. BZ 1043231.
- Don't confuse "group info" output by giving data for optional when it's off.
2013-12-17 17:54:11 -05:00
James Antill
00ee93fb0a update to latest HEAD
- Fix group update not trying to install all optional groups of evgrp.
2013-12-17 10:49:35 -05:00
James Antill
41b6f95282 update to latest HEAD
- Lots of "minor" group changes to hopefully fix a bunch of the bugs. Eg.
- 1043207, 1014202.
2013-12-16 17:59:10 -05:00
James Antill
0d122b3085 update to latest HEAD
- use the same "Total" formatting as urlgrabber.progress
- fix the depsolve_loop_limit=0 case. BZ 1041395
- yum.bash: skip pkglist completion when len(prefix) < 1. BZ 1040033
- yum-cron: stderr/email: no output if no messages. BZ 1018068
- yum-cron: use YumOutput.listTransaction(). BZ 1040109
2013-12-16 17:50:45 -05:00
Zdenek Pavlas
dcb5895319 update to latest HEAD
- use the same "Total" formatting as urlgrabber.progress
- fix the depsolve_loop_limit=0 case. BZ 1041395
- yum.bash: skip pkglist completion when len(prefix) < 1. BZ 1040033
- yum-cron: stderr/email: no output if no messages. BZ 1018068
- yum-cron: use YumOutput.listTransaction(). BZ 1040109
2013-12-13 16:25:36 +01:00
James Antill
92e668f9c8 Fix cacheReq manipulation overwrite.
- Only look at enabled repos. for cacheReq cookie comparisons. BZ 1039028.
- Add check-update sub-command to repo-pkgs.
- Add command variation aliases to check-update.
- Fix needTs check with repo-pkgs list/info.
2013-12-06 15:21:56 -05:00
Zdenek Pavlas
aa666c668e Revert the use of float timestamps as it triggers repomd != metalink. 2013-12-06 14:45:47 +01:00
Zdenek Pavlas
ff8cbe8888 docs only: group_command=objects is the distro default.
- Parse float timestamps as valid, for global timestamp.
- Add check_config_file_age, so we can turn that off for rhsm repos. BZ 103544
- Better doc. comment for re_primary_filename().
2013-12-04 16:51:52 +01:00
Zdenek Pavlas
a7b1ae2f85 docs only: group_command=objects is the distro default. 2013-12-02 09:47:14 +01:00
James Antill
6b93075eae Update to latest HEAD.
- Don't use the provide for distroverpkg if it's the name of the pkg. BZ 1002977.
- Use the provides as-is when we do use it. BZ 1002977.
- Fix the man page formatting for ! explanation in repolist, so it can be read.
- Add deltarpm_metadata_percentage config. so people can configure MD download.
2013-11-21 23:46:08 -05:00
James Antill
f8509d4ce4 Update to latest HEAD.
- cwFixAdd autocheck_running_kernel config.
2013-11-19 12:00:37 -05:00
James Antill
8aee420597 Update to latest HEAD.
- Add installed for groups pkg. lists on transaction output. BZ 1031374.
- Add autocheck_running_kernel config. so people can turn it off.
- Add upgrade_group_objects_upgrade config. so people can turn it off.
- Add distupgrade command as alias for distro-sync, to be compat. with zypper.
2013-11-18 17:45:06 -05:00
James Antill
9ec99ab005 Update to latest HEAD.
- Use makecache systemd timer on f20, maybe use it on f19 too?
- installonlypkgs: remove unneeded provides, add "installonlypkg(kernel)"
- docs: Suggest "--" when using "-<pkg>" to exclude packages. BZ 1026598.
- applydeltarpm: turn fork() failure to MiscError. BZ 1028334.
2013-11-15 15:25:34 -05:00
James Antill
bf87b9c0e7 Update to latest HEAD.
- Fixup always turning cron/makecache systemd stuff off.
- _readRawRepoFile: return only valid (ini, section_id). BZ 1018795.
- Same-mirror retry on refused connections. Helps BZ 853432.
2013-11-11 09:49:21 -05:00
James Antill
fe1bb74636 Update to latest HEAD.
- Fixup always turning cron/makecache systemd stuff off.
- _readRawRepoFile: return only valid (ini, section_id). BZ 1018795.
- Same-mirror retry on refused connections. Helps BZ 853432.
2013-11-11 01:22:06 -05:00
James Antill
b0bd2f3c58 Update to latest HEAD.
- Mostly backwards compat. change to how distroverpkg config. works. BZ 1002977.
2013-10-31 15:37:19 -04:00
James Antill
b7f814711d Update to latest HEAD.
- Actually run the groups update config. when not in objects mode. BZ 1002439.
- Implement pkg.remote_url for YumLocalPackage. BZ 1016148.
- UpdateNotice.xml(): sanitize pkg['epoch']. BZ 1020540.
- yum-cron: support download/install with update_messages==False. BZ 1018068.
- Fix some bugs in setopt for repo config. entries. BZ 1023595.
- Add loop limit for depsolving. BZ 1017840.
- Add yum-makecache systemd service, force network updates on for better UI.
2013-10-30 14:58:28 -04:00
James Antill
b6901b69bf Update to latest HEAD.
- Actually run the groups update config. when not in objects mode. BZ 1002439.
- Implement pkg.remote_url for YumLocalPackage. BZ 1016148.
- UpdateNotice.xml(): sanitize pkg['epoch']. BZ 1020540.
- yum-cron: support download/install with update_messages==False. BZ 1018068.
- Fix some bugs in setopt for repo config. entries. BZ 1023595.
- Add loop limit for depsolving. BZ 1017840.
- Add yum-makecache systemd service, force network updates on for better UI.
2013-10-30 13:24:52 -04:00
Zdenek Pavlas
cd529aeec5 Update to latest HEAD.
- More reliable po.localpath file:// URL test. BZ 1004089
- Disable drpms for local repositories. BZ 1007097
- docs: fix formatting of "yum swap" examples. BZ 1009154
- Move disableplugin checks to before we load the conf/module
- Set repo_error.repo attr also when filelists DL fails
- Fix the "repo failed" message
- docs: update "yum check" extra args description. BZ 1014993
- unlink_f(): handle ENOENT, EPERM, EACCES, EROFS. BZ 1015647, BZ 975619
2013-10-07 12:49:09 +02:00
Zdenek Pavlas
ed7649a38b Update to latest HEAD.
- More reliable po.localpath file:// URL test. BZ 1004089
- Disable drpms for local repositories. BZ 1007097
- docs: fix formatting of "yum swap" examples. BZ 1009154
- Move disableplugin checks to before we load the conf/module
- Set repo_error.repo attr also when filelists DL fails
- Fix the "repo failed" message
- docs: update "yum check" extra args description. BZ 1014993
- unlink_f(): handle ENOENT, EPERM, EACCES, EROFS. BZ 1015647, BZ 975619
2013-10-07 12:48:24 +02:00
James Antill
ab130cc7e2 Update to latest HEAD.
- Add cache check to repolist, using "!". Document repoinfo.
- Add epoch to updateinfo xml output.
- Add missing translation hooks for ignored -c option message.
- Try to smooth out the edge cases for cacheReq not ever updating data.
2013-09-06 16:38:30 -04:00
James Antill
d887c2a520 Update to latest HEAD.
- update /etc/yum-cron-hourly.conf. BZ 1002623
- Tweak y-c-t and history redo msg. BZ 974576.
- docs: $arch does not map 1:1 to uname(2) arch. BZ 1003554
- checkMD: re-check when xattr matches but size==0. BZ 1002494
2013-09-05 00:07:10 -04:00
James Antill
b4929dc620 Update to latest HEAD.
- Use new comps. mock objects to re-integrate group removal. BZ 996866.
- Add "weak" comps. groups, for installed groups.
- Add msg. to help users deal with RepoError failures. BZ 867389.
- Give msgs about install/trans. obsoletes a higher priority. BZ 991080.
- waitForLock() raises YumBaseError. BZ 1001154.
2013-08-28 16:54:47 -04:00
James Antill
f0c38d891f Update to latest HEAD.
- Pass requirement to compare_proviers so we can use provides version compare.
- Show conf. file in yum-cron error message.
- Add mark convert messages.
- Fix logging level regression, -d9 works again.
- Override users umask for groups files, so users can read it. BZ 982361.
- Fix downgrade keeping .reason, note that remove+install doesn't. BZ 961938.
- Inherit reason from install package into txmbr. BZ BZ 961938.
2013-08-26 00:17:55 -04:00
James Antill
ee1e3730cf Update to latest HEAD.
- Pass requirement to compare_proviers so we can use provides version compare.
- Show conf. file in yum-cron error message.
- Add mark convert messages.
- Fix logging level regression, -d9 works again.
- Override users umask for groups files, so users can read it. BZ 982361.
- Fix downgrade keeping .reason, note that remove+install doesn't. BZ 961938.
- Inherit reason from install package into txmbr. BZ BZ 961938.
2013-08-26 00:02:41 -04:00
Zdenek Pavlas
34f39b6c42 Update to latest HEAD.
- deltarpm: _wait(block=True) should not wait for all running jobs. BZ 991694
- make mdpolicy=group:small default, add group and pkgtags. BZ 989231
2013-08-13 16:51:10 +02:00
Zdenek Pavlas
6e01a2ce90 Update to latest HEAD.
- yum-cron: smtp-compliant email_from default. BZ 982696
- Add a "--disableincludes" option to yum. BZ 911422
- yum-cron: override the default stdout codec.  BZ 992797
- docs: fix spelling. BZ 991702
- fix file:// repository && downloadonly. BZ 903294, BZ 993567
2013-08-06 17:43:45 +02:00
Zdenek Pavlas
73eeb18128 Update to latest HEAD.
- yum-cron: use [base] section
- yum-cron: fix the download but don't appy updates case. BZ 983076
- group install/update: handle "No Groups Available" exception. BZ 983010
- misc.decompress(): handle OSError, too. BZ 989948
2013-07-30 11:27:13 +02:00
Zdenek Pavlas
a08b310baa yum-distro-configs: update installonly_limit default in yum.conf.5 2013-07-29 10:00:27 +02:00
Zdenek Pavlas
8aaaafb79b Merge branch 'master' into f19 2013-07-24 14:45:37 +02:00
Zdenek Pavlas
5ad230146e Added debuglevel option to yum-cron.conf BZ 873428, 982088
- RepoMD: support loading/dumping of <delta>s.
2013-07-24 14:29:09 +02:00
Zdenek Pavlas
99b1afd81b Merge branch 'master' into f19 2013-07-18 15:54:26 +02:00
Zdenek Pavlas
111ed9b563 Preload from root cache when --cacheonly. BZ 830523, 903631 2013-07-18 11:57:03 +02:00
Zdenek Pavlas
447de5be57 Merge branch 'master' into f19 2013-07-16 12:02:34 +02:00
Zdenek Pavlas
a3f2db4161 Update to latest HEAD.
- Get correct rpmdb path from rpm configuration
- repoMDObject.dump_xml() "distro" tag fix
- Fix parsing of power7+ platform string. BZ 980275
- findRepos: handle re.compile() errors. BZ 984356
- updatesObsoletesList: add repoid arg. BZ 984297
2013-07-16 12:00:48 +02:00
Zdenek Pavlas
b57a56784d Merge branch 'master' into f19 2013-07-09 10:59:39 +02:00
Zdenek Pavlas
9e8ae0ef2a Update to latest HEAD.
- Pass arch of package to applydeltarpm. BZ 981314.
- Simple "import sys" fix. BZ 875228
- Clean up new files when reverting to old repomd.xml
2013-07-09 10:58:56 +02:00
Zdenek Pavlas
640c786001 Merge branch 'master' into f19 2013-07-09 10:56:39 +02:00
Zdenek Pavlas
ebb6136816 Update to latest HEAD.
- Pass arch of package to applydeltarpm. BZ 981314.
- Simple "import sys" fix. BZ 875228
- Clean up new files when reverting to old repomd.xml
2013-07-09 10:54:57 +02:00
James Antill
f249b4b945 Merge branch 'master' into f19
* master: (2 commits)
  Update to latest HEAD.
  ...
2013-06-24 13:26:34 -04:00
James Antill
9ec2f3f0c3 Update to latest HEAD.
- Fix igroups not being reset in "ts reset" and anaconda. BZ 924162.
- Check for bad checksum types at runtime. BZ 902357.
- fix --cacheonly edge case. BZ 975619.
2013-06-24 12:44:15 -04:00
James Antill
f9d0ecf64a Update to latest HEAD.
- Add simple way to specify a group of pkgs. for version. BZ 913461.
- Change group install => group upgrade for installed groups. BZ 833087.
- Give more text when telling user about y-c-t, mention history. BZ 974576.
- Fix the tolerant yum.conf text.
- Skip installonly limit, if something has set check_future_rpmdbv. BZ 962757.
2013-06-19 16:20:21 -04:00
James Antill
5977803c74 Merge branch 'master' into f19
* master: (2 commits)
  Update to latest HEAD.
  ...
2013-06-17 14:15:03 -04:00
James Antill
53ccce08e6 Update to latest HEAD.
- Minor updates to fssnapshot command.
- metalink: Don't assume maxconnections is always set. BZ 974826.
- DeltaPackage: provide returnIdSum(). BZ 974394.
2013-06-17 14:03:52 -04:00
James Antill
580f065615 Update to latest HEAD.
- Add real logging to updateinfo parsing.
- Merge fssnap command.
- Extend repos.findRepos() API so it can handle repolist input.
- Add a prelistenabledrepos plugin point.
- Auto. enable disabled repos. in repo-pkgs.
- Do cacheRequirement() tests before doCheck().
2013-06-14 17:48:13 -04:00
Zdenek Pavlas
5a5ab55674 Merge branch 'master' into f19 2013-06-14 09:23:51 +02:00
Zdenek Pavlas
7c3bfcdbdc DeltaPackage compat fix. BZ 974394 2013-06-14 09:21:30 +02:00
Zdenek Pavlas
7b2264af10 Merge branch 'master' into f19 2013-06-12 11:30:16 +02:00
Zdenek Pavlas
af01fd19d8 Update to latest HEAD.
- downloadonly: prefetch also pkg checksums. BZ 973380
- Fix superfluous dots after "via" in man pages. BZ 972764
- support "proxy = libproxy" syntax to enable libproxy. BZ 857263
- checkEnabledRepo: run prereposetup if necessary. BZ 826096
2013-06-12 11:16:35 +02:00
James Antill
8ab2dc0f29 Merge branch 'master' into f19
* master: (4 commits)
  update to latest HEAD.
  ...
2013-06-03 11:51:15 -04:00
James Antill
790ce6e4b2 Revert "same-mirror retry also on timeout. BZ 853432" ... so we can
merge with master.

This reverts commit 78518f3468.
2013-06-03 11:51:00 -04:00
James Antill
d558477ebe update to latest HEAD.
- Workaround anaconda passing None as group name. BZ 959710.
- Fix second part of igrp as grp problems. BZ 955236.
- Add a fuzzy matcher for numbers in format_missing_requires. BZ 718245.
- Hide the "downloadonly" option when nothing to download.
- Add the "minrate" option. BZ 964298
2013-06-03 11:24:39 -04:00
James Antill
9aefa57103 update to latest HEAD.
- returnPackagesByDep() API fix (really old break).
- Try to make groups conversion better.
- progress.start: supply the default filename & url.  BZ 963023
- drpm retry: add RPM sizes to total size.  BZ 959786
- YumBaseError: safe str(e).  BZ 963698
2013-05-21 16:47:32 -04:00
James Antill
5d73c3561f update to latest HEAD.
- returnPackagesByDep() API fix (really old break).
- Try to make groups conversion better.
- progress.start: supply the default filename & url.  BZ 963023
- drpm retry: add RPM sizes to total size.  BZ 959786
- YumBaseError: safe str(e).  BZ 963698
2013-05-21 16:34:55 -04:00
Zdenek Pavlas
78518f3468 same-mirror retry also on timeout. BZ 853432 2013-05-13 17:23:07 +02:00
Zdenek Pavlas
ad4f5b6d65 same-mirror retry also on timeout. BZ 853432 2013-05-13 17:20:56 +02:00
James Antill
a6c1fd11b6 Merge branch 'master' into f19
* master: (5 commits)
  Massive hack for Fedora/updateinfo stable vs. testing statuses. BZ 960642.
  ...
2013-05-08 14:39:12 -04:00
James Antill
24df1fd895 Massive hack for Fedora/updateinfo stable vs. testing statuses. BZ 960642.
- Don't load updateinfo when we don't have to.
- Tell which repo. we are skipping the updateinfo notice from.
- Compat. code so we can treat groups/igroups the same. BZ 955236.
- Don't highlight the empty space, Eg. --showdups list.
2013-05-08 14:24:17 -04:00
Bill Nottingham
8bc7933761 Fix my broken default-for-environments patch. (#958531) 2013-05-02 13:24:37 -04:00
James Antill
14d5a50c0a update to latest HEAD.
- Allow default on Environment optional groups.
- Tweak load-ts output.
2013-05-01 01:45:55 -04:00
James Antill
6af3e60467 update to latest HEAD.
- Allow default on Environment optional groups.
- Tweak load-ts output.
2013-05-01 00:04:01 -04:00
James Antill
f3653270c2 update to latest HEAD.
- Make --downloadonly skip userconfirm prompt.
- Turn metadata_expire off for yum-cron.
- Skip var_arch storage in yumdb.
2013-04-26 16:50:57 -04:00
James Antill
ca17fbb997 Merge branch 'master' into f19
* master:
  update to latest HEAD.
2013-04-23 15:27:06 -04:00
James Antill
d8627581bf update to latest HEAD.
- A fix for environments and not installed groups. BZ 928859.
- Add downloadonly option to download prompt.
2013-04-23 15:09:30 -04:00
James Antill
098f7bdcda Merge branch 'master' into f19
* master:
  update to latest HEAD.
2013-04-19 14:50:36 -04:00
James Antill
1527137acf update to latest HEAD.
- A couple of fixes for yum-cron using security.
- Add documentation for updateinfo merge.
2013-04-19 14:50:02 -04:00
James Antill
d1add9d391 update to latest HEAD.
- Move yum-security into core.
- A bunch of minor fixes for yum-cron.
- Update yum-cron to add security/minimal/etc. updates.
- Add socks support to proxy config.
2013-04-18 23:56:11 -04:00
James Antill
6f4bb8d5d2 Merge branch 'master' into f19
* master: (4 commits)
  update to latest HEAD.
  ...
2013-04-18 23:54:09 -04:00
James Antill
d952ed53d5 update to latest HEAD.
- Move yum-security into core.
- A bunch of minor fixes for yum-cron.
- Update yum-cron to add security/minimal/etc. updates.
- Add socks support to proxy config.
2013-04-18 17:16:26 -04:00
Zdenek Pavlas
2db746b563 update to latest HEAD. 2013-04-16 16:27:48 +02:00
Zdenek Pavlas
163a8dad86 update to latest HEAD. 2013-04-16 16:05:39 +02:00
Zdenek Pavlas
4cca9d7729 don't BuildRequire bash-completion in rhel 2013-04-11 15:13:03 +02:00
Zdenek Pavlas
d115075ea6 don't BuildRequire bash-completion in rhel 2013-04-11 14:48:21 +02:00
Zdenek Pavlas
ebeb098ac0 update to latest HEAD. 2013-04-10 12:37:23 +02:00
James Antill
c5b0365255 update to latest HEAD.
- Keep installedFileRequires in sync. BZ 920758.
- Add repo-pkgs upgrade-to.
- Document autoremove commands.
2013-04-04 15:56:07 -04:00
James Antill
30af5acf3b update to latest HEAD.
- Fix optional packages getting installed by default. BZ 923547.
- cacheReq() added to groups command.
- Finally fix the installed obsoletes problem.
- Sync specfiles.
- Turn checking on, and fix check-po script.
2013-03-28 16:51:30 -04:00
James Antill
5471cddaed Merge branch 'master' into f19
* master: (9 commits)
  update to latest HEAD.
  ...
2013-03-28 16:49:08 -04:00
James Antill
c723455f0f update to latest HEAD.
- Fix optional packages getting installed by default. BZ 923547.
- cacheReq() added to groups command.
- Finally fix the installed obsoletes problem.
- Sync specfiles.
- Turn checking on, and fix check-po script.
2013-03-28 16:29:47 -04:00
James Antill
9ac89d4688 update to latest HEAD.
- Fix optional packages getting installed by default. BZ 923547.
- cacheReq() added to groups command.
- Finally fix the installed obsoletes problem.
2013-03-28 16:04:45 -04:00
James Antill
d82cb61150 update to latest HEAD.
- Fix optional packages getting installed by default. BZ 923547.
- cacheReq() added to groups command.
- Finally fix the installed obsoletes problem.
2013-03-28 15:37:56 -04:00
Zdenek Pavlas
a359e8b9dd misc packaging fixes 2013-03-27 13:14:31 +01:00
Zdenek Pavlas
191149f5e3 add BuildRequires: bash-completion 2013-03-20 16:13:21 +01:00
Zdenek Pavlas
624339a502 pkg-config bash-completion: add defaults 2013-03-20 14:42:11 +01:00
Zdenek Pavlas
e22bccf38d fix changelog date 2013-03-20 13:00:44 +01:00
Zdenek Pavlas
9275bfcdb8 update to latest HEAD. 2013-03-20 12:47:09 +01:00
Zdenek Pavlas
250a420072 move bash-completion scripts to /usr/share/ BZ 922992 2013-03-19 10:20:32 +01:00
Zdenek Pavlas
458c271e60 move bash-completion scripts to /usr/share/ BZ 922992 2013-03-19 10:12:06 +01:00
James Antill
e4a6cbe8fe Change groups_command default to objects.
- update to latest HEAD.
- Add timestamp to transaction object for plugins etc.
2013-03-12 15:44:32 -04:00
James Antill
27806977b9 update to latest HEAD.
- Fix deltarpm=0.
- Fix double unlink. BZ 919657.
2013-03-11 14:56:48 -04:00
James Antill
88ac20fac6 update to latest HEAD.
- Fix obsoletes in "yum check".
- Drop drpm rebuild defaults back to 2 workers.
2013-03-08 15:54:00 -05:00
James Antill
e495f19867 update to latest HEAD.
- Queue for drpm rebuilding.
- Sort drpms.
2013-03-07 18:16:11 -05:00
James Antill
8b40627462 update to latest HEAD.
- Translation updates.
- Smarter selection of drpm candidates.
- "makecache fast".
- Minor updates.
2013-03-07 00:07:30 -05:00
James Antill
166cd79531 update to latest HEAD.
- Translation updates.
- Smarter selection of drpm candidates.
- "makecache fast".
- Minor updates.
2013-03-07 00:06:34 -05:00
James Antill
6d7f5e23b0 update to latest HEAD.
- Translation updates.
- Smarter selection of drpm candidates.
- "makecache fast".
- Minor updates.
2013-03-06 16:30:40 -05:00
James Antill
537e5a537f update to latest HEAD.
- Reimport the size calculation fix.
2013-03-01 16:56:07 -05:00
James Antill
1bb52f73d2 drpm: Fix getDiscNum() sorting bug. BZ 916675.
- Move to just dumping upstream HEAD again.
2013-02-28 20:58:26 -05:00
James Antill
1430a2486e drpm: Fix getDiscNum() sorting bug. BZ 916675.
- Move to just dumping upstream HEAD again.
2013-02-28 13:52:28 -05:00
Zdenek Pavlas
89da6923a9 drpm code update 2013-02-28 12:31:30 +01:00
Zdenek Pavlas
c900e5344f deltarpm bugfixes 2013-02-27 11:26:39 +01:00
Zdenek Pavlas
0b246a8bc0 misc deltarpm updates 2013-02-26 17:00:15 +01:00
Zdenek Pavlas
9abd4ced94 Use multiple applydeltarpm workers 2013-02-22 16:41:36 +01:00
Zdenek Pavlas
1e266ff38d dont update localpath on errors, so we retry correctly. 2013-02-21 16:23:58 +01:00
Zdenek Pavlas
599c111517 Added native drpm support. 2013-02-21 13:34:45 +01:00
James Antill
582d254634 update to latest HEAD.
- Add cache-reqs.
- Fixup specfile for Fedora <= 18 usage.
2013-02-19 19:20:55 -05:00
James Antill
08db8a6982 update to latest HEAD.
- Add cache-reqs.
2013-02-19 17:00:24 -05:00
James Antill
fc162fc0f0 update to latest HEAD.
- Auto expire caches on repo errors.
- Use xattrs for cache checksum speedup.
2013-02-18 17:16:03 -05:00
James Antill
26a60613f1 update to latest HEAD.
- Add load-ts helper.
- Update downloadonly plugin version obs.
2013-02-15 14:38:12 -05:00
James Antill
226f861751 update to latest HEAD.
- Add pyxattr require for origin_urls for everyone.
- Fix yum-cron service file and scriptlets.
- Fix instant broken mirrors problem.
2013-02-08 15:32:10 -05:00
James Antill
0099b3ab1f update to latest HEAD.
- Add pyxattr require for origin_urls for everyone.
- Fix autoremove foo.
- Speedup/fix repo-pkgs <foo> update with obsoletes.
2013-01-31 16:37:08 -05:00
James Antill
a20e9c1e61 update to latest HEAD.
- Add yumvar dumping into yumdb.
- Add ui_repoid_vars configuration.
- Update translations.
2013-01-30 13:36:24 -05:00
James Antill
78330a49da update to latest HEAD.
- Add yumvar dumping into yumdb.
- Add ui_repoid_vars configuration.
- Update translations.
2013-01-30 12:39:48 -05:00
James Antill
8188284bb6 update to latest HEAD.
- Add repo-pkgs update/list and tweak remove-or-sync.
2013-01-22 16:11:53 -05:00
James Antill
bb0bb3f5bc Fixup changelog dates, removing those over 2 years old, and add unitdir. 2013-01-21 16:24:27 -05:00
James Antill
d75514dabd update to latest HEAD.
- Add repo-pkgs docs. add erase/etc. aliases.
- Fix for 895854.
2013-01-21 16:02:34 -05:00
James Antill
955dba3d4a update to latest HEAD.
- Add repo-pkgs.
- Add swap.
- Add remove_leaf_only and repopkgremove_leaf_only.
- Add metadata_expire_filter.
2013-01-16 14:46:08 -05:00
Zdenek Pavlas
271f7c7952 update to latest HEAD 2013-01-15 14:55:54 +01:00
Zdeněk Pavlas
10dccae941 update to latest HEAD 2013-01-09 09:12:08 +01:00
Zdeněk Pavlas
e8e7766e14 update to latest HEAD. 2012-12-06 12:27:30 +01:00
Zdeněk Pavlas
b3089c7fde update to latest HEAD. 2012-11-28 14:57:13 +01:00
Zdeněk Pavlas
0e55c6ec4e fix a typo in .spec 2012-11-19 18:05:22 +01:00
Zdeněk Pavlas
494c098587 update to latest HEAD. 2012-11-19 18:03:18 +01:00
Zdeněk Pavlas
593f7c0859 r47, yum-cron.py 2012-10-25 17:19:52 +02:00
Nils Philippsen
44fef272a7 bump release to ensure upgrade path and satisfy PackageKit deps 2012-10-25 16:55:51 +02:00
James Antill
9cc696d4ca update to latest HEAD.
- Add downloadonly into core, and enable background downloads.
- Lots of minor fixes.
2012-10-17 15:49:36 -04:00
James Antill
cc5b95c12f update to latest HEAD.
- Use .ui_id explicitly for backcompat. on strings, *sigh*.
2012-09-07 15:46:01 -04:00
James Antill
8261986224 update to latest HEAD.
- Fix missing self. on last patch.
2012-09-01 11:14:42 -04:00
James Antill
32e1511d4e update to latest HEAD.
- Don't statvfs when we aren't going to copy, and using relative.
2012-08-31 17:08:23 -04:00
James Antill
83a026313f update to latest HEAD.
- Fix rel-eng problems when repo.repofile is None.
- Don't statvfs when we aren't going to copy.
2012-08-30 16:31:59 -04:00
James Antill
d24df21f16 update to latest HEAD.
- Fix rel-eng problems when repo.repofile is None.
2012-08-30 10:33:18 -04:00
17 changed files with 1 additions and 164181 deletions

7
.gitignore vendored
View file

@ -1,7 +0,0 @@
yum-3.2.27.tar.gz
yum-3.2.28.tar.gz
/yum-3.2.29.tar.gz
/yum-3.4.0.tar.gz
/yum-3.4.1.tar.gz
/yum-3.4.2.tar.gz
/yum-3.4.3.tar.gz

View file

@ -1,113 +0,0 @@
From yum-devel-bounces@lists.baseurl.org Thu Mar 15 04:54:11 2012
Return-Path: yum-devel-bounces@lists.baseurl.org
Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO
zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by
zmail17.collab.prod.int.phx2.redhat.com with LMTP; Thu, 15 Mar 2012
04:54:11 -0400 (EDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by
zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 2504011402A;
Thu, 15 Mar 2012 04:54:11 -0400 (EDT)
X-Quarantine-ID: <I+79tTMZeO4w>
Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by
localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1])
(amavisd-new, port 10024) with ESMTP id I+79tTMZeO4w; Thu, 15 Mar 2012
04:54:11 -0400 (EDT)
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by
zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id E8D74114011;
Thu, 15 Mar 2012 04:54:10 -0400 (EDT)
Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com
[10.5.110.16]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8)
with ESMTP id q2F8sAi8004183; Thu, 15 Mar 2012 04:54:10 -0400
Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by
mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2F8s8Nd023630; Thu, 15 Mar
2012 04:54:08 -0400
Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org
(Postfix) with ESMTP id AB1CCA0378; Thu, 15 Mar 2012 08:54:08 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JtdO5JgtXfRu; Thu, 15
Mar 2012 08:54:07 +0000 (UTC)
Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by
hemlock.osuosl.org (Postfix) with ESMTP id C4A10A036E; Thu, 15 Mar 2012
08:54:07 +0000 (UTC)
X-Original-To: yum-devel@lists.baseurl.org
Delivered-To: yum-devel@osuosl.org
Received: from whitealder.osuosl.org (whitealder.osuosl.org
[140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3DBAC8F75B for
<yum-devel@lists.baseurl.org>; Thu, 15 Mar 2012 08:54:06 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org
(Postfix) with ESMTP id 0C5028FEF1 for <yum-devel@lists.baseurl.org>; Thu,
15 Mar 2012 08:54:06 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost
(.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id
FvpW+oEPmqRK for <yum-devel@lists.baseurl.org>; Thu, 15 Mar 2012 08:54:04
+0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by
whitealder.osuosl.org (Postfix) with ESMTP id 7D0108FBF1 for
<yum-devel@lists.baseurl.org>; Thu, 15 Mar 2012 08:54:04 +0000 (UTC)
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com
(8.14.4/8.14.4) with ESMTP id q2F8s3XU023619 (version=TLSv1/SSLv3
cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for
<yum-devel@lists.baseurl.org>; Thu, 15 Mar 2012 04:54:03 -0400
Received: from koblih.brq.redhat.com (koblih.brq.redhat.com [10.34.24.78])
by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id
q2F8s2qX018211 for <yum-devel@lists.baseurl.org>; Thu, 15 Mar 2012 04:54:03
-0400
From: =?UTF-8?q?Zden=C4=9Bk=20Pavlas?= <zpavlas@redhat.com>
To: yum-devel@lists.baseurl.org
Date: Thu, 15 Mar 2012 09:53:45 +0100
Message-Id: <1331801625-9070-1-git-send-email-zpavlas@redhat.com>
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-Scanned-By: MIMEDefang 2.68 on 10.5.110.16
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Subject: [Yum-devel] [PATCH] No "Only update available" msg when there is
not. BZ 803346
X-BeenThere: yum-devel@lists.baseurl.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: yum development <yum-devel@lists.baseurl.org>
List-Id: yum development <yum-devel.lists.baseurl.org>
List-Unsubscribe: <http://lists.baseurl.org/mailman/options/yum-devel>,
<mailto:yum-devel-request@lists.baseurl.org?subject=unsubscribe>
List-Archive: <http://lists.baseurl.org/pipermail/yum-devel>
List-Post: <mailto:yum-devel@lists.baseurl.org>
List-Help: <mailto:yum-devel-request@lists.baseurl.org?subject=help>
List-Subscribe: <http://lists.baseurl.org/mailman/listinfo/yum-devel>,
<mailto:yum-devel-request@lists.baseurl.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Errors-To: yum-devel-bounces@lists.baseurl.org
Sender: yum-devel-bounces@lists.baseurl.org
X-RedHat-Spam-Score: -2.3 (RCVD_IN_DNSWL_MED)
X-Evolution-Source: imap://jantill%40redhat.com@mail.corp.redhat.com/
Content-Transfer-Encoding: 8bit
---
yum/__init__.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/yum/__init__.py b/yum/__init__.py
index 3680356..6f7a69c 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -5075,6 +5075,8 @@ class YumBase(depsolve.Depsolve):
continue
if pkg.verGE(lipkg):
+ if pkg.verEQ(lipkg):
+ continue
if na not in warned_nas:
msg = _('Only Upgrade available on package: %s') % pkg
self.logger.critical(msg)
--
1.7.4.4
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

1
dead.package Normal file
View file

@ -0,0 +1 @@
Superseded by DNF. For details, see: https://fedoraproject.org/wiki/Changes/Retire_YUM_3

View file

@ -1,16 +0,0 @@
diff --git a/rpmUtils/arch.py b/rpmUtils/arch.py
index b493b6a..27c6d53 100644
--- a/rpmUtils/arch.py
+++ b/rpmUtils/arch.py
@@ -15,7 +15,7 @@ arches = {
# ia32
"athlon": "i686",
"i686": "i586",
- "geode": "i586",
+ "geode": "i686",
"i586": "i486",
"i486": "i386",
"i386": "noarch",
--
1.6.2.5

View file

@ -1,11 +0,0 @@
--- docs/yum.conf.5.orig 2010-06-21 17:39:17.000000000 -0400
+++ docs/yum.conf.5 2010-09-14 12:11:40.897615896 -0400
@@ -141,7 +141,7 @@
.IP
\fBinstallonly_limit \fR
Number of packages listed in installonlypkgs to keep installed at the same
-time. Setting to 0 disables this feature. Default is '0'. Note that this
+time. Setting to 0 disables this feature. Default is '3'. Note that this
functionality used to be in the "installonlyn" plugin, where this option was
altered via. tokeep.
Note that as of version 3.2.24, yum will now look in the yumdb for a installonly

View file

@ -1,28 +0,0 @@
#! /bin/bash -e
done=false
if [ "x$1" = "xjames" ]; then
done=true
cvs=~/work/fedora/cvs/yum
git=~/work/rpm/private/yum
fi
if [ "x$1" = "xseth" ]; then
done=true
cvs=~/proj/fedora/yum/master
git=~/proj/yum/3.2.X
fi
if ! $done; then
echo " Usage: $0 james | seth" 1>&2
echo "" 1>&2
echo " This command copies the latest git HEAD into Fedora rawhide," 1>&2
echo " working out the versions automatically. It also makes the" 1>&2
echo " diff between HEADs as minimal as possible. " 1>&2
exit 1
fi
cd $cvs
ver=$(/usr/bin/fedpkg verrel | perl -lpe 's/-[^-]+$//' | sed s/\\\./-/g)
cd $git
git diff -r $ver..HEAD > $cvs/yum-HEAD.patch

View file

@ -1,13 +0,0 @@
--- yum/config.py~ 2009-07-22 12:47:52.000000000 -0400
+++ yum/config.py 2009-07-22 12:48:39.000000000 -0400
@@ -631,9 +631,7 @@
names_of_0=["0", "<off>"])
kernelpkgnames = ListOption(['kernel','kernel-smp', 'kernel-enterprise',
'kernel-bigmem', 'kernel-BOOT', 'kernel-PAE', 'kernel-PAE-debug'])
- exactarchlist = ListOption(['kernel', 'kernel-smp',
- 'kernel-hugemem', 'kernel-enterprise', 'kernel-bigmem',
- 'kernel-devel', 'kernel-PAE', 'kernel-PAE-debug'])
+ exactarchlist = ListOption([])
tsflags = ListOption()
assumeyes = BoolOption(False)

View file

@ -1,21 +0,0 @@
diff --git a/rpmUtils/transaction.py b/rpmUtils/transaction.py
index c5167d3..61d7ec0 100644
--- a/rpmUtils/transaction.py
+++ b/rpmUtils/transaction.py
@@ -13,7 +13,6 @@
import rpm
import miscutils
-from yum.i18n import to_str
read_ts = None
ts = None
@@ -56,7 +55,7 @@ class TransactionWrapper:
# Newer rpm (4.8.0+) has problem objects, older have just strings.
# Should probably move to using the new objects, when we can. For
# now just be compatible.
- results.append(to_str(prob))
+ results.append(str(prob))
return results

View file

@ -1 +0,0 @@
7c8ea8beba5b4e7fe0c215e4ebaa26ed yum-3.4.3.tar.gz

File diff suppressed because it is too large Load diff

View file

@ -1,11 +0,0 @@
diff -up yum-3.4.3/completion-helper.py.old yum-3.4.3/completion-helper.py
--- yum-3.4.3/completion-helper.py.old 2012-08-22 17:00:47.444104234 +0200
+++ yum-3.4.3/completion-helper.py 2012-08-22 17:00:57.954647525 +0200
@@ -70,6 +70,7 @@ def get_pattern(extcmds):
def main(args):
base = cli.YumBaseCli()
+ base.setCacheDir = lambda *x: True # use the system cachedir
base.yum_cli_commands.clear()
base.registerCommand(GroupsCompletionCommand())
base.registerCommand(ListCompletionCommand())

View file

@ -1,19 +0,0 @@
diff -ru yum-3.4.3-orig/yum/config.py yum-3.4.3/yum/config.py
--- yum-3.4.3-orig/yum/config.py 2011-12-02 15:45:41.617448597 -0500
+++ yum-3.4.3/yum/config.py 2011-12-02 15:46:20.576285275 -0500
@@ -45,10 +45,10 @@
# Alter/patch these to change the default checking...
__pkgs_gpgcheck_default__ = False
__repo_gpgcheck_default__ = False
-__main_multilib_policy_default__ = 'all'
-__main_failovermethod_default__ = 'roundrobin'
-__main_installonly_limit_default__ = 0
-__group_command_default__ = 'compat'
+__main_multilib_policy_default__ = 'best'
+__main_failovermethod_default__ = 'priority'
+__main_installonly_limit_default__ = 3
+__group_command_default__ = 'compat'
class Option(object):
"""
Only in yum-3.4.3/yum: config.py~

View file

@ -1,83 +0,0 @@
commit 102915d4d402493c48d434ae1d1756225c4468e0
Author: James Antill <james@and.org>
Date: Mon Jun 14 01:15:21 2010 -0400
Port manpage files path fixups.
diff --git a/docs/yum.8 b/docs/yum.8
index d5ede0a..3bdb408 100644
--- a/docs/yum.8
+++ b/docs/yum.8
@@ -568,7 +568,7 @@ option in yum.conf. For a plugin to work, the following conditions must be met:
1. The plugin module file must be installed in the plugin path as just
described.
.LP
-2. The global \fBplugins\fP option in /etc/yum/yum.conf must be set to `1'.
+2. The global \fBplugins\fP option in /etc/yum.conf must be set to `1'.
.LP
3. A configuration file for the plugin must exist in
/etc/yum/pluginconf.d/<plugin_name>.conf and the \fBenabled\fR setting in this
@@ -584,9 +584,9 @@ configuration options.
.PP
.SH "FILES"
.nf
-/etc/yum/yum.conf
+/etc/yum.conf
/etc/yum/version-groups.conf
-/etc/yum/repos.d/
+/etc/yum.repos.d/
/etc/yum/pluginconf.d/
/var/cache/yum/
.fi
diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
index ca36103..42815b9 100644
--- a/docs/yum.conf.5
+++ b/docs/yum.conf.5
@@ -4,10 +4,10 @@
\fByum.conf\fR \- Configuration file for \fByum(8)\fR.
.SH "DESCRIPTION"
.LP
-Yum uses a configuration file at \fB/etc/yum/yum.conf\fR.
+Yum uses a configuration file at \fB/etc/yum.conf\fR.
.LP
Additional configuration files are also read from the directories set by the
-\fBreposdir\fR option (default is `/etc/yum/repos.d').
+\fBreposdir\fR option (default is `/etc/yum.repos.d').
See the \fBreposdir\fR option below for further details.
.SH "PARAMETERS"
@@ -42,10 +42,10 @@ of headers and packages after successful installation. Default is '1'
.IP
\fBreposdir\fR
A list of directories where yum should look for .repo files which define
-repositories to use. Default is `/etc/yum/repos.d'. Each
+repositories to use. Default is `/etc/yum.repos.d'. Each
file in this directory should contain one or more repository sections as
documented in \fB[repository] options\fR below. These will be merged with the
-repositories defined in /etc/yum/yum.conf to form the complete set of
+repositories defined in /etc/yum.conf to form the complete set of
repositories that yum will use.
.IP
@@ -745,8 +745,8 @@ for any given command. Defaults to False.
.SH "URL INCLUDE SYNTAX"
.LP
-The inclusion of external configuration files is supported for /etc/yum/yum.conf
-and the .repo files in the /etc/yum/repos.d directory. To include a URL, use a
+The inclusion of external configuration files is supported for /etc/yum.conf
+and the .repo files in the /etc/yum.repos.d directory. To include a URL, use a
line of the following format:
include=url://to/some/location
@@ -812,8 +812,8 @@ data in any value.
.SH "FILES"
.nf
-/etc/yum/yum.conf
-/etc/yum/repos.d/
+/etc/yum.conf
+/etc/yum.repos.d/
/etc/yum/pluginconf.d/
/etc/yum/protected.d
/etc/yum/vars

View file

@ -1,13 +0,0 @@
diff -ru yum-3.4.3-orig/rpmUtils/arch.py yum-3.4.3/rpmUtils/arch.py
--- yum-3.4.3-orig/rpmUtils/arch.py 2011-06-28 17:01:10.009680846 -0400
+++ yum-3.4.3/rpmUtils/arch.py 2011-06-28 17:01:31.849916539 -0400
@@ -3,7 +3,7 @@
import ctypes
import struct
-_ppc64_native_is_best = False
+_ppc64_native_is_best = True
# dict mapping arch -> ( multicompat, best personality, biarch personality )
multilibArches = { "x86_64": ( "athlon", "x86_64", "athlon" ),
Only in yum-3.4.3/rpmUtils: arch.py~

View file

@ -1,15 +0,0 @@
[main]
# how often to check for new updates (in seconds)
run_interval = 3600
# how often to allow checking on request (in seconds)
updaterefresh = 600
# how to send notifications (valid: dbus, email, syslog)
emit_via = dbus
# automatically install updates
do_update = no
# automatically download updates
do_download = no
# automatically download deps of updates
do_download_deps = no

View file

@ -1,23 +0,0 @@
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

1091
yum.spec

File diff suppressed because it is too large Load diff