Feature added by: Philipp Bielefeldt (pbiel)
Feature #320385, revision 1 Title: Let Zypper know the version number of openSUSE
openSUSE Distribution: Unconfirmed Priority Requester: Desirable
Requested by: Philipp Bielefeldt (pbiel) Partner organization: openSUSE.org
Description: All repo names in openSUSE are structured to have the version number/name in it, such as http://download.opensuse.org/repositories/science/ openSUSE_Leap_42.1 / (for 42.1); I do a lot of repo handling via bash scripts and I find myself over and over again telling someone: "Here, this is a script to install all the software you'll need right now⦠But you have to specify your version string in the repo's name before running it" â 50% chance I will get asked "What do you mean? Where shall I put what?!"
I think it was more convenient and less error prone if zypper commands yould use a variable such as osVersion that can be put to replace the string. On openSUSE Leap 42.1
zypper ar -f http://download.opensuse.org/repositories/science/$osVersion/ "Science"
would than automatically change to
zypper ar -f http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/ "Science"
and so forthâ¦
Business case (Partner benefit): openSUSE.org: This feature would it make easier for admins to write scripts that handle software management/installation on different versions of openSUSE. It would also facilitate writing advice to people on the internet (e.g. the openSUSE wiki) on how to perform certain actions that concern repo management.
Feature changed by: Philipp Bielefeldt (pbiel) Feature #320385, revision 2 Title: Let Zypper know the version number of openSUSE
openSUSE Distribution: Unconfirmed Priority Requester: Desirable
Requested by: Philipp Bielefeldt (pbiel) Partner organization: openSUSE.org
Description: All repo names in openSUSE are structured to have the version number/name in it, such as http://download.opensuse.org/repositories/science/ openSUSE_Leap_42.1 / (for 42.1); I do a lot of repo handling via bash scripts and I find myself over and over again telling someone: "Here, this is a script to - install all the software you'll need right now⦠But you have to - specify your version string in the repo's name before running it" â - 50% chance I will get asked "What do you mean? Where shall I put - what?!" + install all the software you'll need right now… But you have to specify + your version string in the repo's name before running it" – 50% chance + I will get asked "What do you mean? Where shall I put what?!" I think it was more convenient and less error prone if zypper commands - yould use a variable such as osVersion that can be put to replace the + yould use a variable such as $osVersion that can be put to replace the string. On openSUSE Leap 42.1 zypper ar -f http://download.opensuse.org/repositories/science/$osVersion/ "Science" would than automatically change to zypper ar -f http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/ "Science" - and so forth⦠+ and so forth…
Business case (Partner benefit): openSUSE.org: This feature would it make easier for admins to write scripts that handle software management/installation on different versions of openSUSE. It would also facilitate writing advice to people on the internet (e.g. the openSUSE wiki) on how to perform certain actions that concern repo management.
Feature changed by: Jens Grabinger (jensemann126) Feature #320385, revision 3 Title: Let Zypper know the version number of openSUSE
openSUSE Distribution: Unconfirmed Priority Requester: Desirable
Requested by: Philipp Bielefeldt (pbiel) Partner organization: openSUSE.org
Description: All repo names in openSUSE are structured to have the version number/name in it, such as http://download.opensuse.org/repositories/science/ openSUSE_Leap_42.1 / (for 42.1); I do a lot of repo handling via bash scripts and I find myself over and over again telling someone: "Here, this is a script to install all the software you'll need right now… But you have to specify your version string in the repo's name before running it" – 50% chance I will get asked "What do you mean? Where shall I put what?!" I think it was more convenient and less error prone if zypper commands yould use a variable such as $osVersion that can be put to replace the string. On openSUSE Leap 42.1 zypper ar -f http://download.opensuse.org/repositories/science/$osVersion/ "Science" would than automatically change to zypper ar -f http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/ "Science" and so forth…
Business case (Partner benefit): openSUSE.org: This feature would it make easier for admins to write scripts that handle software management/installation on different versions of openSUSE. It would also facilitate writing advice to people on the internet (e.g. the openSUSE wiki) on how to perform certain actions that concern repo management.
+ Discussion: + #1: Jens Grabinger (jensemann126) (2016-04-23 14:01:15) + Version info is contained in the file /etc/os-release. You can simply + source this file from your bash script and you get variables like $NAME + and $VERSION.
Feature changed by: Karl Cheng (qantas94heavy) Feature #320385, revision 4 Title: Let Zypper know the version number of openSUSE
- openSUSE Distribution: Unconfirmed + openSUSE Distribution: New Priority Requester: Desirable
Requested by: Philipp Bielefeldt (pbiel) Partner organization: openSUSE.org
Description: All repo names in openSUSE are structured to have the version number/name in it, such as http://download.opensuse.org/repositories/science/ openSUSE_Leap_42.1 / (for 42.1); I do a lot of repo handling via bash scripts and I find myself over and over again telling someone: "Here, this is a script to install all the software you'll need right now… But you have to specify your version string in the repo's name before running it" – 50% chance I will get asked "What do you mean? Where shall I put what?!" I think it was more convenient and less error prone if zypper commands yould use a variable such as $osVersion that can be put to replace the string. On openSUSE Leap 42.1 zypper ar -f http://download.opensuse.org/repositories/science/$osVersion/ "Science" would than automatically change to zypper ar -f http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/ "Science" and so forth…
Business case (Partner benefit): openSUSE.org: This feature would it make easier for admins to write scripts that handle software management/installation on different versions of openSUSE. It would also facilitate writing advice to people on the internet (e.g. the openSUSE wiki) on how to perform certain actions that concern repo management.
Discussion: #1: Jens Grabinger (jensemann126) (2016-04-23 14:01:15) Version info is contained in the file /etc/os-release. You can simply source this file from your bash script and you get variables like $NAME and $VERSION.
Feature changed by: Felix Miata (mrmazda) Feature #320385, revision 5 Title: Let Zypper know the version number of openSUSE
openSUSE Distribution: New Priority Requester: Desirable
Requested by: Philipp Bielefeldt (pbiel) Partner organization: openSUSE.org
Description: All repo names in openSUSE are structured to have the version number/name in it, such as http://download.opensuse.org/repositories/science/ openSUSE_Leap_42.1 / (for 42.1); I do a lot of repo handling via bash scripts and I find myself over and over again telling someone: "Here, this is a script to install all the software you'll need right now… But you have to specify your version string in the repo's name before running it" – 50% chance I will get asked "What do you mean? Where shall I put what?!" I think it was more convenient and less error prone if zypper commands yould use a variable such as $osVersion that can be put to replace the string. On openSUSE Leap 42.1 zypper ar -f http://download.opensuse.org/repositories/science/$osVersion/ "Science" would than automatically change to zypper ar -f http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/ "Science" and so forth…
Business case (Partner benefit): openSUSE.org: This feature would it make easier for admins to write scripts that handle software management/installation on different versions of openSUSE. It would also facilitate writing advice to people on the internet (e.g. the openSUSE wiki) on how to perform certain actions that concern repo management.
Discussion: #1: Jens Grabinger (jensemann126) (2016-04-23 14:01:15) Version info is contained in the file /etc/os-release. You can simply source this file from your bash script and you get variables like $NAME and $VERSION.
+ #2: Felix Miata (mrmazda) (2017-06-22 14:00:32) + One of the advantages of zypp over yum/dnf is that it is obvious on + examination of a repo file whether it is appropriate to the + installation. A second is that each controls the repos, that is, each + repo file is independent of some other file(s) dictating what version + is appropriate. e.g., there may not be a non-standard repo available + for the installed pre-release (TDE for 42.3), but an existing repo + version may be competent for the task (TDE for 42.2).
Feature changed by: Mark Yen (mook_work) Feature #320385, revision 6 Title: Let Zypper know the version number of openSUSE
openSUSE Distribution: New Priority Requester: Desirable
Requested by: Philipp Bielefeldt (pbiel) Partner organization: openSUSE.org
Description: All repo names in openSUSE are structured to have the version number/name in it, such as http://download.opensuse.org/repositories/science/ openSUSE_Leap_42.1 / (for 42.1); I do a lot of repo handling via bash scripts and I find myself over and over again telling someone: "Here, this is a script to install all the software you'll need right now… But you have to specify your version string in the repo's name before running it" – 50% chance I will get asked "What do you mean? Where shall I put what?!" I think it was more convenient and less error prone if zypper commands yould use a variable such as $osVersion that can be put to replace the string. On openSUSE Leap 42.1 zypper ar -f http://download.opensuse.org/repositories/science/$osVersion/ "Science" would than automatically change to zypper ar -f http://download.opensuse.org/repositories/science/openSUSE_Leap_42.1/ "Science" and so forth…
Business case (Partner benefit): openSUSE.org: This feature would it make easier for admins to write scripts that handle software management/installation on different versions of openSUSE. It would also facilitate writing advice to people on the internet (e.g. the openSUSE wiki) on how to perform certain actions that concern repo management.
Discussion: #1: Jens Grabinger (jensemann126) (2016-04-23 14:01:15) Version info is contained in the file /etc/os-release. You can simply source this file from your bash script and you get variables like $NAME and $VERSION.
#2: Felix Miata (mrmazda) (2017-06-22 14:00:32) One of the advantages of zypp over yum/dnf is that it is obvious on examination of a repo file whether it is appropriate to the installation. A second is that each controls the repos, that is, each repo file is independent of some other file(s) dictating what version is appropriate. e.g., there may not be a non-standard repo available for the installed pre-release (TDE for 42.3), but an existing repo version may be competent for the task (TDE for 42.2).
+ #3: Mark Yen (mook_work) (2018-09-19 18:29:38) + This appears to want $releasever ; see + https://bugzilla.suse.com/show_bug.cgi?id=911658 for where zypper + gained the ability to override it (but it obviously already exists so + that it could be overridden). It still needs the openSUSE_Leap_ part of + the URL, though, as far as I know.