https://bugzilla.novell.com/show_bug.cgi?id=307249#c10
--- Comment #10 from Ján Kupec
- automatic: check if we're within the 'dont check' period. If yes, do nothing. If no, update as needed <snip> zypper works that way now, we only don't have the '$metadata_expire' configurable per repo.
- user-initiated: update as needed, regardless of the 'dont check' period
That's what I expect, as a user, if the documentation talks about "forced refresh".
Not for me. A forced refresh is a full download and parse, regardless of what libzypp's or zypper's suggestion is. However, that's just wording, i think we agree on functionality. So as i suggested above, this is the only thing (apart from that improper status message) to change in zypper.
- forced: download everything
But, this option should be renamed from "forced refresh" to "re-cache metadata", or similar, to avoid the ambiguity with the other option, see above.
I don't agree here. See above.
Note, there is already a commandline switch in zypper named "--force-download" which would fit perfectly well for this purpose. (The behaviour of --force-download which is described in the (Beta2) man page should probably be named --only-download instead.)
It does not work that way. --force-download forces the download, but not parsing (building the sqlite cache). So the metadata will be downloaded, but parsing takes place only if needed. You can argue how useful is this feature, but this is the way it works right now.
Would that fulfill everyone's requirement ?
There is one more. In addition, there should be a "use-only-cache" mode. Like yum -C. If there is no internet connection, or for people who don't want their dialin connection go online :-)
The 'refresh dealy' can be used to achieve this. Also the repos can be set to autorefresh=no - then they can be refreshed only on user request. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.