[Bug 456099] New: Yast identifies community repositories by repo, repo_1
https://bugzilla.novell.com/show_bug.cgi?id=456099 Summary: Yast identifies community repositories by repo, repo_1 Product: openSUSE 11.1 Version: RC 1 Platform: 32bit OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: badshah400@gmail.com QAContact: jsrain@novell.com Found By: Beta-Customer In the Yast Software Management module (qt-interface), I have added two external repositories (by using the Add repository -> community repositories): Packman and vlc. When I select a certain software say, libxine1 (the Packman version of which I wish to install) the version of the software in the lower pane (description, technical data, dependencies, VERSION are all shown in this pane) is shown to be from repo. Similarly when I select vlc-beta (from vlc repository) the version pane shows repo_1, and so on. This makes it really difficult to understand the actual repository from which a corresponding software is being installed. -- 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=456099 User badshah400@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c1 --- Comment #1 from Atri Bhattacharya <badshah400@gmail.com> 2008-12-03 11:47:38 MST --- Created an attachment (id=257800) --> (https://bugzilla.novell.com/attachment.cgi?id=257800) Pakman repository identified as repo in the software version viewer in Yast -- 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=456099 User badshah400@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c2 --- Comment #2 from Atri Bhattacharya <badshah400@gmail.com> 2008-12-03 11:50:48 MST --- In the repository manager however the alias for the Packman repo is correctly shown as Packman. How is one expected to understand what repo, repo_1 stand for? Further, this problem only occurs when Add repository -> Community repository is used, in case where the URL and name of repo are manually supplied the correct alias is shown. -- 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=456099 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |yast2-maintainers@suse.de Priority|P5 - None |P2 - High -- 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=456099 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com AssignedTo|yast2-maintainers@suse.de |lslezak@novell.com --- Comment #3 from Michael Andres <ma@novell.com> 2008-12-04 11:38:39 MST --- To me it looks like packager uses "repo" as default alias, and then appends '_%d' in order to make the name unique. A unique alias is required, and so yast has to invent names in automated operations like adding Community repos. You can always go to the repository manager or use zypper to change the alias. @Ladislav: I know it's not easy to invent those names. In my test applications I usually use url_r.getHost()+"-"+basename(url_r.getPathName()) as stem for the alias. Something like this might give a better hint on what repo it is. http://download.opensuse.org/update/11.1/ -> download.opensuse.org-11.1 http://download.opensuse.org/distribution/11.1/repo/oss/ -> download.opensuse.org-oss -- 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=456099 User badshah400@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c4 --- Comment #4 from Atri Bhattacharya <badshah400@gmail.com> 2008-12-04 14:12:45 MST --- The problem is that this behaviour of setting the alias is a regression from opensuse 11.0. In opensuse 11.0 when community repositories are added the alias of the repo is automatically set as the repository name with the spaces replaced by the _. In opensuse 11.1 also this behaviour of the alias is seen with those repositories that are added from the repository manager by explicitly specifying the URL and repository name. It is only with those repositories added from the add repo -> community repositories that the repo alias is not taken as repo_name. -- 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=456099 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c5 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #5 from Ladislav Slezak <lslezak@novell.com> 2008-12-05 01:24:58 MST --- Actually, "repo_N" should be alias, name should be something more decriptive. Michael, thanks for the hint... -- 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=456099 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c6 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Ladislav Slezak <lslezak@novell.com> 2008-12-05 04:16:02 MST --- "repo_N" is alias of the repository (it can be simply used in zypper). Yast repository manager displays 'name' property which is correctly set to the description of the repository, e.g. 'openSUSE BuildService - KDE:Community'. The package selector widget should display the names. It seems to be fixed now, the current yast displays the names correctly. -- 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=456099 User octo777@charter.net added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c7 Jeremy P <octo777@charter.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |octo777@charter.net --- Comment #7 from Jeremy P <octo777@charter.net> 2008-12-29 08:31:10 MST --- This is not fixed. My repos chosen from community repo list show up as followsin the versions tab in yast: Nvidia Repo = repo_9 Packman = repo_7 openSUse buildservice - Drivers for webcam = repo_4 backports = repo kde:community = rep0_1 mozilla = repo_5 Only 3 of them show corectly. A1l of them have the names set correctly in repo managment. I realize these are the aliases for the repos, but names should be shown, not aliases right? -- 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=456099 User badshah400@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c8 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | Summary|Yast identifies community repositories by repo, |Package selector widget in Yast identifies |repo_1 |repositories by alias instead of repo name --- Comment #8 from Atri Bhattacharya <badshah400@gmail.com> 2009-01-01 05:03:51 MST --- Re-opening bug and changing the summary so that it better represents the problem. This problem remains unsolved in openSUSE 11.1. -- 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=456099 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c9 --- Comment #9 from Ladislav Slezak <lslezak@novell.com> 2009-01-09 05:55:11 MST --- The main problem is actually a duplicate of bug #462778. I'm just thinking how to improve the alias from "repo_N" to something better. The idea from comment #3 fails for repositories from OBS. Example: http://download.opensuse.org/repositories/mozilla/openSUSE_11.1 -> download.opensuse.org-openSUSE_11.1 which doesn't tell much and similar alias would be used for _all_ OBS repositories. Using two last elements from the path would help (download.opensuse.org-mozilla-openSUSE_11.1) but there still might be some cases when it will look bad and the alias would be quite long. A short alias is important especially for zypper users, writing too long alias on command line is uncomfortable. A solution for community repositories could be specifying also the alias in the downloaded XML definition file (in addition to name, URL and description). -- 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=456099 User badshah400@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c10 --- Comment #10 from Atri Bhattacharya <badshah400@gmail.com> 2009-01-14 09:45:19 MST --- Will it be helpful / possible to use an alias like 'OBS-mozilla' for the community repository in the above example? The alias could just take the part of the URL that lies before the '/opensuse_<version>' and after the 'repository/' (and omit the rest of the URL). This might still not be suitable for the repositories like http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Extra-Apps/open... but for most repositories this should give a short, useful alias. -- 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=456099 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c11 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #11 from Ladislav Slezak <lslezak@novell.com> 2009-01-15 04:40:01 MST --- I have already improved it in Yast SVN trunk repository - the current implementation uses the last path element unless is matches "[0-9]+$" (i.e. there is a version number at the end). In that case next to the last element is used. It's probably not the best solution but should be good in most cases. The alias is just a proposed value, users can change it if it doesn't look as they want. Example: http://download.opensuse.org/repositories/mozilla/openSUSE_11.1 -> download.opensuse.org-mozilla http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Extra-Apps/open... -> download.opensuse.org-Extra-Apps To comment #10: Yast must be more flexible, it must also support non-OBS repositories (3rd party repos), that solution is good for OBS repos only. -- 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=456099 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=456099#c12 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #12 from Ladislav Slezak <lslezak@novell.com> 2009-01-16 12:12:12 MST --- Submitted in yast2-packager-2.18.1. -- 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