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

classic Classic list List threaded Threaded
6 messages Options
Jean-Philippe MENGUAL Jean-Philippe MENGUAL
Reply | Threaded
Open this post in threaded view
|

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

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/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@86-TDF
automatically (the end number (86) is ramdom)
- 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>
[hidden email] <mailto:[hidden email]>
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: [hidden email]
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/
reisi007 reisi007
Reply | Threaded
Open this post in threaded view
|

Re: Automate the installation of the nightly releases

Hi,

I wrote a c# (first generation) and a Kotlin/JVM (second generation) project ( https://github.com/reisi007/Java-SI-GUI ) for that. Besides of the Linux platform specific components it SHOULD also work on Linux... (Downloading only, installing MSI works on Windows).

I think I can help you writing the tool you want :) However, I have no Linux Eno like environment.

Yours,

Florian

Am Sa., 12. Jän. 2019, 17:38 hat Jean-Philippe MENGUAL <[hidden email]> geschrieben:
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/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@86-TDF
automatically (the end number (86) is ramdom)
- 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>
[hidden email] <mailto:[hidden email]>
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: [hidden email]
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/

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
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/
Florian Reisinger Florian Reisinger
Reply | Threaded
Open this post in threaded view
|

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

Hi,

Sent from wrong mail address

---------- Forwarded message ---------
From: Florian Reisinger <[hidden email]>
Date: Sa., 12. Jän. 2019, 21:28
Subject: Re: [Libreoffice-qa] Automate the installation of the nightly releases
To: LibreOffice QA <[hidden email]>


Hi,

I wrote a c# (first generation) and a Kotlin/JVM (second generation) project ( https://github.com/reisi007/Java-SI-GUI ) for that. Besides of the Linux platform specific components it SHOULD also work on Linux... (Downloading only, installing MSI works on Windows).

I think I can help you writing the tool you want :) However, I have no Linux Eno like environment.

Yours,

Florian

Am Sa., 12. Jän. 2019, 17:38 hat Jean-Philippe MENGUAL <[hidden email]> geschrieben:
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/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@86-TDF
automatically (the end number (86) is ramdom)
- 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>
[hidden email] <mailto:[hidden email]>
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: [hidden email]
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/

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
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/
Jean-Philippe MENGUAL Jean-Philippe MENGUAL
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Automate the installation of the nightly releases

Hi,

Many thanks for your reply. My problem is that I have few code skills,
except shell scripts in bash. How do you fetch the elements of the URLs
wich are not predictible then?

Thanks for your help

regards



Le 12/01/2019 à 21:31, Florian Reisinger a écrit :

> Hi,
>
> Sent from wrong mail address
>
> ---------- Forwarded message ---------
> From: *Florian Reisinger* <[hidden email] <mailto:[hidden email]>>
> Date: Sa., 12. Jän. 2019, 21:28
> Subject: Re: [Libreoffice-qa] Automate the installation of the nightly
> releases
> To: LibreOffice QA <[hidden email]
> <mailto:[hidden email]>>
>
>
> Hi,
>
> I wrote a c# (first generation) and a Kotlin/JVM (second generation)
> project ( https://github.com/reisi007/Java-SI-GUI ) for that. Besides of
> the Linux platform specific components it SHOULD also work on Linux...
> (Downloading only, installing MSI works on Windows).
>
> I think I can help you writing the tool you want :) However, I have no
> Linux Eno like environment.
>
> Yours,
>
> Florian
>
> Am Sa., 12. Jän. 2019, 17:38 hat Jean-Philippe MENGUAL
> <[hidden email]
> <mailto:[hidden email]>> geschrieben:
>
>     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/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@86-TDF
>     automatically (the end number (86) is ramdom)
>     - 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>
>     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     www.hypra.fr <http://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: [hidden email]
>     <mailto:[hidden email]>
>     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/
>
>
> _______________________________________________
> List Name: Libreoffice-qa mailing list
> Mail address: [hidden email]
> 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/
>

--
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>
[hidden email] <mailto:[hidden email]>
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: [hidden email]
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/
Florian Reisinger Florian Reisinger
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Automate the installation of the nightly releases

Hi,

You can parse the HTML using regular expression. Not keeping in mind the first X links of a page, all other links on that page help you to build a valid URL. If the URL does not contain sdk out helppack (or a very similar string) it is the main installer.

Does this help you.?

Am Sa., 12. Jän. 2019, 22:50 hat Jean-Philippe MENGUAL <[hidden email]> geschrieben:
Hi,

Many thanks for your reply. My problem is that I have few code skills,
except shell scripts in bash. How do you fetch the elements of the URLs
wich are not predictible then?

Thanks for your help

regards



Le 12/01/2019 à 21:31, Florian Reisinger a écrit :
> Hi,
>
> Sent from wrong mail address
>
> ---------- Forwarded message ---------
> From: *Florian Reisinger* <[hidden email] <mailto:[hidden email]>>
> Date: Sa., 12. Jän. 2019, 21:28
> Subject: Re: [Libreoffice-qa] Automate the installation of the nightly
> releases
> To: LibreOffice QA <[hidden email]
> <mailto:[hidden email]>>
>
>
> Hi,
>
> I wrote a c# (first generation) and a Kotlin/JVM (second generation)
> project ( https://github.com/reisi007/Java-SI-GUI ) for that. Besides of
> the Linux platform specific components it SHOULD also work on Linux...
> (Downloading only, installing MSI works on Windows).
>
> I think I can help you writing the tool you want :) However, I have no
> Linux Eno like environment.
>
> Yours,
>
> Florian
>
> Am Sa., 12. Jän. 2019, 17:38 hat Jean-Philippe MENGUAL
> <[hidden email]
> <mailto:[hidden email]>> geschrieben:
>
>     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/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@86-TDF
>     automatically (the end number (86) is ramdom)
>     - 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>
>     [hidden email] <mailto:[hidden email]>
>     <mailto:[hidden email] <mailto:[hidden email]>>
>     www.hypra.fr <http://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: [hidden email]
>     <mailto:[hidden email]>
>     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/
>
>
> _______________________________________________
> List Name: Libreoffice-qa mailing list
> Mail address: [hidden email]
> 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/
>

--
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>
[hidden email] <mailto:[hidden email]>
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: [hidden email]
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/

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
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/
Markus Mohrhard Markus Mohrhard
Reply | Threaded
Open this post in threaded view
|

Re: Automate the installation of the nightly releases

In reply to this post by Jean-Philippe MENGUAL
Hey Jean-Philippe,

On Sun, Jan 13, 2019 at 12:38 AM Jean-Philippe MENGUAL <[hidden email]> 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/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@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/
 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>
[hidden email] <mailto:[hidden email]>
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: [hidden email]
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/

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
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/