You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Dagang Wei (JIRA)" <ji...@apache.org> on 2018/10/07 03:57:00 UTC
[jira] [Commented] (BIGTOP-3085) Hello world example for adding a
new package
[ https://issues.apache.org/jira/browse/BIGTOP-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640963#comment-16640963 ]
Dagang Wei commented on BIGTOP-3085:
------------------------------------
Thanks for the review Olaf! I'm trying to add RPM.
I want to change the package to have a static data file hello_world.txt which just contains "hello world", and dynamically generate a hello_world.sh (to simulate the build process) which just contains "echo hello_world.txt". I know how to deal with it in RPM and DEB separately, but I am wondering what is the best way to share the logic of copying hello_world.txt and generate and copy hello_world.sh?
I noticed bigtop-utils package places common files in common/, but the copying logic is not shared by rpm/ and deb/.
> Hello world example for adding a new package
> --------------------------------------------
>
> Key: BIGTOP-3085
> URL: https://issues.apache.org/jira/browse/BIGTOP-3085
> Project: Bigtop
> Issue Type: Improvement
> Components: documentation
> Reporter: Dagang Wei
> Priority: Minor
>
> We'd like to have a step by step guide for adding a hello-world package (a package with only a hello-world.sh script) in Bigtop. It will help beginners to learn how Bigtop works.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)