[PATCH 4/4] Add ability for users to specify an installation source repo in text UI.

Chris Lumens clumens at redhat.com
Fri May 17 17:31:44 UTC 2013


>  pyanaconda/ui/tui/spokes/source.py | 205 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 205 insertions(+)
>  create mode 100644 pyanaconda/ui/tui/spokes/source.py

Remember to add this file to po/POTFILES.in, too.

> +    _protocols = ("Closest mirror", "http://", "https://", "ftp://")

You should mark the first one for translation, which means you'll then
need to make some other changes to do comparisons correctly (translated
against translated, or not against not).

> +    edit_fields = [
> +        Entry("Repo URL", "url", re.compile(".*$"), True)
> +        ]

Likewise here.

- Chris


More information about the anaconda-patches mailing list