From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 48CEB1F4C0 for ; Thu, 24 Oct 2019 19:39:40 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=F2Z kPM4heSkwJeVJ5Yfa9bsqN07bwuHabi1Z+aClzIUjn8pXtBhwpQjba0fZaLPbcIB ZumbHYVh1YAnBQdkLbfKqB1AfC9LgjuJoS+MPTQjWFFVheuQvWQBSL20Gs5nfFPc OTJT8rVv7jEWyaElynDWgZ3q9Nq2wxbxT3lUeexA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=vo1lYPdQj 7w/bc2hsiAf/kNlUxE=; b=GEy8KQSQdJJcTOMDCqkC1M9cblaSzNYKDJ/xJlSh2 9TVlU3cBN5WYjw3zYttdWzeSQlA61kptaxEBvX3ni2/ezD8m8hqZCpOFqiwyemRo sUNuQfMdLeZLGt80H5gdzNFoKmgAiwhzonv9tX4o35lBvcgt2Rsci9eaFS8D8xFB x4= Received: (qmail 20551 invoked by alias); 24 Oct 2019 19:39:37 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 20532 invoked by uid 89); 24 Oct 2019 19:39:37 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571945974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uV24O08fgBqYVOJRNttDxfcAPMThW2Qz4K03yARh97w=; b=Wgtitt6FP14aLYOx5lJs8dfJ5LsV0JvQpUPvf2ch/WQWWpOSYWpC04aG6auJWLAz8X1tF1 WmCtvW/PZEp7ihAa8ScgZBvbJ68bjxmNpi1x6Ntt2IEC3gm5B3cbJI4IajRH+7wQdApRJO F1kM2ke3Za4Bzruhm4mWpqdXvP7ZLt8= To: libc-alpha From: Carlos O'Donell Subject: Setup non-pushing gerrit instance for glibc. Message-ID: <2e93ece9-386b-c587-9355-33a4695a3f02@redhat.com> Date: Thu, 24 Oct 2019 15:39:29 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Community, With the gracious help of Sergio and Simon I have setup a glibc mirror on a gerrit instance that *cannot* push to sourceware git. e.g. git clone ssh://codonell@gnutoolchain-gerrit.osci.io:29418/glibc < Commit some work > # First time only, you need a hook to inject commit IDs for tracking. gitdir=3D$(git rev-parse --git-dir); scp -p -P 29418 codonell@gnutoolchain-= gerrit.osci.io:hooks/commit-msg ${gitdir}/hooks/ git commit --amend --no-edit ### git push origin HEAD:refs/for/master The "refs/for/master" is the way to push commits to be applied to master. --- The purpose of this is to: * Try out code reviews / CI etc. in gerrit. - Code review of patches pushed to gerrit is possible. * Try to setup email based code review in gerrit. - Currently email is outbound only. - We are looking at how to make it entirely email based, but tracked in gerrit. Enjoy! :-) --=20 Cheers, Carlos.