# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you 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.

github:
  description: "Apache Calcite"
  homepage: https://calcite.apache.org/
  features:
    wiki: false
    issues: false
    projects: false
  enabled_merge_buttons:
    squash:  false
    merge:   false
    rebase:  true
notifications:
    commits:      commits@calcite.apache.org
    issues:       issues@calcite.apache.org
    pullrequests: commits@calcite.apache.org
    jira_options: link label worklog

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you 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.

github:
  description: "Apache Calcite"
  homepage: https://calcite.apache.org/
  features:
    wiki: false
    issues: false
    projects: false
  enabled_merge_buttons:
    # "squash and merge" replaces committer with noreply@github, and we don't want that
    # See https://lists.apache.org/thread/vxxpt1x316kjryb4dptsbs95p66d9xrv
    squash:  false
    # We prefer linear history, so creating merge commits is disabled in UI
    merge:   false
    rebase:  true
notifications:
    commits:      commits@calcite.apache.org
    issues:       issues@calcite.apache.org
    pullrequests: commits@calcite.apache.org
    jira_options: link label worklog

Clarify why squash commits option in GitHub PR merge is disabled
Clarify why squash commits option in GitHub PR merge is disabled

Unfortunately, the button loses committer info as follows (it uses GitHub noreply for committer):

commit a8e50734e0460e506f1762fbe0f628bcb444b8f5
Author: Denys Kuzmenko <a0bf4f6187192d623f0786ad9347ae3b40728856@cloudera.com>
AuthorDate: Tue Nov 30 10:09:06 2021 +0200
Commit: GitHub <4db5e3740c4f06f2f21e0c1d334626a43a7ebb46@github.com>
CommitDate: Tue Nov 30 09:09:06 2021 +0100
