CouchDB
  1. CouchDB
  2. COUCHDB-1042

make libcurl a soft (optional) dependency

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.2, 2.0.0
    • Component/s: Build System
    • Labels:
      None
    • Skill Level:
      New Contributors Level (Easy)

      Description

      CouchDB currently uses libcurl only in couchjs to expose HTTP client functions to the JavaScript environment. This functionality is used by the JavaScript unit tests. For idempotent views it is discouraged to perform I/O in a view function. Therefore, I propose that libcurl be made an optional dependency, automatically detected at build time, and a flag added to couchjs so it can be explicitly enabled in the unit tests (but disabled, by default, for the query server).

      1. 0001-no-lcurl-if-no-curl-support.patch
        2 kB
        Randall Leeds
      2. curl_as_soft_dep_v2.patch
        5 kB
        Randall Leeds
      3. curl_as_soft_dep.patch
        5 kB
        Paul Joseph Davis
      4. 0001-make-cURL-an-optional-dependency.patch
        5 kB
        Randall Leeds

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Randall Leeds
              Reporter:
              Randall Leeds
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development