summaryrefslogtreecommitdiffstats
path: root/iw
Commit message (Collapse)AuthorAgeFilesLines
...
* Build sorted models on top of filtered models to make column sorting work.Chris Lumens2010-01-292-24/+26
| | | | | For some reason, doing it the other way around allows you to click on column headers but there is no sorting that happens.
* Skip the filtering UI if there's only one disk in the machine.Chris Lumens2010-01-292-9/+24
| | | | | | | For the common home/laptop use case, the user likely only has one disk. If that's the case and they pick the Basic filtering UI (indicating they don't want to add fcoe/iscsi/whatever disks), then there's no point in showing these UI components.
* Startup iscsi / fcoe / zfcp before listing drives in the filter UIHans de Goede2010-01-281-0/+9
| | | | | | This brings iBFT (iscsi) / EDD (FCoE) / /tmp/zfcp.cfg (zfcp) auto discovered drives only. So that they show up in the filter UI and can be selected for the installation (tested with iBFT).
* cleardisk_gui: Fix going back to the cleardisks guiHans de Goede2010-01-281-3/+9
| | | | | | | | | | | | | | | | | | | 1) When populating the store make left / right visible depend on if the disk is listed in clearPartDisks or not 2) Don't extend clearPartDisks when moving to the next screen, but set it so that drives which were moved to the left get removed from it. 3) The bootdisk is part of cleardisks, don't put it in clearPartDisks twice 4) Update the bootloader drivelist, putting the select drive on the front, don't override it. Even if we just want to mount a disk it should still count in our bios drive order, so that grub gets a correct map (Note even before this fix this was already effectively being done by bootloader.py which overrides the drivelist as set by clearpart_gui) Note this patch only fixes back/forth issues with the UI code, there is still a problem in the underlying logic code, where after having autopartitioned once, subsequent attemps will fail with no free space found. I've filed this as bug 559233.
* cleardisk_gui: Base autoselection of bootdev on detected BIOS orderHans de Goede2010-01-281-30/+15
|
* Fix typo in partition_ui_helpers_gui.pyHans de Goede2010-01-281-1/+1
| | | | request.disks should be request.req_disks
* Hookup new python EDD code (#478996)Hans de Goede2010-01-281-1/+1
| | | | | | | | Replace all usage of the isys C EDD code with the new storage python EDD code. Note that this moves the sorting of partition.req_disks from devices.py to paritioning.py, because sorting now needs access to the storage object, this also has the added advantange that now we always allocatePartitions in sorted drive order, even in interactive mode.
* Fix visibility counting on filter notebook pages.Chris Lumens2010-01-251-1/+10
| | | | | | | | Since all notebook pages share the same store, a device being visible on one page means it'll be counted as being visible on all pages. That means flipping to the correct initial page doesn't work. Instead, we need to count using the visible methods on callback objects to only count the devices that are members of each page as visible.
* Fix thinko in displaying the first filter notebook page that disks.Peter Jones2010-01-251-0/+1
| | | | Previous version had a missing break. Put the break in.
* Filter UI: don't show cciss controllers without setsHans de Goede2010-01-251-0/+4
|
* Filter UI: give BIOS RAID sets a usable model string and display thatHans de Goede2010-01-251-2/+3
| | | | | | This makes the way they are displayed in the filter UI and in cleardisks_gui.py consistent, and this makes us not show dmraid device node names for sets which we will later activate with mdraid.
* Remove MDRaidArrayDevice biosraid propertyHans de Goede2010-01-251-1/+1
| | | | | Now that MD BIOS RAID arrays have their own type, there is no longer a need for the biosraid property.
* Check for devices with no media present in filter_gui.py (#558177)Hans de Goede2010-01-251-2/+13
| | | | | This stops us from backtracing on for example usb cardreaders without a card in them.
* Fix an infinite loop by properly iterating over the disks store (#557856).Chris Lumens2010-01-221-2/+2
|
* Fix a syntax error in filter_gui.pyHans de Goede2010-01-211-1/+1
|
* List biosraids w/ disks and don't include them w/ md arrays in partgui.David Lehman2010-01-211-5/+5
|
* Add mpath device to selection instead of its constituents.Peter Jones2010-01-201-4/+4
| | | | | If we've got an mpath device in FilterWindow, it should be added to the selection, not the constituent devices for each path.
* Add udev_device_get_multipath_name().Peter Jones2010-01-201-1/+2
| | | | | Add udev_device_get_multipath_name() to find the name of a consituent's device, and also reorganize a little. Also use this in FilterWindow()
* Make clearDisksWindow use device.model not device.partedDevice.modelPeter Jones2010-01-151-1/+1
| | | | | StorageDevice and all its heirs have device.model so it can be subclassed; use it.
* Display the first filter notebook page that has any disks on it.Chris Lumens2010-01-151-0/+11
| | | | | | We used to be always showing page 0, but it's possible there are no basic devices in the system. The result is you staring at a blank page. Instead, we should show whichever page has something on it to see.
* Fix a traceback adding RAID devices to the filtering UI.Chris Lumens2010-01-151-1/+1
|
* Fixup various errors detected by pylintHans de Goede2010-01-143-3/+4
| | | | | | | | | | | | | | | | | | I've been running pylint on a subset of anaconda: booty storage iw/*.py platform.py And it has found various errors this commit fixes: - Restore line accidently dropped from iscsi.py - execWithPulseProgress should propagate the return value of execWithCallback - storage.formats.fs:535 (FS.doCheck): self.intf should be just intf - storage.formats.fs: add missing "import sys" (for sys.exit) - advanced_config.py add missing import for NetworkConfigurator - lvm_dialog_gui.py: VolumeGroupEditor.editLogicalVolume dev was renamed to d - partition_gui.py: remove an unneeded semicolon - partition_gui.py: PartitionWindow.createCB rc should be dialog_rc - storage.FSSet.write: put docstring in the proper place - platform.Sparc.minimumSector: sectors should be sector
* Support moving multiple rows at once in the cleardisks UI.Chris Lumens2010-01-131-22/+48
|
* Allow disks in the filter and cleardisks UIs to be selected via double-click.Chris Lumens2010-01-132-2/+12
|
* Take ignoredDisks into account on the filter screen as well.Chris Lumens2010-01-081-6/+13
| | | | | If ignoredisk --disks= was given, of course there's not going to be anything in exclusiveDisks. So don't rely solely on that.
* When displaying the filter UI, check devices that are in exclusiveDisks.Chris Lumens2010-01-081-5/+12
| | | | | | | | | | This fixes a couple problems: (1) If you go past the filter UI and then come back, your original selections will now be preserved. (2) If you do an interactive kickstart install with the ignoredisk command, those selections will also be preserved.
* Do not duplicate exclusiveDisks when going back to filtering UI.Radek Vykydal2010-01-081-1/+1
| | | | | | | The only other place where exclusiveDisks are set is in ks and in this case filter UI is skipped so it seems we can just assign value to exclusiveDisks instead of extending it (which causes the problem when going back to filtering UI).
* Fix bootloader driveorder dialog.Radek Vykydal2009-12-221-5/+3
| | | | _genStore expects disk objects, not disk names.
* Fix selection of default boot target in UI (#548695)Radek Vykydal2009-12-221-1/+2
| | | | | Corrects translation between device name and device path. Changes rendering style of toggle button in list from check to radio (which is how it behaves).
* Don't include advanced devices in the total count on the basic filter UI.Chris Lumens2009-12-181-2/+10
| | | | | Seeing a count of more devices than you can find in the UI is confusing, so only include them in the count if we're doing the advanced UI.
* For iSCSI devices, put the path into the UI instead of a WWID.Chris Lumens2009-12-181-2/+9
|
* Make Callbacks._update_size_label callable from outside the object.Chris Lumens2009-12-181-8/+11
| | | | | | | Having it be private was based upon the old assumption that you couldn't add devices during installation. Of course, that's incorrect for things like iSCSI and FCOE. So now that we need to update the size label when the Add Advanced button is clicked, it needs to be renamed.
* Do not show the "Add Advanced" button on the basic filtering screen.Chris Lumens2009-12-181-0/+8
| | | | | Since the basic screen doesn't even have tabs to display the kinds of devices that can be added with this button, it doesn't make any sense to show it.
* Fix multipath filtering.Chris Lumens2009-12-161-2/+4
| | | | | | First, a gtk.ComboBoxEntry doesn't have a get_text() method. It has a child that has a get_text() method. Second, filter-as-you-type works more like you would expect if the filters use "contains" instead of "is".
* Add an interface to select the fancy filtering UI vs. the regular one.Chris Lumens2009-12-111-0/+80
| | | | | | 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.
* Add a step to prompt for the cleardisks UI.Chris Lumens2009-12-111-0/+201
| | | | | | 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.
* Add a dialog to configure advanced storage devices.Chris Lumens2009-12-112-22/+347
| | | | | | | | | This brings back the old behavior of having a dialog that can prompt for unusual storage devices that require manual intervention, like FCOE and iSCSI. After the dialog is run, we have to put and new devices into the UI. However, udev isn't going to provide just a list of newly appeared devices so we have to maintain a list of what was around previously, and compare the current device list to that. This promises to be slow but there's not a better option.
* Add an early user interface for filtering storage devices.Chris Lumens2009-12-112-0/+723
| | | | | | | | | | 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.
* Rework the upgrade vs. install screen a bit to make it look nicer.Chris Lumens2009-12-111-42/+33
| | | | | Add some text at the top, rework the rest of the text to be more descriptive, and bold/italicize other text to make it stand out more.
* Add the updated and simplified parttype screen.Chris Lumens2009-12-111-472/+87
| | | | | | | This revised screen is part of the simple flow for the new storage filtering UI. It only offers you to pick the kind of install you want to do, check to review, and check to encrypt. Everything else will go on another screen later.
* Put less space between rows and allow text to be longer before wrapping.Chris Lumens2009-12-111-4/+4
|
* A couple of cleanups to warnings about formatting preexisting devices.David Lehman2009-12-101-1/+1
|
* Hide devices with certain formatting in the main partitioning UI.David Lehman2009-12-091-0/+3
| | | | We don't want to show biosraid, multipath, &c disks in the GUI.
* Automatic partitioning support for whole-disk formatting.David Lehman2009-12-092-16/+78
| | | | | | | | When using the entire disk, whole-disk formats are replaced with a new disklabel. When replacing existing linux installations, linux- native whole-disk formats are replaced with a new disklabel. Disks containing whole-disk formatting are not offered as bootloader installation targets.
* Add support for whole-disk formatting.David Lehman2009-12-095-67/+74
| | | | Whole-disk formats are recognized but cannot be edited in any way.
* Add per-row control over sensitive property for CheckList and WideCheckList.David Lehman2009-12-092-7/+26
| | | | | | This is optional. To enable it, add a boolean column as the last column of the TreeStore you pass in and specify 'sensitivity=True' when instantiating WideCheckBox or CheckBox.
* Use a function to add a device to the partition gui.David Lehman2009-12-091-198/+98
|
* Nothing sets flags.setupFilesystems anymore, so it can go too.Chris Lumens2009-12-031-2/+1
|
* Enable method/repo nfs options in stage2.Radek Vykydal2009-12-031-10/+14
| | | | | | | | | | | In stage 2, the nfs options given in repo= boot parameter were malparsed, in UI they were ignored. Note that now the options can get to stage 2 only via method=/repo= boot parameter. Ks nfs option --opts works only when its url specifies stage2 (i.e. ends with images/install.img). In cases when method (--repo parameter for anaconda python script) is inferred from stage2, nfs options of stage2 "nfs:..." url aren't passed to stage 2.
* Display url having invalid prefix in repo editing dialog.Radek Vykydal2009-12-031-0/+3
|