Skip to content

Updating

The add-on and the engine image are versioned together. Updating the add-on updates the engine.

Terminal window
ddev add-on get NoiXdev/ddev-sync --version vX
ddev restart

Replace vX with the release you want; releases are listed on GitHub. While ddev-sync is in release candidates, always give an explicit version, for example ddev add-on get NoiXdev/ddev-sync --version v0.1.0-rc.8. Once a final release exists, leaving out --version takes the latest one.

The update replaces the files the add-on owns, the ones marked #ddev-generated. Your .ddev/ddev-sync.yaml and .ddev/ddev-sync/local.yaml are not touched. See Installation for the full ownership table.

On the first start after the update, the new image is pulled. The start says so while it happens.

The add-on’s compose file names the engine image and the version it was released with: noixdev/ddev-sync at the release’s tag. There is no latest tag, so a project always runs the engine version of the add-on it has installed, and nothing changes underneath you until you update.

You can override either part in .ddev/.env.local:

VariableDefaultMeaning
DDEV_SYNC_IMAGEnoixdev/ddev-syncThe engine image repository.
DDEV_SYNC_VERSIONthe version of the installed releaseThe image tag.

.ddev/.env.local is the git-ignored file for machine-specific keys, and it wins over .ddev/.env. Leave both unset for a published release.

To work on the add-on itself, install it from a checkout and point it at an image you built:

Terminal window
docker build -t ddev-sync:dev /path/to/ddev-sync
cd /your/project
ddev add-on get /path/to/ddev-sync
printf 'DDEV_SYNC_IMAGE=ddev-sync\nDDEV_SYNC_VERSION=dev\n' >> .ddev/.env.local

To return to a published release, delete those two lines from .ddev/.env.local and run ddev add-on get NoiXdev/ddev-sync --version <release> again.

  • Targets: hosts, layers, SSH and jump hosts.
  • Deployer: read the connection from a Deployer setup.
  • Syncing: step groups, --steps, features and exit codes.
  • Frameworks: what each profile does and how far it is verified.