Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-9021

Issue when migrate code from github.com to Apache Git

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: Jan 2015
    • Component/s: None
    • Labels:
      None

      Description

      There's issue blocked to migrate code (with all history) to Apache Git: 'failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/incubator-kylin.git'

      I have cleaned up all content/branch from Apache git but still not work yet.
      The reason maybe there are several commits already in Apache Git already.

      Could you please help to check is there anything wrong on sever side,
      Or, just help to reset Kylin's Apache Git ()?

      Thanks


      ====Logs====
      >git clone git@github.com:KylinOLAP/Kylin.git --bare
      >git remote add apache https://git-wip-us.apache.org/repos/asf/incubator-kylin.git
      >git push apache -f --mirror
      Counting objects: 27038, done.
      Delta compression using up to 4 threads.
      Compressing objects: 100% (8428/8428), done.
      Writing objects: 100% (27038/27038), 60.85 MiB | 235.00 KiB/s, done.
      Total 27038 (delta 13128), reused 27038 (delta 13128)
      remote: Error: Command 'git merge-base 5f47109bb3f61588abed60297718ed2a766a5db1 494f47234a6db95ecd52594c39167f83b69866e9' returned non-zero exit status 1
      To https://git-wip-us.apache.org/repos/asf/incubator-kylin.git
       ! [remote rejected] gh-pages (pre-receive hook declined)
       ! [remote rejected] master -> master (pre-receive hook declined)
       ! [remote rejected] inverted-index -> inverted-index (pre-receive hook declined)
       ! [remote rejected] staging -> staging (pre-receive hook declined)
       ! [remote rejected] kylin-0.6.3 -> kylin-0.6.3 (pre-receive hook declined)
       ! [remote rejected] v0.6.1 -> v0.6.1 (pre-receive hook declined)
       ! [remote rejected] v0.6.1_mysql_auth -> v0.6.1_mysql_auth (pre-receive hook declined)
       ! [remote rejected] v0.6.2 -> v0.6.2 (pre-receive hook declined)
       ! [remote rejected] v0.6.4 -> v0.6.4 (pre-receive hook declined)
      error: failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/incubator-kylin.git'


      >git remote -v
      apache https://git-wip-us.apache.org/repos/asf/incubator-kylin.git (fetch)
      apache https://git-wip-us.apache.org/repos/asf/incubator-kylin.git (push)
      origin git@github.com:KylinOLAP/Kylin.git (fetch)
      origin git@github.com:KylinOLAP/Kylin.git (push)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lukehan Luke Han
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: