commit | 84c30b0c0799fa35f1e5e9b90d2868c6617954c6 | [log] [tgz] |
---|---|---|
author | Joan Touzet <wohali@apache.org> | Thu Jul 27 16:00:39 2017 -0700 |
committer | Joan Touzet <wohali@apache.org> | Thu Jul 27 16:00:39 2017 -0700 |
tree | 71eb44ce06ed1bbad7ab9643320205ef7f2627c9 | |
parent | 9aec799fc31c4f8c8c006286aa7404900511d0d3 [diff] |
Refine snap build process
Quickstart:
$ cd .. && git clone https://github.com/apache/couchdb $ cd couchdb-pkg && make build-couch $(lsb_release -cs) PLATFORM=$(lsb_release -cs)
docker run
.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.
sudo apt install snapd snapcraft
snap/snapcraft.yaml
to point to the correct tag (e.g. 2.1.0
)snapcraft
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.