Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to deploy one or more model containers from the package #43

Open
SubPointSupport opened this issue Mar 7, 2017 · 2 comments
Milestone

Comments

@SubPointSupport
Copy link
Contributor

SubPointSupport commented Mar 7, 2017

It should be possible to deploy only selected models from the whole package.

MetaPack should provide model container ID, so that one or more ID would be provided at the deployment time and only selected models will be deployed.

Options with key "_metapack.model.id" it to be used.

@milleraa
Copy link

I think I can use it for some kind of uninstalling(hiding fields/lists/content types).

@SubPointSupport
Copy link
Contributor Author

That's a great use case, thanks @milleraa

Originally, we need it avoid package mess. For instance, that way we would be able to package different versions of the jQuery library within one package (rather than having a package per jQuery version). Later on, we would be able to pick up the right container/model to deploy the right jQuery version from the package - 1.1/1.2/2.0 and so on.

Again, right now we've for DefinitelyPacked.jQuery package with three versions of jQuery within and don't have any ability to pick up the right one - all three SPMeta2 models get deployed every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants