Bug 173708

Summary: Yumex refreshes repo data after every operation
Product: [Fedora] Fedora Reporter: Joshua Wulf <jwulf>
Component: yumexAssignee: Tim Lauridsen <tim.lauridsen>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: extras-qa, lcarlon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-21 09:47:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joshua Wulf 2005-11-19 03:46:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.0.7-1.4.1 Firefox/1.0.7

Description of problem:
Yumex currently refreshes the repo data after every single operation. For example, I start it up, then I wait for the repo data to refresh. Then I select a whole lot of packages, then hit install. It then comes back with a conflict message, so I click OK, then it *refreshes the repo data again*, before giving me a chance to deselect that one single package that needs to be deselected to do the install operation. 

Now that is excessively. On the other hand, if I use Synaptic in Ubuntu, it only refreshes the repo data when I explicitly tell it to, or when I enable another repository. Yumex would be a lot faster and easier to use if it didn't keep refreshing the repo data like that. Is there any way to decrease the number of times yumex refreshes the repo data? I mean maybe once a session at start up (if that), when a repo is added or enabled, plus on demand of the user should be sufficient.

Version-Release number of selected component (if applicable):
yumex-0.42-9.0.fc4

How reproducible:
Always

Steps to Reproduce:
1. Use Yumex
2.
3.
  

Actual Results:  You wait around for Yumex to refresh the repository data everytime you do anything.
 

Expected Results:  It should refresh the data once and then know what it is. The repo is not changing every minute. Get the data once and use it.

Additional info:

I don't know whether to file this as a bug or an enhancement. It may be expected behaviour. I don't like it though, and I think yumex would be a lot more usable if this could be addressed.

Comment 1 Tim Lauridsen 2005-11-20 04:59:21 UTC
I have been working a lot on this issue in the currect development edition of
yumex, metadata for a repository is only loaded once, next the one in the local
yum cached is used. i have also added at Fastest Mirror detection routine
written by Luke Macken, so the fastest mirrors are detected and used. I have
made a lot of improments to improve the speed of yumex.
I you like i can mail you a rpm, the next time i do a development build, so you
can try it out.

Comment 2 Joshua Wulf 2005-11-20 23:31:13 UTC
Yes, please do - that would be awesome. I really dig on Yumex, and those kind of
improvements will make the thing r0ck! :-)



Comment 3 Tim Lauridsen 2005-11-21 09:41:03 UTC
Get the lastest yumex development build here. 

http://linux.rasmil.dk/dnl/yumex-devel/