Bug 352594

Summary: software managment: improve repo refresh on start
Product: [openSUSE] openSUSE 10.3 Reporter: macias - <bluedzins>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description macias - 2008-01-09 11:11:49 UTC
When you are about to install/refresh 1000 packages it is wise decision to refresh all repos.

However, it is not rare you won't to install just one package -- waiting for all repos to get refresh is a waste of time (because it is slow).

So the wish is: improve the refresh (I am not saying speed it up).

Some suggestion:
* just before SM start show the list of repos, allow user to select some to ignore in this "SM session"
* implement refresh-on demand, in this mode, no repo is refreshed on start, but when user will search/view some packages (there would be a problem with such solution if there is no method established to get just a list of the packages from specific repo)


I like the first one better -- it could be nicely done also with one dialog progress (reported) instead of flying around windows with download progress.
Comment 1 Ladislav Slezák 2008-03-06 08:09:36 UTC
I just have implemeneted [Skip refreh] reported in bug #329498, this requirements another enhancement which will be implemented when the package selector will be able to manage the sources, see bug #301729

*** This bug has been marked as a duplicate of bug 301729 ***
Comment 2 macias - 2008-10-05 19:17:30 UTC
Ladislav, I came back to this issue and check the report you linked it to. The not covered issue is "implement refresh on demand" and this report is linked to "integration with software module".

a) how it is a duplicate
b) since the other report is marked as fixed I believe the "refresh on demand" (on search for example) is already implemented, right?
Comment 3 Ladislav Slezák 2008-10-06 10:27:12 UTC
How to use "Refresh on demand"?

1. Disable autorefresh for all repositories (well, for all which want to use the refresh on demand feature).

2. Start the package manager - it will start without autorefresh

3. Use 'Configuration' -> 'Repositories...' menu item (or press Ctrl+R)

4. Select the repository you want to refresh, use 'Refresh' -> 'Refresh Now'

5. Press OK -> you are back in the package selection with the refreshed repository.
Comment 4 macias - 2008-10-06 13:04:08 UTC
It is useful, but it described another case (very common, at least for me). And such workflow doest still not fit.

Let's say I want to check if there is upgrade for kdevelop. The best move would be to start yast, search for kdevelop, refresh (this would cause getting data from repos only related to kdevelop, and nothing more) and then see if there is anything new.