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

Bug#636493: marked as done (cudf: Empty lists as default value in typedecl)



Your message dated Wed, 3 Aug 2011 22:47:24 +0200
with message-id <20110803204724.GI14045@free.fr>
and subject line Re: Bug#636493: cudf: Empty lists as default value in typedecl
has caused the Debian Bug report #636493,
regarding cudf: Empty lists as default value in typedecl
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
636493: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636493
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cudf

I'd like to define something like:

property: 
 recommends: vpkgformula = [] ,

But it seems that this is not supported. I did not completely
read the specification, but I believe that there should be an
option to define the empty list as the default value.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (950, 'testing'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

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

Attachment: pgpsK3gjnVALw.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Hi Andreas,

On Wed, Aug 03, 2011 at 02:54:53PM +0200, Julian Andres Klode wrote:
> Package: cudf
> 
> I'd like to define something like:
> 
> property: 
>  recommends: vpkgformula = [] ,
> 
> But it seems that this is not supported. I did not completely
> read the specification, but I believe that there should be an
> option to define the empty list as the default value.

The type of recommends is vpkgformula, that is logical formulas and
not lists. This type has special values "true!" and "false!" (without
the quotes).  Note the exclamation point which distinguishes these from
the constants of type bool. The reason why we did not support the
empty list as a constant is that this would be ambiguous: it could be
an empty disjunction (=false) or an empty conjunction (=true).

If you want to say that a package by default has no recommends then you
should write:

property:
 recommends: vpkgformula = true!

-Ralf.


--- End Message ---

Reply to: