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

How a release reaches the package server

The path of a package from a commit in its source repository to a file on the package server - build, compare, copy, update index.xml, commit and push - for a fix to an existing package and for a new release folder…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/package-server/how-a-release-reaches-the-package-server.md

On this page

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

  1. The process in one table
  2. Step 1: change the source and commit
  3. Step 2: build the archives
  4. Step 3: compare
  5. Step 4: copy into the release folder
  6. Step 5: update index.xml
  7. Step 6: commit and push
  8. A new release folder
  9. An example from the history
  10. Related pages

The process in one table

StepWhereResult
1. Change and committhe source repository (The source repositories)the change is recorded in the package's folder
2. Buildpackages/build.sh in that repositoryone <name>.ezpkg per folder
3. Compareyour working copyyou know exactly what changed in the archive
4. Copythe package server repository, exponential/6.0/<version>/the new .ezpkg replaces the old one
5. Indexexponential/6.0/<version>/index.xmlchanged only when a package is new, renamed or gets a new version or summary
6. Commit and pushthe package server repository, branch masterGitHub 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 installation

If 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.sh

build.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.xml is at the top of the archive, not inside a folder;
  • To do: the file still starts with the gzip signature (file sevenx_site.ezpkg says "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 in thumbnails/);
  • a package is renamed or removed;
  • the version, summary or description of 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 ezownerchange

Push 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):

  1. Create exponential/6.0/<new version>/ with all its packages, index.xml and thumbnails/.
  2. Make sure every url and thumbnail_url in the new index.xml names the new folder. Right after the 6.0.15 import, a commit titled "Bugfix for new package urls" corrected the entries of sevenx_multisite and sevenx_multisite_clean.
  3. Push, and check the folder in a browser.
  4. In the kernel, point settings/package.ini [RepositorySettings] RemotePackagesIndexURL at 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:

RepositoryCommit
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)

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