Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Contribute your site package

7x and the Exponential Foundation strongly encourage you to submit your own site package by pull request to the repository behind the package server, so that every installation's setup wizard, kickstarter and ezupdate…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/contribute-your-site-package.md

On this page

Contribute your site package

7x and the Exponential Foundation strongly encourage every developer, designer and partner who has built a site package to submit it by pull request to the repository that holds the package server's contents. An accepted package becomes part of Exponential's default distribution system: it is listed in the package index that every installation reads, so the setup wizard, the kickstarter, exp:install and ezupdate on every Exponential site can offer it, with no extra settings on anyone's side.

This page is for whoever has a working site package (or is about to make one) and wants it to reach every installation. It answers: which repository to fork, where your files go, what must be in the package, which version number to give it, which license, how to test it first, what to write in the pull request and how review works.

Contents

  1. Why contribute
  2. The repository to fork
  3. Folder layout and file names
  4. The index entry
  5. The package checklist
  6. Version numbers
  7. License
  8. Test the install in a sandbox first
  9. Open the pull request
  10. How review works
  11. Related pages

Why contribute

  • Reach. A package in the default index is one click away in every new installation: the setup wizard's site package step lists every type="site" package of the index (eZStepSiteTypes::retrieveRemotePackagesList() in kernel/setup/steps/ezstep_site_types.php), and the kickstarter and exp:install --package=<name> install it by name.
  • Shared maintenance. The packages on the server are rebuilt for every Exponential release (one folder per release below exponential/6.0/: thirteen folders today, from 6.0.0 to 6.0.15). A package that is part of that set travels with the releases instead of aging on one person's disk.
  • Community growth. Every site package shows what Exponential can do. The Exponential Foundation and 7x want many of them: business sites, intranets, portals, shops, community sites, sites in many languages.

You keep your own source repository and your own copyright; the pull request adds the built package and its index entry to the shared server.

Copyright assignment (CLA). The Contributor Licensing Agreement that 7x and the Exponential Foundation require concerns code contributions to the core kernel, se7enxweb/exponential. A site package that you build, keep and license yourself is not a kernel contribution and is not affected. If you also send a change to the kernel itself, that change is merged only after you have signed the CLA, and by signing and submitting it you give up control over it: The Exponential Foundation and 7x may use, change, relicense and distribute it in any way, also under other licenses and in commercial products, without asking or paying you, and you cannot withdraw it or set conditions on it. See Copyright assignment (CLA).

The repository to fork

WhatWhere
The package server's contents (fork this one)github.com/se7enxweb/exponential.packages.exponential.earth
Its contributing guide (the short form of this page)CONTRIBUTING.md
What it publishesexponential.packages.exponential.earth (GitHub Pages, default branch master)
The index the 6.0.15 setup wizard readsexponential/6.0/6.0.15/index.xml

Every push to master publishes the whole tree through the workflow .github/workflows/workflow.yml, which also generates the directory listing you see in a browser (The package server on GitHub).

gh repo fork se7enxweb/exponential.packages.exponential.earth --clone
cd exponential.packages.exponential.earth
git checkout -b add-<your_package>

The repository is large (it holds every built .ezpkg of every release). A partial clone is enough to work in: git clone --filter=blob:none <your fork's URL>.

Keep the source of your package (the unpacked folders) in a repository of your own, the way the 7x packages live in se7enxweb/sevenx-ezpackage and the CJW packages in se7enxweb/cjw_multisite-ezpackage (The source repositories). Reviewers will want to see it.

Folder layout and file names

The server keeps one folder per Exponential release. Your files go into the folder of each release you support, next to the existing packages:

exponential/6.0/6.0.15/
├── index.xml                          the index: add one <package> line per package
├── <your_package>.ezpkg               the site package (type site)
├── <your_package>_democontent.ezpkg   the packages it requires, if any
└── thumbnails/
    └── <your_package>.png             the picture the setup wizard shows
RuleWhy
File name = <package name>.ezpkg, the name exactly as in <name> of package.xmlThe index points at the file, and the importer refuses a name that is not letters, digits, _ and - (Required package.xml fields)
A name of your own, never one that existsAn import refuses a package whose name is already in any repository of the site (Packages guide)
Thumbnail in thumbnails/<package name>.pngThe same pattern every existing site package uses (thumbnail_url in index.xml)
Packages your site package requires are on the server tooThe wizard downloads every required package from the same index (Dependencies and the install order)
Built archives only, no source foldersThe server serves files; the source belongs in your own repository

Build each .ezpkg the way the shipped ones are built: a gzip compressed tar of the package folder's contents (package.xml at the top), without .git, editor files and node_modules (Rebuilding with build.sh).

The index entry

Add your packages to the release's index.xml, in the same form as the existing entries. Required packages get a short entry in the dependency list at the top; the site package gets a full one:

<package name="<your_package>_democontent" type="contentobject"
         url="https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/<your_package>_democontent.ezpkg"/>

<package name="<your_package>" version="1.0-1" type="site"
         summary="<one line, shown as the package's title>"
         description="<two or three sentences: what the site is and what it contains>"
         url="https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/<your_package>.ezpkg"
         thumbnail_url="https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/thumbnails/<your_package>.png"/>

The wizard reads every attribute of a <package> element as it is, so the URLs must be absolute and correct; it lists only type="site" entries as choices. Check the file with xmllint --noout index.xml before you commit (The index.xml format).

The package checklist

The full list, with the reason for each item, is The requirements checklist. In short, before you open the pull request:

  • To do: package.xml is well formed, has <package> as its root and no document type.
  • To do: <name> is letters, digits, _ and - (lower case letters, digits and _ by convention), and matches the file name.
  • To do: <summary> and <description> say what the site is, in plain words.
  • To do: <vendor> names you or your organization.
  • To do: <type value="site" /> for the site package; the right type for each package it requires.
  • To do: <version> (<number>, <release>) agrees with the version attribute of the index entry (the version attribute of the root <package> element is the format version; leave it as the tools write it).
  • To do: <ezpublish><version> names the Exponential release you tested with (the element keeps its historical name).
  • To do: <licence> holds a license identifier from package.ini [LicenseSettings], and documents/LICENCE holds the license text.
  • To do: <changelog> has an entry for this release.
  • To do: <maintainers> lists a maintainer and a role from [MaintainerSettings] RoleList.
  • To do: <dependencies><requires> lists every package it needs, and each of them is in the pull request or already on the server.
  • To do: files/default/thumbnail/thumbnail.png and the index thumbnail exist.
  • To do: No secrets: no passwords, keys, tokens or real e-mail addresses in install scripts, settings or content.
  • To do: The package passes Validate on its page in Setup > Packages (Validating a package before publishing).

Version numbers

  • The package's version is <version><number> and <release> in package.xml; the index repeats it in the version attribute, written as eZPackage::getVersion() writes it, <number>-<release>: <number>1.0</number> and <release>1</release> are listed as version="1.0-1", and the 7x site packages (6.0, 15-stable) as version="6.0-15-stable". Keep the two the same: the setup wizard compares the index version with a copy already imported on a site, so a higher index version makes it download the package again on every run and a lower one hides your new release (Version numbers).
  • A changed package gets a new version. A folder on the server is a release of Exponential; within it, raise your package's version when you replace its file, and say what changed in <changelog> and in the pull request.
  • If your package is also tagged in your own repository, the project's rule for tags applies there too: a pushed tag is never moved (A pushed tag is permanent).

License

  • Code (install scripts, templates, settings, extensions inside the package): a license compatible with the GNU GPL, because Exponential itself is GPL 2.0 or later. The package wizard's default is GPL-2.0-or-later (package.ini [LicenseSettings] DefaultLicense). See GPL for theme code.
  • Documentation that ships with the package (README, guides): the GNU Free Documentation License 1.3, as for Exponential's own documentation (Free documentation, GFDL for theme documentation).
  • Images and demo content: only material you have the right to share, with its license stated. Creative Commons licenses are in the wizard's list (Creative Commons for images).

Test the install in a sandbox first

Never test a site package on a site that holds real content: installing a site package builds a new site.

  1. Make a throwaway installation (a fresh clone with its own SQLite database is the quickest, Testing in a sandbox).
  2. Point it at your packages: either import them into its local repository, or set [RepositorySettings] RemotePackagesIndexURL in its settings/override/package.ini.append.php to a folder that serves your copy of the release folder (Pointing a site at your package server).
  3. Install with the setup wizard and once more with ./console exp:install --apply --package=<your_package> (or the kickstarter), so both front ends are proven.
  4. Check the result: the site, the administration, the editor siteaccess, the roles, a search, an edit and a publish. Read var/log/error.log of the sandbox.
  5. Remove the sandbox when you are done.

Open the pull request

Push your branch to your fork and open the pull request against se7enxweb/exponential.packages.exponential.earth, branch master:

git add exponential/6.0/6.0.15/<your_package>*.ezpkg exponential/6.0/6.0.15/thumbnails/<your_package>.png exponential/6.0/6.0.15/index.xml
git commit -m "Added: <your_package> site package for 6.0.15"
git push origin add-<your_package>
gh pr create -R se7enxweb/exponential.packages.exponential.earth --base master

Write in the pull request:

SectionContent
What it isOne paragraph: the kind of site, its siteaccesses and languages, what an editor gets
What it containsThe packages, with their types, and the extensions and designs it needs
SourceThe link to the repository with the unpacked source
TestedThe Exponential version, the database(s) and the front ends you installed with (setup wizard, exp:install, kickstarter)
LicenseThe license of the code, of the documentation and of the images
MaintainerWho answers issues about the package, and where

Commit messages follow the project's prefixes (Added:, Updated:, Removed:, Renamed:), as the existing history of the repository does.

How review works

Since 2026-10-19 the repository has its own contributing guide, CONTRIBUTING.md, with the same steps as this page in short. The maintainers of se7enxweb/exponential.packages.exponential.earth review the pull request: they read your source repository, check the archives and the index entry against the checklist, install the package in a sandbox of their own, may ask for changes, and merge it when it is ready. Its first pull request (#1, "added ezwebin and plain site to installation version", 31 December 2023) went in exactly this way. After a merge, the push to master republishes the server and every installation that reads that release's index sees your package.

Questions about a package before you open a pull request are welcome in the project's issue trackers; see When something goes wrong for where each tracker is.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x