Bale
Minion
Right now there is a preference svnUpdateOnLogin
The problem is that this will update all scripts at every time the character logs in. It will even do this for every characters despite the fact that they all share the same svn settings. We are very careful about page hits for kolmafia and while that is not sourceforge, it would only be reasonable to be considerate of them as well as the extra time required for svn updates at every login for every character.
I propose that a new global preference is added, _dailySvnUpdate (default: false) which is set to true if an svn update is performed. Unless _dailySvnUpdate is false, svnUpdateOnLogin will do nothing.
Scripts might even want to check _dailySvnUpdate to see if they have been checked for updates today, in case svnUpdateOnLogin is false.
Alternate (more complicated) solution. Global preference lastSvnUpdate contains today_to_string() of last svn update.
The problem is that this will update all scripts at every time the character logs in. It will even do this for every characters despite the fact that they all share the same svn settings. We are very careful about page hits for kolmafia and while that is not sourceforge, it would only be reasonable to be considerate of them as well as the extra time required for svn updates at every login for every character.
I propose that a new global preference is added, _dailySvnUpdate (default: false) which is set to true if an svn update is performed. Unless _dailySvnUpdate is false, svnUpdateOnLogin will do nothing.
Scripts might even want to check _dailySvnUpdate to see if they have been checked for updates today, in case svnUpdateOnLogin is false.
Alternate (more complicated) solution. Global preference lastSvnUpdate contains today_to_string() of last svn update.
Last edited: