Project

General

Profile

Feature #25123

Seed only templates that match installed plugins

Added by Tomáš Strachota 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The seed process shouldn't add report templates requiring plugins that aren't installed.
We can achieve that by adding a "require" section into template's metadata and check for presence of the plugins during seed.


Related issues

Related to Foreman - Feature #10521: As a user i like to have an advanced reporting system with fully customizable reportsClosed

Associated revisions

Revision 9f9a9564 (diff)
Added by Tomas Strachota 2 months ago

Refs #25123 - add missing os metadata to provisioning templates (#521)

Revision d689adb5 (diff)
Added by Tomáš Strachota 2 months ago

Fixes #25123 - template requirements and seeding with import

- Changes seeding mechanism for provisioning and report templates. It
uses template importing now.
- Template import allows checking for presence of templates in certain
versions. Metadata can contain section `require:` with list of
requirements.

For example:
require:
- plugin: katello # checks whether Katello is installed in any version
- plugin: katello
version: 3.9.0 # checks whether Katello >- 3.9.0 is installed

Revision 75a1dcd8 (diff)
Added by Tomáš Strachota 2 months ago

Refs #25123 - sync from community templates

Revision 3eb9105e (diff)
Added by Michael Moll 2 months ago

Refs #25123 - Fix Layout/EmptyLinesAroundBlockBody cop

History

#1 Updated by Tomáš Strachota 2 months ago

  • Related to Feature #10521: As a user i like to have an advanced reporting system with fully customizable reports added

#2 Updated by The Foreman Bot 2 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6104 added

#3 Updated by The Foreman Bot 2 months ago

  • Status changed from Assigned to Ready For Testing

#4 Updated by The Foreman Bot 2 months ago

  • Pull request https://github.com/theforeman/community-templates/pull/521 added

#5 Updated by Tomáš Strachota 2 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Marek Hulán 2 months ago

  • Fixed in Releases 1.20.0 added

Also available in: Atom PDF