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:10:40 UTC
(couchdb-pkg) branch dev-repo-docs updated (a58bb84 -> fac3b35)
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
discard a58bb84 Document couch-dev-{deb,rpm} repos
new fac3b35 Document couch-dev-{deb,rpm} repos
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (a58bb84)
\
N -- N -- N refs/heads/dev-repo-docs (fac3b35)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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.
Summary of changes:
README.md | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
(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 fac3b35d3bc6acbc8d500b290232884da495e3cd
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 | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/README.md b/README.md
index 639ed20..7cf7bce 100644
--- a/README.md
+++ b/README.md
@@ -112,6 +112,75 @@ Or, for the SpiderMonkey packages:
-----
+# Upload Dev Packages
+
+`couch-dev-deb` and `couch-dev-rpm` are dev repos which can be used
+for pre-release or testing of packages.
+
+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 packages, edit build.sh temporary to remove some of these variables:
+```
+DEBIANS="..."
+UBUNTUS="..."
+CENTOSES="..."
+XPLAT_BASES="..."
+XPLAT_ARCHES="..."
+```
+
+# Install Dev Packages
+
+## Deb 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 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).