incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Shaposhnik <>
Subject Re: Abstracting the build logic in rules/spec files
Date Fri, 16 Sep 2011 21:41:40 GMT
On Fri, Sep 16, 2011 at 1:32 PM, Bruno Mahé <> wrote:
> On 09/16/2011 01:12 PM, Andrew Bayer wrote:
>> So we already abstract away copying the bits into place for the packages via
>> bigtop-packages/src/common/foo/ But we're not as of yet
>> abstracting the build logic - as a result, we're duplicating the build calls
>> in both the Debian rules files and the RPM spec files. I don't like
>> duplication. =) So I'd like to propose moving the build logic for the
>> components into shell scripts akin to the scripts, in the
>> common area, which would then be called in the rules/specs. Does this sound
>> reasonable to everyone?
> It works for me.
> Generalizing a template would also be most helpful.

+1. Lets file a JIRA and do it. It would also be nice to have hooks for some
common steps that we might want to execute during the build cycle (like
pushing Maven artifcats to a certain place, etc.).


View raw message