Project

General

Profile

Bug #29362

run seeds in initialization if templates have changed

Added by Tomer Brisker 9 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

currently seeds only run when one of the seeds has changed, we should also include the templates in the calculated hashs and reseed them if they have changed.


Related issues

Related to Foreman - Feature #28519: Allow storing if db:seed is required within the DB.Closed

Associated revisions

Revision 7e1aebd5 (diff)
Added by Tomer Brisker 7 months ago

Fixes #29362 - Include templates in seed hash calculation

Otherwise, changes to default templates will not trigger a seeding on
startup if no other seeds have changed.

History

#1 Updated by Tomer Brisker 9 months ago

  • Related to Feature #28519: Allow storing if db:seed is required within the DB. added

#2 Updated by Tomer Brisker 9 months ago

  • Target version changed from 2.0.0 to 2.0.1

doesn't have to be in 2.0.0 since seeds will run anyways now. but should be fixed soon.

#3 Updated by The Foreman Bot 7 months ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7610 added

#4 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 2.1.0 added

#5 Updated by Tomer Brisker 7 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker 6 months ago

  • Fixed in Releases 2.0.1 added

Also available in: Atom PDF