[PATCH 06/13] Add the new Summary hub and Password TUI spokes + tools to test TUI stuff

Chris Lumens clumens at redhat.com
Thu Aug 9 17:27:44 UTC 2012


> diff --git a/pyanaconda/ui/tui/hubs/summary.py b/pyanaconda/ui/tui/hubs/summary.py
> new file mode 100644
> index 0000000..9411e4a
> --- /dev/null
> +++ b/pyanaconda/ui/tui/hubs/summary.py
> @@ -0,0 +1,5 @@
> +from pyanaconda.ui.tui.hubs import TUIHub
> +
> +class SummaryHub(TUIHub):
> +    title = "Install hub"
> +    categories = ["source", "localization", "destination", "password"]

I must have missed something in a previous patch.  Can you explain the
categories variable here?  It doesn't look anything like the categories
in the GUI, which worries me a bit.  We need to keep things as similar
as possible among all possible interfaces.

> diff --git a/pyanaconda/ui/tui/tools/run-spoke.py b/pyanaconda/ui/tui/tools/run-spoke.py
> new file mode 100755
> index 0000000..d5e9c57
> --- /dev/null
> +++ b/pyanaconda/ui/tui/tools/run-spoke.py

Can this somehow be condensed into the GUI version so we only have one
copy of all the common code?

- Chris


More information about the anaconda-patches mailing list