[Bug 713521] New: Inconsitency in obs:// syntax
https://bugzilla.novell.com/show_bug.cgi?id=713521 https://bugzilla.novell.com/show_bug.cgi?id=713521#c0 Summary: Inconsitency in obs:// syntax Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: aj@novell.com QAContact: qa@suse.de CC: adrian@novell.com, dmacvicar@suse.com Found By: Product Management Blocker: --- I just noticed: The following packages are going to change vendor: chromium obs://build.opensuse.org/openSUSE:Factory:Contrib -> obs://build.opensuse.org/network:chromium But If I use the above string to add a repository, it does not work. Example: zypper ar -f obs://build.opensuse.org/network:chromium/openSUSE_Factory Chromium Adding repository 'Chromium' [done] Repository 'Chromium' successfully added Enabled: Yes Autorefresh: Yes GPG check: No URI: http://download.opensuse.org/repositories/build.opensuse.org/network:chromiu... The URL does not exist, I'm not allowed to add the build.opensuse.org part and the correct call for zypper is: zypper ar -f obs://network:chromium/openSUSE_Factory Chromium So, the inconsistency is that zypper displays the repo as obs://build.opensuse.org/network:chromium But taking it as parameter does not work, here the URI has to be just: obs://network:chromium/ -- 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=713521 https://bugzilla.novell.com/show_bug.cgi?id=713521#c1 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Adrian Schröter <adrian@novell.com> 2011-08-23 05:41:06 UTC --- this would mean that it would just work with the build.o.o instance but with none else. Also the first part is the hostname by URL definition. So, zypper has to be adapted here. But there has to be a also a way to request the download host from the web interface. This not defined yet, but we will add that. -- 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=713521 https://bugzilla.novell.com/show_bug.cgi?id=713521#c2 --- Comment #2 from Adrian Schröter <adrian@novell.com> 2011-08-23 08:02:29 UTC --- In any case you need also the additional repo. The question here is what is the usecase at all. Why should anyone add the vendor from a package at all, it may not even the project where package was built inside (vendor is where the signing key comes from). So, this zypper functionality looks questionable to me. What should do for next OBS release (not 2.3) is to offer a web page optimized for end-users, which should support also obs URL's, offering repos, ymp's. This comes together with the current improvements in software.o.o which we should sync better with build.o.o. When zypper wants to support this functionality, we should offer an api call to request the download URL in any case. -- 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=713521 https://bugzilla.novell.com/show_bug.cgi?id=713521#c3 --- Comment #3 from Michael Schröder <mls@novell.com> 2011-08-23 08:57:51 UTC --- (problem is that the obs:// scheme is used multiple times with different semantics: - zypper - kiwi - rpm vendor ) -- 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=713521 https://bugzilla.novell.com/show_bug.cgi?id=713521#c Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Inconsitency in obs:// |Inconsistency in obs:// |syntax |semantics -- 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=713521 https://bugzilla.novell.com/show_bug.cgi?id=713521#c4 --- Comment #4 from Michael Andres <ma@suse.com> 2011-11-08 11:47:58 CET --- 'obs://<project>/[platform]' is just a shortcut for '$baseUrl/<project>/[platform] where baseUrl is defined in /etc/zypp/zypper.conf (http://download.opensuse.org/repositories/). My config e.g. is: baseUrl = dir:///dist/install/SLP/ platform = x86_64/DVD1 So this makes: $ zypper ar obs://openSUSE-12.1-RC1 tststs Adding repository 'tststs' [done] ... URI: dir:///dist/install/SLP/openSUSE-12.1-RC1/x86_64/DVD1 I don't like to change the current semantic in zypper, but I can relax the parser to support at least well-known obs servers like build.opensuse.org. Otherwise I can't tell whether 'obs://foo/baa' is 'server/project' or 'project/platform' without doing network queries. Don't know if this is worth the effort. -- 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=713521 https://bugzilla.novell.com/show_bug.cgi?id=713521#c5 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Michael Andres <ma@suse.com> 2011-11-10 11:28:07 CET --- fixed -- 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