src-d / ghsync

GitHub API v3 > PostgreSQL
https://sourced.tech
GNU General Public License v3.0
9 stars 8 forks source link

Support a list or organizations in shallow cmd #35

Closed carlosms closed 5 years ago

carlosms commented 5 years ago

Fix #1.

Done on top of #32, only the last commit is relevant. I did not change the argument name, but maybe we want it to be --orgs/GHSYNC_ORGS

Did some quick tests and it seems to work without any further problem. image

smacker commented 5 years ago

yes. let's replace arguments to orgS. Similar to the change that was made in gitcollector:

To collect repositories from several organizations GITHUB_ORGANIZATIONS=src-d,bblfsh , the env var has changed, note the plural in github_organizationS

carlosms commented 5 years ago

Done in 354b174