<div dir="ltr"><div>Mauro,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 1, 2020 at 8:18 PM Mauro Rizzi <<a href="mailto:mrizzi@fi.uba.ar">mrizzi@fi.uba.ar</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Phil!</div><div><br></div><div>Thanks a lot, the postPackageInstall and 
postPackageInstall methods will resolve multiple of my concerns!</div></div></blockquote><div><br></div><div>Glad it was useful.  I did the video because this question has come up numerous times over the years on the list.  Good to put it to work!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I'm gonna use this chain and ask, the package manager doesn't actually remove the packages when you click remove right? So in theory I shouldn't worry about having that var removed when someone removes the package correct?.<br></div></div></blockquote><div><br></div><div>Right, truly removing a package would require uninstalling/undoing everything that the package did during installation.  AFAIK, no one to date has been daring enough to take that on as doing it properly (safely/completely) would likely require much more infrastructure than the image currently provides.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Cheers!</div><div><br></div><div><b>Mauro Rizzi</b><br></div></div><br></blockquote><div><br></div><div>Thanks,</div><div>Phil</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar, 1 dic 2020 a las 21:25, Phil B (<<a href="mailto:pbpublist@gmail.com" target="_blank">pbpublist@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Mauro,<div><br></div><div>I did a screencast a while back that might be helpful (the link jumps right to the point where I start talking about adding a class variable): <a href="https://youtu.be/jXuoFEkg6UA?t=586" target="_blank">https://youtu.be/jXuoFEkg6UA?t=586</a></div><div><br></div><div>Hope that helps,</div><div>Phil</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 1, 2020 at 5:40 PM Mauro Rizzi via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div></div><div>Hello everyone!</div><div><br></div><div>I'm looking into using packages as ways to deliver feature packs and found myself in an issue where I need to add a class variable to a system class.</div><div><br></div><div>I have no issue adding the variable to the class, the problem is when I try to reflect this change on a package. So far the only way I see of adding or removing things from a package is changing the category name of methods/classes so they fit into the package file.</div><div><br></div><div>However I don't think it would be a good idea to move the whole Utility class into a package system category just to add a single var.</div><div><br></div><div>So far i'm just considering either adding it through the addClassVarName: method (after checking if it doesn't exist) in one of the methods that uses that variable regularly or straight up injecting the code into the package file so it's executed on fileIn.</div><div><br></div><div>Both ways seem like hacky workarounds that might actually cause problems (for example if the package is later removed that variable won't be removed at all).</div><div></div><div>
<div><br></div><div>Is there any other way to add the modification of the Utility class into my package? Or is the idea that package modifications are identified and tracked by the categories only?</div><div><br></div><div>And before you say changesets. Yes I know they can reflect this, but packages allow me to work on different things on the system without having to have a separate image for each or touching up the contents of the changesets.<br></div><div><br></div><div>Kind regards,</div><div><br></div><div><b>Mauro Rizzi</b><br></div>

</div><div><br></div><div><span></span></div><br></div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>