1. 24 Jul, 2018 1 commit
    • Tim Burke's avatar
      Lower the required version of ipaddress · 60f1d340
      Tim Burke authored
      CentOS 7 distributes 1.0.16, and there is no real reason to avoid it.
      Plus, in our probetests we apparently cannot avoid the system package.
      
      Change-Id: I108ec2438dbc02f3e85f8da43e11ff4cdcfd1e4b
      60f1d340
  2. 03 Jul, 2018 1 commit
    • mmcardle's avatar
      IP Range restrictions in temp urls · 26b20ee7
      mmcardle authored
      This patch adds an additional optional parameter to tempurl
      which restricts the ip's from which a temp url can be used from.
      
      Change-Id: I23fe998a980960d4a32df042b3f6a21f096c36af
      26b20ee7
  3. 15 Jun, 2018 2 commits
  4. 27 Apr, 2018 1 commit
    • Kota Tsuyuzaki's avatar
      Import swift3 into swift repo as s3api middleware · 636b922f
      Kota Tsuyuzaki authored
      This attempts to import openstack/swift3 package into swift upstream
      repository, namespace. This is almost simple porting except following items.
      
      1. Rename swift3 namespace to swift.common.middleware.s3api
      1.1 Rename also some conflicted class names (e.g. Request/Response)
      
      2. Port unittests to test/unit/s3api dir to be able to run on the gate.
      
      3. Port functests to test/functional/s3api and setup in-process testing
      
      4. Port docs to doc dir, then address the namespace change.
      
      5. Use get_logger() instead of global logger instance
      
      6. Avoid global conf instance
      
      Ex. fix various minor issue on those steps (e.g. packages, dependencies,
        deprecated things)
      
      The details and patch references in the work on feature/s3api are listed
      at https://trello.com/b/ZloaZ23t/s3api (completed board)
      
      Note that, because this is just a porting, no new feature is developed since
      the last swift3 release, and in the future work, Swift upstream may continue
      to work on remaining items for further improvements and the best compatibility
      of Amazon S3. Please read the new docs for your deployment and keep track to
      know what would be changed in the future releases.
      
      Change-Id: Ib803ea89cfee9a53c429606149159dd136c036fd
      Co-Authored-By: 's avatarThiago da Silva <thiago@redhat.com>
      Co-Authored-By: 's avatarTim Burke <tim.burke@gmail.com>
      636b922f
  5. 10 Apr, 2018 1 commit
  6. 02 Aug, 2017 1 commit
    • Mathias Bjoerkqvist's avatar
      Retrieve encryption root secret from Barbican · 77bd74da
      Mathias Bjoerkqvist authored
      This patch adds support for retrieving the encryption root secret from
      an external key management system. In practice, this is currently
      limited to Barbican.
      
      Change-Id: I1700e997f4ae6fa1a7e68be6b97539a24046e80b
      77bd74da
  7. 06 Oct, 2016 1 commit
    • Nicolas Helgeson's avatar
      Update pyeclib dependency to 1.3.1 · f0a8af29
      Nicolas Helgeson authored
      Updated swift requirements.txt to change PyECLib version
      so that it fixes memory leak issue.
      
      Change-Id: Ifc069989b96188fd7abe0d8edc6b30266783ad79
      Partial-Bug: #1629410
      f0a8af29
  8. 08 Jul, 2016 1 commit
    • Victor Stinner's avatar
      Update dnspython to 1.14 · c2137522
      Victor Stinner authored
      dnspython 1.14 adds Python 3 support and so can now be used on Python
      2 and Python 3. Drop dnspython3 dependency.
      
      Change-Id: I0a860b03800aeeed4375f528e6bf9cca57129db7
      c2137522
  9. 01 Jul, 2016 1 commit
  10. 12 Feb, 2016 1 commit
  11. 02 Feb, 2016 1 commit
  12. 19 Jan, 2016 1 commit
  13. 03 Dec, 2015 1 commit
    • Tushar Gohad's avatar
      Bump PyECLib requirement to >=1.0.7 · b63caf45
      Tushar Gohad authored
      ... to match global-requirements.  This is an
      intermediate step in updating requirements to
      PyECLib>=1.1.1.
      
      Change-Id: I79f47fff6ec1adff214ca435f0d95aaf1ffd68f9
      b63caf45
  14. 16 Nov, 2015 1 commit
    • Zack M. Davis's avatar
      remove remaining simplejson uses, prefer standard library import · 1b8b0803
      Zack M. Davis authored
      a1c32702, 736cf54a, and 38787d0f remove uses of `simplejson` from
      various parts of Swift in favor of the standard libary `json`
      module (introduced in Python 2.6). This commit performs the remaining
      `simplejson` to `json` replacements, removes two comments highlighting
      quirks of simplejson with respect to Unicode, and removes the references
      to it in setup documentation and requirements.txt.
      
      There were a lot of places where we were importing json from
      swift.common.utils, which is less intuitive than a direct `import json`,
      so that replacement is made as well.
      
      (And in two more tiny drive-bys, we add some pretty-indenting to an XML
      fragment and use `super` rather than naming a base class explicitly.)
      
      Change-Id: I769e88dda7f76ce15cf7ce930dc1874d24f9498a
      1b8b0803
  15. 13 Nov, 2015 1 commit
  16. 05 Nov, 2015 1 commit
    • Victor Stinner's avatar
      On py3, use dnspython3 dependency, not dnspython · 609095b2
      Victor Stinner authored
      Update requirements to install dnspython3 on Python 3 and dnspython on
      Python 2. dnspython is not compatible with Python 3, and dnspython3
      is not compatible with Python 2.
      
      Add a requirement on pbr to ensure that pbr 1.6 or newer is
      installed. pbr 1.0 or newer is required to support environment
      markers in requirements which are now used to select dnspython or
      dnspython3 depending on the Python major version.
      
      Note: pbr 1.0 is enough, but OpenStack global requirements asks to
      use "pbr>=1.6".
      
      Change-Id: Ie5d437cd396972d4143ffffb96ec3c289e221b08
      609095b2
  17. 25 Aug, 2015 1 commit
    • Tushar Gohad's avatar
      Restrict PyECLib version to 1.0.7 · 8086a0e5
      Tushar Gohad authored
      v1.0.9 rev of PyECLib replaces Jerasure with a native EC
      implementation (liberasurecode_rs_vand) as the default
      EC scheme.  Going forward, Jerasure will not be bundled
      with PyPI version of PyECLib as it used to be, until
      v1.0.7.
      
      This is an interim change to Swift requirements until we
      get v1.0.9 PyECLib included into global-requirements and
      ready patches that change Swift default ec_type (for doc,
      config samples and unit tests) from "jerasure_rs_vand"
      to "liberasurecode_rs_vand."
      
      Change-Id: Ica4fee2cdea2bc7f5edd0e51ad637a4457faf3b4
      8086a0e5
  18. 08 Jun, 2015 1 commit
    • Victor Stinner's avatar
      Add six requirement · 5ad369c1
      Victor Stinner authored
      The six module is needed to add Python 3 support to Swift.
      
      Change-Id: Ie637ed3458c7ff56c26834bca73203ed55604d74
      5ad369c1
  19. 21 Apr, 2015 1 commit
    • Tushar Gohad's avatar
      Bump PyECLib version from 1.0.3 to 1.0.7 · 281cb1c2
      Tushar Gohad authored
      In addition to fixing several bugs, 1.0.7 eliminates the need for a
      few work-around code in Swift.  This code was only to hide issues in
      the current version, but it also ends up breaking some third-party
      integration.  In order to enable expected functionality and to avoid
      dealing with deprecation issues right from the beginning, we need to
      bump the minium PyECLib requirement to 1.0.7.
      
      Closes-Bug: 1446727
      Change-Id: I03e059e7335656c22be28ffd6157b56e13bdfc1b
      281cb1c2
  20. 20 Apr, 2015 1 commit
    • Tushar Gohad's avatar
      Bump PyECLib version from 1.0.3 to 1.0.7 · 2203b46e
      Tushar Gohad authored
      In addition to fixing several bugs, 1.0.7 eliminates the need for a
      few work-around code in Swift.  This code was only to hide issues in
      the current version, but it also ends up breaking some third-party
      integration.  In order to enable expected functionality and to avoid
      dealing with deprecation issues right from the beginning, we need to
      bump the minium PyECLib requirement to 1.0.7.
      
      Change-Id: I03e059e7335656c22be28ffd6157b56e13bdfc1b
      2203b46e
  21. 25 Mar, 2015 1 commit
    • Tushar Gohad's avatar
      Bump eventlet version to 0.16.1 · a8129410
      Tushar Gohad authored
      This version adds support for multiple 100-continue responses
      via the API send_hundred_continue_response(), which we need for
      the two-phase scheme for PUTs with Erasure Coding
      
      Change-Id: I7154ef1dd96ab761894b09d5e6abf98a453f7b64
      a8129410
  22. 16 Mar, 2015 1 commit
    • Christian Schwede's avatar
      Bump PyECLib version to >= 1.0.3 · 3d3db0ab
      Christian Schwede authored
      ECPyECLibException has been removed in 1.0.1, among other
      API/error handling enhancements in 1.0.3. Let's make sure
      the right version is used.
      
      Change-Id: Ie6e0c1b491017dd5096b14c23b610abc22b03d6a
      3d3db0ab
  23. 08 Oct, 2014 1 commit
  24. 03 Sep, 2014 1 commit
  25. 21 May, 2014 1 commit
  26. 09 May, 2014 1 commit
  27. 06 Feb, 2014 1 commit
    • Christian Schwede's avatar
      Remove swiftclient dependency · 1f3ae6d8
      Christian Schwede authored
      Removes the requirement for swiftclient in swift-dispersion-report
      and swift-dispersion-populate. To prevent a dependency on
      keystoneclient and to avoid reinventing the wheel with an internal
      keystoneclient, authentication with keystone is only supported if
      swiftclient is available. If not, only auth v1 is supported.
      
      The dependency in swift/container/sync.py has also been removed.
      
      Implements: blueprint remove-swiftclient-dependency
      
      Change-Id: I6ec3b3c85a67b9ab6eb04b90ffc16daf1600e8a7
      1f3ae6d8
  28. 29 Oct, 2013 1 commit
    • John Dickinson's avatar
      Make pbr a build-time only dependency · 07171331
      John Dickinson authored
      This lets you build swift packages that don't require pbr
      to be installed at all. You would need pbr on the machine running
      rpmbuild / debuild, but not on the machines that install the packages.
      
      Unfortunately, this does not make swift able to be
      installed via pip 0.3.1 on Lucid; you'll need to uninstall the system
      python-pip package and install a new pip some other way. Given that
      pip < 1.3 doesn't perform SSL certificate validation for pypi (trivial
      MITM attack, anyone?), you'd probably want to get a new pip anyway.
      
      Change-Id: Ia50a229c5ae4dd2158beeaa953619b5e8f987c55
      07171331
  29. 02 Oct, 2013 1 commit
    • Samuel Merritt's avatar
      Allow slightly older dnspython (>= 1.9.4). · 062a67b0
      Samuel Merritt authored
      This has a couple benefits.
      
      First, it means Ubuntu Precise users can just install python-dnspython
      from packages instead of having to pull one in from source. This
      should also fix an install error with new SAIO boxes where running
      "python setup.py develop" fails unless a satisfactory dnspython is
      already installed.
      
      Second, it matches the dnspython dependency in the global
      requirements. This means that the gates are already running with this
      dnspython dependency, and it means our requirements.txt is one step
      closer to being a subset of the global requirements.txt, which is
      important to some people.
      
      Change-Id: I5d58f488e1e4c4139c9fb20d89f386cab1537e98
      062a67b0
  30. 14 Aug, 2013 1 commit
    • Monty Taylor's avatar
      Migrate to pbr for build · 4332bff3
      Monty Taylor authored
      pbr is the libification of what was openstack.common.setup. If provides
      the build information in a delcarative form, instead of as executable python
      code, which works around the chicken and egg problem of needing setup
      libraries present to run setup, but needing to run setup to tell if you
      need setup libraries.
      
      One of the features that comes along with this is versioning based on
      git tags. If the current revision is a signed git tag, then that is the
      version of the package. If it is not, the version is equal to the most
      recent git tag, plus a commit count, plus a git sha (similar to git
      describe, but scrubbed for python version rules compliance)
      
      pbr updates are also part of the upcoming automation around ensuring
      global requirements stay in sync.
      
      Closes-Bug: #1179007
      Change-Id: Ia473960be7e8aa44f09d48cea72ed3c8845f82fa
      4332bff3
  31. 30 May, 2013 1 commit
    • niu-zglinux's avatar
      Rename requires files to standard names. · 627d0ba5
      niu-zglinux authored
      Rename tools/pip-requires to requirements.txt and tools/test-requires
      to test-requirements.txt. These are standard files, and tools in the
      general world are growing intelligence about them.
      
      Change-Id: Ib3e50a811868e2969923d978ee00c4f92682aa1c
      Fixes: bug #1179008
      627d0ba5
  32. 03 May, 2013 1 commit
    • Matthieu Huin's avatar
      Skip cname_lookup when host is an IP address · b61b177a
      Matthieu Huin authored
      cname_lookup cannot resolve IP addresses as CNAME records, and therefore
      should not attempt to resolve the host in that case. The middleware is
      skipped when the host is an IP address.
      
      Change-Id: I6961ec205e771116ace1ebcb8c088f3116eb38f0
      Fixes: bug #1172289
      b61b177a
  33. 10 Jan, 2013 1 commit
  34. 12 Dec, 2012 1 commit
    • Julien Danjou's avatar
      Use install_requires in setup.py · dcff5ff5
      Julien Danjou authored
      Using install_requires makes sure that if some code is using Swift internal
      and wants to require Swift, all its dependencies have been already pulled.
      This is really useful on test automation for example, otherwise, code might
      be failing because on of the module listed in pip-requires is not instaled.
      
      Also, we change the pip-requires files to use >= rather than ==, so the
      requirements are easily fulfiled with distribution provided packages.
      
      Change-Id: I65814bcd8ce798da21a5c17b4d5916a23f59e962
      Signed-off-by: 's avatarJulien Danjou <julien@danjou.info>
      dcff5ff5
  35. 02 Nov, 2012 1 commit
    • Clark Boylan's avatar
      Use pypi for python-swiftclient dependency. · a4da977e
      Clark Boylan authored
      Using github as a package source is less reliable in the Jenkins test
      framework than using pypi. This is because the Jenkins test framework
      has a local pypi mirror.
      
      Change-Id: Ia904d39ce70f5c2bd7d6edb9172f8226131074e2
      a4da977e
  36. 08 Oct, 2012 1 commit
  37. 28 Sep, 2012 1 commit
    • Michael Barton's avatar
      local WSGI Request and Response classes · 5e3e9a88
      Michael Barton authored
      This change replaces WebOb with a mostly compatible local library,
      swift.common.swob.  Subtle changes to WebOb's API over the years have been a
      huge headache.  Swift doesn't even run on the current version.
      
      There are a few incompatibilities to simplify the implementation/interface:
       * It only implements the header properties we use.  More can be easily added.
       * Casts header values to str on assignment.
       * Response classes ("HTTPNotFound") are no longer subclasses, but partials
         on Response, so things like isinstance no longer work on them.
       * Unlike newer webob versions, will never return unicode objects.
      
      Change-Id: I76617a0903ee2286b25a821b3c935c86ff95233f
      5e3e9a88
  38. 14 Jul, 2012 1 commit
  39. 07 Jun, 2012 1 commit
    • Chmouel Boudjnah's avatar
      Remove swift.common.client from here. · 22572b50
      Chmouel Boudjnah authored
      - It has been to its own gerrit project.
      - direct_client should follow next.
      - Implements blueprint clientbindings.
      
      Change-Id: I3bb50c95eba81302bfec71cb7ce5288b85a41dc0
      22572b50