Closed (fixed)
Project:
Recipe Installer Kit
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2025 at 18:43 UTC
Updated:
6 Mar 2025 at 14:59 UTC
Jump to comment: Most recent
Comments
Comment #5
phenaproximaI thought about this a bit and I realized we probably don't even need to read composer.json if we stop using the event subscriber and just add the "mark as applied" stuff as a normal batch operation. Opened !7 to propose this. What do you think - will that work? I like it most of all because it keeps everything in the
Hooksclass and minimizes the amount of code that a generated profile will have.Comment #7
phenaproximaGave this a quick manual test in the context of Drupal CMS and confirmed that it works as expected (the state key contained the names of the recipes I selected at the beginning of the process).
Comment #9
phenaproximaMerged !7 into 1.x.
Comment #10
darren ohI would have preferred the event subscriber because it works no matter how recipes are applied, but I can make this work.