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 2017/04/30 00:17:37 UTC

[couchdb] branch master updated: snap --> couchdb-pkg repo

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.git

The following commit(s) were added to refs/heads/master by this push:
       new  8e83c42   snap --> couchdb-pkg repo
8e83c42 is described below

commit 8e83c42c1c438ca16e551077904624d027ca5760
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Sat Apr 29 19:52:26 2017 -0400

    snap --> couchdb-pkg repo
---
 Makefile           |  5 -----
 rel/snap.ini       | 10 ----------
 rel/snap_run       |  9 ---------
 rel/snapcraft.yaml | 47 -----------------------------------------------
 4 files changed, 71 deletions(-)

diff --git a/Makefile b/Makefile
index e105054..73376bb 100644
--- a/Makefile
+++ b/Makefile
@@ -203,11 +203,6 @@ introspect:
 	@$(REBAR) -r update-deps
 	@./introspect
 
-.PHONY: snap
-# target: snap - Build Snap package
-snap: 
-	@snapcraft snap
-
 ################################################################################
 # Distributing
 ################################################################################
diff --git a/rel/snap.ini b/rel/snap.ini
deleted file mode 100644
index 3170cb1..0000000
--- a/rel/snap.ini
+++ /dev/null
@@ -1,10 +0,0 @@
-; Snap-specific Configuration Settings
-
-[couchdb]
-database_dir = /var/snap/couchdb/common/data
-view_index_dir = /var/snap/couchdb/common/data
-
-[log]
-writer = file
-file = /var/snap/couchdb/current/couchdb.log
-;level = info
diff --git a/rel/snap_run b/rel/snap_run
deleted file mode 100755
index 59e447a..0000000
--- a/rel/snap_run
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-export HOME=
-export ERL_FLAGS="-couch_ini ${SNAP}/couchdb/etc/default.ini ${SNAP}/couchdb/etc/snap.ini ${SNAP_DATA}/local.ini"
-if [ ! -e ${SNAP_DATA}/local.ini ]; then
-    touch ${SNAP_DATA}/local.ini
-fi
-
-exec ${SNAP}/couchdb/bin/couchdb
diff --git a/rel/snapcraft.yaml b/rel/snapcraft.yaml
deleted file mode 100644
index 1068807..0000000
--- a/rel/snapcraft.yaml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: couchdb
-version: 2.0.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, browser-support, mount-observe]
-    run:
-        command: snap_run
-        plugs: [network-bind, browser-support, mount-observe]
-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
-            - libmozjs185-1.0
-            - libstdc++6

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].