Hello Bigtop Community,
Continuing with the packing effort, here is how we're planning to package
Apache Apex.
Tentative package directory structure for apex would look like following:
/usr/lib/apex/bin/dtcli
/usr/lib/apex/lib/apex-api-3.3.0-incubating.jar
/usr/lib/apex/lib/apex-engine-3.3.0-incubating.jar
/usr/lib/apex/lib/apex-bufferserver-3.3.0-incubating.jar
/usr/lib/apex/lib/apex-common-3.3.0-incubating.jar
/usr/lib/apex/lib/<other dependent jars>
/usr/lib/apex/conf/dt-env.sh
/usr/bin/dtcli -> /usr/lib/apex/bin/dtcli
/usr/share/doc/man/man1/dtcli.1.gz
/usr/share/doc/apex/license/LICENSE.txt
/usr/share/doc/apex/license/<package>-LICENSE.txt
/usr/share/doc/apex/CHANGELOG
/usr/share/doc/apex/NOTICE
Addition contents to bigtop.bom:
1. Dependency of apex will be on "hadoop"
2. Component addition would looks like this:
'apex' {
name = 'apex'
relNotes = 'Apache Apex (incubating)'
version { base = '3.3.0-incubating'; pkg = base; release = 1 }
tarball { source = "$name-${version.base}-source-release.tar.gz"
destination = "$name-${version.base}.tar.gz" }
url { download_path = "/incubator/$name/v${version.base}/"
site = "${apache.APACHE_MIRROR}/${download_path}"
archive = "${apache.APACHE_ARCHIVE}/${download_path}" }
}
I have couple of questions related to packaging:
1. What is the best possible way to test the package locally?
2. Do you have any specific size limitation on size of the package (rpm OR
deb)?
3. Is above proposed packaging information inline with bigtop standards?
4. Am I missing anything there?
Thanks,
Chinmay.
On Fri, Feb 5, 2016 at 12:01 AM, Chinmay Kolhatkar <[email protected]>
wrote:
> Hello Bigtop community!
>
> My name is Chinmay Kolhatkar and I am a committer in Apache Apex
> (incubating) project.
> Our website is at: http://apex.incubator.apache.org/
>
> We want to explore and integrate Apache Apex into the Bigtop as a
> component.
>
> Please treat this mail as a continuation of a mail thread:
>
> http://mail-archives.apache.org/mod_mbox/bigtop-dev/201601.mbox/%3CCA%2B5xAo20CAHuYtdxw3mtH2X9whREKd7fLdz4xmuTMqkaTiiskg%40mail.gmail.com%3E
>
> We're currently confirming with requirements for components and making
> sure that we meet the expectations:
>
> https://cwiki.apache.org/confluence/display/BIGTOP/Requirement+for+adding+a+new+component+to+Bigtop+distribution
>
> Once requirements are through, we're planning to add component into Apache
> Bigtop in following phases (as separate patches/pull requests):
> 1. Packaging
> - Creating of package i.e. rpm & deb files.
> - documentations/READMEs, LICENSE, DISCLAMER, NOTES etc if any needed.
> - Any documentation that need to be added to distribution of our
> software.
> - Any license information of dependencies required to be added to
> package
> 2. Smoke tests
> - Adding smoke test for packaging.
> 3. Puppet recipes for automatic deployment and configuration
> - Add puppet recipes for automatic deployment
> 4. license clearance:
> - Run 'gradle rat' to make sure all new stuff is compliant with ASF
> license requirements.
>
> Please share your thoughts on above approach.
>
> If the approach seems fine, we can create a Jira items and corresponding
> subtasks to start working.
>
> Thanks,
> Chinmay.
>
>