Commit Graph

22 Commits (79a2e586fed0fc6cfe6ec2d2b4c080885c110b34)

Author SHA1 Message Date
Ding Deng 13db184d7f debconf module: add the missing 'error' vtype and reorder vtypes as they appeared in debconf-devel(7). 10 years ago
Chris Lamb 446765ace0 Correct/update debconf examples - need to specify vtype.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
11 years ago
Michael DeHaan 0981e405d6 Merge pull request #6810 from bob-smith/debconf-text
debconf detail requirements and fix typos
11 years ago
John Barker b8efbb1cb3 debconf correctly quote strings 11 years ago
John Barker f89262c74f debconf detail requirements and fix typos 11 years ago
Seth Woodworth c28d3545fb adds missing `'` to debconf examples 11 years ago
Pierre-Louis Bonicoli 1bb5b0f6bd Fix ValueError when selection contains a colon 11 years ago
Michael DeHaan 4e8b97ddeb More shell updates 11 years ago
James Tanner 39e368b713 Fix debconf docstring indentation 11 years ago
Brian Coca 400a1aa49a didnt make 1.5 ... lets see 11 years ago
Brian Coca f475de2316 hopefully last batch of fixes
- removed previous 'typification' of input as it needs it is typed by
  module as strings and needs to be output as strings, making it
  useless.
- now checks for vtype and value against None when question is specified
- simplified set_selections as vtype and value should have a string
  value going in.
- added example of querying questions for a package
- added module requirement of question,vtype and value being required
  together.
11 years ago
Brian Coca a1de284dba made changes as per feedback:
- field names are more consistent with debconf
- values are now 'booleanized' or accepted as list/set objects when
  pertinent
- updated docs to reflect all of the above and debconf cli tools
  required
11 years ago
Brian Coca 0233584343 fixed main() issue created in prev fix, now values are empty string if they were None
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
11 years ago
Brian Coca de956c57fe changes names to name in example 11 years ago
Brian Coca 453d473728 fixes as per feedback 11 years ago
Brian Coca 35980ef329 making pylint happier
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca c2c0d9bcd7 corrected my grammar (again Mikhail)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca 555f12c59a did some minor refactoring on docs and fixed spelling mistakes (thanks
Mikhail)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca 821aa432a6 corrected indentation and now handles non existing previous key (not
just changed existing)

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca 307ab1f561 and it was supposed to be a dict
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca fd78916a73 fixed typo for showing diff
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca 175d6346a2 debconf package
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago