Re: Review Request 19611: Debian packaging
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19611/ --- (Updated March 25, 2014, 1:09 p.m.) Review request for kafka. Bugs: KAFKA-1324 https://issues.apache.org/jira/browse/KAFKA-1324 Repository: kafka Description --- The following patch add a task releaseDeb to the gradle build : ./gradlew releaseDeb This task should create a debian package in core/build/distributions using fpm : https://github.com/jordansissel/fpm. We decided to use fpm so other package types would be easy to provide in further iterations (eg : rpm). *Some implementations details* : - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. - We tried to use gradle builtin variables (project.name etc...) - By default the service will not start automatically so the user is free to setup the service with custom configuration. Notes : * FPM is required and should be in the path. * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : https://github.com/jordansissel/fpm/issues/668) Diffs - bin/kafka-run-class.sh d2fc8c0 build.gradle d6fd287 packaging/debian/control/postinstall PRE-CREATION packaging/debian/control/postuninstall PRE-CREATION packaging/debian/control/preuninstall PRE-CREATION packaging/debian/default/kafka PRE-CREATION packaging/debian/init.d/kafka PRE-CREATION Diff: https://reviews.apache.org/r/19611/diff/ Testing --- manually tested on ubuntu 12.04 Thanks, David Stendardi
Re: Review Request 19611: Debian packaging
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19611/ --- (Updated March 25, 2014, 1:09 p.m.) Review request for kafka. Bugs: KAFKA-1324 https://issues.apache.org/jira/browse/KAFKA-1324 Repository: kafka Description --- The following patch add a task releaseDeb to the gradle build : ./gradlew releaseDeb This task should create a debian package in core/build/distributions using fpm : https://github.com/jordansissel/fpm. We decided to use fpm so other package types would be easy to provide in further iterations (eg : rpm). *Some implementations details* : - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. - We tried to use gradle builtin variables (project.name etc...) - By default the service will not start automatically so the user is free to setup the service with custom configuration. Notes : * FPM is required and should be in the path. * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : https://github.com/jordansissel/fpm/issues/668) Diffs - bin/kafka-run-class.sh d2fc8c0 build.gradle d6fd287 packaging/debian/control/postinstall PRE-CREATION packaging/debian/control/postuninstall PRE-CREATION packaging/debian/control/preuninstall PRE-CREATION packaging/debian/default/kafka PRE-CREATION packaging/debian/init.d/kafka PRE-CREATION Diff: https://reviews.apache.org/r/19611/diff/ Testing --- manually tested on ubuntu 12.04 Thanks, David Stendardi
Review Request 19611: Debian packaging
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19611/ --- Review request for kafka. Bugs: KAFKA-1324 https://issues.apache.org/jira/browse/KAFKA-1324 Repository: kafka Description --- The following patch add a task releaseDeb to the gradle build : ./gradlew releaseDeb This task should create a debian package in core/build/distributions using fpm : https://github.com/jordansissel/fpm. We decided to use fpm so other package types would be easy to provide in further iterations (eg : rpm). *Some implementations details* : - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. - We tried to use gradle builtin variables (project.name etc...) - By default the service will not start automatically so the user is free to setup the service with custom configuration. Notes : * FPM is required and should be in the path. * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : https://github.com/jordansissel/fpm/issues/668) Diffs - bin/kafka-run-class.sh d2fc8c0 build.gradle d6fd287 packaging/debian/control/postinstall PRE-CREATION packaging/debian/control/postuninstall PRE-CREATION packaging/debian/control/preuninstall PRE-CREATION packaging/debian/default/kafka PRE-CREATION packaging/debian/init.d/kafka PRE-CREATION Diff: https://reviews.apache.org/r/19611/diff/ Testing --- manually tested on ubuntu 12.04 Thanks, David Stendardi
[jira] [Created] (KAFKA-1324) Debian packaging
David Stendardi created KAFKA-1324: -- Summary: Debian packaging Key: KAFKA-1324 URL: https://issues.apache.org/jira/browse/KAFKA-1324 Project: Kafka Issue Type: Improvement Components: packaging Environment: linux Reporter: David Stendardi Priority: Minor The following patch add a task releaseDeb to the gradle build : {code} ./gradlew releaseDeb {code} This task should create a debian package in core/build/distributions using fpm : https://github.com/jordansissel/fpm. We decided to use fpm so other package types would be easy to provide in further iterations (eg : rpm). *Some implementations details* : - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. - We tried to use gradle builtin variables (project.name etc...) - By default the service will not start automatically so the user is free to setup the service with custom configuration. Notes : * FPM is required and should be in the path. * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : https://github.com/jordansissel/fpm/issues/668) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (KAFKA-1324) Debian packaging
[ https://issues.apache.org/jira/browse/KAFKA-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Stendardi updated KAFKA-1324: --- Description: The following patch add a task releaseDeb to the gradle build : ./gradlew releaseDeb This task should create a debian package in core/build/distributions using fpm : https://github.com/jordansissel/fpm. We decided to use fpm so other package types would be easy to provide in further iterations (eg : rpm). *Some implementations details* : - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. - We tried to use gradle builtin variables (project.name etc...) - By default the service will not start automatically so the user is free to setup the service with custom configuration. Notes : * FPM is required and should be in the path. * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : https://github.com/jordansissel/fpm/issues/668) was: The following patch add a task releaseDeb to the gradle build : {code} ./gradlew releaseDeb {code} This task should create a debian package in core/build/distributions using fpm : https://github.com/jordansissel/fpm. We decided to use fpm so other package types would be easy to provide in further iterations (eg : rpm). *Some implementations details* : - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. - We tried to use gradle builtin variables (project.name etc...) - By default the service will not start automatically so the user is free to setup the service with custom configuration. Notes : * FPM is required and should be in the path. * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : https://github.com/jordansissel/fpm/issues/668) > Debian packaging > > > Key: KAFKA-1324 > URL: https://issues.apache.org/jira/browse/KAFKA-1324 > Project: Kafka > Issue Type: Improvement > Components: packaging > Environment: linux > Reporter: David Stendardi >Priority: Minor > Labels: deb, debian, fpm, packaging > > The following patch add a task releaseDeb to the gradle build : > ./gradlew releaseDeb > This task should create a debian package in core/build/distributions using > fpm : > https://github.com/jordansissel/fpm. > We decided to use fpm so other package types would be easy to provide in > further iterations (eg : rpm). > *Some implementations details* : > - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. > - We tried to use gradle builtin variables (project.name etc...) > - By default the service will not start automatically so the user is free to > setup the service with custom configuration. > Notes : > * FPM is required and should be in the path. > * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : > https://github.com/jordansissel/fpm/issues/668) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (KAFKA-1324) Debian packaging
[ https://issues.apache.org/jira/browse/KAFKA-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Stendardi updated KAFKA-1324: --- Attachment: packaging.patch > Debian packaging > > > Key: KAFKA-1324 > URL: https://issues.apache.org/jira/browse/KAFKA-1324 > Project: Kafka > Issue Type: Improvement > Components: packaging > Environment: linux > Reporter: David Stendardi >Priority: Minor > Labels: deb, debian, fpm, packaging > Attachments: packaging.patch > > > The following patch add a task releaseDeb to the gradle build : > ./gradlew releaseDeb > This task should create a debian package in core/build/distributions using > fpm : > https://github.com/jordansissel/fpm. > We decided to use fpm so other package types would be easy to provide in > further iterations (eg : rpm). > *Some implementations details* : > - We splitted the releaseTarGz in two tasks : distDir, releaseTarGz. > - We tried to use gradle builtin variables (project.name etc...) > - By default the service will not start automatically so the user is free to > setup the service with custom configuration. > Notes : > * FPM is required and should be in the path. > * FPM does not allow yet to declare /etc/default/kafka as a conffiles (see : > https://github.com/jordansissel/fpm/issues/668) -- This message was sent by Atlassian JIRA (v6.2#6252)