So. I decided I wanted to take a look at the package Umbraco.TheStarterKit to see what was in it. After installing it and looking at it, I removed the NuGet Package, and rebuilt my site.
The Package is no longer listed, but the content settings it generated, (like BlogPost, Contact, Home, People, Etc.) remained. I'm not overly surprised by this, as the NuGet package wouldn't have had a way to do any cleanup once I removed it - but I'm wondering if I'm missing a way to remove everything a package may have added, or if it's just a manual process?
My understanding is that it might be theoretically possible for a package to remove content when uninstalling, I don't believe this ever happens, and probably for good reason. After all, a package can't really determine if you want the content it creates to remain or whether you are using any of the document types etc. Attempting to remove them could cause chaos!
I think your best course of action in future is to create a backup of your database or use something like uSync to create a "snapshot" you can restore.
I guess from a Desktop Software Perspective, there's the idea of "removing software" and then "removing software + user settings" as an option when you're uninstalling something. It'd be nice if Umbraco had that functionality.
But then it would also be nice if Packages couldn't overwrite existing content settings that I've created. That was really annoying to discover. Especially when, without cracking open the NuGet package and looking at everything, it's not really possible to know what's going to be added/modified/overwritten.
Remove Package and Content? Umbraco V10
Hey everyone,
So. I decided I wanted to take a look at the package Umbraco.TheStarterKit to see what was in it. After installing it and looking at it, I removed the NuGet Package, and rebuilt my site.
The Package is no longer listed, but the content settings it generated, (like BlogPost, Contact, Home, People, Etc.) remained. I'm not overly surprised by this, as the NuGet package wouldn't have had a way to do any cleanup once I removed it - but I'm wondering if I'm missing a way to remove everything a package may have added, or if it's just a manual process?
Thanks!
My understanding is that it might be theoretically possible for a package to remove content when uninstalling, I don't believe this ever happens, and probably for good reason. After all, a package can't really determine if you want the content it creates to remain or whether you are using any of the document types etc. Attempting to remove them could cause chaos!
I think your best course of action in future is to create a backup of your database or use something like uSync to create a "snapshot" you can restore.
Yeah, that's what I expected.
I guess from a Desktop Software Perspective, there's the idea of "removing software" and then "removing software + user settings" as an option when you're uninstalling something. It'd be nice if Umbraco had that functionality.
But then it would also be nice if Packages couldn't overwrite existing content settings that I've created. That was really annoying to discover. Especially when, without cracking open the NuGet package and looking at everything, it's not really possible to know what's going to be added/modified/overwritten.
Oh well. You live and you learn.
is working on a reply...