[
https://issues.apache.org/jira/browse/USERGRID-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Johnson resolved USERGRID-13.
-----------------------------------
Resolution: Fixed
I resolved this by setting up an hourly cronjob on people.apache.org that runs
the sync-usergrid.sh script below:
#!/usr/local/bin/bash
pushd /tmp
mkdir __usergrid_sync__
pushd __usergrid_sync__
/usr/local/bin/git clone --mirror https://github.com/usergrid/usergrid.git
usergrid_mirror
cd usergrid_mirror
/usr/local/bin/git remote set-url --push origin
https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git
/usr/local/bin/git push --mirror
popd
rm -rf __usergrid_sync__
popd
To make that work I had to use a .netrc file to set my username/password for
git-wip-us.apache.org.
> Automatic sync from Github usergrid/usergrid to Apache Git
> ----------------------------------------------------------
>
> Key: USERGRID-13
> URL: https://issues.apache.org/jira/browse/USERGRID-13
> Project: Usergrid
> Issue Type: Task
> Reporter: David Johnson
>
> To enable our Contributor Workflow we need to setup sync of our code-review
> repo at GitHub (usergrid/usergrid) to our Apache Git repo
> (incubator-usergrid). This should happen at least once a day.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)