README and repository docs
This page is for developers who keep the source of a site package in a repository and for reviewers who look at
one before accepting a package. The .ezpkg file carries what an installation needs; the repository carries what
a person needs to understand, rebuild and change it. Nothing here is enforced by code. All of it is a
convention, and the one reviewers ask about first when a package is submitted
(Contribute your site package).
Contents
- What the repository is for
- What the 7x repositories carry today
- The README
- The LICENSE file
- Changelog and release notes
- Repository settings
- Checklist
- Related pages
What the repository is for
A site package has two homes:
| Home | Holds | Read by |
|---|---|---|
| The source repository | One folder per package (packages/<name>/), the build script, the history | People who change or review the package |
| The package server repository | The built .ezpkg files, index.xml, thumbnails | The setup wizard, the kickstarter and ezupdate |
The source repository is the only place where a change can be explained. The archive keeps one changelog entry per release at best; the repository keeps every commit and can explain why.
What the 7x repositories carry today
Checked with gh api and the clones on 2026-10-19:
| Repository | Top level | README | LICENSE | Changelog file |
|---|---|---|---|---|
| se7enxweb/sevenx-ezpackage | .github/FUNDING.yml, README.md, LICENSE, ant/, bin/ (pack.sh, repack_extension.sh, ezpxmlextfilelist.php), packages/ (14 packages and build.sh) | yes | yes (GPL-2.0) | no |
| se7enxweb/cjw_multisite-ezpackage | The same .github/, ant/ and bin/, README.md, LICENSE; packages/ with 2 packages and build.sh | yes | yes (GPL-2.0) | no |
| se7enxweb/exponential.packages.exponential.earth | .github/ (FUNDING.yml, workflows/workflow.yml), CNAME, README.md, CONTRIBUTING.md, crossdomain.xml, exponential/ | yes | no | no |
Both source repositories have a GitHub description and use master as their default branch. Until 2026-10-19 they
had no README and no LICENSE: their license was stated only inside each package (<licence>GPL</licence> and
documents/LICENCE), so GitHub showed no license for them. Since then each has a README (what the packages are,
what they need, how to build and publish them) and a LICENSE with the full GPL version 2 text, which GitHub
recognizes; cjw_multisite-ezpackage also got the packages/build.sh of the 7x repository. A package submitted
today should carry the same; the sections below say how.
The README
A README.md at the root of the repository. It should answer, in this order:
- What it installs. The site packages it holds, what a new site gets from each (siteaccesses, languages,
classes, demo content, extensions activated), and the variants (
_cleanwithout demo content). - Which releases it is for. The Exponential release it was built and tested on, the same as
<ezpublish><version>, and the database engines tested. - How to install it. Through the setup wizard from the package server, with the kickstarter
(
Site_packageinkickstart.ini), or offline from a localindex.xml; link the help pages rather than repeat them. - How to build it. The command that turns the folders into
.ezpkgfiles (for the 7x repository:cd packages && ./build.sh), and what the build leaves out. - What it depends on. The packages each site package requires, and where they come from when they are in
another repository (
cjw_multisiterequiressevenx_classesfrom the 7x repository). - Third-party material. Images, fonts, icons or scripts under other terms, each with its license.
- Screenshots of the installed site (Thumbnails and screenshots).
- Where to report problems and how to contribute.
How to write the selling part well is on A README that explains and sells.
The LICENSE file
A LICENSE file at the root with the full text of the license, the same license as <licence> and
documents/LICENCE in every package. For the GPL version 2 or later, the license of Exponential and of the shipped
packages, that is the text of the GNU GPL v2. The file name and the full text let GitHub and Packagist recognize the
license, which the short notice in documents/LICENCE does not. Details:
The LICENSE file of a theme and
License and documents.
Changelog and release notes
Keep a changelog file in the repository, one section per published package release, written from the commit
subjects since the last release. The 7x repositories write commit subjects with Added:, Updated:, Removed:
and Renamed: prefixes, which makes such a file easy to assemble. Copy the lines that matter to an administrator
into the new <changelog><entry> of each package (Changelog entries).
See Keeping a changelog file and Writing release notes.
Repository settings
- To do: A description that names the product, the package and what it installs.
- To do: The website field pointing at a demo or the documentation, where there is one.
- To do: Topics that help people find it.
- To do: Issues switched on, so problems can be reported where the source is.
Repository name, description and topics covers the choices.
Checklist
- To do:
README.mdat the root, answering the eight questions above. - To do:
LICENSEat the root with the full license text. - To do: A changelog file, with a section for every published release.
- To do: The build script and a sentence on how to run it.
- To do: One folder per package under
packages/, named exactly as the package's<name>. - To do: No built
.ezpkgof the repository's own packages committed next to their sources; they belong on the package server. (Archives inside a bundled extension, such as thepackages/folders of the extensions insevenx_extension, are part of that extension.) - To do: No secrets in
settings/files of a package: they are published with it.
Related pages
- Documentation requirements for site packages
- Contribute your site package
- The source repositories
- How a release reaches the package server
- Forking a site package
- Site packages: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
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.