You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/02/28 05:22:56 UTC

[couchdb-pkg] branch master updated: fixes for snapcraft

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git


The following commit(s) were added to refs/heads/master by this push:
     new 18549af  fixes for snapcraft
18549af is described below

commit 18549af07a7712120c72d25e85d2286e38a3f8f4
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Thu Feb 27 21:22:30 2020 -0800

    fixes for snapcraft
---
 README-SNAP.md      | 8 ++++----
 snap/snapcraft.yaml | 7 ++-----
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/README-SNAP.md b/README-SNAP.md
index 28628fb..1bd2432 100644
--- a/README-SNAP.md
+++ b/README-SNAP.md
@@ -253,15 +253,15 @@ upstream image is fully patched for `core18`, we'll move to it instead.)
 From an Ubuntu 18.04 machine with Docker installed:
 
 ```bash
-$ git clone https://github.com/couchdb/couchdb-pkg && cd couchdb-pkg`
-$ docker pull yakshaveinc/snapcraft:core18-edge`
-$ docker run -it -v "$PWD":/build:Z -w /build yakshaveinc/snapcraft:core18-edge snapcraft
+$ git clone https://github.com/couchdb/couchdb-pkg && cd couchdb-pkg
+$ docker pull yakshaveinc/snapcraft:core18
+$ docker run -it -v "$PWD":/build:Z -w /build yakshaveinc/snapcraft:core18 snapcraft
 ```
 
 The self-built snap will need to be installed using `--dangerous`:
 
 ```bash
-sudo snap install ./couchdb_2.3.1_amd64.snap --dangerous
+sudo snap install ./couchdb_3.0.0_amd64.snap --dangerous
 ```
 
 Clean up with:
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 9137f12..f554dc6 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,5 +1,5 @@
 name: couchdb
-version: 2.3.1
+version: 3.0.0
 summary: Official Apache CouchDB snap - a clustering document oriented database
 description: |
   CouchDB is a database that completely embraces the web. Store your data with
@@ -28,7 +28,7 @@ parts:
   couchdb: 
     after: [add-repo]
     plugin: dump
-    source: https://apache.bintray.com/couchdb-deb/pool/C/CouchDB/couchdb_2.3.1~bionic_amd64.deb
+    source: https://apache.bintray.com/couchdb-deb/pool/C/CouchDB/couchdb_3.0.0~bionic_amd64.deb
     source-type: deb
     # because this doesn't use apt, we have to manually list all of our dependencies :(
     # the following are all in core18, and warning output can safely be ignored:
@@ -111,9 +111,6 @@ apps:
   remsh:
     command: opt/couchdb/bin/remsh
     plugs: [network, network-bind]
-  couchup:
-    command: opt/couchdb/bin/couchup
-    plugs: [network, network-bind]
   couchjs:
     command: opt/couchdb/bin/couchjs
     plugs: [network, network-bind]