[Bug 553766] New: Zypper import of repository list could use more options
http://bugzilla.novell.com/show_bug.cgi?id=553766 Summary: Zypper import of repository list could use more options Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Enhancement Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: alanprescott@yahoo.co.uk QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.2 (like Gecko) SUSE Trying to manage the list of repositories over multiple PCs is not particularly helpful as it stand in zypper. The listrepo -e options export the repo list Ok but the addrepo -r options do not import the repos verbatim and so they must be edited by hand. It would be highly useful to be able to import the repository list such that it was identical to the exported list - in this way multiple PCs could be kept in sync easily. It would also be useful if the addrepo function allowed an option to completely overwrite the repo list with the uploaded one. Currently I'm running a bash script which deletes all the existing repos one-by-one but this is not really satisfactory. The main trigger of this at the moment is the changing of the KDE4 repositories and it's been a pain to change all the repo lists on all the PCs involved. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553766 zhu rensheng <rszhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rszhu@novell.com AssignedTo|bnc-team-screening@forge.pr |zypp-maintainers@forge.prov |ovo.novell.com |o.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553766 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=553766#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | Status Whiteboard| |lhf --- Comment #1 from Ján Kupec <jkupec@novell.com> 2009-11-13 03:38:03 MST --- (In reply to comment #0)
The listrepo -e options export the repo list Ok but the addrepo -r options do not import the repos verbatim and so they must be edited by hand.
Even when you import on a system with no repos so far? If so, can you give example?
It would also be useful if the addrepo function allowed an option to completely overwrite the repo list with the uploaded one.
Makes sense to me, OK.
The main trigger of this at the moment is the changing of the KDE4 repositories and it's been a pain to change all the repo lists on all the PCs involved.
I can imagine :O) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553766 User alanprescott@yahoo.co.uk added comment http://bugzilla.novell.com/show_bug.cgi?id=553766#c2 Alan Prescott <alanprescott@yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alanprescott@yahoo.co.uk --- Comment #2 from Alan Prescott <alanprescott@yahoo.co.uk> 2009-11-13 05:02:51 MST ---
The listrepo -e options export the repo list Ok but the addrepo -r options do not import the repos verbatim and so they must be edited by hand.
Even when you import on a system with no repos so far? If so, can you give example?
Badly worded - the URLs, descriptions etc are Ok - everything imports as Enabled, no Refresh unless the the --refresh flag is used so these flags must be edited by hand to make them match the original settings. Hmm - I see from the man page that the auto-refresh flag /should/ be honoured on import ... Just tried this again using % zypper ar -r test.repo All repos are installed as Enabled, no Refresh even though autorefresh=1 on various entries in the repo file -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=553766 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=553766#c3 --- Comment #3 from Ján Kupec <jkupec@novell.com> 2009-11-13 07:17:01 MST --- I see, so you've actually found a bug :O) I will look at it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=553766 https://bugzilla.novell.com/show_bug.cgi?id=553766#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |libzypp Version|Final |Factory Product|openSUSE 11.1 |openSUSE 11.4 --- Comment #4 from Ján Kupec <jkupec@novell.com> 2010-09-29 14:28:24 UTC --- 11.1 -> 11.4 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=553766 https://bugzilla.novell.com/show_bug.cgi?id=553766#c5 John McInnes <s2@forceway.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |s2@forceway.com Version|Factory |RC 1 --- Comment #5 from John McInnes <s2@forceway.com> 2011-02-20 20:04:09 UTC --- (changed during the 2011-02-20 Open-Bugs-Day about bugs for obsolete versions of openSUSE) bug still present -- 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.
participants (1)
-
bugzilla_noreply@novell.com