Enable to create PR

Mark Wielaard mark@klomp.org
Wed Nov 6 21:20:30 GMT 2024


Hi François,

On Wed, Nov 06, 2024 at 09:10:23PM +0100, François Dumont wrote:
> Now that I'm a member of gcc Devs group I tried to create a PR.

Note that you don't need to be a team member to create a pull
request. But if you are one, you can approve a pull request.

> I first created a fork of gcc/gcc-mirror as fdumont/gcc-TEST. But
> trying to move ownership to gcc org failed as this repo already
> exists. I don't have to do it again, right ?

Ah, that is a little confusing indeed. The gcc/gcc-mirror can be
forked, but cannot receive any pull requests (because it is an
automatic mirror).

What you want to do is fork gcc/gcc-TEST, which is a fork of
gcc-mirror itself. But can receive pull requests.

> Now I pushed my branch into gcc/gcc-TEST: https://forge.sourceware.org/gcc/gcc-TEST/src/branch/version_ns_cxx11_abi.
> 
> When I try to create a PR from it I have:
> 
> ! Network error SyntaxError: JSON.parse: unexpected character at
> line 1 column 1 of the JSON data

How did you create the PR? Where does this error show?

> I tried numerous times modifying PR label or description and I have
> always the same result. And I'm not using any French in it !
> 
> Does it mean that I do not have necessary rights ?

I think it is just that you started out with the "wrong" fork.  I
would delete your fork of the gcc/gcc-mirror repo and start fresh with
a fork of the gcc/gcc-TEST repo.

Cheers,

Mark


More information about the Forge mailing list