EllisLab text mark
Advanced Search
     
Can I actually contribute code to the CI core?
Posted: 18 November 2012 04:30 PM   [ Ignore ]
Joined: 2011-11-10
3 posts

I’ve used CI for a few projects now, and I’m just picking it up professionally again. I’m in the process of developing a number of scripts which enable CI to be set up to various configurations. I’m also interested in trying to fix some core bugs, but I have a number of concerns.

The sticky post in this forum links to a dead user voice forum…

The github repo has a number of branches, and it’s unclear which are in active development (to me anyway).

The github repo seems to have a large number of pull requests which haven’t had an update for quite some time.

I guess my question really is, will my time investigating how to commit bug fixes be worth it, or will it be wasted?

Your thoughts and comments are welcome, especially if you commit code to the core.

 
Posted: 18 November 2012 06:26 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2011-02-23
882 posts

I guess it depends on how good your changes can be incorporated into the CI core files by EllisLab. If it can’t be done easily they probably won’t accept your pull request. If you make changes that break other things, they won’t accept the pull request.

However, if you want to contribute, checkout the develop branch to a new branch on which you will perform your changes. Then commit that branch and file a pull request. That’s usual procedure. Though no one can actually guarantee that your pull requests will be accepted but the EllisLab team wink

 Signature 

ignited Community Framework (WiP)  |  Read the User’s Guide. It won’t bite.

STOP! Before posting your questions, remember the WWW Golden rule:
What did you try? What did you get? What did you expect to get?

CI example .htaccess

 
Posted: 18 November 2012 06:57 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2012-01-09
117 posts

Follow the style guide and if the code is good - it will go in. New features usually require some discussion though and might get rejected.

Latest code is in the develop branch and that what you should base your work on. Make sure the bug isn’t already fixed in there as there’s an enormous amount of issues that are already fixed in it.

Many of those pull requests that you’ve mentioned have gotten outdated due to their authors not following the above pointers or simply not caring to update them. As you understand - that’s beyond our control.

 
Posted: 19 November 2012 04:34 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2011-11-10
3 posts

Thanks for clearing stuff up Narf. Regarding the pull requests, can’t you close them from your end if the author doesn’t reply after x amount of time? (I’ve not personally had any incoming pull requests to my code)

 
Posted: 19 November 2012 06:38 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2007-11-28
2435 posts

Yes, they can close them at will. But most often focus their attention on other things. Besides, it’s better if there’s actually a conclusion somewhere rather than just closing something inactive, even if it’s just a simple “I don’t care about this pull request anymore” from the author.

You can help inactive pull requests by commenting / notifying the author to remind them about it, so that it can be updated appropriately. The more participation by the community, the better and faster things work, usually.

 
Posted: 19 November 2012 07:00 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Joined: 2011-11-10
3 posts

Good point. I don’t know if I have the authority to comment on pull requests like that unless I’ve comitted code myself, but I guess there is no harm in nudging the author of old requests with no activity. I’ll give it a go and see how many I can get closed =] thanks!

 
Posted: 19 November 2012 07:31 PM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Joined: 2011-02-23
882 posts

Or you could just check out the outdated pull request and update it to match the new CI version or coding standards. That way you can contribute to CI without initially going in too deeply wink

 Signature 

ignited Community Framework (WiP)  |  Read the User’s Guide. It won’t bite.

STOP! Before posting your questions, remember the WWW Golden rule:
What did you try? What did you get? What did you expect to get?

CI example .htaccess

 
Posted: 20 November 2012 03:17 AM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2012-01-09
117 posts
relequestual - 19 November 2012 07:00 PM

Good point. I don’t know if I have the authority to comment on pull requests like that unless I’ve comitted code myself, but I guess there is no harm in nudging the author of old requests with no activity. I’ll give it a go and see how many I can get closed =] thanks!

Everybody can comment on everything.

PhilTem - 19 November 2012 07:31 PM

Or you could just check out the outdated pull request and update it to match the new CI version or coding standards. That way you can contribute to CI without initially going in too deeply wink

I like your enthusiasm, but please don’t reply to everything just for the sake of it. You can’t update somebody else’s PR.