You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Stendardi (JIRA)" <ji...@apache.org> on 2014/03/25 14:00:15 UTC

[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)