​Packages with size -1 should not be displayed​ at all in table pages !

They are in the database to provide targets for dependency links. In other
words:
- When toaster gets the list of packages, all valid entries in the database
are created.
- When it gets the dependency list, it may happen that dependency targets
are not the package list.  This may happen for any number of reasons, for
example conflicts with a package that was not built in the current built,
but it signals the installer to not install both packages at the same time.
- Because we need package entries in the database, we create virtual
packages with size -1.

Packages with size -1 should not be displayed in package tables, but they
should be displayed in dependency information in package details.

Alex


On Mon, Mar 17, 2014 at 10:48 PM, Lerner, David M (Wind River) <
[email protected]> wrote:

> Agreed.
> -adve
>
> > -----Original Message-----
> > From: Reyna, David
> > Sent: Monday, March 17, 2014 5:47 PM
> > To: Lerner, Dave; DAMIAN, ALEXANDRU
> > Cc: '[email protected]'
> > Subject: Re: [Toaster] Questions on database pacakge.size == -1
> >
> > I would image that -1 is for sizes that could not be computer for
> whatever reason, and
> > that it should be mapped to 0 for this page and context.
> >
> > David
> >
> >
> > ----- Original Message -----
> > From: Lerner, Dave [mailto:[email protected]]
> > Sent: Monday, March 17, 2014 03:08 PM
> > To: DAMIAN, ALEXANDRU
> > Cc: [email protected] <[email protected]>
> > Subject: [Toaster] Questions on database pacakge.size == -1
> >
> > Hi Alex,
> > What does package.size = -1 mean and how does it differ from
> package.size = 0?
> > Dave
> > --
> > _______________________________________________
> > toaster mailing list
> > [email protected]
> > https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to