On Wed, May 02, 2007 at 09:09:11PM +0200, Dr. Peter Poeml wrote:
-p DIR, --prefer-pacs=DIR Prefer packages from this directory when installing the build-root
FYI, I'm going to rename this to --prefer-pkgs, which seems to sound better. Thanks to Thomas Anders for the suggestion.
This calls for an --extra-pacs option. For now, it might be acceptable to put ccache into BuildRequires and let it come from the preferred dir...
I just talked to Michael and Andreas about how we'll implement this. osc will send the names of the extra packages to the backend, which will add required packages by them, and add them to the buildinfo. This again can be overridden with --prefer-pkgs. If --extra-pkgs speficies packages which do not exist in the repositories, the backend should probably ignore them, so they can be supplied via --prefer-pkgs. We also planned to send the requires and provides of preferred packages to the backend, so they can be included in the dependency computation. Peter -- Allen Gewalten zum Trutz sich erhalten. SUSE LINUX Products GmbH Research & Development