You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2024/09/18 23:06:51 UTC
(couchdb-pkg) branch dev-repo-docs created (now a58bb84)
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a change to branch dev-repo-docs
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git
at a58bb84 Document couch-dev-{deb,rpm} repos
This branch includes the following new commits:
new a58bb84 Document couch-dev-{deb,rpm} repos
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(couchdb-pkg) 01/01: Document couch-dev-{deb,rpm} repos
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch dev-repo-docs
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git
commit a58bb844adab59f2cca90df2089e2c4ab682e4a7
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Wed Sep 18 19:05:06 2024 -0400
Document couch-dev-{deb,rpm} repos
Document how to upload to and use couch-dev repos.
---
README.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/README.md b/README.md
index 639ed20..c51d1c2 100644
--- a/README.md
+++ b/README.md
@@ -112,6 +112,77 @@ Or, for the SpiderMonkey packages:
-----
+# Upload Dev Packages
+
+There are two dev/test repos in JFrog that be used for pre-release or testing packages.
+
+ * couch-dev-deb
+ * couch-dev-rpm
+
+To upload packages to the dev repository:
+
+ ./build.sh couch-dev-upload-all path/to/apache-couchdb-VERSION.tar.gz
+
+To upload only a subset of package, edit build.sh temporary to remove some of these variables:
+```
+DEBIANS="..."
+UBUNTUS="..."
+CENTOSES="..."
+XPLAT_BASES="..."
+XPLAT_ARCHES="..."
+```
+
+# Use Dev Packages
+
+## Deb Dev Packages
+
+```
+sudo apt update && sudo apt install -y curl apt-transport-https gnupg
+curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
+source /etc/os-release
+echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couch-dev-deb/ ${VERSION_CODENAME} main" \
+ | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
+```
+
+## RPM Dev Packages
+
+### RHEL/AlmaLinux/RockyLinux 8
+
+```
+sudo dnf install -y yum-utils
+sudo yum-config-manager --add-repo https://apache.jfrog.io/artifactory/couchdb/couchdev.repo
+sudo dnf install -y couchdb
+```
+
+### RHEL/AlmaLinux/RockyLinux 9
+
+```
+sudo dnf install -y yum-utils
+sudo yum-config-manager --add-repo https://apache.jfrog.io/artifactory/couchdb/couchdev.repo
+sudo dnf config-manager --set-enabled crb
+sudo dnf install epel-release epel-next-release
+sudo dnf install -y mozjs78
+sudo dnf install -y couchdb
+```
+
+### Enable Nouveau
+
+To try out Nouveau, install Java:
+
+1. Use `COUCHDB_NOUVEAU_ENABLE=1` when installing the couchdb package.
+ That enables the `nouveau` config setting
+
+2. Install Java 11+:
+```
+ sudo dnf install java-21-openjdk-headless
+```
+
+3. Start the service:
+```
+ sudo service start couchdb
+```
+
+
# Snap packages
See [README-SNAP.md](README-SNAP.md).