openstackweb/ICLA
Sebastian Marcet df46bd5a0d [smarcet]
* ss3 migration fixes.

Conflicts:

	marketplace/code/model/consultants/ISpokenLanguage.php
2014-11-24 14:05:12 -03:00
..
_config [smarcet] - initial commit 2014-10-31 16:21:41 -03:00
code [smarcet] 2014-11-24 14:05:12 -03:00
css [smarcet] - initial commit 2014-10-31 16:21:41 -03:00
js [smarcet] - updated apache header 2014-10-31 16:59:18 -03:00
templates/Layout [smarcet] - initial commit 2014-10-31 16:21:41 -03:00
tests [smarcet] - updated apache header 2014-10-31 16:59:18 -03:00
_config.php [smarcet] - updated apache header 2014-10-31 16:59:18 -03:00
readme.txt [smarcet] - initial commit 2014-10-31 16:21:41 -03:00

** Scheduled tasks

make cache folder writable to all

sudo chmod 777 -R tmp/path/to/ss/cache/folder

add to _ss_environment.php file following global:

global $_FILE_TO_URL_MAPPING;
$_FILE_TO_URL_MAPPING['/path/to/project'] = 'http://localhost';


PullCLAFromGerritTask:

pulls gerrit endpoint https://gerrit-review.googlesource.com/Documentation/rest-api-groups.html#group-members
using icla group id, and update all members on Member table with gerrit id and icla signed

* php /path/to/project/sapphire/cli-script.php /PullCLAFromGerritTask

UpdateLastCommitedDateTask:

pulls from gerrit the last commit date for all users with icla signed and update on member table

* php /path/to/project/sapphire/cli-script.php /UpdateLastCommittedDateTask