How a release reaches the package server
This page is for developers who publish packages, and for anyone who wants to know how a change to a site package gets to new installations. It describes the process 7x follows, step by step, and the checks that belong to each step. The same process works for a package server of your own.
Contents
- The process in one table
- Step 1: change the source and commit
- Step 2: build the archives
- Step 3: compare
- Step 4: copy into the release folder
- Step 5: update index.xml
- Step 6: commit and push
- A new release folder
- An example from the history
- Related pages
The process in one table
| Step | Where | Result |
|---|---|---|
| 1. Change and commit | the source repository (The source repositories) | the change is recorded in the package's folder |
| 2. Build | packages/build.sh in that repository | one <name>.ezpkg per folder |
| 3. Compare | your working copy | you know exactly what changed in the archive |
| 4. Copy | the package server repository, exponential/6.0/<version>/ | the new .ezpkg replaces the old one |
| 5. Index | exponential/6.0/<version>/index.xml | changed only when a package is new, renamed or gets a new version or summary |
| 6. Commit and push | the package server repository, branch master | GitHub Pages republishes the site |
Step 1: change the source and commit
Make the change in the unpacked package folder, for example packages/sevenx_multisite/settings/ of
sevenx-ezpackage. Commit it there first, so the source and the archive never disagree. Use a message that names the
package and says what changes for an installation:
Updated: The installer of the sevenx_site package activates ezownerchange, so changing the owner of content is available in a new installationIf the change touches package.xml, check it first: xmllint --noout packages/<name>/package.xml
(Validating a package before publishing).
Step 2: build the archives
cd packages
./build.shbuild.sh packs every folder of packages/ with tar -zcf ../<folder>.ezpkg, leaving out version control folders,
editor and operating system leftovers and node_modules (the list is in the script and in
The source repositories). The .ezpkg files are written next to the
folders. Repositories without build.sh use bin/pack.sh --output-dir=<dir>.
See Rebuilding with build.sh.
Step 3: compare
Before anything is copied, compare the new archive with the one on the server:
# file lists, old and new
curl -s https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/sevenx_site.ezpkg | tar -tzf - | sort > old.txt
tar -tzf sevenx_site.ezpkg | sort > new.txt
diff old.txt new.txt
a single file, old and new
curl -s https://exponential.packages.exponential.earth/exponential/6.0/6.0.15/sevenx_site.ezpkg | tar -xzOf - package.xml > old-package.xml
tar -xzOf sevenx_site.ezpkg package.xml | diff old-package.xml -Check that:
- To do: only the files you meant to change differ;
- To do: no
.git,.DS_Store, editor backup or other stray file is in the list; - To do:
package.xmlis at the top of the archive, not inside a folder; - To do: the file still starts with the gzip signature (
file sevenx_site.ezpkgsays "gzip compressed data").
Write the comparison files to a working folder of your own, not to a shared temporary folder.
Step 4: copy into the release folder
Copy the .ezpkg into the package server repository, into the folder of the release it belongs to:
cp sevenx_site.ezpkg <package-server-clone>/exponential/6.0/6.0.15/A fix to a released package replaces the file in place: the same name, the same folder, the same URL. Every installation that reads that folder gets the fixed file from then on. The earlier file stays in the Git history only.
Step 5: update index.xml
The index changes only when:
- a package is added (a new
<package>entry, and for a site package a thumbnail inthumbnails/); - a package is renamed or removed;
- the
version,summaryordescriptionof a site package should read differently in the setup wizard.
A fix to an existing package needs no change to the index. After an edit, check the file with xmllint --noout and
check every url (The index.xml format).
Step 6: commit and push
Commit in the package server repository with the same kind of message, naming the package:
Updated: The sevenx_site package's installer activates ezownerchangePush to master. The workflow builds the directory listings and deploys the site
(The package server on GitHub). Then:
- To do: wait for the run under Actions to finish;
- To do: fetch the file from the server and compare its checksum with yours (
sha256sum); - To do: remember that the server sends
Cache-Control: max-age=600: a cache may hand out the old file for up to ten minutes; - To do: install once from the server into a sandbox (Testing in a sandbox).
Note
Since 2026-10-12 deployments run one at a time; pushes in quick succession wait for each other instead of failing. Pushing one commit per package is fine.
A new release folder
For a new Exponential release, the history shows this pattern (6.0.14 on 2026-06-05, 6.0.15 on 2026-08-07):
- Create
exponential/6.0/<new version>/with all its packages,index.xmlandthumbnails/. - Make sure every
urlandthumbnail_urlin the newindex.xmlnames the new folder. Right after the 6.0.15 import, a commit titled "Bugfix for new package urls" corrected the entries ofsevenx_multisiteandsevenx_multisite_clean. - Push, and check the folder in a browser.
- In the kernel, point
settings/package.ini [RepositorySettings] RemotePackagesIndexURLat the new folder, in the release that should use it (Package server settings).
Older folders stay, so installations of older releases keep working.
An example from the history
On 2026-10-15 one change went through both repositories:
| Repository | Commit |
|---|---|
sevenx-ezpackage | "Updated: The installer of the sevenx_site package activates ezownerchange, so changing the owner of content is available in a new installation" (one PHP file in packages/sevenx_site/settings/, three lines) |
exponential.packages.exponential.earth | "Updated: The sevenx_site package's installer activates ezownerchange" (exponential/6.0/6.0.15/sevenx_site.ezpkg, 79,228 to 79,291 bytes) |
Related pages
- Site packages: start here
- The package server
- The source repositories
- The package server on GitHub
- Versioning your own packages
- Contribute your site package
- 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.