• Loading newer version of package from disk

    From [email protected]@21:1/5 to All on Mon Jun 6 10:37:48 2022
    If I have an image with e.g. some contrib packages loaded, and a new version of those packages is released, is there a straightforward way to load the new code into the image? This seems like it should be simple to do, but I don't see a way in the UI,
    and digging through the code behind "Install Package...", I'm honestly not sure which parts to run and which parts to leave out in order to make sure all the various events end up hooked up properly, things like globals and scripts get updated, etc.
    Package>>load seems like a good start, but it doesn't handle *removing* methods that are no longer present in the package-on-disk, and I don't know whether it handles events properly. Certainly it looks like it leaves too many events turned on, which is
    a performance issue. I don't *think* it drops any on the floor but I'm not sure.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bruno Buzzi Brassesco@21:1/5 to All on Fri Jun 10 18:57:00 2022
    Hi,
    The "stream" now is to build the image from the scratch.
    What is preventing you to build the image from the scratch (and load the new versions of the packages)?
    regards,
    bruno

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to [email protected] on Sun Jun 12 16:21:24 2022
    Just a matter of performance—I have an application with enough code that booting a new image takes 20 minutes, working with changes to a dependency that loads in 30 seconds. I do regularly boot a new image, but it's a pain to be *forced* to do so in
    order to check out a few last-minute changes.

    On Friday, June 10, 2022 at 9:57:01 PM UTC-4, [email protected] wrote:
    Hi,
    The "stream" now is to build the image from the scratch.
    What is preventing you to build the image from the scratch (and load the new versions of the packages)?
    regards,
    bruno

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From picoVerse@21:1/5 to [email protected] on Mon Aug 29 22:22:09 2022
    Why can't we hot swap Packages?
    isn't it just a file in plus a remove Methods owned by the
    previous version but not the new version? i don't get it why not

    On Sunday, June 12, 2022 at 4:21:25 PM UTC-7, [email protected] wrote:
    Just a matter of performance—I have an application with enough code that booting a new image takes 20 minutes, working with changes to a dependency that loads in 30 seconds. I do regularly boot a new image, but it's a pain to be *forced* to do so in
    order to check out a few last-minute changes.
    On Friday, June 10, 2022 at 9:57:01 PM UTC-4, [email protected] wrote:
    Hi,
    The "stream" now is to build the image from the scratch.
    What is preventing you to build the image from the scratch (and load the new versions of the packages)?
    regards,
    bruno

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)