Skip to content

0.7.5

Pre-release
Pre-release

Choose a tag to compare

@pvi-github pvi-github released this 15 Apr 22:30

URPM & Rpmdrake-NG Testing 0.7.5:

Dependency resolver overhaul: libsolv-based depends/rdepends, root alternative choice for multi-version packages (like urpmi), multi-column display for long choice lists, and several resolution bug fixes.

What's Changed

Major Features

  • Root alternative choice for multi-version packages

    • Single fundamental question with ALL providers across versions (like urpmi)
    • User's choice determines version + mode in one step, everything else cascades
    • Replaces the abstract "8.4 vs 8.5" bloc question + separate per-capability choices
    • Bloc disfavor propagated before expand_choice for proper cascade resolution
    • Cascade sort: most impactful alternative asked first (provider count tiebreaker)
  • Multi-column display for long choice lists

    • All providers shown instead of truncating at 8
    • Column-first layout (like ls) sized to terminal width
    • Factored into reusable _display_choices() used by all call sites
  • Libsolv-based depends/rdepends

    • urpm depends and urpm rdepends rewritten to use libsolv SAT solver
    • Replaces synthesis-only resolution with full pool queries

Improvements

  • Only FAVOR solver hints with explicit --prefer name patterns
    • Bloc-only choices rely on DISFAVOR alone, avoids auto-resolving alternatives
  • Version filtering from --prefer applied to root alternative providers

Bug Fixes

  • Fix --prefer asking user when multiple providers match instead of auto-selecting
  • Fix erase using full pool instead of system-only pool for removal
  • Fix P2P shorewall rules not deployed in packaging
  • Fix P2P self-detection and peer deduplication
  • Fix obsoleted packages shown as orphans during upgrade
  • Fix subcommand usage not shown on bad arguments
  • Fix server_media table lost on database migration

Packaging & Distribution

  • P2P shorewall rules included in package

Documentation

  • mkimage: completion, manpages, i18n, README

Full Changelog: 0.7.4...0.7.5