Following up my earlier question (How can I install 64-bit Vim on Windows?), I'd like to automate updating Vim. On Linux, I let the package manager and its frontends take care of checking for updates to Vim and notifying me of them (or even automatically installing them). On Windows, this is not so easy.
If I were using Cygwin, I'd probably use Cygwin's package manager in a similar fashion as I do on Linux. Though I am curious how this would be done. Via the Task Scheduler, perhaps?
How do I automate checks for new versions of Vim? Preferably, I'd like to automate updates as well.
- There could be a builtin function I am not aware of that does this.
- A custom function called on startup that asynchronously checks the commit feed for new patches, or a download source for new downloads.
- A scheduled task that does the above outside of Vim.
Note the asynchronous part - I don't want to wait around while Vim uses
wget or something to download a page and parse it and so on... I want to get started with whatever I was doing, and be notified whenever the update check process finishes. Consider how Notepad++ notifies you of available updates, without stopping startup for it.
I'd like to see a general method - if parsing HTML is needed (say, for example, looking at a specific download page like https://tuxproject.de/projects/vim/), I can manage that - but how do I accomplish the rest?