Date: Fri, 25 Dec 2020 02:46:09 +0800 From: Li-Wen Hsu <lwhsu@freebsd.org> To: Jan Beich <jbeich@freebsd.org> Cc: freebsd-git@freebsd.org Subject: Re: Cross-repo access vs. repo-dev playground Message-ID: <CAKBkRUy7tXS3KALsZa%2ByaRn%2B5ja_DFqgytoHhunQ%2BigsYU2X=g@mail.gmail.com> In-Reply-To: <7dp7-qcax-wny@FreeBSD.org> References: <czyz-ta05-wny@FreeBSD.org> <CAKBkRUzjDDNA=8DzBjTg2SbHa3%2B3g%2BBomBm8xR6fO0-uedgxAQ@mail.gmail.com> <ft3v-qcyl-wny@FreeBSD.org> <7dp7-qcax-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 25, 2020 at 2:38 AM Jan Beich <jbeich@freebsd.org> wrote: > > Jan Beich <jbeich@FreeBSD.org> writes: > > > Li-Wen Hsu <lwhsu@freebsd.org> writes: > > > >> On Fri, Dec 25, 2020 at 1:00 AM Jan Beich <jbeich@freebsd.org> 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 :-) > > > > How long to wait? I've re-cloned but still hit the same error. > > Nevermind. Worked fine just now, see https://cgit-dev.freebsd.org/doc/commit/?h=3fe83a040cae Good to know it works for you. You replied faster than me. Thanks for your report and I did find another bug in the access checker. Should be fixed now. Best, Li-Wen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUy7tXS3KALsZa%2ByaRn%2B5ja_DFqgytoHhunQ%2BigsYU2X=g>