[Bug 472517] New: add additional baseurl=URIs to a zypper repo from zypper command line
https://bugzilla.novell.com/show_bug.cgi?id=472517 Summary: add additional baseurl=URIs to a zypper repo from zypper command line Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: pgnet.trash@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 if i create a zypper repo from command line, zypper ar -t rpm-md http://my/repo/uri/ "TEST" zypper mr -e -r -p 10 -n "TEST" "TEST" that generates, as expected, cat /etc/zypp/repos.d/TEST.repo [TEST] name=TEST enabled=1 autorefresh=1 baseurl=http://my/repo/uri/ type=rpm-md priority=10 keeppackages=0 i can manually edit/add a 2nd repo, baseurl=http://my/repo/uri/ + baseurl=http://my/repo/uri2/ and zypper will failover to the 2nd repo if the 1st is unavailable, etc. request is for capability to add additional baseurl=URIs from the command line. would be useful in scripting, etc. nice to have, e.g.: zypper au http://blah/blah NAME.repo yes, there are ways around it ... Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=472517 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472517#c2 --- Comment #2 from pgnet _ <pgnet.trash@gmail.com> 2009-02-04 11:29:42 MST --- in response to a question on zyyper-devel, it seems that failover isn't actually working ... rather, simply the LAST included URI is queried/used. i suppose, then, that this feature request depends on failover being implemented 1st. searching to see if it's "in here", somewhere ... -- 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=472517 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472517#c3 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Status Whiteboard| |patches-welcome --- Comment #3 from Ján Kupec <jkupec@novell.com> 2009-02-05 07:02:49 MST --- (In reply to comment #2)
searching to see if it's "in here", somewhere ...
It's in FATE. We'd like to make it default in 11.2, so we'll be glad for testing & reports. Please open a new bug for c#2 and attach your zypper.log. Thanx! Regarding c#0, i guess this could be part of the modifyrepo command instead of a separate command: $ zypper mr -u/--url <alias> or even a pair of options: $ zypper mr -u/--add-url <alias> $ zypper mr -U/--remove-url <alias> Also the 'repos' command will need to be able to display these additional urls. I propose to leave current output as is (display only one url) and make 'repos' take repo alias|#|URI as arguments and display detailed info for them, similar to 'cat some.repo', but more descriptive. Patches are welcome, btw :O) -- 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=472517 User pgnet.trash@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=472517#c4 pgnet _ <pgnet.trash@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FEATURE --- Comment #4 from pgnet _ <pgnet.trash@gmail.com> 2009-03-11 11:53:06 MST --- reading Duncan Mac-Vicar's recent work on zypper/aria2c/etc, i _think_ this may be on its way to resolution/implementation. closing for now, until i can spend some time with the "new zypper" ... -- 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