[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Profile support in apt



On Wed, Jan 30, 2013 at 09:45:53AM +0100, Johannes Schauer wrote:
> The current two proposals for build profiles are using <!stage1> syntax
> [1] or extending the architecture syntax [2]. The patch implements the
> former. If you have arguments for/against either, please voice them on
> debian-devel [2] so that we can have a decision about that soon-ish. :)

DEP-11 plans to make '<' and '>' basically part of the package name and
use that for more complex provides; not knowing the use in multi-arch
(I forgot it). So the extended architecture syntax seems better in my
opinion; as it does not conflict with that stuff.

> === modified file 'apt-pkg/deb/deblistparser.h'
> --- apt-pkg/deb/deblistparser.h	2011-12-13 00:22:38 +0000
> +++ apt-pkg/deb/deblistparser.h	2013-01-30 07:51:56 +0000
> @@ -76,6 +76,7 @@
>     static const char *ParseDepends(const char *Start,const char *Stop,
>  			    std::string &Package,std::string &Ver,unsigned int &Op,
>  			    bool const &ParseArchFlags = false,
> +			    bool const &ParseProfileFlags = false,
>  			    bool const &StripMultiArch = true);
>     static const char *ConvertRelation(const char *I,unsigned int &Op);
>  

You really have to move ParseProfileFlags after StripMultiArch,
otherwise you break API.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.


Reply to: