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

Bug#213333: cdebconf - lists should support selection via id



mån 2003-09-29 klockan 12.59 skrev Bastian Blank:
> Package: cdebconf
> Version: N/A
> 
> i think cdebconf should support selection of a list value via an id.
> this makes it much easier to set a default value for a generated list or
> read the value for such lists. also it makes the handling of static
> lists easier because the code don't need to know the real value.
> the list syntax may use a character like # to split id and text.

Yes, this has been discussed for a long time, without any real
conclusions. I think using a separation character is a bad idea. I
prefer a new field in the templates files. My proposal is:

Template: foo/bar
Type: select
Choices: Fooish, Barrish, Etc
Values: f, b, e
Description: Fooish Bars anyone?

If Joey has a better idea - I'd like to see perl-debconf do this too -
I'd be happy to reconsider this. :)


/Martin
-- 
Martin Sjögren
  sjogren@debian.org -- marvin@dum.chalmers.se
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: