Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Bug report
description: Report a reproducible TermOS problem
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: "Remove passwords, tokens, personal data, and private system identifiers from logs."
- type: input
id: version
attributes:
label: TermOS version or commit
placeholder: "v0.3.0-dev / commit SHA"
validations:
required: true
- type: input
id: environment
attributes:
label: Environment
description: Debian suite, architecture, VM or physical hardware
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual behavior
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce and logs
render: shell
validations:
required: true
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Feature request
description: Propose a TermOS capability or improvement
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: textarea
id: problem
attributes:
label: Problem or user need
description: What are you trying to accomplish?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed behavior
validations:
required: true
- type: textarea
id: impact
attributes:
label: Architecture, security, and package impact
description: Does this affect Debian packages, privileged operations, boot, disks, or profiles?
28 changes: 28 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## Summary

Describe what this change does and why.

## Scope

- [ ] Documentation
- [ ] Python application
- [ ] Rust backend
- [ ] live-build / ISO
- [ ] Installer
- [ ] Profiles
- [ ] CI / release engineering

## Validation

- [ ] Unit tests pass
- [ ] Shell scripts pass syntax checks
- [ ] Documentation updated
- [ ] Relevant VM / ISO tests performed (describe below)

## Safety and compatibility

Does this change affect privileged operations, disks, package ownership, boot, or user data?

## Evidence

Include commands, logs, screenshots, or test notes. Remove secrets and personal data.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: pip
directory: /
schedule:
interval: weekly
36 changes: 36 additions & 0 deletions .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build TermOS live ISO

on:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 90
steps:
- name: Check out source
uses: actions/checkout@v4

- name: Install live-build dependencies
run: |
sudo apt-get update
sudo apt-get install -y live-build debootstrap xorriso squashfs-tools qemu-system-x86 ovmf file rsync

- name: Build ISO
run: sudo ./scripts/build-iso.sh

- name: Verify ISO
run: ./scripts/verify-iso.sh

- name: Upload ISO artifact
uses: actions/upload-artifact@v4
with:
name: TermOS-v0.3.0-development-amd64
path: |
live-image-amd64.hybrid.iso
live-image-amd64.hybrid.iso.sha256
if-no-files-found: error
retention-days: 14
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: TermOS CI

on:
push:
branches: [main, "rebuild/**"]
pull_request:
branches: [main]
workflow_dispatch:

permissions:
contents: read

jobs:
validate:
name: Validate source and project metadata
runs-on: ubuntu-24.04
steps:
- name: Check out source
uses: actions/checkout@v4

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

- name: Validate Python source
run: |
python -m compileall -q src tests
PYTHONPATH=src python -m unittest discover -s tests -v

- name: Validate shell scripts
run: |
sh -n auto/config
bash -n scripts/*.sh

- name: Build and inspect the TermOS Debian package
run: |
./scripts/build-deb.sh
dpkg-deb --info config/packages.chroot/termos_0.3.0~dev1_all.deb
mkdir -p /tmp/termos-package-test
dpkg-deb --extract config/packages.chroot/termos_0.3.0~dev1_all.deb /tmp/termos-package-test
PYTHONPATH=/tmp/termos-package-test/usr/lib/python3/dist-packages python -m termos --version
PYTHONPATH=/tmp/termos-package-test/usr/lib/python3/dist-packages python -m termos info

- name: Validate Python package metadata
run: |
python -m pip install --no-deps .
termos --version
termos info
58 changes: 0 additions & 58 deletions .github/workflows/publish-source-bundle.yml

This file was deleted.

Loading
Loading