From owner-freebsd-libh Tue Oct 15 18:41:26 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44FBC37B401 for ; Tue, 15 Oct 2002 18:41:25 -0700 (PDT) Received: from rtp1.SlowBlink.Com (rtp1.bsdwins.com [192.58.184.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB4E343E7B for ; Tue, 15 Oct 2002 18:41:24 -0700 (PDT) (envelope-from antoine@rtp1.SlowBlink.Com) Received: from rtp1.SlowBlink.Com (localhost [127.0.0.1]) by rtp1.SlowBlink.Com (8.12.6/8.12.5) with ESMTP id g9G1fklU054834 for ; Tue, 15 Oct 2002 21:41:46 -0400 (EDT) (envelope-from antoine@rtp1.SlowBlink.Com) Received: (from antoine@localhost) by rtp1.SlowBlink.Com (8.12.6/8.12.5/Submit) id g9G1fkOh054833 for libh@FreeBSD.org; Tue, 15 Oct 2002 21:41:46 -0400 (EDT) Date: Tue, 15 Oct 2002 21:41:46 -0400 (EDT) From: Antoine Beaupré Message-Id: <200210160141.g9G1fkOh054833@rtp1.SlowBlink.Com> Subject: cvs commit: libh/lib/sysinstall FeaturesProvided.cc To: freebsd-libh@FreeBSD.org Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/10/15 21:41:46 EDT Modified files: lib/sysinstall FeaturesProvided.cc Log: add TODO and associated warnings about 2 very wrong things in FeaturesProvided: Problem 1: it uses a seperate *text-based* database to store features provided by a given set of archives. (this is in FeaturesProvided::save()) Solution: use the same database abstraction as usual, and store the full URI of the package providing the given resources. Problem 2: load_dir() cannot deal with remote directories, therefore preventing dependencies from being resolved remotely. Solution: just code it! Revision Changes Path 1.14 +10 -5 libh/lib/sysinstall/FeaturesProvided.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message