-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch for autoupdate #258
Comments
This can be achieved without any changes to Thor. There are a few alternatives: [1] Call RunThor without any parameters (or a very large value) to skip automatic CFU entirely, and run it manually from the Thor menu only when desired:
[2] You can all RunThor with a parameter based on a call to MessageBox:
[3] You can modify (and possibly rename) RunThor to add the desired MessageBox where you see fit. It's a straightforward little program. |
I'm sorry, but this is insulting. Thank you for your help. |
To make this as simple as possible for you, follow these steps: [1] Call RunThor without a parameter, so that CFU is not run automatically.
[2] When the time comes when you want to run CFU, run "Check For Updates" from the Thor menu pad: |
Jim provided several ways to provide you exactly what you asked for without changing Thor at all. This is not insulting, it is awesome. It shows the flexibility of Thor and all it requires is a small change to the code you have to have to run Thor in the VFP IDE. His second suggestion gives you the MessageBox you requested upon startup. The third and even his fourth suggestions satisfy the requirement to run the CFU the way you want to run it without prompting. For me, I have Thor check for updates once a week. If I need something sooner, I manually run the CFU process. Also, I believe when I have run into this situation where CFU is plugging through all the projects and I need access to VFP more immediately, I just run a second copy of VFP while the first one is getting Thor going. It seems that Thor CFU updates the next date before it goes on the way to get the list of projects. The second instance of VFP should start faster. Rick |
@rick My CFU process is like yours - only it's not only one comp. The main comp is no problem. It's more client side work, where I open up a comp not used for weeks to look into something. And then this CFU starts. Unstoppable. To your idea to start VFP twice,
Thor and the Thor installation are in no way good to maintain. All my attempts to participate failed, and I will not retry above raising issues. And I'm against forking, this is not good. Anyway, if it's just such simple code as the maintainer wrote, I can not see why he can not do it. ¯\(ツ)/¯ |
I think you should reread what I posted, Lutz. I did not agree that setting the update frequency was the best of the options from Jim. In fact, this was the least desired option of the four he gave you and one I bypassed too (even though it also works as a solution). I noted that he solved your specific request for a MessageBox prompt without having to change the base code. Calling Jim's near instantaneous response (same day, within hours on a workday) on a volunteer open-source project rude is unnecessary. Open discussion and back and forth dialog are the exact appropriate approaches. This kind of back and forth where ideas are exchanged have worked on VFPX for a long time. Rick |
@lscheffler |
@DanielCarlos231 Not bad support I wrote One would call this rude support. Only this is not a support request at all. The code to enter, even with a parameter, is simple enough. Surely it's running on my comp. But, as I posted above, I do not participate maintaining this project above raising issues. I have reasons, but those do not belong here. Anyway, I presume that the maintainer have profound knowledge of this situation. Off topic. I welcome you to uninstall / install Thor. Much fun. It's (And to make that clear, there is nobody to blame for this, it is just grown that way by many developers participation) a very painful process to remove Thor and its module clean from your comp. Not just removing the Thor folder, this is not nearly enough. Reinstall the OS from scratch, it's faster. Also there is no way to store / restore all settings. I'm through this, because I tried to participate maintaining Thor, and failed. @rschummer Folks, I stop this waste of time. It's useless me talking to Jim is less valubale then talking to the see, I must finally accept this. Please just remember me next time try this. |
Reopened, the thing seems not that simple. The counter must move or the system will be out of sync. |
📝 Provide a description of the new feature
Please add an switch to the parameters. When running the auto update via
.. WITH n
, add an additional switch that allows to stop the process.I run several computers. The configuration is similar, but stuff like Thor will not update if the computer is off. Then I need VFP for something urgent, and start the computer nearby. And every time Thor starts this slow CFU and crawling through any never changing project with this very slow download and unzip process. (Aside this is using my mobile data volume for nothing) I like to have a simple Yes / No messagebox (with a timeout) so I can postpone CFU.
If you'd like to see this feature implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: