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
Merged

Conversation

@uilianries
Copy link
Member

@uilianries uilianries 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.

- 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
Copy link
Contributor

@lasote lasote commented Jun 22, 2019

Have you confirmed it work with a docker container?

Loading

@uilianries
Copy link
Member Author

@uilianries uilianries commented Jun 22, 2019

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

Loading

lasote
lasote approved these changes Jun 24, 2019
@lasote lasote merged commit 9218296 into conan-io:develop Jun 24, 2019
2 checks passed
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants