Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17022

Proxying devpi (and other non-warehouse repos) with artifactory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.11.0, 6.10.3
    • Component/s: PyPI
    • Labels:
    • Severity:
      Medium

      Description

      I'm trying to proxy a devpi pypi server with artifactory, unfortunately it doesn't seem to work very well. One of the issues devpi presents is the usage of +simple, instead of simple. That's easy to overcome though, a bigger problem is that eggs are served in URLs such as:

          http://devpi/index-name/+f/533/6d8be792aac35/bson-0.5.6-py2.7.egg#sha256=5336d8be792aac351336c6279ef6139d0e8462bd1964359e780235a49b59a53d

      However, artifactoy does not seem to be able to cope with URLs which don't use /package. Furthermore, this is not the first instance I run into this sort of issue. I had once to proxy a chishop python repo and I had a similar issue.

      A similar approach to what's done with NPMs could be taken. Artifactory's download URL could look something like:  http://artifactory/api/pypi/index2/packages/index-name/+f/533/6d8be792aac35/bson-0.5.6-py2.7.egg. That way it would be able to know exactly where to retrieve the egg from without the help of any index.

      I'm reporting this as a bug since I'd expect pypi remote repos to work with any server which respects the simple protocol.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nadavy Nadav Yogev
              Reporter:
              rafael Rafael Cunha de Almeida
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-17022 -
                  SYNCHRONIZED
                  • Last Sync Date: