Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Create RPMs for Nouveau and extend CouchDB RPM to optionally include Nouveau

Đang mở
#142 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

@hennevogel đang làm issue này rồi.

Từ ngày 24/7/2024.

  • #143 của @hennevogel — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
erlang, java
Lĩnh vực
build-system, databases

Hướng nghiên cứu

Bắt đầu với rpm/SPECS/couchdb.spec.in quanh các dòng 99–103 và so sánh cách đóng gói Debian tương ứng trong debian. Truy vết cách RPM có thể cung cấp một gói Nouveau riêng và việc cài đặt trên cùng một máy chủ khác với việc cài đặt trên một máy chủ riêng như thế nào. Được coi là hoàn tất khi gói thông thường vẫn không thay đổi, couchdb-nouveau cài đặt Nouveau, và cấu hình local.d cùng việc reload chỉ diễn ra khi CouchDB khả dụng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The next version of CouchDB (3.4.0) will include a new component for full text search called Nouveau. Nouveau is a Java project that integrates with the rest of CouchDB which is written in Erlang.

We’d like the following scenarios to be handled:

  • A user installs the regular Apache-CouchDB-3.4.0.rpm (the real name might be different) via yum install couchdb. They are not interested in Nouveau, so nothing changes for them. However, Nouveau binaries are installed on the system (this is partially already handled: https://github.com/apache/couchdb-pkg/blob/main/rpm/SPECS/couchdb.spec.in#L99-L103)
    • Same as before, but user IS interested in Nouveau, they can run yum install couchdb-nouveau on the same server and get Apache-CouchDB-Nouveau-3.4.0.rpm installed on the same system and now the following happens:
      • the installation of Nouveau creates a new config file in the CouchDB conf.d dir at /opt/couchdb/etc/local.d/nouveau.ini
      • the installation calls the /_node/_local/_config/_reload endpoint to activate the new config file, or prompts to restart CouchDB, or directly restarts CouchDB.
  • A user wants to run Nouveau on a separate server, so the Apache-CouchDB-Nouveau-3.4.0.rpm installation should not try to augment the local.d config dir and reload CouchDB config, as it has no access to it.

—

We have this working for the Debian packages, look there for inspiration: https://github.com/apache/couchdb-pkg/tree/main/debian

Ngôn ngữ chính
Shell
Star
33
Fork
31
Merge trung bình
7 giờ 12 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/couchdb-pkg

Tất cả issue của apache/couchdb-pkg

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.