summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove a bunch of stuff from the TODO list for a change.Chris Lumens2012-09-171-8/+0
|
* Move check of new partition size against format limits.David Lehman2012-09-171-14/+15
| | | | | | | Since the newui custom spoke creates all partitions with a base size of 1MB this check had to be moved to after allocation is complete since the base size is nearly meaningless in the context of these checks.
* Improve growth check when deciding where to allocate new partitions.David Lehman2012-09-171-5/+31
| | | | | | | | | | | In the case where the new partition is going to be the first logical partition on the disk (and therefore require creation of an extended partition) we were failing to correctly set things up to perform the growth calculation. This led to sub-optimal placement of partitions. This also fixes a small bug that caused us to jump to the new candidate free region even when it offered the same growth potential as the old/current one.
* Keep btrfs selectors' sizes in sync as volume size changes.David Lehman2012-09-171-1/+17
| | | | | | | Subvolume size is the same as the volume size. Adding a new subvolume means growing the volume, which requires us to update the other subvolumes' selectors' sizes to keep them all in sync (and prevent spurious size adjustment operations).
* Allow specification of a label for new swap space via custom ui.David Lehman2012-09-171-1/+2
|
* Don't allow stage2 as stage1 unless specified via location.David Lehman2012-09-171-1/+2
| | | | | This prevents automatic selection of stage2 as stage1, which is something we never want to happen.
* Remove reference to PartitioningWarning, which was removed last week (#875931).Chris Lumens2012-09-171-9/+0
|
* Add a way to test exception handlingVratislav Podzimek2012-09-173-3/+39
| | | | | | | | Instead of adding command line option throwing exception in one place of the code, let's use SIGURS1 as signal for raising exception in anaconda. This way, it is possible to raise exception in different phases of the installation and we can add code to prepare worst case scenario testing as much resolved bugs in exception handling as possible.
* Fix dumpState to work with the new python-meh (#856235)Vratislav Podzimek2012-09-171-9/+8
|
* New version.Chris Lumens2012-09-143-127/+341
|
* Make sure the InstallOptionsNDialogs get the correct space labels.Chris Lumens2012-09-141-3/+0
| | | | | | The #2 and #3 dialogs already grab the correct labels so by trying to do so again in _set_free_space_labels, we're making sure to get the wrong thing and end up with a traceback.
* Get rid of the big pause going from the storage spoke back to the hub.Chris Lumens2012-09-141-10/+10
| | | | | It's all because doKickstartStorage and StorageChecker.run can take a long time, and they were being run synchronously.
* Don't fail when making updates if the symlink already exists.Chris Lumens2012-09-141-1/+1
|
* Make sure to set the default TZ in ksdata so the completed method works.Chris Lumens2012-09-141-2/+5
|
* Allow creation of biosboot and prepboot partitions in the custom spoke.David Lehman2012-09-133-9/+21
| | | | | Also switches the reformat check to use format names instead of types since the names are what we populate the fstype combo with.
* Hide removable disks containing install media from the custom spoke.David Lehman2012-09-131-0/+6
|
* Make the minimum size for custom spoke partitions 1MB.David Lehman2012-09-131-0/+4
|
* The return value of execWithRedirect is an integer.David Lehman2012-09-131-2/+2
|
* Only include following free space in partitions' max size.David Lehman2012-09-131-6/+14
| | | | Leading space isn't useful for growing a filesystem.
* Handle btrfs volumes with a dataLevel of None.David Lehman2012-09-131-2/+2
|
* Handle newDevice partitions smaller than the default of 500MB. (#853125)David Lehman2012-09-131-11/+6
| | | | | | | | | | | | | | With larger partitions we were starting with the default size of 500MB and growing as close as possible to the requested size, but for smaller requests we were attempting a fixed-size allocation. That's no good because it's a change in behavior for requests below a somewhat arbitrary size and the difference is the smaller (fixed) request allocations are more likely to fail. The solution is to always use a base size of 1MB instead of 500MB. It works without messing up partition growth because all partition sizes get fixed after their first allocation, which means that at any point where we're growing a request with a base size of 1MB we know that any other growable requests will have the same base size.
* Add underlines to the expander and encryption checkbox in custom partitioning.Chris Lumens2012-09-131-32/+5
| | | | Also I really hate placeholders. Stop making them, glade.
* Remember to mark an environment as selected in the store.Chris Lumens2012-09-131-0/+2
|
* Rename the addon/environment store columns to make sense.Chris Lumens2012-09-131-6/+6
|
* Use slightly less confusing labels for the various back buttons.Chris Lumens2012-09-132-1/+2
|
* Add a property to SpokeWindow for setting the single button's label.Chris Lumens2012-09-131-5/+55
|
* Rename the SpokeWindow's back button to just button.Chris Lumens2012-09-1312-37/+41
| | | | | This also changes the back-signal to button-signal. This is prep work for allowing individual spokes to relabel the button if they so choose.
* Use the blocking read to avoid busy wait in TUI progressMartin Sivak2012-09-131-5/+1
|
* Make progress hub spokes possible and move the root password thereMartin Sivak2012-09-138-59/+253
| | | | | - Splits doInstall to doInstall and doConfiguration - Updates text and gui mode to use doConfiguration
* Don't let user hit Add button if no new layouts are selectedVratislav Podzimek2012-09-132-0/+11
| | | | | | | It doesn't make sense and can cause traceback when replacing the last layout in the list of added layouts. Resolves: rhbz#854643
* Gtk.ListStore.iter_previous now returns new iterator (#849060)Vratislav Podzimek2012-09-131-1/+2
| | | | | Instead of modifying passed iterator, iter_previous now returns a new one.
* Write storage configs after payload install for live installs. (#856836)David Lehman2012-09-122-1/+6
| | | | | | | | For yum payloads we write storage config before installing the payload so %post scripts have access to the configuration files if needed. For live installs, we have to write the config after installing the payload since installing the payload would overwrite parts of the storage configuration (notably /etc/fstab).
* Update the pot file for various important string changes.Chris Lumens2012-09-121-557/+414
|
* Attempt to fix word wrapping issues with the betanag dialog (#853913).Chris Lumens2012-09-121-4/+3
| | | | | | By hardcoding newlines in the source text, I made it difficult for translators to correctly make sure their text wrapped. Instead, remove the newlines and just have gtk figure out where the wrapping should go.
* CONTINUE -> BEGIN INSTALLATION (#856614).Chris Lumens2012-09-121-1/+1
|
* Language selection should work the same as keyboard selection (#854570).Chris Lumens2012-09-122-29/+31
| | | | | | That is, when you start typing in the entry box it should filter the results in the list instead of displaying a drop down. This also allows for typing either the English or native names and having both work for filtering.
* Fix ransom notes cycling.Chris Lumens2012-09-123-27/+25
| | | | | | Instead of constantly creating new Images and shoving them into a spot in the notebook, I'm now just putting each rnote on its own page. Whether it's better or not is up for debate, but at least this way works.
* Improve the clarity of the custom checkbutton label.David Lehman2012-09-111-1/+1
| | | | | Try to make it clear that activating the checkbutton opts out of automatic partitioning.
* Add error handling around significant ui-initiated storage operations.David Lehman2012-09-117-71/+402
| | | | | | | | | | | | | | If automatic partitioning fails, we reset the storage instance to its prior state. The custom spoke operates on a copy of the storage instance, so that means it gets reset to whatever the state was upon entering the custom spoke. For the storage spoke we have little choice but to actually call self.storage.reset() which actually re-scans the devices. For other operations within the custom spoke, the goal is to restore things to the state prior to the failed action. If that fails, the custom spoke will simply reset its storage instance as described above for automatic partitioning failures.
* Improve error granularity slightly in automatic partitioning.David Lehman2012-09-112-6/+6
| | | | Also remove unused PartitioningWarning exception.
* Fix detection of preexisting md arrays again.David Lehman2012-09-112-4/+9
|
* Handle changes to sizes of predefined devices in custom spoke.David Lehman2012-09-111-0/+18
|
* Fix traceback when switching device type to BTRFS.David Lehman2012-09-111-1/+2
| | | | | BTRFS default RAID level is single, so we need that to be a key in the raid_level_features dict.
* Validate mountpoints in the add-a-mountpoint dialog.David Lehman2012-09-112-10/+48
|
* Tell 'lvm' that yes, we really, really want to remove PVVratislav Podzimek2012-09-111-1/+1
| | | | | | | Using --force --force is not enough, 'lvm' still asks, if we really want to remove PV used by some VG. Adding --yes fixes the issue. Resolves: rhbz#853977
* Use 250ms interval for installation progress updatingVratislav Podzimek2012-09-111-1/+1
| | | | | Using GLib.idle_add for action that repeats means 100% CPU usage. So let's use GLib.timeout_add with 250ms interval instead.
* network spoke: hide for live CD and image installs (#854586)Radek Vykydal2012-09-111-0/+5
| | | | Use desktop configuration tool.
* Fixed luks_add_key()Jan Safranek2012-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | On F18 with Anaconda 18.6.5, adding new passphrase to LUKS format always fails: ----> 1 fmt.addPassphrase("XYZ") /usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/luks.pyc in addPassphrase(self, passphrase) 246 passphrase=self.__passphrase, 247 key_file=self._key_file, --> 248 new_passphrase=passphrase) 249 250 def removeKeyFromFile(self, keyfile): /usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/crypto.pyc in luks_add_key(device, new_passphrase, passphrase, key_file) 133 134 cs = CryptSetup(device=device, yesDialog = askyes, logFunc = dolog, passwordDialog = askpassphrase) --> 135 rc = cs.addPassphrase(passphrase = passphrase, newPassphrase = new_passphrase) 136 137 if rc<0: In recent cryptsetup-python-1.5.0-2.fc18, cs.addPassphrase was replaced probably by cs.addKeyByPassphrase (I'm just guessing by the name). I tested it just in my dummy applications, take it with a grain of salt. Signed-off-by: Jan Safranek <jsafrane@redhat.com>
* Display a radio button next to the environment choices.Chris Lumens2012-09-102-10/+26
| | | | | | We've gotten some complaints that it's not obvious what to do with the left side of the software screen. A radio button makes it obvious that (1) you need to pick something, and (2) you can only pick one thing at a time.
* Update TODO list.Chris Lumens2012-09-101-1/+9
|