3.6.4 not updating

Jan Holesovsky kendy at suse.cz
Fri Feb 1 03:37:59 PST 2013


Hi Olivier,

Olivier Hallot píše v Pá 01. 02. 2013 v 08:53 -0200:

> Just to inform that checking for updates in 3.6.4 does not tell me 3.6.5
> is available.
> 
> Have we enabled the server to return the right information?

No, sorry, I keep forgetting to do that :-(  I'll have a look later
today.

But it is actually trivial, and anybody can do it - so if there is
anybody who is willing to do this regularly, it would be most
appreciated:

# clone the repository, and switch to the right branch
git clone git://anongit.freedesktop.org/libreoffice/website update
cd update
git checkout -b update origin/update

# edit check.php:
vim check.php
# do a change like 
#
http://cgit.freedesktop.org/libreoffice/website/commit/?h=update&id=883494dc52ed9aebe8b6072a52d047d7b075bbdc
# ie.:
# - add previous version(s) to $update_versions array
#   (in the case of 3.6.4, you should uncomment the line under "To be
#   uncommented when 3.6.4 Final is out", plus add 3.6.4 RC1)
# - put the gitid of the current version (that we should update to) to
#   'gitid' of the appropriate entry in the $update_map array
# - update the 'id' and 'version' of that entry too

To get the gitid, open the About dialog of the appropriate version (RC1
and final), and copy the gitid from there.

# test it in shell, run something like:

HTTP_USER_AGENT='LibreOffice 3.5
(235ab8a-3802056-4a8fed3-2d66ea8-e241b80; Windows; x86;
BundledLanguages=en-US af ar as ast be bg bn bo br brx bs ca ca-XV cs cy
da de dgo dz el en-GB en-ZA eo es et eu fa fi fr ga gd gl gu he hi hr hu
id is it ja ka kk km kn ko kok ks ku lb lo lt lv mai mk ml mn mni mr my
nb ne nl nn nr nso oc om or pa-IN pl pt pt-BR ro ru rw sa-IN sat sd sh
si sk sl sq sr ss st sv sw-TZ ta te tg th tn tr ts tt ug uk uz ve vi xh
zh-CN zh-TW zu)' HTTP_ACCEPT_LANGUAGE=cs-CZ php5 ./check.php

should return something like

<?xml version="1.0" encoding="utf-8"?>
<inst:description
xmlns:inst="http://update.libreoffice.org/description">
  <inst:id>LibreOffice 3.5.7</inst:id>
  <inst:gitid>3215f89-f603614-ab984f2-7348103-1225a5b</inst:gitid>
  <inst:os>Windows</inst:os>
  <inst:arch>x86</inst:arch>
  <inst:version>3.5.7</inst:version>
  <inst:buildid>9999</inst:buildid>
  <inst:update type="text/html"
src="http://www.libreoffice.org/download/?type=win-x86&lang=cs&version=3.5.7" />
</inst:description>

HTTP_USER_AGENT="LibreOffice 3.5
(e371a95-bf68a13-5a1aa2b-d3c1ae9-b938258; MacOSX; x86;
BundledLanguages=en-US)" HTTP_ACCEPT_LANGUAGE=cs-CZ php check.php

should return something like

<?xml version="1.0" encoding="utf-8"?>
<inst:description
xmlns:inst="http://update.libreoffice.org/description">
  <inst:id>LibreOffice 3.6.3</inst:id>
  <inst:gitid>58f22d5-270d05a-e2abed1-ea17a85-9b5702</inst:gitid>
  <inst:os>MacOSX</inst:os>
  <inst:arch>x86</inst:arch>
  <inst:version>3.6.3</inst:version>
  <inst:buildid>9999</inst:buildid>
  <inst:update type="text/html"
src="http://cs.libreoffice.org/stahnout/" />
</inst:description>

HTTP_USER_AGENT="LOdev 3.6 (1f1cdd8-e28082e-41df8bf-b153627-a97a84;
Windows; x86; BundledLanguages=en-US af am ar as ast be bg bn bn-IN bo
br brx bs ca ca-XV cs cy da de dgo dz el en-GB en-ZA eo es et eu fa fi
fr ga gd gl gu he hi hr hu id is it ja ka kk km kn ko kok ks ku lb lo lt
lv mai mk ml mn mni mr my nb ne nl nn nr nso oc om or pa-IN pl pt pt-BR
qtz ro ru rw sa-IN sat sd sh si sk sl sq sr ss st sv sw-TZ ta te tg th
tn tr ts tt ug uk uz ve vi xh zh-CN zh-TW zu)"
HTTP_ACCEPT_LANGUAGE=cs-CZ php check.php

should return something like

<?xml version="1.0" encoding="utf-8"?>
<inst:description
xmlns:inst="http://update.libreoffice.org/description">
  <inst:id>LibreOffice 3.6.3</inst:id>
  <inst:gitid>58f22d5-270d05a-e2abed1-ea17a85-9b5702</inst:gitid>
  <inst:os>Windows</inst:os>
  <inst:arch>x86</inst:arch>
  <inst:version>3.6.3</inst:version>
  <inst:buildid>9999</inst:buildid>
  <inst:update type="text/html"
src="http://cs.libreoffice.org/stahnout/" />
</inst:description>

# commit it & send the patch for rewiew
git commit -a # use commit message like "Offer update to 3.6.3.2 (3.6.3 Final)."
git format-patch origin/update

Then please send the resulting patch here & CC me, and I'll deploy
it :-)

Thank you a lot,
Kendy




More information about the LibreOffice mailing list