[master 00/10] Addon Repo and .treeinfo support for Source Spoke
Brian C. Lane
bcl at redhat.com
Tue Mar 12 00:13:27 UTC 2013
From: "Brian C. Lane" <bcl at redhat.com>
This set of patches adds an new section to the source spoke which will show
addon repos from kickstart files and additional .treeinfo repos. The user can
enable/disable/delete them or add their own. The normal metadata refetch will
be triggered when something is changed in one of the repos.
This also enabled updates by default and hooks up the checkbox to disable the
updates.
I added a new attribute to the kickstart RepoData object to track whether or
not it has been enabled. This helps with the UI interface as well as .treeinfo
repos which are disabled by default.
I also added a bit of a hack to the repoStore use of RepoData, an attribute to
keep track of the original name of the object so that if the user edits the
name the change can be propagated to the original object instead of making a
new one. This attr is not part of kickstart since it is only used by the UI's
copy of the repo information.
Brian C. Lane (10):
Change the source DiskOverview to a label
Modify repo interface in packaging
Add enable flag to RepoData object
Adjust _getTreeInfo so that proxy_url can be passed
Enable updates repo by default
Addon repo glade changes
Remove the previous addon repo code and UI
Add repo addon to source spoke
Disable failed repos, not remove them
Add the addon repos from a repo's treeinfo file
pyanaconda/iutil.py | 22 +
pyanaconda/kickstart.py | 12 +
pyanaconda/packaging/__init__.py | 62 ++-
pyanaconda/packaging/yumpayload.py | 96 +++-
pyanaconda/ui/gui/spokes/software.py | 3 -
pyanaconda/ui/gui/spokes/source.glade | 789 +++++++++++++++++---------------
pyanaconda/ui/gui/spokes/source.py | 523 ++++++++++++---------
tests/pyanaconda_test/packaging_test.py | 4 +-
8 files changed, 880 insertions(+), 631 deletions(-)
--
1.8.1.2
More information about the anaconda-patches
mailing list