GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-fabric/pull/45

    Use couch_db:dbname_suffix in path_ends_with

    Replace couch_db:normalize_dbname with couch_db:dbname_suffix since the
    semantic of normalize_dbname has been changed. couch_db:normalize_dbname
    would return all components of the path with shard info removed from it.
    couch_db:dbname_suffix on the other hand would return the last component
    of the path. It would also ensure that shard's suffix is removed from
    the result.
    
    This PR depends on https://github.com/apache/couchdb-couch/pull/160
    
    COUCHDB-2983

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-fabric 
2983-fix-path-ends-with

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fabric/pull/45.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #45
    
----
commit a7fc5e78a5b88deb8412e1fb8230b9b6c314acff
Author: ILYA Khlopotov <[email protected]>
Date:   2016-04-08T17:18:42Z

    Use couch_db:dbname_suffix in path_ends_with
    
    Replace couch_db:normalize_dbname with couch_db:dbname_suffix since the
    semantic of normalize_dbname has been changed. couch_db:normalize_dbname
    would return all components of the path with shard info removed from it.
    couch_db:dbname_suffix on the other hand would return the last component
    of the path. It would also ensure that shard's suffix is removed from
    the result.
    
    COUCHDB-2983

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to