← Back to issue list

add "always run" plugin hook

View original Github issue

Metadata

Project
craft-parts
Number
#889
Type
issue
State
open
Author
flotter
Labels
Created
2024-10-29 15:59:06+00:00
Updated
2025-03-11 14:28:49+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done It would be amazing if the lifecycle manager and the plugin system can provide an optional hook for calling actions that always need to take place, irrespective if source changes occurs. It would then allow the plugin itself to decided if some work in this category is required to be repeated or not. ### Why it needs to get done Two cases: 1. Build time GUID generation to represent a build ID, needed to be part of metadata for a specific part/plugin. 2. Configuration changes at the craft YAML level which needs to propagate through to some parts / plugins. For example, Pebble services config included in the craft YAML could be modified, requiring the plugin re-extract the schema and update the rootfs derived config.

Evaluation history

No evaluation history available.