[Libreoffice-qa] Automate the installation of the nightly releases

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Jan 13 07:34:11 UTC 2019


Hey Jean-Philippe,

On Sun, Jan 13, 2019 at 12:38 AM Jean-Philippe MENGUAL <
jean-philippe.mengual at libreoffice.org> wrote:

> Hi,
>
> I now can use the Debian packaged release of the nightly builds of
> Libreoffice. I use the French langpack as well.
>
> Could you help me for writing a script run as root, in order to:
> - download the tarballs
> - untar
> - install the Debian packages
> - remove the tarballs and untarred foldersdossiers décompressés
>
> The binary needs to be installed before the langpack.
> I know all right what I need, but: in the URL processed by wget, there is:
>
> https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF/current/
> <https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF/current/master~2019-01-11_09.39.05_LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_deb.tar.gz>
> master~2019-01-11_09.39.05_LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_deb.tar.gz
> <https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF/current/master~2019-01-11_09.39.05_LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_deb.tar.gz>
> and:
>
> https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF/current/master~2019-01-11_09.39.05_LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_deb_langpack_fr.tar.gz
>
> - how can I detect th exact name of Linux-rpm_deb-x86_64 at 86-TDF
> automatically (the end number (86) is ramdom)
>

The number is the number for the build machine. So the @86 means that the
build was produced by the build machine with the number 86 and the
following "-TDF" that it is a TDF controlled machine. The remaining parts
are branch name, date and time, product name (LibreOffice vs
LibreOfficeDev), the version string and finally the platform.

I hope this helps you figuring out how to always find the correct build. I
think you want to keep build machine, branch name, product name and
platform constant and the version string should only change after a new
version has been branched off (only every 6 months).

Actually I think most of that is handled for you by always using the same
directory e.g.
https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF/current/
<https://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@86-TDF/current/master~2019-01-11_09.39.05_LibreOfficeDev_6.3.0.0.alpha0_Linux_x86-64_deb.tar.gz>
 and then just picking the *_deb.tar.gz and the *_deb_langpack_fr.tar.gz
files.

Kind regards,
Markus

- the filename is ramdom too
>
> How can I detect them automatically to make them untar and processed
> automatically?
>
> Thanks for your help.
>
> Regards
>
>
>
>
> --
> signature_jp_2
> Logo Hypra      JEAN-PHILIPPE MENGUAL
> DIRECTEUR TECHNIQUE ET QUALITÉ
> 102, rue des poissonniers, 75018, Paris
> Tel : +331 84 73 06 61 <tel:+33184730661> Mob : +336 76 34 93 37
> <tel:+33676349337>
> jpmengual at hypra.fr <mailto:jpmengual at hypra.fr>
> www.hypra.fr <http://www.hypra.fr/>
> Facebook Hypra <https://www.facebook.com/hyprasoftware/> Twitter Hypra
> <https://twitter.com/Hypra_> Linkedin Jean-Philippe
> <https://fr.linkedin.com/in/jean-philippe-mengual-800133135>
>
>
> _______________________________________________
> List Name: Libreoffice-qa mailing list
> Mail address: Libreoffice-qa at lists.freedesktop.org
> Change settings:
> https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
> Problems?
> http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
> List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-qa/attachments/20190113/f1f44701/attachment.html>


More information about the Libreoffice-qa mailing list