[Libreoffice] [libreoffice-l10n] Re: [Libreoffice-qa] Online update service up & running

Olivier Hallot olivier.hallot at documentfoundation.org
Thu Jan 5 10:38:54 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Kendy

I think the scheme you listed will be OK. But I don't have a server to
test in an internal network

Regards
Olivier


Em 04-01-2012 17:52, Jan Holesovsky escreveu:
> Hi Olivier,
> 
> On 2012-01-03 at 14:01 -0200, Olivier Hallot wrote:
> 
>> Actually, in a controlled environment, you may want to download the new
>> version from a internal server, sparing your expensive external
>> bandwidth. That is why I would like to have the download URL
>> configureable in a XML file (e.g. main.xcd)
> 
> Ah, I see.  OK, so after getting rid of inst:buildid, I introduced an
> inst:gitid in the update .xml so that one can control the updates via a
> static .xml file.  The inst:buildid was unreliable, because of the way
> we reset buildid with every version bump (3.3 -> 3.4 etc.)
> 
> So, what you want to do is to put the new version to your server (let's
> say http://yourserver/newersion.msi) together with the following xml
> (located at http://yourserver/update.xml):
> 
> <?xml version="1.0" encoding="utf-8"?>
> <inst:description xmlns:inst="http://update.libreoffice.org/description">
>   <inst:id>LibreOffice 3.something</inst:id>
>   <inst:version>3.something</inst:version>
>   <inst:gitid>123456-abcdef-1a2b3c-4d5e6f</inst:gitid>
>   <inst:os>Windows</inst:os>
>   <inst:arch>x86</inst:arch>
> 
>   <inst:update type="application/octet-stream" src="http://yourserver/newersion.msi" />
> </inst:description>
> 
> where inst:gitid is the value of 'buildid' in program/versionrc of
> newersion.msi when installed.
> 
> The last step is to point your installations to this update xml, and
> that is by modifying UpdateURL to value http://yourserver/update.xml in
> program/versionrc of your installations.
> 
> Does this work for you?
> 
> inst:gitid will be available with Beta3, so the first update that will
> be possible to handle this way will be Beta3 -> Beta4.  Please test &
> report back in case of trouble.
> 
> Regards,
> Kendy
> 

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPBe4+AAoJEJp3R7nH3vLxeqcH/Rbd8cX9riyH18Uk/tNZIcYj
jf2iZnVV/piPviqcGAr6iaVYRzszltrd9n+HpSGuAJ9bf2fequD2XBTyEMZSfp6Q
JS+YlEvxUjU/EnKA9REtaIrzBp9VZENPu30iKaEeZWw5hpRfCQvJIk2EKO6/uv1w
ILb55O7tSSp0iJuE0/YOCVeR5QsC+BEypucdcBIHKjE+gzrrC5syTEiw3PbukW/g
Lfnv84hr76cR1QYqWABp8zb5RtGCeSO+sgE21lQC28RxEklzdstnYVcA2L36nlLV
MIHrjMHykawWt4ykqT2fNQJ5nMSb52IC0ibDXIGZaBN4XAND03301rTAOqGm8ZI=
=R+02
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list