1. 03 May, 2019 1 commit
  2. 17 Feb, 2019 1 commit
    • ZhijunWei's avatar
      Update hacking version · c9b464c0
      ZhijunWei authored
      Use latest release 1.1.0 and compatible changes w.r.t pep8
      
      Change-Id: I95d62bbce7fe20dd2f9ec8a96cdffeeefcda75be
      c9b464c0
  3. 04 Feb, 2019 1 commit
    • Martin Kopec's avatar
      Fix README · 4f24d023
      Martin Kopec authored
      The README points to the documentation instead of to Launchpad
      where bugs are reported.
      The patch fixes that.
      
      Change-Id: Ia13633dc02e74c39565429c93d5a217bba5acbb2
      4f24d023
  4. 21 Jun, 2018 1 commit
  5. 21 Apr, 2018 1 commit
  6. 27 Feb, 2018 1 commit
    • melissaml's avatar
      Update links in README · 1ac4ef72
      melissaml authored
      Change the outdated links to the latest links in README
      
      Change-Id: I41925678683a8fe00e2e4e9ae7bb3bee7223f288
      1ac4ef72
  7. 12 Jul, 2017 1 commit
  8. 25 Nov, 2016 1 commit
  9. 01 Oct, 2015 1 commit
    • Victor Stinner's avatar
      Add utilities for base64 · e49e8129
      Victor Stinner authored
      Writing a code using the base64 module (of the Python standard
      library) working on Python 2.7 and 3.4 requires many checks on the
      input and/or output type:
      
      * base64.b64encode() only accepts byte string: text must be
        explicitly encoded to ASCII
      * base64.b64decode() returns bytes: output must be decoded from UTF-8
        when text is expected
      
      This change adds two pairs of encode/decode functions:
      
      * encode_as_bytes(), decode_as_bytes(): always return the result as
        a byte string
      * encode_as_text(), decode_as_text(): always return the result as a
        text string
      
      Encode functions accept text: text is encoded to UTF-8 by default,
      but the encoding is configurable.
      
      Decode functions accept text: text is decoded from ASCII.
      
      decode_as_text() decodes the result from UTF-8 by default, but again
      the encoding is configurable.
      
      
      The new submodule is called "base64" to be able to replace:
      
          import base64
      
      with:
      
          from oslo_serialization import base64
      
      If the base64 module of the stdlib is needed, it can be imported as a
      different name. Example:
      
          import base64 as std_base64
      
      
      The encoding example:
      
          if isinstance(text, six.text_type):
             text = text.encode('utf-8')
          text_b64 = base64.b64encode(text)
          text_b64 = text_b64.decode('ascii')
      
      can be replaced with:
      
          text_b64 = base64.encode_as_text(text)
      
      
      The decoding example:
      
          if isinstance(encoded, six.text_type):
             encoded = encoded.decode('ascii')
          text = base64.b64decode(encoded)
          text = text.decode('utf-8')
      
      can be replaced with:
      
          text = base64.decode_as_text(text)
      
      Change-Id: Icf8df9c947bc0c5f4838508b756ed8f53efd9fc4
      e49e8129
  10. 12 Jun, 2015 1 commit
  11. 08 Apr, 2015 1 commit
    • Joshua Harlow's avatar
      Add pypi download + version badges · 5b4e9198
      Joshua Harlow authored
      Also makes the docs look more like the other
      oslo libraries so that the content is easily readable
      across projects.
      
      Change-Id: I2a3497bcbf72bc4a0e6fb12f7c2d508bb3a4e6bc
      5b4e9198
  12. 04 Apr, 2015 1 commit
    • Steve Martinelli's avatar
      Cleanup README.rst and setup.cfg · d6782d9b
      Steve Martinelli authored
      Provide a more complete description in README.rst, which is used
      when viewing the library on pypi.
      
      Also standardize the short-description used in setup.cfg.
      
      Change-Id: Ic917b8c1d0038e734f7a7b0864a71e0e778fd9b9
      d6782d9b
  13. 08 Jan, 2015 1 commit
  14. 25 Aug, 2014 1 commit
  15. 14 Jul, 2014 1 commit