Enforce rpm name format for plugins in fpb
Bug #1439116 reported by
Vyacheslav Struk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Triaged
|
Medium
|
Fuel Sustaining |
Bug Description
How to reproduce:
install fpb 38db815(master)
go to plugin dir, execute "fpb --build ."
fpb generates rpm named: "contrail-
Proposed solution:
Fix spec template:
Use ${name}-${version} format, i.e. contrail-
description: | updated |
tags: | added: feature-plugins |
Changed in fuel: | |
milestone: | none → 6.1 |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Vladimir Sharshov (vsharshov) |
description: | updated |
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in fuel: | |
importance: | Medium → High |
Changed in fuel: | |
milestone: | 6.1 → 7.0 |
tags: | added: feature |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
no longer affects: | fuel/8.0.x |
tags: | added: area-python |
Changed in fuel: | |
milestone: | 8.0 → 9.0 |
Changed in fuel: | |
assignee: | Fuel Python (Deprecated) (fuel-python) → Fuel Sustaining (fuel-sustaining-team) |
To post a comment you must log in.
Just some feedback about plugin package naming. $pluginname- $version- $release $pluginfmtver. $pluginver- $release. noarch. rpm
I would love to see a common convention, so that it is very obvious to tell that this package is a Fuel plugin and what format it is written in. Let's look at yum plugins for example.
They follow the naming of yum-plugin-
We should try to name Fuel plugins this way:
fuel-plugin-
Let's just agree that the major version of the package should correspond with the plugin format. It's the most important value here in any case. The release should always start at 1, but it could include a git hash.
The plugins themselves should do some check to ensure the nailgun API version meets its requirements before they can be fully registered into Fuel.
With regards to this, I think we should agree that an initial release version of the Fuel Contrail plugin should be the following: contrail- 1.1.0-1. noarch. rpm
fuel-plugin-