From 6105d1b56e588d1d228833163188de1175a57458 Mon Sep 17 00:00:00 2001 From: robojerk Date: Mon, 4 Aug 2025 01:19:49 +0000 Subject: [PATCH] update documentation to reflect name change from deb-mock to mock --- dev_notes/ci_cd_package_registry_setup.md | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/dev_notes/ci_cd_package_registry_setup.md b/dev_notes/ci_cd_package_registry_setup.md index f1e2c93..95d8da9 100644 --- a/dev_notes/ci_cd_package_registry_setup.md +++ b/dev_notes/ci_cd_package_registry_setup.md @@ -1,6 +1,6 @@ # CI/CD Package Registry Setup -This document summarizes the implementation of Forgejo Package Registry integration for Deb-Mock, based on the successful implementation in bootc-deb. +This document summarizes the implementation of Forgejo Package Registry integration for Mock, based on the successful implementation in bootc-deb. ## Overview @@ -23,11 +23,11 @@ The `.forgejo/workflows/build-deb.yml` workflow now includes: - name: Create release assets run: | mkdir -p release-assets - cp ../deb-mock_*.deb release-assets/ - cp ../deb-mock_*.changes release-assets/ + cp ../mock_*.deb release-assets/ + cp ../mock_*.changes release-assets/ # Create build summary - echo "Deb-Mock Package Build Summary" > release-assets/BUILD_SUMMARY.txt + echo "Mock Package Build Summary" > release-assets/BUILD_SUMMARY.txt echo "Build Date: $(date)" >> release-assets/BUILD_SUMMARY.txt echo "Version: $VERSION" >> release-assets/BUILD_SUMMARY.txt ``` @@ -37,7 +37,7 @@ The `.forgejo/workflows/build-deb.yml` workflow now includes: - name: Upload to Forgejo Debian Package Registry if: startsWith(github.ref, 'refs/tags/') run: | - for deb_file in ../deb-mock_*.deb; do + for deb_file in ../mock_*.deb; do if [ -f "$deb_file" ]; then http_code=$(curl -s -o /dev/null -w "%{http_code}" \ --user "robojerk:${{ secrets.ACCESS_TOKEN }}" \ @@ -53,8 +53,8 @@ The `.forgejo/workflows/build-deb.yml` workflow now includes: ### 2. Comparison with bootc-deb -| Feature | bootc-deb | deb-mock | Status | -|---------|-----------|----------|--------| +| Feature | bootc-deb | mock | Status | +|---------|-----------|------|--------| | **Package Building** | ✅ Rust/Cargo | ✅ Python/setuptools | ✅ Implemented | | **Version Extraction** | ✅ From Cargo.toml | ✅ From setup.py | ✅ Implemented | | **Release Assets** | ✅ BUILD_SUMMARY.txt | ✅ BUILD_SUMMARY.txt | ✅ Implemented | @@ -68,15 +68,15 @@ The `.forgejo/workflows/build-deb.yml` workflow now includes: #### **Distribution Choice** - **bootc-deb**: Uses `noble` (Ubuntu 24.04) -- **deb-mock**: Uses `unstable` (Debian unstable) +- **mock**: Uses `unstable` (Debian unstable) #### **Package Type** - **bootc-deb**: Rust binary packages -- **deb-mock**: Python packages with dh-python +- **mock**: Python packages with dh-python #### **Build Process** - **bootc-deb**: `cargo build` + `dpkg-buildpackage` -- **deb-mock**: `pip install` + `dpkg-buildpackage` +- **mock**: `pip install` + `dpkg-buildpackage` ## Setup Requirements @@ -113,11 +113,11 @@ Users can install packages from the registry: ```bash # Add the repository wget -O - https://git.raines.xyz/api/packages/robojerk/debian/gpg.key | sudo apt-key add - -echo 'deb [signed-by=/usr/share/keyrings/forgejo-robojerk.gpg] https://git.raines.xyz/api/packages/robojerk/debian unstable main' | sudo tee /etc/apt/sources.list.d/deb-mock.list +echo 'deb [signed-by=/usr/share/keyrings/forgejo-robojerk.gpg] https://git.raines.xyz/api/packages/robojerk/debian unstable main' | sudo tee /etc/apt/sources.list.d/mock.list sudo apt update -# Install deb-mock -sudo apt install -y deb-mock +# Install mock +sudo apt install -y mock ``` ### 3. Package Location