mirror of
https://github.com/ansible/galaxy-api
synced 2026-04-05 19:24:27 +00:00
No description
- Python 97.1%
- Dockerfile 1.6%
- Shell 1.3%
In ansible-galaxy versions 2.9, the body of the multipart/form POST'ed as part of the 'publish' command causes the default django/drf multipart/form parsers to ignore the 'sha256' content. When the parser ignores it, the sha256 value is None, which the galaxy-api publish code considers an optional value. So when the publish / import is passed to pulp api via galaxy_pulp, the pulp side doesn't check that the artifacts sha256sum matches the 'sha256' value (since it is None). This adds a custom parser that subclasses the drf 'MultiPartParser' but does some pre-processing on the request body stream to correct it before it is sent to the base MultiPartParser. Fixes ansible/galaxy-dev#246 |
||
|---|---|---|
| bindings | ||
| galaxy_api | ||
| openapi | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| .travis.yml | ||
| .yamllint | ||
| Dockerfile | ||
| LICENSE | ||
| Pipfile | ||
| Pipfile.lock | ||
| README.rst | ||
| setup.cfg | ||
| setup.py | ||
| tox.ini | ||
==========
Galaxy API
==========
.. image:: https://travis-ci.com/ansible/galaxy-api.svg?branch=master
:target: https://travis-ci.com/ansible/galaxy-api