Project

General

Profile

Actions

Refactor #7988

closed

Remove postinst script duplication across OS packages

Added by Dominic Cleal about 10 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Debian/Ubuntu
Target version:
-

Description

postinst scripts are currently duplicated in core packages (identical, depending on DB/non-DB subpackages) and plugins (identical apart from plugin name) across all OSes. We should try and deduplicate this with symlinks or similar.

Actions #1

Updated by Evgeni Golov almost 4 years ago

  • Assignee set to Aaron Stone
Actions #2

Updated by Evgeni Golov about 3 years ago

  • Assignee changed from Aaron Stone to Evgeni Golov
Actions #3

Updated by Evgeni Golov about 3 years ago

  • Status changed from New to Assigned
  • Pull request https://github.com/theforeman/foreman-packaging/pull/7226 added
Actions #4

Updated by Evgeni Golov about 3 years ago

this is finally getting some traction.

  • in https://github.com/theforeman/foreman-packaging/pull/7226 we implemented a shared library that can be used in plugin postinst scripts
  • Ewoud asked for improvements to that library to be smarter (auto-detection of apipie and webpack parameters)
  • foreman core postinst still need de-duplication
  • this library is yet to be used by all the plugins
Actions #5

Updated by The Foreman Bot over 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/8247 added
Actions #6

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 3.4.0 added
Actions #7

Updated by Evgeni Golov over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/8252 added
Actions #9

Updated by Evgeni Golov over 2 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/8253 added
Actions

Also available in: Atom PDF