configs/vcs_sync/gecko-git.py
author Justin Wood <Callek@gmail.com>
Thu, 17 Oct 2013 12:38:17 -0400
branchproduction
changeset 1994 4c9d5de35fa9
parent 1988 5db3cb3f5159
child 2002 3a2d7e2f5074
permissions -rw-r--r--
merge default->production

$ hg merge -r default -P
changeset: 1988:5db3cb3f5159
parent: 1986:7d01a30fbbd9
user: Aki Sasaki <asasaki@mozilla.com>
date: Tue Oct 15 13:24:13 2013 -0700
summary: No bug - comments to specify what repos the vcs_sync config files are for. r=hwine

changeset: 1990:0e6383dc751f
parent: 1988:5db3cb3f5159
user: kmoir@mozilla.com
date: Wed Oct 16 08:48:58 2013 -0400
summary: Bug 926991 - split robocop (rc) into 4 chunks r=jlund

changeset: 1991:646e52346be8
user: Andrew Halberstadt <ahalberstadt@mozilla.com>
date: Wed Oct 16 10:23:05 2013 -0400
summary: Bug 925723 - update manifest used by b2g desktop mochitests, r=jgriffin

changeset: 1992:283c75b9580f
user: Andrew Halberstadt <ahalberstadt@mozilla.com>
date: Wed Oct 16 13:33:06 2013 -0400
summary: Bug 927434 - Append symbols_path to b2g desktop mochitest options, r=jgriffin


changeset: 1993:7a1030923e61
tag: tip
user: Aki Sasaki <asasaki@mozilla.com>
date: Wed Oct 16 19:50:28 2013 -0700
summary: No bug - cleanup of personal configs only. r=stamp
# This is for gecko.git, which is a partner-oriented repo with
# B2G release branches + tags.

import os
import socket
hostname = socket.gethostname()

CVS_MANIFEST = """[{
"size": 1301484692,
"digest": "89df462d8d20f54402caaaa4e3c10aa54902a1d7196cdf86b7790b76e62d302ade3102dc3f7da4145dd832e6938b0472370ce6a321e0b3bcf0ad050937bd0e9a",
"algorithm": "sha512",
"filename": "mozilla-cvs-history.tar.bz2"
}]
"""

config = {
    "log_name": "gecko-git",
    "log_max_rotate": 99,
    "repos": [{
        "repo": "https://hg.mozilla.org/users/hwine_mozilla.com/repo-sync-tools",
        "vcs": "hg",
    }],
    "job_name": "gecko-git",
    "conversion_dir": "gecko-git",
    "initial_repo": {
        "repo": "https://hg.mozilla.org/mozilla-central",
        "revision": "default",
        "repo_name": "mozilla-central",
        "targets": [{
            "target_dest": "gecko-git/.git",
            "vcs": "git",
            "test_push": True,
        }, {
            "target_dest": "github-gecko-git",
            "vcs": "git",
        }],
        "bare_checkout": True,
        "vcs": "hg",
        "branch_config": {
            "branches": {
                "default": "master",
            },
        },
    },
    "backup_dir": "/mnt/netapp/github_sync/aki/%s" % hostname,
    "cvs_manifest": CVS_MANIFEST,
    "tooltool_servers": ["http://runtime-binaries.pvt.build.mozilla.org/tooltool/"],
    "cvs_history_tarball": "/home/asasaki/mozilla-cvs-history.tar.bz2",
    "env": {
        "PATH": "%(PATH)s:/usr/libexec/git-core",
    },
    "conversion_repos": [{
        "repo": "https://hg.mozilla.org/releases/mozilla-aurora",
        "revision": "default",
        "repo_name": "mozilla-aurora",
        "targets": [{
            "target_dest": "gecko-git/.git",
            "vcs": "git",
            "test_push": True,
        }, {
            "target_dest": "github-gecko-git",
            "vcs": "git",
        }],
        "bare_checkout": True,
        "vcs": "hg",
        "branch_config": {
            "branches": {
                "default": "v1.2",
            },
        },
        "tag_config": {
            "tag_regexes": [
                "^B2G_",
            ],
        },
    }, {
        "repo": "https://hg.mozilla.org/releases/mozilla-b2g18",
        "revision": "default",
        "repo_name": "mozilla-b2g18",
        "targets": [{
            "target_dest": "gecko-git/.git",
            "vcs": "git",
            "test_push": True,
            "tag_config": {
                "tags": {'*': '*'},
            },
        }, {
            "target_dest": "github-gecko-git",
            "vcs": "git",
            "tag_config": {
                "tag_regexes": [
                    "^B2G_",
                ],
            },
        }],
        "bare_checkout": True,
        "vcs": "hg",
        "branch_config": {
            "branches": {
                "default": "gecko-18",
            },
        },
        "tag_config": {
            "tag_regexes": [
                "^B2G_",
            ],
        },
    }, {
        "repo": "https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd",
        "revision": "default",
        "repo_name": "mozilla-b2g18_v1_1_0_hd",
        "targets": [{
            "target_dest": "gecko-git/.git",
            "vcs": "git",
            "test_push": True,
        }, {
            "target_dest": "github-gecko-git",
            "vcs": "git",
        }],
        "bare_checkout": True,
        "vcs": "hg",
        "branch_config": {
            "branches": {
                "default": "v1.1.0hd",
            },
        },
        "tag_config": {
            "tag_regexes": [
                "^B2G_",
            ],
        },
    }, {
        "repo": "https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1",
        "revision": "default",
        "repo_name": "mozilla-b2g18_v1_0_1",
        "targets": [{
            "target_dest": "gecko-git/.git",
            "vcs": "git",
            "test_push": True,
        }, {
            "target_dest": "github-gecko-git",
            "vcs": "git",
        }],
        "bare_checkout": True,
        "vcs": "hg",
        "branch_config": {
            "branches": {
                "default": "v1.0.1",
            },
        },
        "tag_config": {
            "tag_regexes": [
                "^B2G_",
            ],
        },
    }, {
        "repo": "https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_0",
        "revision": "default",
        "repo_name": "mozilla-b2g18_v1_0_0",
        "targets": [{
            "target_dest": "gecko-git/.git",
            "vcs": "git",
            "test_push": True,
        }, {
            "target_dest": "github-gecko-git",
            "vcs": "git",
        }],
        "bare_checkout": True,
        "vcs": "hg",
        "branch_config": {
            "branches": {
                "default": "v1.0.0",
            },
        },
        "tag_config": {
            "tag_regexes": [
                "^B2G_",
            ],
        },
    }],
    "remote_targets": {
        "github-gecko-git": {
            "repo": "git@github.com:escapewindow/test-gecko-git.git",
            "ssh_key": "~/.ssh/escapewindow_github_rsa",
            "vcs": "git",
        },
    },

    "exes": {
        # bug 828140 - shut https warnings up.
        # http://kiln.stackexchange.com/questions/2816/mercurial-certificate-warning-certificate-not-verified-web-cacerts
        "hg": [os.path.join(os.getcwd(), "build", "venv", "bin", "hg"), "--config", "web.cacerts=/etc/pki/tls/certs/ca-bundle.crt"],
        "tooltool.py": [
            os.path.join(os.getcwd(), "build", "venv", "bin", "python"),
            os.path.join(os.getcwd(), "mozharness", "external_tools", "tooltool.py"),
        ],
    },

    "virtualenv_modules": [
        "bottle==0.11.6",
        "dulwich==0.9.0",
        "ordereddict==1.1",
        "hg-git==0.4.0-moz2",
        "mapper==0.1",
        "mercurial==2.6.3",
        "mozfile==0.9",
        "mozinfo==0.5",
        "mozprocess==0.11",
    ],
    "find_links": [
        "http://pypi.pvt.build.mozilla.org/pub",
        "http://pypi.pub.build.mozilla.org/pub",
    ],
    "pip_index": False,

    "upload_config": [{
        "ssh_key": "~/.ssh/id_rsa",
        "ssh_user": "asasaki",
        "remote_host": "github-sync2",
        "remote_path": "/home/asasaki/upload/gecko-git-upload",
    }],

    "default_notify_from": "vcs2vcs@%s" % hostname,
    "notify_config": [{
        "to": "aki@mozilla.com",
        "failure_only": False,
        "skip_empty_messages": True,
    }],

    # Disallow sharing.  We may need a better way of doing this.
    "vcs_share_base": None,
    "hg_share_base": None,
}