Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
a27dd80
Add coexistence-safe shared database engine
MusicCityTelecom Sep 12, 2026
cd245eb
Add scoped existing-Apache integration
MusicCityTelecom Sep 12, 2026
f10c945
Add 0.8 coexistence deployment engine
MusicCityTelecom Sep 12, 2026
b6834d0
Add APT-managed activation transaction
MusicCityTelecom Sep 12, 2026
84a70e0
Add review-first Docker Compose bundle renderer
MusicCityTelecom Sep 12, 2026
4bc3b95
Package pinned Tomcat archive for APT
MusicCityTelecom Sep 12, 2026
6008925
Add cmnd-linux debconf prompts
MusicCityTelecom Sep 12, 2026
c466a36
Add environment-aware debconf configuration
MusicCityTelecom Sep 12, 2026
a8895eb
Activate CMND from APT package configuration
MusicCityTelecom Sep 12, 2026
536051b
Preserve data during cmnd-linux lifecycle operations
MusicCityTelecom Sep 12, 2026
b651589
Retain CMND data and configuration on package removal
MusicCityTelecom Sep 12, 2026
c98974b
Make cmnd-linux a complete APT entry package
MusicCityTelecom Sep 12, 2026
4a6f72a
Require complete CMND APT package set
MusicCityTelecom Sep 12, 2026
98daabe
Build complete 0.8 APT release assets
MusicCityTelecom Sep 12, 2026
c031ebd
Expose 0.8 APT and Docker commands
MusicCityTelecom Sep 12, 2026
dc00c12
Distinguish CMND tooling from active runtime
MusicCityTelecom Sep 23, 2026
82d4ba4
Allow first activation after tooling package install
MusicCityTelecom Sep 23, 2026
2e4f134
Regress tooling-only first-install detection
MusicCityTelecom Sep 23, 2026
4b69dce
Fix coexistence runtime file permissions
MusicCityTelecom Sep 23, 2026
7ea97f4
Preserve active CMND across package upgrades
MusicCityTelecom Sep 23, 2026
0ef43df
Preserve recognized active deployment in postinst
MusicCityTelecom Sep 23, 2026
852a3a6
Test complete 0.8 APT entry package
MusicCityTelecom Sep 23, 2026
6473ad2
Test four-package signed APT repository
MusicCityTelecom Sep 23, 2026
10f6b45
Keep coexistence module importable off Linux
MusicCityTelecom Sep 23, 2026
5e91f0c
Disable CMND-owned services on package removal
MusicCityTelecom Sep 23, 2026
ad63dfe
Add 0.8 APT coexistence regressions
MusicCityTelecom Sep 23, 2026
3e6934e
Make host Apache integration retry-safe
MusicCityTelecom Sep 23, 2026
c03f7eb
Restore resource and PHP runtime preflight
MusicCityTelecom Sep 23, 2026
0c1c3f6
Prefer default-route IPv4 for CMND APT activation
MusicCityTelecom Sep 23, 2026
c6b24af
Regress default-route CMND address selection
MusicCityTelecom Sep 23, 2026
35f590d
Make private CMND listener ports configurable
MusicCityTelecom Sep 23, 2026
b2c4d47
Fix rendered management ProxyPass port
MusicCityTelecom Sep 23, 2026
d74b6d7
Reserve CMND private listener defaults during planning
MusicCityTelecom Sep 23, 2026
1b39008
Auto-allocate private CMND listener ports
MusicCityTelecom Sep 23, 2026
b0cf6de
Propagate dynamic private ports into host Apache
MusicCityTelecom Sep 23, 2026
52d4668
Propagate dynamic PHP and management ports through activation
MusicCityTelecom Sep 23, 2026
19bdacb
Allow planned CMND management listener port
MusicCityTelecom Sep 23, 2026
2f81383
Keep 0.8 APT runtime requirement aligned to Ubuntu 24.04
MusicCityTelecom Sep 23, 2026
ea8ae13
Regress private listener conflict remapping
MusicCityTelecom Sep 23, 2026
904718e
Add bounded shared-database fresh-install rollback
MusicCityTelecom Sep 23, 2026
f57f00a
Rollback fresh shared DB namespace on activation failure
MusicCityTelecom Sep 23, 2026
9635eca
Accept recognized 0.8 deployment markers on tooling upgrade
MusicCityTelecom Sep 23, 2026
c7d7414
Regress recognized APT deployment preservation
MusicCityTelecom Sep 23, 2026
dbcd2b6
Make Ubuntu 22.04 source probe informational
MusicCityTelecom Sep 23, 2026
5fdea40
Tighten shared MySQL compatibility gate
MusicCityTelecom Sep 23, 2026
2b20544
Regress full shared MySQL global compatibility profile
MusicCityTelecom Sep 23, 2026
a14b1e3
Gate 0.8 installer and maintainer-script syntax in CI
MusicCityTelecom Sep 23, 2026
096ea4b
Smoke-install generated 0.8 packages on Ubuntu 24.04
MusicCityTelecom Sep 23, 2026
cce87d5
Add repeatable full Ubuntu 24.04 test-bundle build
MusicCityTelecom Sep 23, 2026
8e06fa2
Add Ubuntu 24.04 operator test guide for 0.8
MusicCityTelecom Sep 23, 2026
5f3df26
Record completed 0.8 APT integration gates
MusicCityTelecom Sep 23, 2026
a5b468f
Document isolated 0.8 Ubuntu 24.04 test path
MusicCityTelecom Sep 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion .github/workflows/0.8-development-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
run: python -m unittest discover -s tests -v

ubuntu-22-source-compat:
name: Ubuntu 22.04 / Python 3.10 source compatibility
name: Ubuntu 22.04 / Python 3.10 source compatibility (informational)
continue-on-error: true
runs-on: ubuntu-22.04
steps:
- name: Check out 0.8 source
Expand All @@ -61,6 +62,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Validate installer source and maintainer scripts
run: |
python -m compileall -q src scripts
sh -n packaging/debian/preinst packaging/debian/postinst packaging/debian/prerm packaging/debian/postrm packaging/debian/cmndctl
sh -n packaging/cmnd-linux/config packaging/cmnd-linux/postinst packaging/cmnd-linux/prerm packaging/cmnd-linux/postrm
- name: Build payload and user-facing meta packages
env:
PYTHONPATH: src
Expand All @@ -69,6 +75,39 @@ jobs:
python scripts/build_meta_deb.py
dpkg-deb -I dist/linux-cmnd_0.8.0_amd64.deb
dpkg-deb -I dist/cmnd-linux_0.8.0_all.deb
- name: Smoke-install generated packages without runtime activation
shell: bash
run: |
set -euo pipefail
make_stub() {
name="$1"; version="$2"
root="$(mktemp -d)"
mkdir -p "$root/DEBIAN"
cat >"$root/DEBIAN/control" <<EOF
Package: $name
Version: $version
Section: admin
Priority: optional
Architecture: all
Maintainer: CI <ci@example.invalid>
Description: CI dependency stub only
EOF
dpkg-deb --build "$root" "dist/${name}_${version}_all.deb" >/dev/null
rm -rf "$root"
}
make_stub cmnd-vendor-759 7.5.9-1
make_stub cmnd-tomcat9 9.0.121-1
sudo env DEBIAN_FRONTEND=noninteractive apt-get update
sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y \
./dist/linux-cmnd_0.8.0_amd64.deb \
./dist/cmnd-vendor-759_7.5.9-1_all.deb \
./dist/cmnd-tomcat9_9.0.121-1_all.deb \
./dist/cmnd-linux_0.8.0_all.deb
test "$(dpkg-query -W -f='${Status}' cmnd-linux)" = "install ok installed"
test -x /usr/bin/cmndctl
test ! -e /var/lib/cmnd-deployment
sudo env DEBIAN_FRONTEND=noninteractive apt-get remove -y cmnd-linux
test ! -e /var/lib/cmnd-deployment

safety-diff:
name: Frozen 0.7.1 ancestry check
Expand Down
79 changes: 79 additions & 0 deletions .github/workflows/0.8-full-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: 0.8 Full Ubuntu 24.04 Build

on:
push:
branches:
- develop/0.8.0
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Build 0.8 Ubuntu 24.04 test bundle
runs-on: ubuntu-24.04
steps:
- name: Check out exact 0.8 source
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install release-build tools
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends ca-certificates curl

- name: Download pinned Philips and Tomcat inputs
shell: bash
run: |
set -euo pipefail
curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \
--retry 3 --output /tmp/cmnd-vendor-7.5.9.zip \
https://github.com/MusicCityTelecom/linux-cmnd/releases/download/v0.7.1/cmnd-vendor-7.5.9.zip
curl --fail --location --proto '=https' --proto-redir '=https' --tlsv1.2 \
--retry 3 --output /tmp/apache-tomcat-9.0.121.tar.gz \
https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.121/bin/apache-tomcat-9.0.121.tar.gz

- name: Verify inputs and build all APT packages
env:
PYTHONPATH: src
run: |
python - <<'PY'
from pathlib import Path
import sys
sys.path.insert(0, 'scripts')
from vendor_bundle import verify
print(verify(Path('/tmp/cmnd-vendor-7.5.9.zip')))
PY
python scripts/build_release.py \
--vendor-bundle /tmp/cmnd-vendor-7.5.9.zip \
--tomcat-archive /tmp/apache-tomcat-9.0.121.tar.gz
dpkg-deb -I dist/linux-cmnd_0.8.0_amd64.deb
dpkg-deb -I dist/cmnd-linux_0.8.0_all.deb
dpkg-deb -I dist/cmnd-vendor-759_7.5.9-1_all.deb
dpkg-deb -I dist/cmnd-tomcat9_9.0.121-1_all.deb
sha256sum \
dist/linux-cmnd_0.8.0_amd64.deb \
dist/cmnd-linux_0.8.0_all.deb \
dist/cmnd-vendor-759_7.5.9-1_all.deb \
dist/cmnd-tomcat9_9.0.121-1_all.deb \
> dist/SHA256SUMS-APT

- name: Upload Ubuntu 24.04 test bundle
uses: actions/upload-artifact@v4
with:
name: cmnd-linux-0.8.0-ubuntu24-test
retention-days: 14
if-no-files-found: error
path: |
dist/linux-cmnd_0.8.0_amd64.deb
dist/cmnd-linux_0.8.0_all.deb
dist/cmnd-vendor-759_7.5.9-1_all.deb
dist/cmnd-tomcat9_9.0.121-1_all.deb
dist/SHA256SUMS-APT
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
are never repository inputs.
- Added branch-only CI for Ubuntu and Windows source regressions, package-build
smoke tests and verification that 0.8 remains descended from exact `v0.7.1`.
- Completed the four-package APT transaction model: `linux-cmnd`,
`cmnd-vendor-759`, `cmnd-tomcat9` and user-facing `cmnd-linux`. Ubuntu
24.04 CI now executes maintainer-script syntax checks and a real non-activating
`apt-get install`/remove smoke test of the generated packages.
- Main and private CMND listeners are collision-aware. Historical ports remain
the defaults, while Tomcat, SmartCMS/Apache, isolated database, PHP-FPM and
management listeners move only when the host already owns those ports.
- Existing shared MySQL reuse now requires the reviewed MySQL 5.7 global profile
to be present already; CMND does not alter unrelated server-wide settings.
Failed fresh shared-database activation has bounded rollback for only the CMND
schemas/accounts created by that transaction.
- Added a repeatable Ubuntu 24.04 full-build workflow that consumes the verified
Philips 7.5.9 release bundle and pinned Tomcat archive and emits the four
development test packages as one Actions artifact.
- Ubuntu 24.04 remains the qualified runtime baseline. Ubuntu 22.04 and 26.04 are
development targets and must be separately qualified before being called
supported. Docker/Compose production deployment remains a later 0.8 milestone.
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ Windows/Linux database table-name case compatibility for fresh installs. Existin
installs need the explicit, backed-up [database case repair](docs/DATABASE-CASE.md)
after updating the tooling. Do not delete or re-upload your packages to fix this.

## 0.8.0 development

Version 0.8.0 is being developed independently from the frozen `v0.7.1`
release. The current development target is Ubuntu 24.04 amd64 and adds an
environment-aware APT installation path, existing-service coexistence planning,
collision-aware CMND ports, a verified four-package dependency graph, and a
separate Docker/Compose candidate.

For the current Ubuntu 24.04 test procedure, package behavior, safety defaults
and post-install checks, see
[the 0.8 Ubuntu 24.04 test guide](docs/0.8.0-UBUNTU-24.04-TEST.md).

Ubuntu 22.04 and 26.04 are not yet release-qualified for the 0.8 APT path.
Published `v0.7.1` assets remain unchanged.

## Quick installation

Start with the [complete Ubuntu 24.04 walkthrough](docs/UBUNTU-24.04.md), including
Expand Down
Loading
Loading