Skip to content
Snippets Groups Projects
Select Git revision
  • ada63e45f48fe343e496c814efa357986acabec6
  • master default protected
  • next
  • v9
  • v8
  • v7
  • v6
  • v5
  • v4
  • v3
  • v2
  • v1
12 results

installsystems

user avatar
Sébastien Luttringer authored
If we have to format (aka interpolatation) we need to be sure this have to be
done in unicode and not in ascii. This avoid unicode error with ascii string
encoded in utf-8.

Example of failure between a string and an object

b = Exception(u"é")
Exception("error: %s" % b)
 => Exception("error: %s" % str(b)
 => UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 0: ordinal not in range(128)
ada63e45
History
InstallSystems Next Generation

INSTALLSYSTEMS VERSIONNING
__________________________

A valid version is an integer without dot.
A version n, may be followed by a ~, to indicate it's inferior to n
A version n, may be followed by a +, to indicate it's superior to n
Any following chars after ~ or + are ignored

Examples:
  1 < 2
  2 > 2~dev
  2 < 2+dev
  2~dev < 2+dev


IMAGES VERSIONNING
__________________
A valid version is an integer. Nothing more!