On Mon, Jan 11, 2010 at 10:02 PM, Steve Borho <st...@borho.org> wrote: > On Mon, Jan 11, 2010 at 8:52 PM, Yuki KODAMA <endflow....@gmail.com> wrote: >> On Tue, Jan 12, 2010 at 07:17, Mads Kiilerich <m...@kiilerich.com> wrote: >>> Yuki KODAMA wrote, On 01/11/2010 07:00 PM: >>>>> >>>>> How did you intend for the update checker to operate? I thought about >>>>> it a bit over the weekend, and thought that it would be best >>>>> integrated into the about dialog. >>>>> >>>> >>>> I think so. It's appropriate implementation. >>>> However most users don't open About dialog frequently with the >>>> exception of users who wanted to check TortoiseHg's update. >>>> >>>> So I have one idea: Update checker is launched when the user runs >>>> any hgtk command at intervals of 1 week (configurable). >>>> For the user feels it annoying, it should be have checkbox option >>>> to disable update check feature. TortoiseHg setting dialog will have >>>> the option to set the interval of update check. >>>> >>> >>> For Fedora and other distributions with their own update system - and no >>> other equally simple way to get an update - it is important that such >>> functionality can be disabled by default - for example with a setting in >>> util/config.py. >> >> Good point. I thought about how Update Checker should behave at last night. >> I'll turn on this feature on only Windows in default. Thanks Mads. > > I spoke with Jesper about this on IRC. He is ok with hosting a small > text file on our static web page as I described. He says this should > work: > > urllib2.urlopen('http://tortoisehg.bitbucket.org/currentversion.txt').read()
I just added this to the about dialog. On Windows it will look for a newer release and offer a download link. Feel free to expand this later into a periodic polling routine. -- Steve Borho ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss