Commit graph

38 commits

Author SHA1 Message Date
robojerk
cd5a97f64a Fix BACKPORT_DIR configuration in ostree-backport.sh - Make BACKPORT_DIR configurable via environment variable - Update disk space check to use correct directory - This allows containers to use user-writable directories - Fixes the permission denied error when creating backport directory
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
2025-08-05 11:09:48 -07:00
robojerk
6fe3939923 Fix Podman permission issues and improve package handling - Avoid changing ownership of host files in containers - Only change ownership of script files needed for execution - Copy built packages to builds/ directory instead of workspace root - Add builds/ and package files to .gitignore - This prevents permission issues and keeps built packages organized
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
2025-08-05 11:07:10 -07:00
robojerk
95097ad46a Fix container image for Trixie backport - Use debian:testing instead of debian:12 - This ensures the container matches the target environment (Trixie) - Source is still pulled from sid, but build environment is Trixie
Some checks failed
Build libostree Backport / Build libostree Backport (push) Successful in 10m56s
Build ostree Backports / Build ostree Backport for noble (push) Has been cancelled
2025-08-05 10:54:50 -07:00
robojerk
c6b363974e Fix Podman container to run as non-root user
Some checks failed
Build libostree Backport / Build libostree Backport (push) Successful in 11m37s
Build ostree Backports / Build ostree Backport for noble (push) Failing after 3m25s
- Add sudo package installation in containers
- Create backport-user account in containers
- Set proper ownership of workspace directory
- Configure sudo access for backport-user
- Run ostree-backport.sh as non-root user
- This fixes the 'should not be run as root' safety check
- Maintains all safety features while allowing proper execution
2025-08-05 10:30:21 -07:00
robojerk
fc05ffcbb9 Fix virt-manager Flatpak command for Bazzite
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
- Update virt-manager Flatpak command from org.virt-manager.virt-manager to org.virt_manager.virt-manager
- This matches the actual Flatpak installation on Bazzite
- Update both noble and trixie wrapper scripts
- Update usage guide with correct command
- Maintain all Bazzite-specific VM creation instructions
2025-08-05 10:28:47 -07:00
robojerk
1b307bcd17 Add Podman container and virsh VM options to wrapper scripts
Some checks failed
Build ostree Backports / Build ostree Backport for noble (push) Waiting to run
Build libostree Backport / Build libostree Backport (push) Has been cancelled
- Add --podman option for isolated container testing (recommended)
- Add --vm option for full VM isolation with virsh
- Add --help option with comprehensive usage information
- Add colored output and safety warnings
- Add interactive prompts for direct host execution
- Update usage-guide.sh with new safety features
- Add proper error handling and command validation

Features:
- Podman containers with Ubuntu 24.04 and Debian 12 images
- virsh VMs with proper networking and storage
- Automatic repository cloning and script setup
- Volume mounting for workspace sharing
- Safety-first approach with clear warnings
2025-08-05 10:22:50 -07:00
robojerk
38e017cef3 Add multi-distribution ostree backport support for Ubuntu Noble and Debian Trixie
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 17m20s
Build ostree Backports / Build ostree Backport for noble (push) Failing after 2m37s
- 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
2025-08-05 09:33:14 -07:00
23c2ad7ace Fix YAML syntax error and simplify upload step to get back to working state
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m57s
2025-07-21 21:03:57 +00:00
12729630b5 Add verbose upload debugging and package listing API debug step
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m12s
2025-07-21 20:48:28 +00:00
3b0a0b28e1 Remove manual assignment step - Forgejo auto-assigns Debian packages
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m50s
2025-07-21 20:21:01 +00:00
359713ef5d Fix HTTP code extraction using curl -w flag for reliable status code detection
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 9m46s
2025-07-21 20:04:57 +00:00
2dd88a7b89 Fix HTTP code extraction and implement dynamic package ID lookup for assignment
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 10m3s
2025-07-21 19:50:43 +00:00
5e5540c964 Add verbose curl debugging and connectivity tests to diagnose exitcode 1 failures
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 9m58s
2025-07-21 19:30:50 +00:00
0eeb2857ec Comment out Generic Package Registry upload and assignment logic
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 10m16s
2025-07-21 19:15:25 +00:00
459bdfc569 Add automatic package assignment to repository via API
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 9m56s
2025-07-21 18:48:48 +00:00
2e180ec649 Improve workflow with confirmed working Basic Auth method
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m58s
2025-07-21 18:17:23 +00:00
7a958f59f0 Update workflow to use ACCESS_TOKEN with Basic Auth
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m39s
2025-07-21 17:15:14 +00:00
22a70aa6f3 Switch to Basic Auth with ACCESS_TOKEN for package uploads
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m34s
2025-07-21 17:01:17 +00:00
1c73808c67 Add comprehensive API testing with JSON parsing
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m58s
2025-07-21 16:35:18 +00:00
41cdbc8808 Move debug and API tests to beginning for faster troubleshooting
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 1m42s
2025-07-21 16:06:25 +00:00
d5e1b3a5c4 Fix bash syntax error in debug step
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 9m21s
2025-07-21 15:50:24 +00:00
b0dcb0f9a6 Add HTTP response code checking to debug upload failures
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 9m19s
2025-07-21 15:39:53 +00:00
1b8166c26c Switch to automatic FORGEJO_TOKEN for package uploads
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m43s
2025-07-21 15:22:36 +00:00
f040922759 Add proper Debian Package Registry upload method with fallback to Generic Registry. I hate this, nothing works.
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m1s
2025-07-21 08:09:32 +00:00
e3bff76a82 Update README with latest build #11 download links and instructions
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m26s
2025-07-21 07:49:57 +00:00
088e09b1b4 Update workflow to test with new access token
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m7s
2025-07-21 07:10:56 +00:00
2f2b46581d test: add API endpoint testing to debug package registry issues
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m40s
2025-07-21 06:36:53 +00:00
fff0774835 feat: implement proper Debian Package Registry setup
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m55s
Replace Generic Package Registry with proper Debian Package Registry using
correct API endpoint and authentication. Update workflow to use POST method
with form data and proper Bearer token authentication. Update README with
professional apt repository setup including GPG key verification and proper
installation instructions following Forgejo documentation.
2025-07-21 06:02:09 +00:00
9e4e1646e6 feat: switch to Generic Package Registry for reliable uploads
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m20s
Replace Debian Package Registry with Generic Package Registry for better
reliability and compatibility. Update workflow to use simpler API format
and organize packages by name/version. Update README with new download
instructions and direct package links.
2025-07-21 05:48:22 +00:00
e2eee01d08 fix: use correct Forgejo API authentication with ACCESS_TOKEN
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m52s
Update workflow to use proper Forgejo API authentication format:
- Use Authorization: token header as per Forgejo documentation
- Reference ACCESS_TOKEN secret instead of GITEA_TOKEN
- Add explicit PUT method and correct Content-Type header
- Update README with Debian Package Registry installation instructions

This should resolve authentication issues and enable successful package uploads
to the Forgejo Debian Package Registry.
2025-07-21 05:27:20 +00:00
8033048adf feat: create built-in download page to replace external actions
Replace upload-artifact@v4 (authentication issues) with custom download page
generation. This eliminates dependency on external GitHub Actions that
aren't available in Forgejo.

- Generate beautiful HTML download page with all packages
- Include package sizes, descriptions, and installation instructions
- Provide direct download links without artifact expiration
- Update README with new download page URL and instructions
- Create professional user experience with built-in functionality

The download page is available at:
https://git.raines.xyz/robojerk/libostree-dev/raw/branch/main/downloads/
2025-07-21 05:20:01 +00:00
e3775c5de5 fix: revert to reliable artifact upload
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 1s
Revert from Debian Package Registry API (404 errors) back to
proven artifact upload method. Update README with clear
download instructions for Actions artifacts.
2025-07-21 05:17:39 +00:00
0ea13ef18f needed curl
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m15s
2025-07-21 04:09:36 +00:00
7f512cfab4 feat: integrate Forgejo Debian Package Registry for professional distribution
Some checks failed
Build libostree Backport / Build libostree Backport (push) Failing after 10m14s
- Replace artifact upload with Debian Package Registry integration
- Add automatic package upload to Forgejo's native Debian repository
- Update README with apt repository installation instructions
- Provide multiple download methods: apt repo, direct download, and artifacts
- Enable users to install packages via standard apt commands
- Improve package distribution with version control and deduplication

This change transforms the package distribution from manual artifact downloads
to a professional Debian repository that users can add to their apt sources.
2025-07-21 03:51:42 +00:00
8d6a2d9da1 Improve download system with robust build detection
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 10m4s
- Replace hardcoded workflow run IDs with generic Actions tab links
- Add find-latest-build.sh script to automatically detect working builds
- Add download-latest.sh helper script for manual download guidance
- Update README with clear step-by-step download instructions
- Make download system self-maintaining and always accessible
- Provide both automated and manual download approaches

This fixes the broken download links by creating a system that
automatically finds the latest successful build and provides
reliable download instructions that work with Forgejo's artifact system.
2025-07-21 03:38:55 +00:00
87a44924d8 Fix download link system for libostree-dev packages
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m25s
- Add automatic README update workflow that triggers after successful builds
- Add manual workflow for updating download links to specific builds
- Update README with working download links to Build 97 artifacts
- Include direct links to both main package and debug symbols
- Add installation instructions with correct workflow run URLs
- Fix workflow run ID references and artifact download paths

This provides reliable download links that users can access directly
from the repository README to install the latest libostree backport.
2025-07-21 03:23:09 +00:00
46de31a373 added files
All checks were successful
Build libostree Backport / Build libostree Backport (push) Successful in 9m19s
2025-07-21 03:08:18 +00:00
141193e345 first commit 2025-07-21 02:55:18 +00:00