Replace hard-coded repository information with a call to the version service

Description

Currently, the percona-release script contains a hard-coded list of values for things like repositories and their aliases (e.g. ppg12, psmdb44, ps80, etc), as well as the supported architectures (e.g. x86_64). Any changes to our repositories (e.g. adding new product versions) require updating and releasing a new version of the percona-release script.

Instead of maintaining a static list in the script, it should query Percona's version service for this information. This would also allow us to gather some statistics/metrics about how much the percona-release script is actually deployed and used for setting up repos (and potentially determining which repos are enabled).

Environment

None

relates to

Smart Checklist

Activity

Evgeniy Patlan June 21, 2023 at 8:45 AM

This is done in a bit different way for 1.0-28

Won't Do

Details

Assignee

Reporter

Components

Priority

Smart Checklist

Created August 18, 2022 at 7:26 AM
Updated July 22, 2024 at 3:23 PM
Resolved June 21, 2023 at 8:46 AM