Github user rnewson commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/442#discussion_r83626974
  
    --- Diff: configure ---
    @@ -184,6 +192,85 @@ EOF
     cat > $rootdir/config.erl << EOF
     {with_curl, $WITH_CURL}.
     EOF
    + 
    +if [ "${WITH_SNAP}" -eq "1" ]; then
    +echo "==> configuring snapcraft config"
    +cat > rel/snapcraft.yaml << EOF
    +name: couchdb
    +version: 2.0
    +summary: Document based database
    +description: CouchDB is a database that completely embraces the web. Store 
your data with JSON documents. Access your documents and query your indexes 
with your web browser, via HTTP. Index, combine, and transform your documents 
with JavaScript. 
    +confinement: strict
    +grade: stable
    +
    +apps:
    +    couchdb:
    +        daemon: simple
    +        command: snap_run
    +        plugs: [network-bind]
    +    run:
    +        command: snap_run
    +        plugs: [network-bind]
    +parts:
    +    couchdb: 
    +        plugin: dump
    +        source: .
    +        organize:
    +            snap.ini: couchdb/etc/snap.ini
    +            snap_run: bin/snap_run
    +        stage:
    +            - couchdb
    +            - bin
    +        snap:
    +            - couchdb
    +            - bin
    +    erlang:
    +        plugin: nil
    +        stage-packages:
    +            - erlang-base-hipe
    +            - erlang-crypto
    +            - erlang-eunit
    +            - erlang-inets
    +            - erlang-os-mon
    +            - erlang-public-key
    +            - erlang-ssl
    +            - erlang-syntax-tools
    +            - erlang-tools
    +            - erlang-xmerl
    +            - libc6
    +            - libcurl3
    +            - libgcc1
    +            - libicu55
    --- End diff --
    
    I'm not familiar enough with snap but are these package name assumptions 
safe?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to