Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B448176CC for ; Tue, 10 Mar 2015 20:30:37 +0000 (UTC) Received: (qmail 28869 invoked by uid 500); 10 Mar 2015 20:29:38 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 28793 invoked by uid 500); 10 Mar 2015 20:29:38 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 28781 invoked by uid 99); 10 Mar 2015 20:29:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 20:29:38 +0000 Date: Tue, 10 Mar 2015 20:29:38 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-2635) Replace hardcoded list of systems dbs with registration approach MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14355631#comment-14355631 ] Alexander Shorin commented on COUCHDB-2635: ------------------------------------------- The problem is that to add one more system database you have to edit couch_db.hrl (now, but was couch_db.erl) to add it into special list which allows to apply some special hooks and bypass database validation name in order to create it. This getting worse since fabric have to duplicate a part of this logic in his own code. > Replace hardcoded list of systems dbs with registration approach > ---------------------------------------------------------------- > > Key: COUCHDB-2635 > URL: https://issues.apache.org/jira/browse/COUCHDB-2635 > Project: CouchDB > Issue Type: Improvement > Security Level: public(Regular issues) > Reporter: ILYA > Assignee: ILYA > > To replace this https://github.com/apache/couchdb-couch/blob/master/include/couch_db.hrl#L43:L49 -- This message was sent by Atlassian JIRA (v6.3.4#6332)