summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge run-hub with run-spoke as the code was almost identicalMartin Sivak2012-05-243-78/+30
| | | | | | | | | | | | | | | | | | | | To start hub use the following command: make runhub HUB_MODULE=summary or make runhub HUB_MODULE=summary HUB_CLASS=SummaryHub
* | Improve the runspoke.py tool and make it callable from makeMartin Sivak2012-05-244-13/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make runspoke SPOKE_MODULE=source or make runspoke SPOKE_MODULE=source SPOKE_CLASS=InstallSource - runspoke now accepts the name of the module containing the spoke the user wants to run on command line and will find the spoke automatically - as an optional second argument, the script accepts the name of the spoke class - install classes and gi introspection files are looked for in anaconda sources first, so there is no need to install the anaconda-widgets package to the system - anaconda should use ANACONDA_DATA, ANACONDA_WIDGETS_DATA and ANACONDA_INSTALL_CLASSES env variables to look for data files if those variables are defined - there was a circular dependency between yuminstall, backend and kickstart modules, which caused import yuminstall to fail, because: yuminstall called backend, which called kickstart, which requested NoSuchGroup from yuminstall. NoSuchGroup was present in the source, but much later, so it hadn't been evaluated yet and the import failed with missing symbol error.
* | Don't allow continuing from the storage spoke if no disks are selected.Chris Lumens2012-05-231-0/+1
| |
* | Show existing filesystems and installations in the left side of the spoke.Chris Lumens2012-05-231-37/+88
| | | | | | | | | | | | | | There are a lot of UI problems with this one right now. Alignment is all over the place, clicking on things doesn't do anything, stuff like that. However it's more important to get this in front of people in a rough state than have it perfect right this second.
* | Calling str() on a Size will give a properly formatted string.Chris Lumens2012-05-231-4/+4
| |
* | Remove places that import upgrade unnecessarily.Chris Lumens2012-05-233-90/+0
| | | | | | | | | | | | | | upgrade is bringing in findExistingRootDevices, which no longer exists. I could instead fix upgrade, but we are going to fix it in a far more comprehensive manner later by moving it out of anaconda. Thus there's no need to deal with it here now.
* | Fix a couple minor problems with the last storage commit.Chris Lumens2012-05-232-5/+16
| |
* | Add an override for MountpointSelector so it works like SpokeSelector.Chris Lumens2012-05-231-0/+16
| |
* | Automatically find layouts for existing linux installations.David Lehman2012-05-231-92/+151
| |
* | Add an 'ancestors' property that returns a device and all ancestors.David Lehman2012-05-231-0/+7
| |
* | Run chronyd.service by defaultVratislav Podzimek2012-05-221-1/+1
| |
* | NTP switch functionality (DatetimeSpoke)Vratislav Podzimek2012-05-223-2/+77
| | | | | | | | | | When the NTP switch is turned ON/OFF we want to start/stop the chronyd.service and make the date/time setting widgets (in)active.
* | Added the basis of the left hand side of the custom partitioning UI.Chris Lumens2012-05-212-297/+358
| | | | | | | | | | | | | | | | | | This removes the previous store and tree view code, adding instead the Accordion and Page code. It also adds the Page that prompts you for how to create a new partitioning layout and makes that the default for now. So, no partitioning is yet displayed here and the creation button doesn't do anything. But it's a start.
* | Add a new MountpointSelector widget.Chris Lumens2012-05-214-1/+308
| | | | | | | | | | This is the thing on the left hand side of the custom partitioning interface, allowing you to select a mount point and do some configuration on it.
* | Add a little padding under the "FINISH PARTITIONING" button, too.Chris Lumens2012-05-171-0/+1
| |
* | Add the link showing how many disks are selected on the custom spoke.Chris Lumens2012-05-162-21/+61
| |
* | Display the available space and free space boxes as they ought to be.Chris Lumens2012-05-163-71/+77
| | | | | | | | | | | | I don't know why, but you can't set the background on a GtkBox using CSS like I was elsewhere. So, I've introduced some intermediate Viewports that do nothing but allow for background coloring.
* | Add total and available space to the custom partitioning spoke.Chris Lumens2012-05-161-3/+29
| |
* | Fix wording on the finish button.Chris Lumens2012-05-161-1/+1
| |
* | Make spoke status messages always grey.Chris Lumens2012-05-151-2/+2
| | | | | | | | | | | | | | Really, I'd like them to be grey only when the spoke is not ready and then turn black afterwards. But I can't make that work, and it has to be done in C since the labels aren't exposed outside of that. So this will have to work for now.
* | The software spoke's readiness also depends upon its own watcher thread.Chris Lumens2012-05-151-1/+2
| | | | | | | | | | | | | | When a spoke is created, initialize should always be called before readiness is checked. However for those spokes that spawn off a thread in the initialize method, readiness could be checked before that thread is done. We need to make sure to check that the watcher is still running as well.
* | Try to preset timezone even if we are not adding layouts (WelcomeSpoke)Vratislav Podzimek2012-05-151-6/+6
| | | | | | | | | | Since the code adding a language-related layout may return from the apply method, move timezone preseting before it.
* | Add and remove layouts from the X runtime configurationVratislav Podzimek2012-05-154-9/+125
| | | | | | | | | | When user adds/removes a layout, we want to add/remove it from the X runtime configuration so that the change really happens.
* | Don't raise exceptions from groups, packages properties.David Lehman2012-05-111-3/+6
| | | | | | | | | | An empty list is more reasonable for something treated like a normal attribute.
* | Note the lack of software source if that is the reason we're not ready.David Lehman2012-05-111-0/+4
| |
* | Remove no-longer-needed _ready attribute from the software spoke.David Lehman2012-05-111-3/+1
| |
* | Actually skip unneeded stage1 partition requests when we mean to.David Lehman2012-05-111-0/+1
| |
* | Update TODO list.David Lehman2012-05-111-3/+1
| |
* | Use pyanaconda.errors for error handling in storage.David Lehman2012-05-114-47/+28
| |
* | Add notes to things that should be done in yum instead of YumPayload.David Lehman2012-05-111-0/+5
| |
* | Remove the unnecessary step in on_selection_changed (KeyboardSpoke)Vratislav Podzimek2012-05-111-4/+1
| |
* | Initialize and refresh the layoutsStore correctlyVratislav Podzimek2012-05-111-3/+9
| | | | | | | | | | Since the spoke's status is queried even before the refresh method is invoked we need to populate the store in the initialize method.
* | Do not query self.builder for objects multiple times, use self.* members insteadVratislav Podzimek2012-05-111-47/+33
| |
* | Save the newly set time and dateVratislav Podzimek2012-05-111-16/+50
| |
* | Set timezone in the initialization method, but don't start timersVratislav Podzimek2012-05-111-4/+18
| | | | | | | | | | | | | | | | We need to set the timezone in the initialization method because the Datetime spoke's status is queried before the refresh method gets invoked. However the change of timezone results in a change of the displayed date/time and we don't want to start timers for updating the date/time when the spoke is not shown.
* | Try to preset the timezone to the language-related oneVratislav Podzimek2012-05-112-1/+8
| | | | | | | | | | Once we have a GeoIP available, we should use it for guessing right timezone, but for now, try to use the chosen language.
* | Change displayed time with timezone changeVratislav Podzimek2012-05-111-1/+3
| |
* | Don't let any single spoke's status line get too large (msivak).Chris Lumens2012-05-112-4/+3
| | | | | | | | | | | | | | Some keyboard layouts have pathologically long names, and we're already trimming the status for network sources so just do it for all spokes. Note that this does not change the text of the status, so it can still be used for string comparisons.
* | Try payloadInitialize again if the network standalone spoke changes.Chris Lumens2012-05-101-1/+16
| | | | | | | | | | | | | | | | | | | | | | When we first try payloadInitialize from anaconda, it's possible there's no network active. Thus, the thread fails. However if the network is brought up on the network standalone spoke, we should try again. We also need to limit trying again to only the cases where no base repo is set up (so, skip doing anything on media installs). Long story short, a netinst.iso boot with no configured repo and no network should now work correctly.
* | If no groups are available, mark the spoke instead of throwing an exn.Chris Lumens2012-05-101-1/+8
| | | | | | | | | | | | | | This is coming up for me when booting a netinst.iso with no network active. Trying to load groups later will fail and throw a traceback. It'd be better if we just made sure the software spoke was unavailable and let the user fix the lack of network.
* | Always select @core.David Lehman2012-05-091-0/+2
| |
* | Smooth out some rough edges with base repo switching.David Lehman2012-05-091-3/+11
| | | | | | | | | | | | | | | | Remove cache dirs for "anaconda" repo when resetting since that repo name can apply to any base repo configured manually by the user. Disable all built-in repos when setup of user-specified base repo fails and we were instructed not to fall back on the on-disk repo configs.
* | Tighten up interaction between source and software spokes.David Lehman2012-05-092-8/+68
| | | | | | | | | | | | The software spoke should only be ready when a valid source is configured. Downloading of repo metadata happens in the background, as does dependency checking.
* | Remove the loop from checkSoftwareSelection.David Lehman2012-05-091-52/+33
| | | | | | | | | | | | | | | | | | | | Just try once to resolve dependencies. Callers can catch the DependencyError and present UI as needed to amend the software set or repos and then try again. This also changes spaceRequired. After successfully resolving dependencies we explicitly trigger calculation of the required space. Less magic to run amuck, more reliable results.
* | Threading yum only requires us to drop package sacks.David Lehman2012-05-091-2/+10
| | | | | | | | | | | | Doing a YumBase.close() leads to problems when you try to resume use of that instance. Resetting the package sacks does not appear to present any such problems.
* | Fix Storage.getFreeSpace to return Size instances.David Lehman2012-05-091-2/+4
| |
* | Disk selection determines clearpart.drives, not ignoredisk.onlyuse.David Lehman2012-05-091-6/+7
| | | | | | | | Filtering is separate from target disk selection.
* | Don't download filelists from yum repo as they aren't needed.David Lehman2012-05-091-7/+0
| |
* | Add more docstrings for the new UI.Chris Lumens2012-05-092-3/+33
| |
* | Move service enabling/disabling into an execute method.Chris Lumens2012-05-093-18/+19
| |