Re: [rhel6-branch] Pulsing progress bar instead of the static popup during device discovery.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On machines with hundreds of devices Anaconda looks dead during device
> discovery. Having a proper progress bar would be cooler but we don't know
> how many devices will be there altogether.

How much does the progress indicator bounce back and forth?  Is it
really crazy, or fairly controlled?

> diff --git a/storage/devicetree.py b/storage/devicetree.py
> index b419026..0dc657f 100644
> --- a/storage/devicetree.py
> +++ b/storage/devicetree.py
> @@ -2034,7 +2034,7 @@ class DeviceTree(object):
>  
>          return ret
>  
> -    def populate(self):
> +    def populate(self, progressWindow):
>          """ Locate all storage devices. """
>          log.debug("DeviceTree.populate: ignoredDisks is %s ; exclusiveDisks is %s"
>                      % (self._ignoredDisks, self.exclusiveDisks))

For master, I suggest making progressWindow=None the default and
adapting the rest of the patch to that.  Remember that we can import
storage as a library elsewhere, and we won't always want to pass in an
interface component.  I'm thinking of anaconda-cleanup and the storage
test code here.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux