couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxepal <...@git.apache.org>
Subject [GitHub] couchdb pull request: build: pull authors out of subrepos
Date Thu, 02 Apr 2015 18:02:30 GMT
Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/312#discussion_r27681224
  
    --- Diff: build-aux/print-committerlist.sh ---
    @@ -0,0 +1,68 @@
    +#!/bin/sh
    +#
    +# Licensed under the Apache License, Version 2.0 (the "License"); you may not
    +# use this file except in compliance with the License. You may obtain a copy of
    +# the License at
    +#
    +#   http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing, software
    +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    +# License for the specific language governing permissions and limitations under
    +# the License.
    +
    +function get_contributors {
    +  local OS=`uname -s`
    +  case "$OS" in
    +  Linux|CYGWIN*) # GNU sed
    +    local SED_ERE_FLAG=-r
    +  ;;
    +  *) # BSD sed
    +    local SED_ERE_FLAG=-E
    +  ;;
    +  esac
    +
    +  local CONTRIB_EMAIL_SED_COMMAND="s/^[[:blank:]]{5}[[:digit:]]+[[:blank:]]/ * /"
    +  if [ "$1" == "couchdb-main-repo" ]
    +  then
    +    git shortlog -se 6c976bd..HEAD \
    --- End diff --
    
    Don't see a reason to not improve it if you're going to reimplement it.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message