# libostree-dev Backport for Ubuntu Noble

This repository contains a backport of libostree 2025.2-1 for Ubuntu Noble (24.04 LTS).

## 📦 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

### What Needs Manual Action
- 🔄 **Package Assignment**: Uploaded packages need to be manually assigned to this repository via the Forgejo web interface

## 📥 Download Options

### Option 1: Manual Package Assignment (Recommended)
1. Go to [Forgejo Packages](https://git.raines.xyz/robojerk/-/packages)
2. Find the uploaded libostree packages (under 'debian' or 'generic')
3. Click on each package → Settings → Assign to repository
4. Select 'libostree-dev' repository
5. Packages will then appear at: https://git.raines.xyz/robojerk/libostree-dev/packages

### Option 2: Download from Latest Workflow Artifacts
1. Go to [Latest Workflow Run](https://git.raines.xyz/robojerk/libostree-dev/actions)
2. Click on the latest successful run
3. Scroll down to "Artifacts" section
4. Download the `release-assets` artifact containing all .deb files

### Option 3: Local Build
Run the local build script:
```bash
./libostree-dev_noble_backport.sh
```

## 🔧 Technical Details

### Build Environment
- **Base**: Ubuntu Noble (24.04 LTS)
- **Rust**: 1.82.0+ (installed via rustup)
- **Build Tools**: Full development environment with all dependencies

### Package Contents
- `libostree-dev_2025.2-1~noble1_amd64.deb` - Development headers and libraries
- `libostree-1-1_2025.2-1~noble1_amd64.deb` - Runtime libraries
- `ostree_2025.2-1~noble1_amd64.deb` - Command-line tools
- `gir1.2-ostree-1.0_2025.2-1~noble1_amd64.deb` - GObject introspection
- `libostree-doc_2025.2-1~noble1_all.deb` - Documentation
- `ostree-boot_2025.2-1~noble1_amd64.deb` - Boot utilities
- `ostree-tests_2025.2-1~noble1_amd64.deb` - Test suite

## 🚀 CI/CD Workflow

The workflow automatically:
1. Sets up Ubuntu Noble environment
2. Installs Rust 1.82.0+ and build dependencies
3. Downloads and patches libostree source
4. Builds all packages
5. Uploads to Forgejo Package Registry
6. Provides assignment instructions

## 📋 Recent Changes

- **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](https://git.raines.xyz/robojerk/libostree-dev/actions)
- [Forgejo Packages](https://git.raines.xyz/robojerk/-/packages)
- [Repository Packages](https://git.raines.xyz/robojerk/libostree-dev/packages) (after assignment)
