User tests: Successful: Unsuccessful:
This will refactor the get project command and remove the project specific sub commands comments, events, issues, labels and milestones.
The command is now meant to be run on a periodic base, looking for modified issue descriptions and comments, while making as few requests as possible.
During the initial import of issues, when setting up the project, a large amount of requests might be necessary, depending on the amount of issues and their comments.
A mechanism has been implemented to allow more then one account to be used in those circumstances.
To achieve this, the GitHub object has been extended to check for the remaining GitHub rate limit.
New options:
issue Process only a single issue.range_from First issue to process.range_to Last issue to process.force f Force an update even if the issue has not changed.A new column updated_date as been added to the #__activities table, mainly to check for modified comments on GitHub
| Labels |
Added:
GitHub sync
|
||
So I deployed this branch to a server and set up a cron job to run the get project command hourly for both projects. Another one is set up for the update server command running every 10 minutes.
Both are running just fine.
@mbabker and @b2z have been added as admins so they might have a look at the cron log.
TEST server: http://jissues-nikp3h.rhcloud.com/
Well, let's do it!
Looks good. Need to test it :)