| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
a real Python package.
Also updates the build and autotools stuff to work with the new structure
|
| |
|
|
|
| |
The code is identical for text mode and gui mode (except for one
copy paste error fixed by the previous commit GRRRR).
|
| |
|
|
| |
Related: rhbz#591469
|
| |
|
|
|
|
|
| |
We are using DetailMessageWindow. Make sure the details are expanded by
default when showing unformatted DASDs. Other uses of this dialog
(e.g., traceback) do not want to have the details expanded by default,
so keep it False unless the use passes the expanded=True parameter.
|
| | |
|
| |
|
|
|
|
| |
We run upgrade.setSteps late, from the UI should you select "upgrade" from
the proper screen. This means the earlier text.setSteps gets overridden so
we need to add a permanent=1 to all these.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a warning when ignoring BIOS RAID members because no complete
set using them could be found.
This patch also introduces a much needed InstallInterfaceBase class, as I
didn't feel like adding the exact same code to all of cmdline.py, gui.py and
text.py .
Note that the ignoring of BIOS RAID members is checked in 2 places, as
the filter UI can be skipped under certain circumstances (kickstart). The
interface code checks for disks it has already warned about.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
anaconda.ksdata is only non-None if there's a kickstart file, just like
anaconda.isKickstart would be. Therefore, we don't need two variables
to test for the same condition.
|
| |
|
|
|
| |
This method is what calls kickstart.selectPackages, so not running it means the
%packages section of the kickstart file will never be applied.
|
| |
|
|
|
|
|
|
|
|
| |
It's possible for the user to have a huge number of disks, which could result in
this dialog popping up a huge number of times. Therefore, it'd be a good idea
to allow the user to apply their same choice to all following times when the
dialog would pop up.
Note that it would be nicer to add some sort of checkbox to MessageWindow to
make this more clear, but that is not exactly trivial to do.
|
| |
|
|
|
|
|
|
|
|
|
| |
The patch does essentially the same thing as commit
31d5b8f4fec513e4f8e246e47e9fee75c701d07b for disk initialization question. The
difference is that when user chooses LVM reinitialization, it is done
immediately (not as planned action as with disk initialization) so the user
wouldn't be asked again anyway without the patch (he would be asked if he chose
to ignore).
I also made one function more readable in the patch.
|
| |
|
|
|
|
|
|
| |
Don't ask again and again e.g. when going back and forth in custom partitioning
UI. Related to bug #527711 which is itself fixed by another patch.
(*) Answers are cached in InstallInterface classes.
(*) Dialog callback is moved from storage code to InstallInterface
classes.
|
| | |
|
| |
|
|
|
|
| |
Most Fedora users don't need to see the advanced filtering UI with all its
multipath tabs and advanced storage buttons and search interfaces. So,
provide an introductory screen that allows skipping all that stuff.
|
| |
|
|
|
|
| |
This UI is the screen that allows the user to select which devices will be
wiped during installation and which should just be mounted. It also allows
selecting which device the bootloader should be installed to.
|
| |
|
|
|
|
|
|
|
|
| |
This UI allows the user to select which devices they would like to include
in the rest of the installation process, sorted out by their types. All
devices not checked will never again be referenced by anaconda, though we
may see their udev information in the logs from time to time. This UI
supports two different ways of looking at things: the simple UI for
regular Fedora users with basic devices, and the complex UI with many tabs
and filtering options.
|
| |
|
|
|
| |
This will be handy for the filtering interface that does not at all exist
in text mode.
|
| |
|
|
|
|
|
| |
This is yet another way of running anaconda that gets extremely limited use,
no testing, and no consideration during development to making sure it still
works. Again, we need to stop pretending and get rid of modes that we don't
support.
|
| |
|
|
|
|
| |
Rather than use ListboxChoiceWindow(), do what ButtonChoiceWindow() does
in snack, but add an additional row with a scrolling list box for
longText.
|
| |
|
|
|
|
|
|
|
|
| |
Previously, detailedMessageWindow() would just give you a messageWindow
and throw out the longText.
This patch tries to implement something that will let the longText
contain somewhat formatted text and allow users to scroll. That's done
with the ListboxChoiceWindow. Selecting any item in the list box is the
same as selecting button ID 0 on the dialog.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a cleanup for the po files. xgettext displays the following
messages for some Python files:
warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.
This patch modifies the reported format strings to use named parameters
per the warning message. We were already using these style format
strings in users.py and possibly other files. Basically when there is
more than one parameter in the format string, we should use a hash table
with named parameters.
|
| | |
|
| |
|
|
|
|
|
|
| |
Whatever form the new entitlement system takes, it is unlikely it will
look like what we've currently got. It's probably better to start over
fresh than attempt to adapt what we've got into supporting the new system.
This will also allow testing of the RHEL6 tree with the right product
name without requiring testers to enter a key.
|
| |
|
|
|
|
|
|
|
| |
There's now just two important settings in the Language module: instLang,
which is the language used while anaconda is running; and systemLang, which
is the language the installed system itself will use. These two can be
different mainly due to anaconda's text mode interface. The rest of anaconda
should only set and get these two. All the other support functions still
exist for grabbing timezone, font, etc.
|
| | |
|
| | |
|
| |
|
|
| |
Just auditing the world for clarity, don't mind me.
|
| |
|
|
|
|
|
| |
Set a flag in the DeviceTree to indicate when we are in the process of
populating the tree. In the UI exception handlers we only collect
save-to-disk targets if the exception did not originate in
DeviceTree.populate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The i18n people have suggested using ngettext when we need to have
singular and plural forms of strings, where the count will vary as to
what we are reporting to the user.
I've made the changes they have suggested. I created a new lambda
function called P_() to use for the plural cases. P_() takes in three
parameters:
1) The singular form of the string.
2) The plural form of the string.
3) A count.
Here's an example:
....some loop runs doing stuff
bytesWritten = 47
msg = P_("Wrote %d byte.",
"Wrote %d bytes.",
bytesWritten) % (bytesWritten,)
print msg
The % substitution is correct at the end because P_() returns a single
string, so we only need the format string to account for that.
Some strings have been changed slightly to make it easier for
translations to other languages, particularly when choosing plural forms.
|
| |
|
|
|
|
| |
This is required to make it fit better on the screen. Instead of using
one gigantic dialog, we can use several smaller ones. This probably isn't
too much of an issue anymore for anyone using kernel modesetting though.
|
| |
|
|
|
|
| |
Catching all exception is really drastic, but this is the exception reporting
code and we need it to be resiliant to extra errors so we stand a chance of
getting things reported.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Since pyparted has a lot more execption classes now, it makes sense to just
let anaconda's regular exception handling framework deal with them. This means
a lot of changes throughout are on the way.
|
| |
|
|
|
| |
You can, however, still select the drives to use and the basic layout to use.
You can also still use kickstart.
|
| | |
|
| | |
|
| |
|
|
| |
There is no more interactive group/package selection in text mode.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If a user boots from boot.iso, the installer will bring up the net
config dialog to configure the network interface so packages can
be found and installed. If a user has no available network devices,
the window appears but nothing is in the combo box. If they click
the combo box, you get a traceback.
This patch returns False from all enableNetwork() functions so the
user sees the 'No Network Available' dialog and is given the Exit
Installer button.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Retrofit in this context means to add the new passphrase to all
preexisting LUKS devices that we have keys to. This is an effort
to simplify management of systems containing encrypted devices.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
We don't have /proc/xen anymore.
virtpconsole should cover this now anyway.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|