[MCOL-1712] Non consistent package name scheme for published mcsapi and data-adapter packages Created: 2018-09-11  Updated: 2023-10-26  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.1.5, 1.1.6
Fix Version/s: Icebox

Type: Task Priority: Minor
Reporter: Jens Röwekamp (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Environment:

Debian Ubuntu


Issue Links:
Relates
relates to MCOL-1459 CDC adapter: Name of the cpio file is... Closed
Sprint: 2018-17, 2018-18, 2018-19
Epic/Theme: MCOL-4571

 Description   

The published mcsapi packages are missing the release information as well as the "stretch", "xenial" and "jessie" parts in Debian 8, 9 and Ubuntu 16.
But the published mcsapi packet names for Ubuntu Bionic contains the release information, and the mcsapi packet name for CentOS 7 contains the release information as well as the "centos7" part.

The published maxscale cdc packet names are missing the release information, as well as the "stretch", "xenial" and "jessie" parts in Debian 8, Debian 9, and Ubuntu 16.
But the published maxscale cdc packet names for Ubuntu Bionic contains the release information, and the mcsapi packet name for CentOS 7 contains the release information as well as the "centos7" part.

The published maxscale avro packet names are missing the release information and "stretch", "xenial", "jessie" parts in Debian 8, Debian 9 and Ubuntu 16.
But the published maxscale avro packet names for Ubuntu Bionic contains the release information, and the mcsapi packet name for CentOS 7 contains the release information as well as the "centos7" part.



 Comments   
Comment by Jens Röwekamp (Inactive) [ 2018-09-11 ]

The package names are generated correctly by cmake with all information but the reference name in the repo is changed during the repo setup in buildbot. (cf. [1] line 171)

Therefore, I don't know which packet name change is intentional and which isn't.

[1] http://34.238.186.75:8010/#/builders/16/builds/202/steps/43/logs/stdio

Comment by Ben Thompson (Inactive) [ 2018-09-20 ]

This is a combination of the using of reprepro to generate APT repos and older cmake versions on the builders

API and Data Adapater packages set the value – SET(CPACK_DEBIAN_PACKAGE_RELEASE "1")
This is not a value until cmake version 3.6.3 (Why is works in ubuntu18)
in Ubuntu18 the deb package info shows the version string with the release number and reprepro uses this to rename the packages

The "stretch", "xenial" and "jessie" are removed from the package name in reprepro. these values are passed to reprepro to setup the directory structures in the repo and not used in package naming. The package formats are consistent when doing a local build

Example the link from Jens above shows this is the reprepro command used on API
spawn reprepro -vvvvvvvvvvvvvvb /var/www/html/repos/1.1.6-1/202/mariadb-columnstore-api/repo/debian9 includedeb stretch mariadb-columnstore-api-1.1.6-1-stretch.amd64.deb

which outputs the file – pool/main/m/mariadb-columnstore-api/mariadb-columnstore-api_1.1.6_amd64.deb

if you run dpkg-deb -I mariadb-columnstore-api-1.1.6-1-stretch.amd64.deb the output shows
Package: mariadb-columnstore-api
Version: 1.1.6

Not sure what the ideal naming is but wanted to explain what the issues were based on my observations and research on this.

Comment by Ben Thompson (Inactive) [ 2018-09-20 ]

Not sure what course of action should be take or any based on my findings. Would like to discuss on weekly call

Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

Generated at Thu Feb 08 02:30:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.