No description
- Add main ostree-backport.sh script with distribution selection - Add wrapper scripts: backport-noble.sh and backport-trixie.sh - Add usage-guide.sh for comprehensive documentation - Update CI/CD workflows with improved multi-distribution support - Add test-build.yml workflow for quick validation - Update README.md with multi-distribution documentation - Add CI-CD-IMPROVEMENTS.md with detailed workflow documentation - Remove old .deb files (steam.deb, wget_1.21.4-1ubuntu4.1_amd64.deb) Features: - Ubuntu Noble: Source from Questing, target Noble - Debian Trixie: Source from sid, target Trixie - Enhanced error handling and logging - Manual triggers for single/all distributions - Comprehensive CI/CD documentation |
||
|---|---|---|
| .forgejo/workflows | ||
| backport-noble.sh | ||
| backport-trixie.sh | ||
| check-workflow.sh | ||
| CI-CD-IMPROVEMENTS.md | ||
| download-latest.sh | ||
| find-latest-build.sh | ||
| libostree-dev_noble_backport.sh | ||
| ostree-backport.sh | ||
| README.md | ||
| update-libostree-readme.sh | ||
| usage-guide.sh | ||
ostree Backport for Ubuntu Noble and Debian Trixie
This repository contains backports of ostree 2025.2-1 for Ubuntu Noble (24.04 LTS) and Debian Trixie (12).
📦 Package Status
✅ BUILD STATUS: Packages are being built and uploaded successfully via CI/CD!
🔧 DISTRIBUTION STATUS: Packages are uploaded to Forgejo Package Registry but require manual assignment to this repository.
What's Working
- ✅ Automated builds on every push
- ✅ All dependencies resolved (Rust 1.82.0+, build tools)
- ✅ Successful package uploads to Forgejo Package Registry
- ✅ Automatic token authentication working
- ✅ Multi-distribution support (Ubuntu Noble + Debian Trixie)
What Needs Manual Action
- 🔄 Package Assignment: Uploaded packages need to be manually assigned to this repository via the Forgejo web interface
🎯 Supported Distributions
Ubuntu Noble (24.04 LTS)
- Source: Ubuntu Questing
- Target: Ubuntu Noble
- Package Suffix:
~noble1 - Usage:
./backport-noble.shor./ostree-backport.sh noble
Debian Trixie (12)
- Source: Debian sid
- Target: Debian Trixie
- Package Suffix:
~trixie1 - Usage:
./backport-trixie.shor./ostree-backport.sh trixie
📥 Download Options
Option 1: Manual Package Assignment (Recommended)
- Go to Forgejo Packages
- Find the uploaded ostree packages (under 'debian' or 'generic')
- Click on each package → Settings → Assign to repository
- Select 'libostree-dev' repository
- Packages will then appear at: https://git.raines.xyz/robojerk/libostree-dev/packages
Option 2: Download from Latest Workflow Artifacts
- Go to Latest Workflow Run
- Click on the latest successful run
- Scroll down to "Artifacts" section
- Download the
release-assetsartifact containing all .deb files
Option 3: Local Build
Run the local build script for your target distribution:
# For Ubuntu Noble
./backport-noble.sh
# For Debian Trixie
./backport-trixie.sh
# Or use the main script directly
./ostree-backport.sh noble # Ubuntu Noble
./ostree-backport.sh trixie # Debian Trixie
🔧 Technical Details
Build Environment
- Base: Ubuntu Noble (24.04 LTS) or Debian Trixie (12)
- Rust: 1.82.0+ (installed via rustup)
- Build Tools: Full development environment with all dependencies
Package Contents
libostree-dev_2025.2-1~[distro]1_amd64.deb- Development headers and librarieslibostree-1-1_2025.2-1~[distro]1_amd64.deb- Runtime librariesostree_2025.2-1~[distro]1_amd64.deb- Command-line toolsgir1.2-ostree-1.0_2025.2-1~[distro]1_amd64.deb- GObject introspectionlibostree-doc_2025.2-1~[distro]1_all.deb- Documentationostree-boot_2025.2-1~[distro]1_amd64.deb- Boot utilitiesostree-tests_2025.2-1~[distro]1_amd64.deb- Test suite
🚀 CI/CD Workflows
Main Build Workflow (build-ostree-backports.yml)
The main workflow automatically:
- Sets up Ubuntu environment for target distribution
- Installs build dependencies and tools
- Downloads ostree source from appropriate distribution (Questing for Noble, sid for Trixie)
- Modifies changelog for backport versioning
- Builds all packages for target distribution
- Uploads to Forgejo Package Registry
- Provides detailed upload summaries and assignment instructions
Test Workflow (test-build.yml)
A simplified workflow for testing:
- Tests source download from both distributions
- Verifies source extraction and changelog modification
- Quick validation before full builds
Manual Triggers
- Single Distribution: Build for specific distribution (noble/trixie)
- All Distributions: Build for both distributions simultaneously
- Test Mode: Quick validation of build process
📋 Recent Changes
- 2025-01-XX: CI/CD workflows improved with better error handling and multi-distribution support
- 2025-01-XX: Test workflow added for quick validation
- 2025-01-XX: Manual triggers enhanced (single/all distributions)
- 2025-01-XX: Multi-distribution support added (Ubuntu Noble + Debian Trixie)
- 2025-01-XX: Source configuration updated (Questing → Noble, sid → Trixie)
- 2025-07-21: Automatic token authentication implemented
- 2025-07-21: Package uploads working (requires manual assignment)
- 2025-07-21: Rust version compatibility resolved
- 2025-07-21: All build dependencies resolved
🔗 Links
- Workflow Runs
- Forgejo Packages
- Repository Packages (after assignment)