I think about auto-updater for my applications and as long as all the source 
code is located in a fossil directory, I think the best way to auto update is 
to download the source from the repository and then to compile it on the user's 
machine.

I even wrote a little bash script that can download, compile and install the 
most recent trunk version and it works fine.

But for auto-updates I need some other way, that to check for newer versions 
than the version on the user's machine. Another problem is than only the 
versions tagged as "release" have to be check. 

So, how I can make it, not using fossil client. Only plain HTTP. (because there 
is no fossil on the target computer).

IMO, I will need something like:

1. Extract all versions tagged with specific tag (for example "release").
2. From the set of these versions, select only the newer than the version 
installed on the target machine.
3. (this is the only point I know how to make) Get the ID of this version and 
download the ZIP/TAR file from the server.

So, how to implement such auto updater in the most simple and clean way?        

Best Regards
-- 
John Found <http://fresh.flatassembler.net>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to