generating deb/rpm packages from our repo with gradle

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

generating deb/rpm packages from our repo with gradle

Felix Natter
hi Team,

I found an elegant way for building a "fat" Debian/rpm package
(a package with all dependencies included, targeted at users stuck
in old distros, like old Ubuntu/Debian LTS):

https://github.com/nebula-plugins/gradle-ospackage-plugin/

This means we only need this:
plugins {
  id "nebula.ospackage" version "4.4.0"
}
(this pulls com.netflix.nebula:gradle-ospackage-plugin)

and a 'Deb'/'Rpm' task.

Any objections? This should just add a second more of downloading an
artifact.

Cheers and Best Regards,
--
Felix Natter
Reply | Threaded
Open this post in threaded view
|

Re: generating deb/rpm packages from our repo with gradle

Dimitry Polivaev
Administrator
> This means we only need this:
> plugins {
>    id "nebula.ospackage" version "4.4.0"
> }
> (this pulls com.netflix.nebula:gradle-ospackage-plugin)
>
> and a 'Deb'/'Rpm' task.


Cool, please do it for current stable branch 1.6.x .

Cheers and best regards,
Dimitry
Reply | Threaded
Open this post in threaded view
|

Re: generating deb/rpm packages from our repo with gradle

Felix Natter
Done.

the .deb is now created with "gradle dist" in DIST/.
Shall I upload the 1.6.5 deb to the ftp and ask users to test it, or do we want to wait for the 1.6.5 release?
It should work, it is no different than the bin distribution.

Regarding RPMs: Is there anybody who could help me with / test an RPM?

Cheers and Best Regards,
Felix
Reply | Threaded
Open this post in threaded view
|

Re: generating deb/rpm packages from our repo with gradle

Dimitry Polivaev
Administrator

You can upload it to https://sourceforge.net/projects/freeplane/files/freeplane%20preview/

Regards,
Dimitry

On 21.08.2017 10:48, Felix Natter [via Freeplane Developer] wrote:

> Done.
>
> the .deb is now created with "gradle dist" in DIST/.
> Shall I upload the 1.6.5 deb to the ftp and ask users to test it, or do we want to wait for the 1.6.5 release?
> It should work, it is no different than the bin distribution.
>
> Regarding RPMs: Is there anybody who could help me with / test an RPM?
>
> Cheers and Best Regards,
> Felix
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion below:
> http://freeplane-developer.996965.n3.nabble.com/generating-deb-rpm-packages-from-our-repo-with-gradle-tp1072p1074.html
> To start a new topic under Freeplane Developer, email [hidden email]
> To unsubscribe from Freeplane Developer, click here <
> NAML <
http://freeplane-developer.996965.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
Reply | Threaded
Open this post in threaded view
|

Re: generating deb/rpm packages from our repo with gradle

Dimitry Polivaev
Administrator
In reply to this post by Felix Natter
Cool.

I have changed output directory directory names BUILD to BIN and BUILD4mac to BIN4mac because the new task wants to write temporary files into directory named "build" and under Windows and Mac it is the same one as BUILD.

Best regards,
Dimirty

On 21.08.2017 10:48 wrote Felix Natter [via Freeplane Developer]:

> Done.
>
> the .deb is now created with "gradle dist" in DIST/.
> Shall I upload the 1.6.5 deb to the ftp and ask users to test it, or do we want to wait for the 1.6.5 release?
> It should work, it is no different than the bin distribution.
>
> Regarding RPMs: Is there anybody who could help me with / test an RPM?
>
> Cheers and Best Regards,
> Felix
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion below:
> http://freeplane-developer.996965.n3.nabble.com/generating-deb-rpm-packages-from-our-repo-with-gradle-tp1072p1074.html
> To start a new topic under Freeplane Developer, email [hidden email]
> To unsubscribe from Freeplane Developer, click here <
> NAML <
http://freeplane-developer.996965.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>