summaryrefslogtreecommitdiff
path: root/configuration.py
Commit message (Collapse)AuthorAgeFilesLines
* [configuration] stop pretending optik_ext is named optparseNicolas Chauvat2013-05-241-30/+30
|
* [configuration] add comments to improve documentationNicolas Chauvat2013-06-201-1/+15
|
* drop compatibility with python < 2.4Nicolas Chauvat2013-05-241-3/+3
|
* [configuration] rename convert() to _validate()Nicolas Chauvat2013-05-241-2/+3
| | | | | | this isn't a perfect move as validate doesn't feel like some type conversion is done, though this is at least coherent with other related stuff
* [configuration] rename option_name to option_attrname (closes #140667)Nicolas Chauvat2013-05-071-14/+15
|
* [configuration] option own_group is True/FalseNicolas Chauvat2013-05-211-1/+1
|
* [configuration] enhance merge_options function: copy option dictionaries and ↵Sylvain Th?nault2012-12-131-3/+12
| | | | allow to ensure all options are in the same group using optional optgroup argument. Closes #113458
* configuration: we should not set option to the default value in input_option ↵Sylvain Th?nault2011-03-281-1/+0
| | | | (value is already the default anyway)
* [packaging] prepare 0.55.1logilab-common-version-0.55.1Nicolas Chauvat2011-03-281-1/+1
|
* cleanup: remove deprecated compat importsEmile Anclin2010-11-221-2/+1
|
* 2to3 has some more usable fixersEmile Anclin2010-11-151-2/+2
|
* 2to3: fix a lot of white space after commaEmile Anclin2010-11-151-4/+4
|
* configuration: fix error messageSylvain Th?nault2010-11-021-1/+1
|
* backport stableSylvain Th?nault2010-10-111-2/+9
|\
| * make OptionError available through the moduleSylvain Th?nault2010-10-111-2/+9
| |
* | ensure option name not given has unicode, cause error on optparse + python 2.5Sylvain Th?nault2010-10-111-1/+1
|/
* backport stable into defaultSylvain Th?nault2010-09-241-7/+4
|\
| * [py3k] can't compare None to int with python3Emile Anclin2010-09-211-1/+1
| |
| * [py3k] compat: add str_to_bytes and str_encodeEmile Anclin2010-09-211-5/+1
| | | | | | | | | | | | In py3k, things are different: we will sometimes need to convert str to bytes if we want to write data into a file; and on other times we don't need to encode str to something
| * [py3k] define raw_input for py3.xEmile Anclin2010-09-211-1/+2
| |
| * [py3k] add callable to compat.pyEmile Anclin2010-09-131-1/+1
| | | | | | | | | | import "callable" where needed. We can't use collections in python <= 2.5
* | py2.3 compat : import compat.set, remove deprecated stuffSylvain Th?nault2010-09-241-3/+0
| |
* | remove old bw compat codeSylvain Th?nault2010-09-211-12/+0
|/
* cleanupsSylvain Th?nault2010-08-241-5/+0
|
* [configuration] include lgc version in deprecation messageNicolas Chauvat2010-07-051-2/+2
|
* skip option with no type, avoid pb with generated option such as long-helpSylvain Th?nault2010-05-261-1/+1
|
* [configuration] handle level for man page generationSylvain Th?nault2010-05-251-1/+2
|
* configuration: nicer deprecation messageSylvain Th?nault2010-05-201-2/+2
|
* fix stack level in warning messageSylvain Th?nault2010-05-111-1/+1
|
* missing replacement in disclaimer; include COPYING.LESSER in manifest; kill ↵Sylvain Th?nault2010-04-281-1/+1
| | | | DEPENDS file
* propre licensing information (LGPL-2.1). Hope I get it right this time.Sylvain Th?nault2010-04-281-3/+20
|
* configuration: rename parser attributes in public scope of Configuration classJulien Jehannet2010-04-231-17/+29
| | | | | | | | | | Since parsers could handle important information; they have to be accessed publicly by convention. Renaming protected attributes: - "_config_parser" into "cmdline_parser" - "_config_parser" into "cfgfile_parser" Add deprecation warnings for backward compatibility
* skip option without 'type' entry while input a configSylvain Th?nault2010-04-221-0/+3
|
* self.name may be None, in such case don't return the optionSylvain Th?nault2010-04-201-0/+2
|
* [configuration] take care, don't readd --long-help if already in thereSylvain Th?nault2010-04-191-0/+2
|
* [configuration] nicer text formatting of bytes and time option typesSylvain Th?nault2010-04-191-2/+34
|
* fix rest_format_section to work as expected when there are multiple ↵Sylvain Th?nault2010-04-191-14/+23
| | | | providers with the same name
* configuration: allow multiple providers with the same nameSylvain Th?nault2010-04-161-14/+10
|
* optik_ext / configuruation improvmentSylvain Th?nault2010-04-161-134/+159
| | | | | | * enhance support for option 'level' in optik_ext, configuration automatically handle --long-help * some cleanups and refactoring * dropped py 2.2 support
* update license, logilab-common is licensed under LGPLv2Adrien Di Mascio2010-04-131-2/+2
|
* fix shadowing of the opt moduleAurelien Campeas2010-02-081-3/+3
|
* [fix] Remove isinstance call for bytes unitsPierre-Yves David2010-01-181-2/+2
| | | | | | The isinstance function was used to detect if a byte required unit application, This was leading to error when the value was a float. isinstance call is replaced by a more pythonix hasattribut __init__ check/
* include Dotan Barak spell fixes patchSylvain Th?nault2009-11-231-3/+3
|
* dont hack help if choices providedSylvain Th?nault2009-10-071-2/+0
|
* restore bw compat (for pylint)Sylvain Th?nault2009-10-011-0/+3
|
* more fixes for time/bytes handlingSylvain Th?nault2009-09-301-0/+4
|
* add support for bytes and time to lgc.configurationSylvain Th?nault2009-09-301-32/+39
|
* make Method usable as option's callbackSylvain Th?nault2009-09-241-2/+4
|
* [configuration] in help, display the different choices of an option if ↵Stephanie Marcu2009-09-041-0/+2
| | | | "choices" in opt_dict
* fix #8849: Using plugins, options and .pylintrc crashes PyLintSylvain Th?nault2009-08-271-2/+12
|