ElkArte Community

Title: Pull Commits on Front page
Post by: Keiro on March 27, 2015, 09:13:00 pm
How're you guys doing that?

The
Code: [Select]
 Recent commits

Merge pull request #2001 from emanuele45...
Merge branch 'patch_1-0-3' into up_dev ...
bit.

I'd like to stick that up on our own pages for stuff like that. ;O
Title: Re: Pull Commits on Front page
Post by: Spuds on March 27, 2015, 10:47:43 pm
See the home page here: https://github.com/elkarte/elkarte.net/blob/master/elk/home.php

The github call is done via javascript and starts around line 145 in that file.  Done via JS since github only allows so many api calls per ip per hour, so with JS the ip is not this site but the user looking at the page and prevents (mostly) the blocking.
Title: Re: Pull Commits on Front page
Post by: emanuele on March 28, 2015, 03:06:45 am
hmm.. could it be Keiro is talking about pull requests and contributing code?
If so... I'll explain later after confirmation. :P
Title: Re: Pull Commits on Front page
Post by: Keiro on April 01, 2015, 10:23:47 am
Quote from: emanuele – hmm.. could it be Keiro is talking about pull requests and contributing code?
If so... I'll explain later after confirmation. :P

Nope, pull requests and contribute code I know how to do. See http://github.com/KeiroD for my repos... there's not much on them right now but I plan on pushing a lot of code to my repos over the next few weeks.

Spuds: This is exactly what I was looking for, thank you very much! <3