portage-ng / handbook
PDF GitHub

portage-ng Handbook

A comprehensive guide to portage-ng — a declarative reasoning engine for software configuration, applied to Gentoo Linux.

Part I — Getting Started

  1. Introduction
  2. Installation and Quick Start
  3. Configuration

Part II — Architecture and Internals

  1. Architecture Overview
  2. Proof Literals
  3. Knowledge Base and Cache
  4. The EAPI Grammar
  5. The Prover
  6. Assumptions and Constraint Learning
  7. Version Domains
  8. Rules and Domain Logic
  9. Resolution: Configuration as Proofs
  10. Ordering: Plans as Proofs
  11. Output and Visualization

Part III — Features

  1. Command-Line Interface
  2. Building and Execution
  3. Semantic Search and LLM Integration
  4. Distributed Proving
  5. Upstream and Bug Tracking
  6. Gentoo Linux Security Advisories (GLSA)

Part IV — Foundations

  1. Contextual Logic Programming
  2. Context Terms and Feature Unification
  3. Resolver Comparison
  4. Dependency Ordering

Part V — Development

  1. Testing and Regression
  2. Performance and Profiling
  3. Contributing

Closing

  1. Closing Thoughts