Skip to the content
Documentation

Exporting packages to files

No ratings yet

Any package of a repository can be downloaded as one .ezpkg file, to keep a copy or to import it into another installation. Downloading only reads the package.

In the administration

  1. Open Setup > Packages (/package/list). The list shows the packages of every repository; a repository tile, or the Repository filter, narrows it to one.
  2. Press Download on the package's card, or open the package (View) and press Download there.

The file is named <name>-<version>.ezpkg, a gzip compressed tar archive. The direct address is /package/export/<name>, or /package/export/<name>/<repository> for a package outside local. Download as JSON on the package's page sends the same package in the JSON format (<name>-<version>.json.ezpkg); both formats import and install the same way.

The download needs the policy package/export for the package's type. Large packages are sent in pieces, and a download that broke off can be resumed (HTTP range requests are answered).

From a shell

php ezpm.php export sevenx_classes -d var/tmp

-d names the directory the file is written to.

More

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.