Quote from: BobRay at Aug 16, 2008, 04:36 AM
Can Package Builder handle a creating a full directory with all it’s files in one resolver action?
If I want the package to create a manager/assets/captcha directory and all it’s contents, what would be the appropriate source and target field entries in the Resolver?
The default target that comes up is: return MODX_ASSETS_PATH . ’snippets/’; which can’t be right.
I’ve tried some things and the package is built OK but won’t install.
This gets a little tricky, but basically, you would want to make the source be MODX_MANAGER_PATH . ’assets/captcha’ and the target would be "return MODX_MANAGER_PATH . ’assets/’;"
Quote from: BobRay at Aug 16, 2008, 04:36 AM
Just a thought -- It might be good the have "Package Installer" on the main tools menu rather than "Workspaces" or just call it Package Manager and put Package Installer and Package Builder under it. It would be a lot easier to find. Also, it’s hard to be sure about what "update package" and "delete package" actually do.
Workspaces, though it probably won’t be functional until after the initial 2.0.0 release, represent unique core "workspaces". This will allow advanced users and developers to test various sites on different core installs at the click of a button. This will also be an important part of core upgrades in the future. The concept is similar to the Eclipse IDE where you can keep multiple configurations with different core versions or sets of extensions installed and switch between them by selecting a different workspace.
With that in mind, I think it makes sense to move all the Transport Package features under Workspaces, since packages themselves will be installed by (though not necessarily to, in the case of packages that install things into the
web or another custom context) a specific Workspace.