You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Alexandru Zbarcea <zb...@gmail.com> on 2014/01/03 21:35:27 UTC

setup Continuous Integration

Hi,

I created a ticket #418
<https://issues.apache.org/jira/browse/LOGCXX-418>to address the
Continuous Integration.

I believe a healthy project should provide confidence that it builds, the
tests work and so on.

Based on Christian suggestion I propose on setting a CI on the
http://ci.apache.org/#jenkins

What is your opinion?
Alex

Yes, this is possible.

The ASF runs Jenkins:
> http://ci.apache.org/#jenkins
>
> I was never involved in setting one up, but if you want one, its possible
> to have it.
>
> Please note one thing:
>
> At the ASF we consider only "official" what is on ASF hardware. In example
> a Travis build
> would maybe be the preferred to work with for devs; but the official CI
> (if any) can only be
> one from ASF.
>
> That way we avoid to be responsible for any kind of corruption of the
> third party service.
>
> In example, we officially distribute our log4php code over ASF hardware.
> In addition ASF devs provide
> the unofficial service and distribute it over packagist:
> https://packagist.org/packages/apache/log4php
>
> Cheers
> Christian
>

Re: setup Continuous Integration

Posted by Alexandru Zbarcea <zb...@gmail.com>.
Hi Christian,

In order to add Log4cxx Jenkins jobs, it is required to be added to
hudson-jobadmin group. I found the documentation here:
http://wiki.apache.org/general/Jenkins

Probably this is the command:
modify_appgroups.pl hudson-jobadmin --add=alex

Regards,
Alexz



On Thu, Jan 9, 2014 at 12:53 AM, chand priyankara <ch...@engineering.com>wrote:

> Hi Rhys,
>
> I'll comment in jira. Hope it'll be better.
>
> regards,
>
>
> *Chand Priyankara*  [image: Facebook]<http://www.facebook.com/chand.priyankara>
>  [image: LinkedIn] <http://lk.linkedin.com/in/chandpriyankara> [image:
> Blogger] <http://chandpriyankara.blogspot.com/> [image: Google Plus]<http://plus.google.com/104246340732624023499>
>
> |BSc(Eng) - Electrical & Information
> |(094) 773-361-566
> |chand@engineering.com
> |http://chandpriyankara.blogspot.com
> <http://www.iucnredlist.org/amazing-species>sent via internet
>
>
> On Thu, Jan 9, 2014 at 9:08 AM, Rhys Ulerich <rh...@gmail.com>wrote:
>
>> Hi Chand,
>>
>>  I've filed https://issues.apache.org/jira/browse/LOGCXX-419 and will
>>>> take a look at it.
>>>>
>>>
>> I believe I have that fixed now.  Please let me know if it continues to
>> give you trouble.
>>
>> - Rhys
>>
>
>

Re: setup Continuous Integration

Posted by chand priyankara <ch...@engineering.com>.
Hi Rhys,

I'll comment in jira. Hope it'll be better.

regards,


*Chand Priyankara*  [image: Facebook]<http://www.facebook.com/chand.priyankara>
 [image: LinkedIn] <http://lk.linkedin.com/in/chandpriyankara> [image:
Blogger] <http://chandpriyankara.blogspot.com/> [image: Google
Plus]<http://plus.google.com/104246340732624023499>

|BSc(Eng) - Electrical & Information
|(094) 773-361-566
|chand@engineering.com
|http://chandpriyankara.blogspot.com
<http://www.iucnredlist.org/amazing-species>sent via internet


On Thu, Jan 9, 2014 at 9:08 AM, Rhys Ulerich <rh...@gmail.com> wrote:

> Hi Chand,
>
>  I've filed https://issues.apache.org/jira/browse/LOGCXX-419 and will
>>> take a look at it.
>>>
>>
> I believe I have that fixed now.  Please let me know if it continues to
> give you trouble.
>
> - Rhys
>

Re: setup Continuous Integration

Posted by Rhys Ulerich <rh...@gmail.com>.
Hi Chand,

 I've filed https://issues.apache.org/jira/browse/LOGCXX-419 and will
>> take a look at it.
>>
>
I believe I have that fixed now.  Please let me know if it continues to
give you trouble.

- Rhys

Re: setup Continuous Integration

Posted by chand priyankara <ch...@engineering.com>.
Hi Rhys,

Thanks.

I'll work on this issue.
Seems there is some code fix to be done, regrading a variable passing to a
function [missing const].

regards,


*Chand Priyankara*  [image: Facebook]<http://www.facebook.com/chand.priyankara>
 [image: LinkedIn] <http://lk.linkedin.com/in/chandpriyankara> [image:
Blogger] <http://chandpriyankara.blogspot.com/> [image: Google
Plus]<http://plus.google.com/104246340732624023499>

|BSc(Eng) - Electrical & Information
|(094) 773-361-566
|chand@engineering.com
|http://chandpriyankara.blogspot.com
<http://www.iucnredlist.org/amazing-species>sent via internet


On Wed, Jan 8, 2014 at 8:55 AM, Rhys Ulerich <rh...@gmail.com> wrote:

> > Can you please provide me a workaround to following error while building
> logcxx from current trunk:
> >
> > loggingevent.h:171:45: error: declaration of 'typedef
> log4cxx::spi::KeySet log4cxx::spi::LoggingEvent::KeySet' [-fpermissive]
>
> Is this using Autotools?  Or Ant?  If it's Autotools you can probably use
>     CXXFLAGS=-fpermissive ./configure
> instead of the usual
>    ./configure
>
> I've had luck with this in the past:
> https://red.ices.utexas.edu/issues/2971
>
> I've filed https://issues.apache.org/jira/browse/LOGCXX-419 and will
> take a look at it.
>
> - Rhys
>

Re: setup Continuous Integration

Posted by Rhys Ulerich <rh...@gmail.com>.
> Based on Christian suggestion I propose on setting a CI on the
> http://ci.apache.org/#jenkins
>
> What is your opinion?

It would be great to have both the Ant and Autotools builds running there.

- Rhys

Re: setup Continuous Integration

Posted by Florian Seydoux <fs...@apache.org>.
On 03.01.2014 21:35, Alexandru Zbarcea wrote:
> Hi,
> [...]
> Based on Christian suggestion I propose on setting a CI on the
> http://ci.apache.org/#jenkins
>
> What is your opinion?

Sounds good to me - the available slaves seems to covers most of the OS;
questions will came regarding the available compilers on them, but
having already at least one platform will help a lot, especially if we
start with few/no unit-testing (just applying the patches from here and
there).

flo

--
Florian