HomePhorge

(PUP-1060) update yumhelper to handle {enable,disable}repo
f4473b7ae593Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1060) update yumhelper to handle {enable,disable}repo

In order to be able to use enablerepo and disablerepo flags while
ensuring latest, we need to be able to query for packages needing update
with a specific set of repos to enable and disable.

This commit updates yumhelper.py to take two flags '-e' for a repository
to enable, and '-d' for a repository to disable. The values given to
these flags must be a comma separated list of names with no spaces
between them.

It's unsustainable in the long run to continue extending this file, and
we should look very seriously at seeing what behaviors we can remove.
It's impossible to test this as-is and as we add more complexity we risk
introducing more bugs.

Original patch by Matthew Byng-Maddick.

Details

Provenance
Adrien Thebo <git@somethingsinistral.net>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU72481bdbf115: (PUP-1060) Don't fetch latest versions at prefetch
Branches
Unknown
Tags
Unknown

Event Timeline

Adrien Thebo <git@somethingsinistral.net> committed rPUf4473b7ae593: (PUP-1060) update yumhelper to handle {enable,disable}repo (authored by Adrien Thebo <git@somethingsinistral.net>).Apr 21 2014, 10:46 PM