From f7c40d48c0727a96843c85990cc36ae5a9ac6888 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 07 Feb 2026 23:42:43 +0000
Subject: [PATCH] Add integration test for binary

---
 config/config.example.yaml |   87 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 87 insertions(+), 0 deletions(-)

diff --git a/config/config.example.yaml b/config/config.example.yaml
new file mode 100644
index 0000000..29ea299
--- /dev/null
+++ b/config/config.example.yaml
@@ -0,0 +1,87 @@
+# Archbuild Configuration
+# Copy this file to config.yaml and edit as needed
+
+repository:
+  # Repository name (used in pacman.conf)
+  name: "myrepo"
+  # Directory containing the repository packages and database
+  path: "/repo/x86_64"
+  # Directory for cloning and building packages
+  build_dir: "/repo/build"
+  # Compression format for packages (zst, xz, gz)
+  compression: "zst"
+
+building:
+  # Enable parallel builds
+  parallel: true
+  # Maximum number of concurrent build workers
+  max_workers: 4
+  # Clean build directory after successful build
+  clean: true
+  # Update system before building (sudo pacman -Syu)
+  update_system: false
+  # Number of retry attempts on build failure
+  retry_attempts: 3
+  # Base delay between retries in seconds (exponential backoff)
+  retry_delay: 5
+
+signing:
+  # Enable package signing
+  enabled: false
+  # GPG key ID for signing (leave empty to use default key)
+  key: ""
+
+retention:
+  # Number of old package versions to keep
+  keep_versions: 3
+  # Automatically clean old versions after build
+  cleanup_on_build: true
+
+notifications:
+  email:
+    # Enable email notifications on build failures
+    enabled: false
+    # Recipient email address
+    to: ""
+    # Sender email address
+    from: "archbuild@localhost"
+    # SMTP server settings
+    smtp_host: "localhost"
+    smtp_port: 25
+    use_tls: false
+    username: ""
+    password: ""
+  
+  # Webhook notifications (Discord, Slack, ntfy, etc.)
+  # Uncomment and configure as needed
+  webhooks: []
+  # Example Discord webhook:
+  # webhooks:
+  #   - enabled: true
+  #     type: "discord"
+  #     url: "https://discord.com/api/webhooks/..."
+  # 
+  # Example ntfy webhook:
+  # webhooks:
+  #   - enabled: true
+  #     type: "ntfy"
+  #     url: "https://ntfy.sh/your-topic"
+
+# Per-package build overrides
+# Use this for packages that need special handling
+package_overrides: {}
+  # Example: Microsoft fonts need checksum skipping
+  # ttf-ms-win10:
+  #   skip_checksums: true
+  # 
+  # Example: Custom environment variables
+  # some-package:
+  #   env:
+  #     LC_ALL: "C"
+  #   extra_args:
+  #     - "--nocheck"
+
+# Logging configuration
+log_level: "INFO"  # DEBUG, INFO, WARNING, ERROR, CRITICAL
+# Uncomment to also log to file:
+# log_file: "/var/log/archbuild.log"

--
Gitblit v1.10.0