[softwaremgmt] zypp-refresh
Would anybody care if we change the zypp-refresh utility to refresh only repositories with autorefresh enabled? The issue is that currently it is used in openSUSE Updater Applet and it refreshes _all_ the repos. The question is whether it should only refresh those with 'autorefresh' enabled. https://bugzilla.novell.com/show_bug.cgi?id=410791 I tend to agree that the updater should refresh only autorefresh-enabled repos, but i also think the zypp-refresh should refresh all by default. But this would mean adding another possibility (command argument) to the zypp-refresh-wrapper. On the other hand, the updater may be the only user of zypp-refresh, so we might as well just change it to refresh only the autorefresh-enabled repos and be done with it. cheers, jano -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
On Wed, Jul 23, 2008 at 03:50:28PM +0200, Jan Kupec wrote:
Would anybody care if we change the zypp-refresh utility to refresh only repositories with autorefresh enabled?
The issue is that currently it is used in openSUSE Updater Applet and it refreshes _all_ the repos. The question is whether it should only refresh those with 'autorefresh' enabled. https://bugzilla.novell.com/show_bug.cgi?id=410791
I tend to agree that the updater should refresh only autorefresh-enabled repos, but i also think the zypp-refresh should refresh all by default.
But this would mean adding another possibility (command argument) to the zypp-refresh-wrapper. On the other hand, the updater may be the only user of zypp-refresh, so we might as well just change it to refresh only the autorefresh-enabled repos and be done with it.
I would say to only refresh the autorefresh ones, no option. (Its what I would expect ;) Ciao, Marcus -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Hi, On Wed, 23 Jul 2008, Marcus Meissner wrote:
But this would mean adding another possibility (command argument) to the zypp-refresh-wrapper. On the other hand, the updater may be the only user of zypp-refresh, so we might as well just change it to refresh only the autorefresh-enabled repos and be done with it.
I would say to only refresh the autorefresh ones, no option.
(Its what I would expect ;)
Agreed. What sense would the autorefresh setting have if it wouldn't affect automatic refreshing. Ciao, Michael. -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Michael Matz wrote:
Hi,
On Wed, 23 Jul 2008, Marcus Meissner wrote:
But this would mean adding another possibility (command argument) to the zypp-refresh-wrapper. On the other hand, the updater may be the only user of zypp-refresh, so we might as well just change it to refresh only the autorefresh-enabled repos and be done with it. I would say to only refresh the autorefresh ones, no option.
(Its what I would expect ;)
Agreed. What sense would the autorefresh setting have if it wouldn't affect automatic refreshing.
The autorefresh is meant to trigger refresh when you do something for which repo data are needed, and it is not an explicit refresh call (which is meant to refresh all repos). Which is probably the case of the updater applet. But if you call zypp-refresh on the command line, you could as well expect that it will refresh all repos. j. -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Hi, On Wed, 23 Jul 2008, Jan Kupec wrote:
(Its what I would expect ;)
Agreed. What sense would the autorefresh setting have if it wouldn't affect automatic refreshing.
The autorefresh is meant to trigger refresh when you do something for which repo data are needed, and it is not an explicit refresh call (which is meant to refresh all repos).
Which is probably the case of the updater applet. But if you call zypp-refresh on the command line, you could as well expect that it will refresh all repos.
Hmm. I for instance switch off auto-refresh on repos which are not always available (for instance on my laptop I have some SuSE internal repos, that can only be accessed from inside SuSE or over RAS) and would cause hanging if they were touched automatically. Ciao, Michael. -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
On Wed, 2008-07-23 at 15:50 +0200, Jan Kupec wrote:
Would anybody care if we change the zypp-refresh utility to refresh only repositories with autorefresh enabled?
The issue is that currently it is used in openSUSE Updater Applet and it refreshes _all_ the repos. The question is whether it should only refresh those with 'autorefresh' enabled. https://bugzilla.novell.com/show_bug.cgi?id=410791
I tend to agree that the updater should refresh only autorefresh-enabled repos, but i also think the zypp-refresh should refresh all by default.
But this would mean adding another possibility (command argument) to the zypp-refresh-wrapper. On the other hand, the updater may be the only user of zypp-refresh, so we might as well just change it to refresh only the autorefresh-enabled repos and be done with it.
cheers, jano
I'd expect only the 'auto-refresh' repos to be refreshed. Having an option for refreshing all repos might be nice. But I guess nobody would use it, because the updater applet is the only one who calls the refresh-wrapper. Therefore adding this option could by wasted work. -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Hello, on Mittwoch, 23. Juli 2008, Thomas Goettlicher wrote:
Would anybody care if we change the zypp-refresh utility to refresh only repositories with autorefresh enabled? ... I'd expect only the 'auto-refresh' repos to be refreshed. Having an
On Wed, 2008-07-23 at 15:50 +0200, Jan Kupec wrote: option for refreshing all repos might be nice.
ACK.
But I guess nobody would use it, because the updater applet is the only one who calls the refresh-wrapper.
Hey, you forget my patch2mail script ;-) Since zypp-checkpatches-wrapper is deprecated in 11.0, I'm more or less forced to run zypp-refresh-wrapper ;-) (Nevertheless I would not use the "refresh all" switch.) BTW: Is there a chance to get patch2mail into the distribution? IMHO it provides a missing functionality (sending a mail when updates are available) with minimal effort (4 kB code, mostly consisting of the xsl stylesheet) Regards, Christian Boltz -- When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*". [Linus Torvalds] -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Goettlicher wrote: | On Wed, 2008-07-23 at 15:50 +0200, Jan Kupec wrote: |> Would anybody care if we change the zypp-refresh utility to refresh only |> repositories with autorefresh enabled? |> |> The issue is that currently it is used in openSUSE Updater Applet and it |> refreshes _all_ the repos. The question is whether it should only |> refresh those with 'autorefresh' enabled. |> https://bugzilla.novell.com/show_bug.cgi?id=410791 |> |> I tend to agree that the updater should refresh only autorefresh-enabled |> repos, but i also think the zypp-refresh should refresh all by default. |> |> But this would mean adding another possibility (command argument) to the |> zypp-refresh-wrapper. On the other hand, the updater may be the only |> user of zypp-refresh, so we might as well just change it to refresh only |> the autorefresh-enabled repos and be done with it. | | I'd expect only the 'auto-refresh' repos to be refreshed. Having an | option for refreshing all repos might be nice. But I guess nobody would | use it, because the updater applet is the only one who calls the | refresh-wrapper. Therefore adding this option could by wasted work. I don't think so. I agree with everyone, only refreshing auto-refresh repos is what I would also expect to happen. But an option "--all" to also refresh non-auto-refresh repos can be useful when troubleshooting (or helping in troubleshooting). e.g. when helping people (e.g. on IRC) and something seems fishy with the repositories, asking the person asking for help to do a "zypp-refresh --all" and then do whatever again does seem like a not so unlikely situation. cheers - -- ~ -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ ~ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> ~ _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIiaDSr3NMWliFcXcRArLNAJ9oUdgw7OGTOMfH11gtBt12H/IKegCgquJU Dhpy3+GXOKAznk9dUQqboBI= =aMGq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
On Thursday 24 July 2008 01:50:28 Jan Kupec wrote:
Would anybody care if we change the zypp-refresh utility to refresh only repositories with autorefresh enabled?
I would be happy provided zypper refresh didn't change as well. I have all my repositories set to not autorefresh as it's a PITA when you want to go into software management to check something and have to wait for all the repositories to refresh (though it does take a lot less time now). Thanks -- Regards Scott Newton -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Scott Newton wrote:
On Thursday 24 July 2008 01:50:28 Jan Kupec wrote:
Would anybody care if we change the zypp-refresh utility to refresh only repositories with autorefresh enabled?
I would be happy provided zypper refresh didn't change as well.
It won't, zypp-refresh is completely independent code from zypper. j. -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
participants (7)
-
Christian Boltz
-
Jan Kupec
-
Marcus Meissner
-
Michael Matz
-
Pascal Bleser
-
Scott Newton
-
Thomas Goettlicher