Skip to content

Instantly share code, notes, and snippets.

@frodwith
Created February 9, 2011 17:30
Show Gist options
  • Save frodwith/818863 to your computer and use it in GitHub Desktop.
Save frodwith/818863 to your computer and use it in GitHub Desktop.
import script pseudocode:
find all sites on this server
for each site:
look in config file (see below for example)
for each entry for this site:
fetch package from 300dev/config.url
import package under config.parent with the overwriteLatest flag
set according to config.overwrite (default yes)
mexico-es.postcms9.iip.conf:
- url : sp/index.html
parent : /root
- url : root/import/embassy/spanish
parent : root/import
ovewrite : no
- url : root/import/embassy/spanish/do-not-export/unique-to-site
parent : root/import/embassy/spanish/do-not-export
- url : root/import/embassy/spanish/core
parent : root/import/embassy/spanish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment