[Bug 331537] New: repositories: please improve naming conventions
https://bugzilla.novell.com/show_bug.cgi?id=331537 Summary: repositories: please improve naming conventions Product: openSUSE 10.3 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: bluedzins@wp.pl QAContact: kkaempf@novell.com Found By: --- My concern is this, that repo names are not gently "upgraded". All names seems to hardcoded and I have to fix them every time I upgrade the system. Some possible solutions: * use macros, so I could enter some_repo/$CURRENT_VERSION, in 10.2 it would mean 10.2, but when upgrading it would mean 10.3 so I could easily use it * skip version part when entering the address, so yast could add automatically the version part on the fly * risky -- smart behaviour -- detect phrases opensusexx.x and replace them transparently with current version number -- 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=331537#c1 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com AssignedTo|kkaempf@novell.com |adrian@novell.com --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2007-10-09 03:58:26 MST --- URL variables are implemented in 10.3 OpenSUSE should probably provide URLs with variables. -- 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=331537 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331537#c2 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com Priority|P5 - None |P2 - High --- Comment #2 from Duncan Mac-Vicar <dmacvicar@novell.com> 2008-07-15 09:23:44 MDT --- Yes, we need to implement distversion however. -- 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=331537 User adrian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331537#c3 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |dmacvicar@novell.com --- Comment #3 from Adrian Schröter <adrian@novell.com> 2008-10-31 03:54:29 MDT --- well, we have defaults containing the version numbers. But these are free text names, they can have random content, because also the target distro can have random setup (building for 10.2, with KDE:Qt and Kernel:HEAD project for example). How should the server know which distro the user is running at all, isn't this something which needs to be solved on client side ? -- 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=331537 User dmacvicar@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=331537#c4 --- Comment #4 from Duncan Mac-Vicar <dmacvicar@novell.com> 2008-10-31 07:05:36 MDT --- This can be solved in various ways. * libzypp sends the distribution in the agent string. So we could have a special url that handles this (we could make it even more easily parseable putting the version in a header) and returns the right repository. Now as Adrian mention, this can't be converted into a theorem, as repos can be layered, but at least for update repos and simple OBS repos it could work. * the urls could use $distver -- 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=331537 User bluedzins@wp.pl added comment https://bugzilla.novell.com/show_bug.cgi?id=331537#c6 --- Comment #6 from Maciej Pilichowski <bluedzins@wp.pl> 2008-10-31 08:12:41 MDT ---
the urls could use $distver
I use for this. This way user could add flexible address some_repo/$distver but it does not limit user, and he/she can still use hardcoded repo address (for example from factory version) another_repo/suse_factory -- 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