pgxn/pgxn-api — Issue #11: Sync Order Matters
Author: theory
Created: 2012-01-09 18:18:32+00:00
State: open
Labels: bug, sync

I tried to do a fresh sync on a new box, but it failed, saying something like "Cannot open www/users/foo.json: File does not exist". Running the sync with `-VVV`, I saw that it was syncing a distribution, and as part of that, wanted to update the user JSON file. But the user JSON file has not been synced, and so did not yet exist!

So the sync code needs to either copy the user JSON file over if it does not exist, or sync user JSON files before syncing distributions. And maybe extensions and other stuff too?