bamaer opened a new pull request, #9616:
URL: https://github.com/apache/hop/pull/9616

   Fixes #9610.
   
   Updating a plugin that the marketplace installed now removes the files only 
the previous version had, so the old and the new jar no longer end up on the 
plugin classpath together. This covers `hop marketplace install`, `apply` with 
a changed version and the GUI.
   
   - Shared `lib/core` jars stay where they are (#9614). A file that another 
marketplace receipt lists is never removed.
   - A file that cannot be deleted, for example a jar Windows keeps locked, 
stays in the receipt (`obsoletePaths`). The next CLI install, `apply` or 
uninstall removes it.
   - A staged install removes the old files when it is activated, and now 
clears `pendingActivation`.
   - The update notification no longer tells users to uninstall first.
   
   Tests: unit tests against a local HTTP repository cover:
   
   - a plain update, `hop marketplace install` and `apply`;
   - two staged updates in a row;
   - a file in use, a corrupt receipt, files shared with another plugin, and 
case-only renames.
   
   Each fails without the fix. There is no integration test: the marketplace 
has no IT project yet. One can follow with #9613.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to