Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pip): fix compatibility with some simple pip indexes #6649

Merged
merged 4 commits into from Jul 7, 2020
Merged

fix(pip): fix compatibility with some simple pip indexes #6649

merged 4 commits into from Jul 7, 2020

Commits on Jul 2, 2020

  1. fix(pip): fix compatibility with some simple pip indexes

    Some "simple"-style pip indexes do not conform to the previous
    assumption in this method, namely that they must end in `/+simple/` if
    they provide only that style of API. Gemfury private indexes, for
    example, are assigned as::
    
        pypi.fury.io/<username>
    
    But offer only a simple API, eg. `pypi.fury.io/<username>/<pkg>/json`
    will 404.
    
    This changeset ensures Renovate works with indexes like this by adding a
    fallback when the json API 404s to attempt the simple API. This is not
    an optimal solution, but I could not find any way to be certain we can
    determine whether the API will be json or simple in advance of querying
    it.
    TheKevJames committed Jul 2, 2020
    Copy the full SHA
    96e1d55 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2020

  1. Copy the full SHA
    83b3ffa View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Copy the full SHA
    e9587c9 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    277aba3 View commit details
    Browse the repository at this point in the history