Include app functions in the module, or move outside of the module #679
Replies: 2 comments 3 replies
-
I currently customise Evergreen Apps (create additional Get-xxx.ps1 + corresponding manifest) so that I can benefit from Evergreen Libraries for all my managed apps. This allows me to have Evergreen Library support for all the apps supported by the Nevergreen module, along with my own list of non-Evergreen (Static) Apps. Assuming that moving the App Functions outside of the Module wouldn't mean that my use case was no longer supported, then I'd be happy for the proposal to go ahead. |
Beta Was this translation helpful? Give feedback.
-
Some thoughts from me...
In Azure Automation you install the module inside the Automation Account. I'm not sure how the application files are cached in such a scenario. Or you need to always update it in the script... this would be a breaking change?!
I think it's a good idea in principle. Makes updating / adding applications faster. Winget or choco work in a similar way. |
Beta Was this translation helpful? Give feedback.
-
All application functions are currently included in the module, meaning that new apps, updates and fixes for apps require a new version of the module. This can be useful for sticking to a specific version of the module if there's an issue with an app function.
However, including app functions in the module increases the time to add new apps or fix existing apps. If app functions were separating from the core Evergreen function, and downloaded as required, updates to apps should, in theory, be faster. Apps could be synchronised from a repository with something like
Update-Evergreen
.Either approach works and has advantages and disadvantages.
3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions