action #50465

rename product from openSUSE to Leap

Added by lnussel 12 months ago. Updated about 1 month ago.

Status:RejectedStart date:01/07/2019
Priority:NormalDue date:30/11/2019
Assignee:lkocman% Done:

10%

Category:Release Engineering
Target version:Alpha
Duration: 110

Description

The CPE id of Leap should be "cpe:/o:opensuse:leap:15.2" as reported by /etc/os-release

os-release is currently hacked manually. The real change needs to be in 000package-groups/openSUSE.product.in. It needs to be it needs to be renamed to Leap.product.in:

    <vendor>openSUSE</vendor>
    <name>Leap</name>
    <version>15.2</version>

That has various implications like openSUSE-release.spec renaming to Leap-release.spec with currently unknown consequences to how eg zypp behaves.

The non-oss product also needs to be adopted

TODO list from etherpad so we don't lose it: https://etherpad.nue.suse.com/p/leap_product_rename
openSUSE.product produces a product called "openSUSE" from vendor "openSUSE". What we actually have are products called "Leap" and Tumbleweed" from vendor "openSUSE" though. In order to properly support SCC registration the information OBS has needs to be consistent. Therefore it's desirable to rename the product from openSUSE to Leap.

openSUSE.product.in -> Leap.product.in
openSUSE-release.spec.in -> Leap-release.spec.in

Issues:
- Quite some packages require openSUSE-release. So there is a compat package that just requires Leap-release.
- installation-images pulls in openSUSE-release and then fails to resolve deps as the flavor package is missing. So far the flavors were build ignored via prjconf. installation-images also had an extra config to ignore an unresolvable openSUSE-release package. To avoid patching installation-images we just pull in the mini flavor:
Prefer: Leap-release:Leap-release-mini
- pkglistgen updating relpkgs will parsing .product in 000product, but due to the issues below 000product don't have the proper data. Result: old openSUSE release flavor spec file were added back
- first step of pkglistgen pipe(repochecker) failed due to openSUSE-release package is duplicated. Workaround: installcheck-ignore-duplicated-binaries = openSUSE-release
- pkglistgen fails in progress due to openSUSE.product.in was renamed however it's required by pkglistgen-locales-from
- change pkglistgen-locales-from will breaks other stagings and main product build
- solution: languages list moved to pkglistgen-locale attribute and leave pkglistgen-locales-from empty, thus pkglistgen fetch languages list from an attribute instead of a file
- remember to update pkglistgen-delete-kiwis-rings and pkglistgen-delete-kiwis-staging otherwise unneeded kiwi file were there
- update product name in the OSRT:ToTestMnagerConfig - otherwise ttm won't release snapshot to ToTest
- repository loction needs to update in rsync_opensuse
- the obs dashboard hardcodes the dvd name so needs to be adjusted src/api/app/models/obs_factory/distribution_strategy_

- rsync.pl needs to sync the new product name Leap-dvd5 instead of openSUSE-dvd5
- NonFree/000release-packages/_aggregate needs to get the right release package
- rsync.pl for the main repo also needs to sync correct names. The non-oss ftp tree had an inconsistent name though.
- upgrade tests fail as the openSUSE product vanished and gets replaced by the Leap product. YaST doesnt like that and displays summary in red. https://openqa.opensuse.org/tests/1062080#step/disable_grub_timeout/2
- needed to add Provides: product() = openSUSE
- weakremovers handling: http://bugzilla.opensuse.org/show_bug.cgi?id=1155819
- FIXME: flavor package replacement doesnt work?
https://github.com/openSUSE/obs-service-product_converter/pull/7
- baseproduct symlink needs to be taken care of


Related issues

Blocked by openSUSE Leap 15.2 - action #52034: copy sources of previous release Resolved 27/05/2019 10/06/2019

History

#1 Updated by lnussel 10 months ago

  • Blocked by action #52034: copy sources of previous release added

#2 Updated by lnussel 10 months ago

  • Start date changed from 27/05/2019 to 28/05/2019

#3 Updated by lnussel 10 months ago

  • Due date changed from 28/06/2019 to 31/07/2019
  • Start date changed from 28/05/2019 to 01/07/2019

will be tricky, get the distro to build first

#4 Updated by lnussel 6 months ago

  • Due date changed from 31/07/2019 to 31/10/2019
  • Status changed from New to In Progress
  • % Done changed from 0 to 10

preparing in E

#6 Updated by lnussel 5 months ago

  • Description updated (diff)

#7 Updated by lnussel 5 months ago

  • Due date changed from 31/10/2019 to 30/11/2019

efforts reverted, need fixes in libzypp first:
http://bugzilla.opensuse.org/show_bug.cgi?id=1155819

#8 Updated by lkocman 3 months ago

  • Assignee set to lkocman

#9 Updated by lkocman about 1 month ago

  • Status changed from In Progress to Rejected

This was agreed to be done in Project setup for 15.3 not now.

Also available in: Atom PDF