On Mon, Oct 20, 2014 at 7:16 PM, John Found <[email protected]> wrote:

> 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.
>

Assuming "basic" shell tools and wget (or similar tool), I would define a
report, in Fossil, to provide the commit ID of the latest, properly tagged
commit. Fetch this report with wget, piping the output to grep to extract
the commit ID. Then compare this to the commit ID of the currently
"installed" software. If they match, you're done. Otherwise, format a URL
and use wget to fetch the tar/zip file.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to