From owner-freebsd-git@freebsd.org Thu Dec 24 17:43:06 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7A144CBBCB for ; Thu, 24 Dec 2020 17:43:06 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D1y8p5J9sz4pgb; Thu, 24 Dec 2020 17:43:06 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com [209.85.219.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: lwhsu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A92F43C22; Thu, 24 Dec 2020 17:43:06 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by mail-yb1-f170.google.com with SMTP id v67so2768867ybi.1; Thu, 24 Dec 2020 09:43:06 -0800 (PST) X-Gm-Message-State: AOAM532YZY6oLENeaTrwU9TauXQ5SGw3InMbf9KQGLv3sabPKIhf2CD0 AFwomEpLrw8UjVlFTAR+mQPWOlkNuxtTvPC4wLU= X-Google-Smtp-Source: ABdhPJy/u2c9R7UFxdO4hJKBd6/naIoJfkNov6n6GnBsY1i8o0AqOvx0ZhF6xLz1/g+y1n9y/JGMWgOrUyzXNIyvC7Q= X-Received: by 2002:a25:c107:: with SMTP id r7mr33143488ybf.492.1608831786047; Thu, 24 Dec 2020 09:43:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Li-Wen Hsu Date: Fri, 25 Dec 2020 01:42:54 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Cross-repo access vs. repo-dev playground To: Jan Beich Cc: freebsd-git@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2020 17:43:06 -0000 On Fri, Dec 25, 2020 at 1:00 AM Jan Beich wrote: > > Having only ports/ bit it seems my ~/.gitconfig is correct, so > I've pushed https://cgit-dev.freebsd.org/ports/commit/?h=57b1cfb8f79b > but pushing to other *-dev repos fails. > > Am I missing something? > > $ cd /path/to/freebsd-doc > $ ee share/pgpkeys/jbeich.key > $ git commit -m "pgpkeys: update my key" !$ > $ git push freebsd > FATAL -- ACCESS DENIED > Repo doc > User jbeich > Stage Before git was called > Operation Repo write > > FATAL: W any doc jbeich DENIED by fallthru > (or you mis-spelled the reponame) > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > > $ git remote -v > freebsd git@repo-dev.FreeBSD.org:doc.git (fetch) > freebsd git@repo-dev.FreeBSD.org:doc.git (push) > origin https://git.FreeBSD.org/doc.git (fetch) > origin https://git.FreeBSD.org/doc.git (push) Cross repo commit should be accepted as it is before. I suspect this is some timing issue when I was testing configuration of the staging (-dev) environment. Please try again and see if it still has issues. (I have src and ports bits, but I did push to doc repo as the first git commit :-) Best, Li-Wen