Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Yum cache only (#5370) #5387

Merged
merged 1 commit into from Jun 24, 2019

Conversation

Projects
None yet
2 participants
@uilianries
Copy link
Member

commented Jun 21, 2019

SystemPackageTool.update() must update only the local cache, but it shouldn't upgrade package. However, Yum uses update as a command to update all packages.

Changelog: Fix: Update Yum cache (#5370)
Docs: Omit

fixes #5370

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

#5370 Update cache for Yum
- SystemPackageTool.update() must update only the local cache, but
  it shouldn't upgrade package. However, Yum uses `update` as a
  command to update all packages.

Signed-off-by: Uilian Ries <uilianries@gmail.com>

@lasote lasote added this to the 1.17 milestone Jun 22, 2019

@lasote

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2019

Have you confirmed it work with a docker container?

@uilianries

This comment has been minimized.

Copy link
Member Author

commented Jun 22, 2019

Yes, I used docker run --rm -ti fedora:latest

@lasote

lasote approved these changes Jun 24, 2019

@lasote lasote merged commit 9218296 into conan-io:develop Jun 24, 2019

2 checks passed

continuous-integration/jenkins/pr-head This commit looks good
Details
license/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.