Refactor #7988
closed
Remove postinst script duplication across OS packages
Added by Dominic Cleal about 10 years ago.
Updated over 2 years ago.
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.
- Assignee set to Aaron Stone
- Assignee changed from Aaron Stone to Evgeni Golov
- Status changed from New to Assigned
- Pull request https://github.com/theforeman/foreman-packaging/pull/7226 added
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
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/8247 added
- Fixed in Releases 3.4.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/theforeman/foreman-packaging/pull/8252 added
- Pull request https://github.com/theforeman/foreman-packaging/pull/8253 added
Also available in: Atom
PDF