Been playing with Umbraco 4.5.1 today and working on installing and creating a few packages.
Wanted to put an idea in for the packages functionality in the Developer section:
After installing packages, deleting the temp directory where the package was unzipped to (~/App_Data/{GUID}) to save on disk space;
Checking to see whether a package is already installed during the install procedure - if so, only running the "missing" logic (so if I've installed Blog4Umbraco but deleted, say, the CSS and template files, then later realising that I want them back, running the install again and it just "plugs" the missing files - same for doctypes as well). At the moment, running an installer when a package is already installed throws a YSOD.
I will second the latter part of the request in that packages dont duplicate or fail when being re-installed. Having it optionally request permission to overwrite existing files would be a great addition as well, as it would allow you to easily restore original functionality where needed, while keeping some modifications.
(BTW, I know I can do it manually)
Regarding the first request, deleting the files that are moved elsewhere would be useful, but the directory is likely needed to keep the package.xml file, and any installer logic.
Package feature requests
Hi guys,
Been playing with Umbraco 4.5.1 today and working on installing and creating a few packages.
Wanted to put an idea in for the packages functionality in the Developer section:
Thoughts appreciated.
Benjamin
I will second the latter part of the request in that packages dont duplicate or fail when being re-installed. Having it optionally request permission to overwrite existing files would be a great addition as well, as it would allow you to easily restore original functionality where needed, while keeping some modifications.
(BTW, I know I can do it manually)
Regarding the first request, deleting the files that are moved elsewhere would be useful, but the directory is likely needed to keep the package.xml file, and any installer logic.
Hey Casey,
The package installation logic is held in ~App_Data/packages/installed/installedPackages.config, which makes the package.xml redundant.
Best,
Benjamin
is working on a reply...