Open msdobrescu opened 1 year ago
To summarize:
finalize.yaml
file for every package.According to the above, the ideal implementation would be:
finalize.yaml
file with package entries in the same form as in the collection file, but this would add complexity while as it now is enough to check for the name and category in order to decide what to apply.This solution means to reduce installation and especially upgrade times. Now, it may upgrade in minutes, literally, if the finalization would not be so long (hours in the case of some commands runs accumulation).
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
On the path
/var/luet/db/repos/mocaccino-community/treefs/apps/xemacs/21.4.24-r5+6/finalize.yaml
, for example, there is a copy of themocaccino-community repo
finalize.yaml
.Needing specific ops at finalization for a specific package, I have added code in the
finalize.yaml
of the collection (in C-R:/community-repository/packages/apps/finalize.yaml
). Generally, it's like this:install:
But for emacs or xemacs only, I add to the same file:
This entire thing goes to every package now, in
/var/luet/db/repos/mocaccino-community/treefs/apps/<name>/<version>/finalize.yaml
, regardless the package. What I would do? How I would prefer?That would be copied in
/var/luet/db/repos/mocaccino-community/treefs/apps/xemacs/21.4.24-r5+6/finalize.yaml
, at the end of the install section for that very package only, right after the globalfinalize.yaml
install section content.Describe alternatives you've considered
Additional context