summaryrefslogtreecommitdiffstats
path: root/iw
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a few bugs in the lvm dialog. (#489022)David Lehman2009-03-111-2/+2
| | | | | This time I left out the check prior to setting the vg name as it should be unnecessary.
* Hook up 'Shrink current system' dialog to new storage code.David Cantrell2009-03-101-7/+13
| | | | | | | The whichToResize() window presents the user with a list of resizable filesystems, allows the user to enter a new target size, then creates an ActionResizeFormat object and returns that to the caller. The action is registered in the Storage object.
* Speed up partitioning screen redraws by trimming workload where possible.David Lehman2009-03-101-40/+48
| | | | | | | | | | | Previously we would call doPartitioning every time we refreshed the main partitioning screen. This makes little sense if the user just finished modifying a vg or md array or only assigned a mountpoint to an existing device. There is still more that we could do, like only calling doPartitioning if one of the generated action involves partition allocation.
* Fix name collision between formats.mdraid and devicelibs.mdraid.David Lehman2009-03-101-5/+5
|
* Fix several minor bugs preventing upgrade/rescue mount. (#488946)David Lehman2009-03-091-1/+1
|
* Fix booty for dmraidHans de Goede2009-03-091-2/+2
| | | | | | Booty was expecting the xxxxxxx part of /dev/xxxxxx paths instead of new storage device names, this patch fixes this, making booty work on dmraid with the new storage code.
* It's self.origrequest, not self.origreqest (#489036).Chris Lumens2009-03-091-1/+1
|
* Add dmraid functionality to new storage code.Joel Granados Moreno2009-03-062-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * storage/devices.py (DMRaidArrayDevice): Complete the DMRaidArrayDevice class. * storage/devices.py (PartitionDeviceFactory): When creating a partition we need to decide, based on the device holding the partition, what type of partition class will be returned. * storage/devices.py (PartitionDevice): When setting the disk we must be careful to change stuff accordingly. * storage/devicetree.py (addUdevDevice): Handle the creation of the dmraid device and its members in the addUdeveDevice function. * storage/formats/dmraid.py (DMRaidMember): Complete the format that handles devices being members of a dmraid array. * storage/udev.py (udev_device_is_dmraid): add a function that recognizes dmraid devices from the provided info list. * storage/udev.py (udev_device_get_dmraid_partition_disk): function that gets the disk string from partition info. * storage/udev.py (udev_device_is_dmraid_partition): function that checks for dmraid partitions. * storage/__init__.py (disks(self)): return a list of disks from the internal attribute. * storage/__init__.py (Storage.disks): we really want to make sure we return all the objects that comply with the DiskDevice interface (inheret from DiskDevice) * storage/__init__.py (Storage.partitions): Same as above but for PartitionDevice. * iw/autopart_type (PartitionTypeWindow(InstallWindow)): use disk.name instead of munging the first 5 characters of the path. * storage/partitioning (newPartition): Use the new partition factory to create a partition.
* Pass storage.disks, not storage, to createAllowed.... (#488860)David Lehman2009-03-051-1/+1
|
* Prevent clobbering of name 'mdraid' by qualifying it.David Lehman2009-03-051-2/+2
|
* Fix a couple problems on the "Change device" bootloader dialog.Chris Lumens2009-03-051-4/+8
| | | | | | | (1) Add the active boot partition to the drop down BIOS drive list. (2) If there's no active device (not sure how this could happen, but we've gotten bugs about it before) then don't try to do anything else with that combo box.
* Remove all uses of isys.cdromList, which no longer exists.Chris Lumens2009-03-051-2/+2
|
* Check to see if we're on S390 on the congrats screen (#488747).Chris Lumens2009-03-051-1/+2
| | | | | This continues the war on calling iutil.isWhatever() everywhere. We can start using the platform module for that.
* Merge branch 'master' into storageDavid Lehman2009-03-042-7/+27
|\ | | | | | | | | | | | | | | | | Conflicts: anaconda fsset.py iutil.py iw/partition_gui.py partedUtils.py
| * reIPL support for s390Mark Hamzy2009-03-021-5/+27
| | | | | | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
| * Revert "Use direct reference instead of setattr()."David Cantrell2009-02-231-2/+4
| | | | | | | | | | | | This reverts commit 6317611f1d9990910d3d1f528c2f6e7b934fcd4d. Can't assign inside a lambda.
| * Use direct reference instead of setattr().David Cantrell2009-02-231-4/+2
| | | | | | | | pychecker fix.
| * Remove unnecessary import lines.David Cantrell2009-02-234-4/+0
| | | | | | | | pychecker fix.
* | Fix adding bootloader entries on the bootloader config screen.Chris Lumens2009-03-041-1/+3
| |
* | If nothing's selected in the bootloader selection combo, don't traceback.Chris Lumens2009-03-041-1/+6
| | | | | | | | | | This fixes a rarely reported, even more rarely reproduced bug indicating a problem subscripting a TreeIter.
* | Fix some booty import errors.Chris Lumens2009-03-041-1/+1
| |
* | Fix tracebacks when loading the "Change device" dialog.Chris Lumens2009-03-041-3/+3
| |
* | Make the lvm dialogs minimally functional.David Lehman2009-03-041-68/+32
| |
* | Several fixes to raid dialog.David Lehman2009-03-041-16/+28
| | | | | | | | | | The biggest change is creating a new MDRaidArrayDevice instance whenever the user hits "ok" and the device is not preexisting.
* | More UI plumbing for filesystem migration support.David Cantrell2009-03-031-0/+8
| | | | | | | | Fixes for the edit partition dialog.
* | Handle instances where migrate is not possible.David Cantrell2009-03-031-2/+6
| | | | | | | | | | If we're dealing with a non-migratable filesystem, othercb and othercombo will be None here.
* | Migrate FS user interface plumbing.David Cantrell2009-03-031-20/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | Hook up the migrate fs UI components with the new storage backend. Highlights: - If user selects Migrate filesystem to, the Format checkbox is disabled. Same for the reverse, selecting Format disables the Migrate options. - Mount point entry box is not disabled for migrate selections. - Wrap the return value in storage.formats.fs.FS.migratable in bool(). If the filter() operation returns a list, that's what we get in the return value rather than True. - Other minor typo and syntax fixes.
* | Make it possible to create encrypted partitions interactively.David Lehman2009-03-031-28/+28
| |
* | Fix check for newly encrypted partitions in main part window.David Lehman2009-03-031-1/+3
| |
* | Import LUKSDevice from storage.devices since we might use it.David Lehman2009-03-031-1/+1
| |
* | Several fixes to main partitioning gui.David Lehman2009-03-031-16/+5
| | | | | | | | | | | | | | | | | | | | - Fix indentation of block that sets up format indicators for partitions. - Fix check for partitionable devices in deleteCB. - Refresh UI even if dialogs return empty action list, so we pick up little things like a newly set mountpoint on a pre- existing device. - Don't pass storage instance to vgeditor since anaconda has it.
* | Several fixes to storage dialog common code.David Lehman2009-03-031-18/+17
| | | | | | | | | | | | - Pass around format classes instead of fstype strings. - createFSTypeMenu now takes a format instance as its first arg. - Handle resize and migrate.
* | Lots of little fixes to raid dialog.David Lehman2009-03-021-4/+39
| | | | | | | | | | | | | | | | - Always return a list from run(). - Handle removal of encryption. - Collect mountpoint even if not creating or formatting. - Collect migration/resize settings. - Pass format instance to createFSTypeMenu
* | Lots of fixes to partition dialog.David Lehman2009-03-021-20/+24
| | | | | | | | | | | | | | | | | | - Always return a list from run(). - Handle the case of removing encryption from a device. - Schedule format create actions to go with device create actions. - Save mountpoint setting even when not formatting/creating. - pass format instance to createFSTypeMenu - create preexist options even for unknown formats
* | Lots of little fixes to lvm dialogs.David Lehman2009-03-021-36/+75
| |
* | Import lvm module to provide has_lvm.David Lehman2009-03-021-0/+1
| |
* | Handle existing volumes without labels.David Cantrell2009-03-021-1/+1
| | | | | | | | | | Existing volume may lack a label. If it's there, add it to the list, otherwise just go with the defaults.
* | Remove calls to sanityCheckRequest()David Cantrell2009-03-023-32/+0
| | | | | | | | | | We don't have this function anymore, but I don't know if we need to be calling anything else.
* | Syntax fixes for new storage code.David Cantrell2009-03-022-8/+8
| | | | | | | | | | Misc syntax fixes for the new storage code. Generated these while trying to do a 'Create custom layout' install.
* | Import doPartitioning from storage.partitioning.David Cantrell2009-03-021-1/+2
| | | | | | | | doPartitioning is not in autopart anymore.
* | Syntax and import fixes.David Cantrell2009-03-023-9/+9
| |
* | Use disk.name to get device node name.David Cantrell2009-03-021-1/+1
| | | | | | | | | | | | We have used string slicing to get a device node name like 'sda5' in the past. The disk.name property now gives us that so we do not have to do string slicing all over the code.
* | First crack at making upgrade migrate gui work with new storage code.David Lehman2009-02-271-27/+27
| |
* | Fix up calls to bootloaderChoices to refer to the platform module now.Chris Lumens2009-02-271-2/+2
| |
* | Lots of minor fixes and cleanups. A non-exhaustive list follows.David Lehman2009-02-275-44/+38
| | | | | | | | | | | | | | | | | | | | | | - Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
* | Lots of little updates to make things use the new storage module.David Lehman2009-02-246-50/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
* | Remove a bunch of obsolete imports.David Lehman2009-02-231-6/+0
| |
* | Update to use new storage module.David Lehman2009-02-231-46/+46
| |
* | Update UI code to use new storage module.David Lehman2009-02-235-1159/+993
|/
* A parted.Disk has no attribute named "dev". It's named "device" (#486007).Chris Lumens2009-02-171-2/+2
|