summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Set a new progress message as soon as the last package is done.Chris Lumens2012-07-161-0/+6
| | | | | | | | | | | | We don't get any notification that the post-trans has started, so this is the best we can do. At least now it doesn't look like the last package is taking forever to install.
* | fix typo in yumpayload error handlingBrian C. Lane2012-07-121-2/+2
| |
* | make the proxy url entry widerBrian C. Lane2012-07-121-0/+1
| |
* | Fix auto-continuing for kickstart installs.Chris Lumens2012-07-121-2/+8
| | | | | | | | | | | | | | | | | | If you're on a spoke when all other spokes become ready and complete, the install will continue automatically when you hit back. If you're on the hub, the install will continue automatically when all spokes are ready and complete. It's a little jarring, but that's just how it's gotta be.
* | Make hub continue button sensitivity more complicated.Chris Lumens2012-07-121-2/+19
| | | | | | | | | | | | | | It can only be sensitive both if there's no incomplete spokes and no not ready spokes. By not tracking not ready spokes, it's possible to hit continue while things are still downloading. This can lead to very bad situations, and it's only by accident that we've not hit this yet.
* | Run ksdata execute methods for real kickstart installs as well as from the UI.Chris Lumens2012-07-125-14/+48
| | | | | | | | | | | | | | | | | | This first requires splitting out the chunk that calls execute methods into its own function, then adding an execute method to spokes, then making sure it gets called from everywhere. I have also added a way to make sure the execute methods do not get run when spokes are ready, since at least the storage check function will set the spoke not ready and then ready again which will lead to an infinite loop.
* | Fix software spoke completion and status for certain kickstart installs.Chris Lumens2012-07-121-4/+20
| | | | | | | | | | | | | | If you're doing an install with just Core, or with some special set of groups that somehow doesn't include one of our desktop environments (even though Base is currently a DE), make sure to set the spoke to complete and give a useful status message.
* | Kickstart command handlers no longer need an anaconda instance.Chris Lumens2012-07-122-44/+9
| | | | | | | | | | | | | | | | This removes a lot of the special purpose code that made up the special AnacondaKSHandler subclass. There's also no need for the _dataObjs attribute anymore since we can't just blindly iterate over all kickstart objects any more. Some need to be run at one point, and some at another point.
* | Update partitioning-related kickstart commands.Chris Lumens2012-07-121-56/+30
| | | | | | | | | | This gets their execute methods to be ready to be called from somewhere else, but that does not yet happen.
* | Run the logging kickstart command right after parsing.Chris Lumens2012-07-122-1/+5
| |
* | Show more info about source failure in the spokeBrian C. Lane2012-07-111-0/+6
| | | | | | | | | | When package metadata fails to download suggest that the user check the repo url and, if enabled, the proxy settings.
* | Use Gtk.SortType.ASCENDING constant instead of 0 in the DatetimeSpokeVratislav Podzimek2012-07-111-1/+1
| |
* | Sort available layouts alphabeticallyVratislav Podzimek2012-07-112-10/+37
| | | | | | | | | | It's easier to search through the available layouts manually if they are sorted.
* | Update the TODO list.David Lehman2012-07-101-2/+2
| |
* | Be honest about free space on disks.David Lehman2012-07-101-4/+3
| | | | | | | | | | | | | | | | | | We still do the final check against the software's disk space requirement with the assumption that the user is doing autopart. Even when we have the tug of war, we're still checking free space before the user has had a chance to choose between autopart and custom. That will need to be addressed at some point.
* | Define SoftwareSpoke._tx_id early on.David Lehman2012-07-101-0/+1
| |
* | Run a storage sanity check when leaving the storage spoke.David Lehman2012-07-102-8/+36
| |
* | Disk selection determines both ignoredisk.onlyuse and clearpart.drives.David Lehman2012-07-103-12/+77
| | | | | | | | | | | | | | | | | | | | | | This adds a way to hide devices from the devicetree without removing them. The devicetree is initially populated without filtering because we need to collect information about disks in the system as well as free space in disks and filesystems. Disk selection in the storage spoke establishes the set of disks to be used during install. We don't want to re-populate the tree every time a disk is selected or deselected. Instead, we just hide/unhide the disk and all devices it contains.
* | Clean up disk (re)initialization code.David Lehman2012-07-108-78/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CLEARPART_TYPE_ALL means clear existing partitions and create a new disklabel. CLEARPART_TYPE_LINUX means clear linux-native partitions (or linux- native whole-disk formatting) and create a new disklabel if the removals result in an empty disk. CLEARPART_TYPE_LIST means clear the specified devices (and devices built on top of them) and create a new disklabel if the removals result in an empty disk. Zerombr becomes an alias for 'clearpart --initlabel'. To initialize all disks: clearpart --all To initialize uninitalized disks but otherwise clear no partitions: clearpart --none --initlabel This adds a flag to the storage discovery config class that determines whether or not clearPartitions will remove not-yet-created devices and disklabels. The default is to not clear non-existent devices/formats. After the first trip to the storage spoke, we should not remove any layout the user set up in previous visits unless they choose autopart again, in which case we start from scratch each time, or de-select disks. Since the disk set can change each time through we have to be able to initialize uninitialized disks even on the way to the custom ui.
* | Don't include incomplete or degraded md arrays in the devicetree.David Lehman2012-07-101-0/+9
| |
* | Add an alignment around both the language list and search box.Chris Lumens2012-07-092-65/+84
| | | | | | | | | | | | This is all because I want the search box to only ever be as wide as the language list view itself. Sure does take a lot of glade to accomplish that.
* | update proxy supportBrian C. Lane2012-07-095-59/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | cmdline proxy strings use the standard form: [protocol://][username[:password]@]host[:port] proxy url strings are stored in the ksdata, either in method.proxy for the global proxy or per repo in repo.proxy ProxyString handles parsing the proxy url and returning it in various forms useful for urlgrabber, yum and the UI. --proxyAuth has been removed. It has no meaning with noloader. Also fix a typo with sslverify in the repo configuration file.
* | Let kickstart users log to device nodes (#835563)Brian C. Lane2012-07-091-9/+10
| | | | | | | | | | | | | | | | If a kickstart pre/post fails we read the logfile and add it to the anaconda log. This doesn't work well for device nodes like /dev/console so skip reading the log it isn't a regular file. Resolves: rhbz#835563
* | Add the entry box back under the language list.Chris Lumens2012-07-053-14/+46
| | | | | | | | | | | | This basically reverts a commit of mine from January. Keeping the entry and the list in sync is really not a big deal, and we need to provide a more full-featured search capability than the default GTK model one anyway.
* | Add a keyboard shortcut to the custom add-on dialog.Chris Lumens2012-07-051-1/+2
| |
* | Don't put a title bar on the "Add custom add-on" dialog.Chris Lumens2012-07-051-0/+1
| |
* | When the user clicks autopart, show the first filesystem on the RHS.Chris Lumens2012-07-051-10/+12
| |
* | Fix deletion of an entire installation at once.Chris Lumens2012-07-031-5/+4
| | | | | | | | | | Not having a root in self.storage.roots for the newly created set means deletion was broken in this case.
* | When a filesystem is deleted, give focus to whatever we display next.Chris Lumens2012-07-031-0/+1
| |
* | The presence of new_devices means _ran_autopart is not longer needed.Chris Lumens2012-07-031-7/+2
| | | | | | | | | | It also works better, in that using new_devices means when the last of the autopart-created set is deleted, we know to re-display the CreateNewPage.
* | Don't traceback when deleting the last of the autopart-created set.Chris Lumens2012-07-031-1/+1
| |
* | When a filesystem is deleted in custom.py, keep its page expanded.Chris Lumens2012-07-031-1/+1
| | | | | | | | | | This also has the effect of making sure the RHS has something relevant displayed in it after the filesystem is deleted.
* | Fix free space accounting in disk shopping cart to use getFreeSpace.David Lehman2012-07-033-7/+10
| |
* | Make software spoke ready regardless of depsolve outcome.David Lehman2012-07-031-1/+2
| |
* | Don't skip disklabel reinit on boot disk if initlabel is set.David Lehman2012-07-031-1/+2
| | | | | | | | | | Even if the boot disk has the correct disklabel type, we were asked to reinitialize the disk(s), so do it.
* | Fix some bugs in custom.py.David Lehman2012-07-031-3/+5
| | | | | | | | | | | | - Fix a typo - Enable remove button for devices - Fix a tb on removal of unused devices
* | Move disk initialization code into a reinitializeDisk method.David Lehman2012-07-031-13/+29
| |
* | Move clearPartitions into Storage.David Lehman2012-07-033-124/+119
| |
* | Move shouldClear into Storage.David Lehman2012-07-035-81/+75
| |
* | Remove some unused code related to clearpart/zerombr from devicetree.David Lehman2012-07-031-39/+0
| |
* | Move zerombr handling so doesn't depend on the clearpart setting.David Lehman2012-07-032-23/+16
| |
* | Cleanups to restore things after the merge of master onto newui.David Lehman2012-07-034-34/+16
| |
* | Allow multiple visits to the storage spoke.David Lehman2012-07-031-5/+13
| | | | | | | | | | If autopart is selected, we re-run clearpart and autopart on apply. If not, we do neither.
* | Put newly created devices in a page of their own.David Lehman2012-07-031-31/+29
| | | | | | | | | | | | | | | | | | Unset autopart flag after running ksdata.autopart.execute since we are still techically doing custom partitioning. Don't show devices queued for removal in the custom spoke. Don't include Roots whose root device has been queued for removal.
* | Don't include newly created devices in Storage.unusedDevices.David Lehman2012-07-031-0/+4
| |
* | Update bootloader disk list after running clearpart.David Lehman2012-07-032-3/+9
| |
* | Collect free space info for unpartitioned disks, too.David Lehman2012-07-031-1/+1
| |
* | Attempt dependency solving if packages were provided by a kickstart file.Chris Lumens2012-07-031-0/+4
| |
* | Move keyboard layout setting to after the interface is set up.Chris Lumens2012-07-031-24/+19
| | | | | | | | | | | | Otherwise, we end up hung waiting for XklWrapper.get_interface to return which it appears to never do. This only happens on kickstart installs in my testing.
* | Add a confirmation dialog for the quit button.Chris Lumens2012-07-023-4/+124
| |