1. 26 Jul, 2016 1 commit
  2. 04 May, 2016 1 commit
    • Davanum Srinivas's avatar
      Remember the insertion order for pbr.json · b340c399
      Davanum Srinivas authored
      When we were reviewing all the tarballs in the release
      team, we were comparing the generated tar.gz from sdist
      and what was actually uploaded, we saw that the pbr.json
      contents keeps changing but with the same key/value pairs.
      So let's try to stick to a specific order by using
      sort_keys when we are converting json into a string
      
      Change-Id: I82186522240599a240737e2c87ad524d0ed8bd28
      b340c399
  3. 07 Oct, 2015 1 commit
  4. 27 Aug, 2015 1 commit
    • Sachi King's avatar
      Have pbr egg_info.writer check PBR is enabled · 8047f2fe
      Sachi King authored
      PBR is currently creating a pbr.json for any install originating from a
      git tree as pbr_json is an entry point for egg_info.writers.  If pbr is
      not set to True in setup() we now exit before doing any work.
      
      Change-Id: Ia37e37c22c2396f6a10aa2075ea8c501e571fee3
      Closes-Bug: 1483067
      8047f2fe
  5. 21 Dec, 2014 1 commit
    • Clark Boylan's avatar
      Move write_pbr_json to avoid issues with nose · 3ec9f0e8
      Clark Boylan authored
      Put write_pbr_json in pbr.pbr_json so that you do not need to import
      pbr.packaging to use it. This avoids python3 errors with nose where nose
      is imported by pbr before it is converted to python3 by 2to3 under
      python3.
      
      Change-Id: I1c420fed609bc60bbfdf78eb219e067ccab1a61e
      3ec9f0e8
  6. 20 Dec, 2014 1 commit
    • Clark Boylan's avatar
      Move write_pbr_json to avoid issues with nose · 0acee45e
      Clark Boylan authored
      Put write_pbr_json in pbr.pbr_json so that you do not need to import
      pbr.packaging to use it. This avoids python3 errors with nose where nose
      is imported by pbr before it is converted to python3 by 2to3 under
      python3.
      
      Also port the pbr.git refactor from the master branch.
      Co-Authored-By: Jeremy Stanley's avatarJeremy Stanley <fungi@yuggoth.org>
      Change-Id: I1c420fed609bc60bbfdf78eb219e067ccab1a61e
      (cherry picked from commit 3550e89db42002e226ea70b1d0314a319b2ecd10)
      0acee45e
  7. 08 Oct, 2014 1 commit
  8. 26 Aug, 2014 1 commit
  9. 14 Aug, 2014 1 commit
    • Monty Taylor's avatar
      Handle more local dev version cases · 17589988
      Monty Taylor authored
      Due to an oversight in testing (the tests for local dev versions were
      all running with PBR_VERSION in the environment) we did not handle
      enough variety of local development versions.
      
      Specific new cases we now handle:
       - untagged trees - where git describe returns just the sha
       - tags with versions with less than two components (e.g. 1)
      
      Change-Id: Ieaeca592b6ba26c5da50dcad3fb6e7551431d50e
      Co-Authored-By: 's avatarRobert Collins <rbtcollins@hp.com>
      17589988
  10. 13 Aug, 2014 1 commit
    • Robert Collins's avatar
      Introduce a SemanticVersion object · 59573648
      Robert Collins authored
      This object represents a single semver version and provides serialisation
      into different forms (dpkg/rpm/pep-440).
      
      implements: blueprint pbr-semver
      sem-ver: feature
      Change-Id: I482e07cce9b65df452d5b9af4c73960df68a141e
      59573648
  11. 27 Oct, 2013 1 commit
  12. 11 Jul, 2013 1 commit
  13. 03 Jun, 2013 1 commit
    • Clark Boylan's avatar
      More python3 compatibility. · b18913e5
      Clark Boylan authored
      * pbr/packaging.py: Properly convert bytes into unicode strings and back
      to bytes again. Replace os.path.walk() with os.walk().
      
      * pbr/tests/__init__.py: Remove use of mox.
      
      * pbr/tests/moxstubout.py: Remove use of mox.
      
      * pbr/tests/test_setup.py: Use bytestrings instead of str or unicode
      when performing IO.
      
      * pbr/tests/test_version.py: Remove use of oslo.config.
      
      * requirements.txt: Pin jinja2 to version compatible with python3.2.
      
      * test-requirements.txt: Remove oslo.config and mox.
      
      Change-Id: I9b5a32d7204fa2af56ecf4fdcf6b6da3bbb03200
      b18913e5
  14. 02 Jun, 2013 1 commit
  15. 06 Apr, 2013 1 commit
  16. 20 Mar, 2013 1 commit