Improve snap creation (#38)

* Added --edge to installation
* Changed couchdb.ini from local.d to default.d
* Switched config order to standard: default.ini, default.d, local.ini, local.d
* couchdb.ini has been moved from local.d to default.d
* Re-wrote configuration section to reflect standard order.
* Added a 90-override.ini file to ensure HTTP changes go in the last file
* Pared back the list of settable options to bare min
* Emphasized the q=1 parameter
* On fresh installation, copy the local.ini from the rel directory
* Add sequence number to couchdb.ini
* snap set now only configures vm.args; updated HOWTO to use HTTP configure
7 files changed
tree: e93c7294912819b2bbe9575e81202ce417a7a5b8
  1. .github/
  2. debian/
  3. js/
  4. lintian-profiles/
  5. repo/
  6. rpm/
  7. snap/
  8. .gitignore
  9. LICENSE
  10. make-releases.sh
  11. Makefile
  12. README.md
README.md

CouchDB Packaging support files

Quickstart:

$ cd .. && git clone https://github.com/apache/couchdb
$ cd couchdb-pkg && make build-couch $(lsb_release -cs) PLATFORM=$(lsb_release -cs)

Building packages for a release

Prerequisites

  1. Linux running Docker
  2. The current user must be capable of running docker run.
  3. Enough free disk space to download all of the Docker images + build CouchDB.

Running the package build

You can either build packages from a local CouchDB dist tarball (the output of make dist), or from a URL of a published CouchDB dist tarball (such as the ones on https://couchdb.apache.org/). The package's version number will be derived from the filename of the CouchDB dist tarball.

Run:

$ ./make-packages path/to/apache-couchdb-VERSION.tar.gz

or

$ ./make-packages http://url/to/apache-couchdb-VERSION.tar.gz

Packages will be placed in the pkgs/ subdirectory.

Building snaps

Prerequisites

  1. Ubuntu 16.04
  2. sudo apt install snapd snapcraft

How to do it

  1. Edit snap/snapcraft.yaml to point to the correct tag (e.g. 2.1.0)
  2. snapcraft

Feedback, Issues, Contributing

General feedback is welcome at our user or developer mailing lists.

Apache CouchDB has a CONTRIBUTING file with details on how to get started with issue reporting or contributing to the upkeep of this project.