You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Valentin Aitken <va...@cloudsoftcorp.com> on 2016/04/11 23:46:58 UTC

Bringing Apache Brooklyn RPM package to the official Fedora repositories

Hi,

What do you think about adding Apache Brooklyn to Fedora and from there 
to Redhat and CentOS?

As an opensource project I think it will be good to bring it to more 
wider audience to the Fedora Community.

However before applying, when reading Fedora's Package Review Process 
<https://fedoraproject.org/wiki/Package_Review_Process> [1],
I recognize several build problems:
- cannot find a location where the rpm spec file is publicly available. 
Only rpm available in [2]
- there is no srpm publicly available
- I think the spec file should be tested outside the rpm-maven-plugin.
I tested cd brooklyn-dist/packaging/target/rpm/apache-brooklyn/SPECS; 
rpmbuild -ba apache-brooklyn.spec
and it didn't work

For this to happen we have to also maintain a Fedora repo like this [3]
but I guess I am not the only one keen on getting this to Fedora community.

Valentin.

[1] https://fedoraproject.org/wiki/Package_Review_Process
[2] 
https://dist.apache.org/repos/dist/dev/brooklyn/apache-brooklyn-0.9.0-rc2/
[3] http://pkgs.fedoraproject.org/cgit/rpms/httpd.git/tree/
[4] https://fedoraproject.org/wiki/How_to_create_an_RPM_package

Re: Bringing Apache Brooklyn RPM package to the official Fedora repositories

Posted by Aleksandr Vasilev <al...@cloudsoftcorp.com>.
Hi Valentin,

The reason we decided to put Brooklyn into /opt/ directory is because there
is no binaries to run, it is a bunch of libraries which by the convention
goes to /opt/. The only issue there might be having /opt/brooklyn/bin dir,
which can be easily removed (it contains only bash scripts to start the
app).

Best Regards,

Aleksandr Vasilev
DevOps Engineer | Cloudsoft Corporation

On 15 April 2016 at 01:23, Valentin Aitken <
valentin.aitken@cloudsoftcorp.com> wrote:

> Hi all,
>
> I did the first two steps for applying for Fedora's Package Review Process
> <https://fedoraproject.org/wiki/Package_Review_Process>
> Look [2] and [3]. I tested it and works well.
>
> Please review and share your thoughts about [1] and [2] because I think it
> needs discussion.
>
> Main points:
> - changing directory structure to standard /usr folder instead of using
> /opt
> - PR-ing some changes against against brooklyn-dist repo
> - place for publishing the .spec and src.rpm to apply for Apache Brooklyn
> to become Mainstream Fedora Package
>
> Valentin.
>
> [1]
> https://github.com/apache/brooklyn-dist/blob/master/rpm-packaging/pom.xml
> [2] https://github.com/bostko/brooklyn_fedorapkg/blob/master/brooklyn.spec
> [3]
> https://github.com/bostko/brooklyn_fedorapkg/releases/download/0.1/brooklyn-0.9.0-0.src.rpm
>
>
> On 12/04/16 00:46, Valentin Aitken wrote:
>
>> Hi,
>>
>> What do you think about adding Apache Brooklyn to Fedora and from there
>> to Redhat and CentOS?
>>
>> As an opensource project I think it will be good to bring it to more
>> wider audience to the Fedora Community.
>>
>> However before applying, when reading Fedora's Package Review Process <
>> https://fedoraproject.org/wiki/Package_Review_Process> [1],
>> I recognize several build problems:
>> - cannot find a location where the rpm spec file is publicly available.
>> Only rpm available in [2]
>> - there is no srpm publicly available
>> - I think the spec file should be tested outside the rpm-maven-plugin.
>> I tested cd brooklyn-dist/packaging/target/rpm/apache-brooklyn/SPECS;
>> rpmbuild -ba apache-brooklyn.spec
>> and it didn't work
>>
>> For this to happen we have to also maintain a Fedora repo like this [3]
>> but I guess I am not the only one keen on getting this to Fedora
>> community.
>>
>> Valentin.
>>
>> [1] https://fedoraproject.org/wiki/Package_Review_Process
>> [2]
>> https://dist.apache.org/repos/dist/dev/brooklyn/apache-brooklyn-0.9.0-rc2/
>> [3] http://pkgs.fedoraproject.org/cgit/rpms/httpd.git/tree/
>> [4] https://fedoraproject.org/wiki/How_to_create_an_RPM_package
>>
>
>

Re: Bringing Apache Brooklyn RPM package to the official Fedora repositories

Posted by Richard Downer <ri...@apache.org>.
Hi Valentin,

That's great, but I see that you've given them a reference to 0.10.0-rc2.
We must not share release candidates outside this list. Please can you
"pause" this - if not possible then please remove it.

I'm appreciate what you're doing so I'm sorry to have to block this. Apart
from the fact that RCs are untested and possibly unsafe, the major issue is
that they are marked with the version 0.10.0. If they start getting out "in
the wild" then it's impossible to know if someone has installed 0.10.0 rc2
or 0.10.0 final, or any other release candidates, because they all have the
same visible version number.

Thanks
Richard.



On 12 December 2016 at 23:21, Valentin Aitken <
valentin.aitken@cloudsoftcorp.com> wrote:

> Here it is https://bugzilla.redhat.com/show_bug.cgi?id=1404044
>
> Cheers,
> Valentin.
>
> On Fri, 2016-04-15 at 01:23 +0300, Valentin Aitken wrote:
> > Hi all,
> >
> > I did the first two steps for applying for Fedora's Package Review
> > Process
> > Look [2] and [3]. I tested it and works well.
> >
> > Please review and share your thoughts about [1] and [2] because I
> > think it needs discussion.
> >
> > Main points:
> > - changing directory structure to standard /usr folder instead of
> > using /opt
> > - PR-ing some changes against against brooklyn-dist repo
> > - place for publishing the .spec and src.rpm to apply for Apache
> > Brooklyn to become Mainstream Fedora Package
> >
> > Valentin.
> >
> > [1] https://github.com/apache/brooklyn-dist/blob/master/rpm-packaging
> > /pom.xml
> > [2] https://github.com/bostko/brooklyn_fedorapkg/blob/master/brooklyn
> > .spec
> > [3] https://github.com/bostko/brooklyn_fedorapkg/releases/download/0.
> > 1/brooklyn-0.9.0-0.src.rpm
> >
> > On 12/04/16 00:46, Valentin Aitken wrote:
> > > Hi,
> > >
> > > What do you think about adding Apache Brooklyn to Fedora and from
> > > there to Redhat and CentOS?
> > >
> > > As an opensource project I think it will be good to bring it to
> > > more wider audience to the Fedora Community.
> > >
> > > However before applying, when reading Fedora's Package Review
> > > Process [1],
> > > I recognize several build problems:
> > > - cannot find a location where the rpm spec file is publicly
> > > available. Only rpm available in [2]
> > > - there is no srpm publicly available
> > > - I think the spec file should be tested outside the  rpm-maven-
> > > plugin.
> > > I tested cd brooklyn-dist/packaging/target/rpm/apache-
> > > brooklyn/SPECS; rpmbuild -ba apache-brooklyn.spec
> > > and it didn't work
> > >
> > > For this to happen we have to also maintain a Fedora repo like this
> > > [3]
> > > but I guess I am not the only one keen on getting this to Fedora
> > > community.
> > >
> > > Valentin.
> > >
> > > [1] https://fedoraproject.org/wiki/Package_Review_Process
> > > [2] https://dist.apache.org/repos/dist/dev/brooklyn/apache-brooklyn
> > > -0.9.0-rc2/
> > > [3] http://pkgs.fedoraproject.org/cgit/rpms/httpd.git/tree/
> > > [4] https://fedoraproject.org/wiki/How_to_create_an_RPM_package
> >
>

Re: Bringing Apache Brooklyn RPM package to the official Fedora repositories

Posted by Valentin Aitken <va...@cloudsoftcorp.com>.
Here it is https://bugzilla.redhat.com/show_bug.cgi?id=1404044

Cheers,
Valentin.

On Fri, 2016-04-15 at 01:23 +0300, Valentin Aitken wrote:
> Hi all,
> 
> I did the first two steps for applying for Fedora's Package Review
> Process
> Look [2] and [3]. I tested it and works well.
> 
> Please review and share your thoughts about [1] and [2] because I
> think it needs discussion.
> 
> Main points:
> - changing directory structure to standard /usr folder instead of
> using /opt
> - PR-ing some changes against against brooklyn-dist repo
> - place for publishing the .spec and src.rpm to apply for Apache
> Brooklyn to become Mainstream Fedora Package
> 
> Valentin.
> 
> [1] https://github.com/apache/brooklyn-dist/blob/master/rpm-packaging
> /pom.xml
> [2] https://github.com/bostko/brooklyn_fedorapkg/blob/master/brooklyn
> .spec
> [3] https://github.com/bostko/brooklyn_fedorapkg/releases/download/0.
> 1/brooklyn-0.9.0-0.src.rpm
> 
> On 12/04/16 00:46, Valentin Aitken wrote:
> > Hi,
> > 
> > What do you think about adding Apache Brooklyn to Fedora and from
> > there to Redhat and CentOS?
> > 
> > As an opensource project I think it will be good to bring it to
> > more wider audience to the Fedora Community.
> > 
> > However before applying, when reading Fedora's Package Review
> > Process [1],
> > I recognize several build problems:
> > - cannot find a location where the rpm spec file is publicly
> > available. Only rpm available in [2]
> > - there is no srpm publicly available�
> > - I think the spec file should be tested outside the� rpm-maven-
> > plugin.
> > I tested cd brooklyn-dist/packaging/target/rpm/apache-
> > brooklyn/SPECS; rpmbuild -ba apache-brooklyn.spec
> > and it didn't work
> > 
> > For this to happen we have to also maintain a Fedora repo like this
> > [3]
> > but I guess I am not the only one keen on getting this to Fedora
> > community.
> > 
> > Valentin.
> > 
> > [1] https://fedoraproject.org/wiki/Package_Review_Process
> > [2] https://dist.apache.org/repos/dist/dev/brooklyn/apache-brooklyn
> > -0.9.0-rc2/
> > [3] http://pkgs.fedoraproject.org/cgit/rpms/httpd.git/tree/
> > [4] https://fedoraproject.org/wiki/How_to_create_an_RPM_package
> �

Re: Bringing Apache Brooklyn RPM package to the official Fedora repositories

Posted by Valentin Aitken <va...@cloudsoftcorp.com>.
Hi all,

I did the first two steps for applying for Fedora's Package Review 
Process <https://fedoraproject.org/wiki/Package_Review_Process>
Look [2] and [3]. I tested it and works well.

Please review and share your thoughts about [1] and [2] because I think 
it needs discussion.

Main points:
- changing directory structure to standard /usr folder instead of using /opt
- PR-ing some changes against against brooklyn-dist repo
- place for publishing the .spec and src.rpm to apply for Apache 
Brooklyn to become Mainstream Fedora Package

Valentin.

[1] 
https://github.com/apache/brooklyn-dist/blob/master/rpm-packaging/pom.xml
[2] https://github.com/bostko/brooklyn_fedorapkg/blob/master/brooklyn.spec
[3] 
https://github.com/bostko/brooklyn_fedorapkg/releases/download/0.1/brooklyn-0.9.0-0.src.rpm

On 12/04/16 00:46, Valentin Aitken wrote:
> Hi,
>
> What do you think about adding Apache Brooklyn to Fedora and from 
> there to Redhat and CentOS?
>
> As an opensource project I think it will be good to bring it to more 
> wider audience to the Fedora Community.
>
> However before applying, when reading Fedora's Package Review Process 
> <https://fedoraproject.org/wiki/Package_Review_Process> [1],
> I recognize several build problems:
> - cannot find a location where the rpm spec file is publicly 
> available. Only rpm available in [2]
> - there is no srpm publicly available
> - I think the spec file should be tested outside the rpm-maven-plugin.
> I tested cd brooklyn-dist/packaging/target/rpm/apache-brooklyn/SPECS; 
> rpmbuild -ba apache-brooklyn.spec
> and it didn't work
>
> For this to happen we have to also maintain a Fedora repo like this [3]
> but I guess I am not the only one keen on getting this to Fedora 
> community.
>
> Valentin.
>
> [1] https://fedoraproject.org/wiki/Package_Review_Process
> [2] 
> https://dist.apache.org/repos/dist/dev/brooklyn/apache-brooklyn-0.9.0-rc2/
> [3] http://pkgs.fedoraproject.org/cgit/rpms/httpd.git/tree/
> [4] https://fedoraproject.org/wiki/How_to_create_an_RPM_package