Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843380 - Request for write access to proj/dotnet.git and github.com/gentoo/dotnet
Summary: Request for write access to proj/dotnet.git and github.com/gentoo/dotnet
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Gentoo Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Overlays Project
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks: 797043
  Show dependency tree
 
Reported: 2022-05-09 04:41 UTC by Arsen Shnurkov
Modified: 2022-12-14 22:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
SSH key (ArsenShnurkov.pub,800 bytes, application/vnd.ms-publisher)
2022-05-09 04:42 UTC, Arsen Shnurkov
Details
ArsenShnurkov.ssh-rsa.pub (ArsenShnurkov.ssh-rsa.pub,725 bytes, application/vnd.ms-publisher)
2022-05-09 11:54 UTC, Arsen Shnurkov
Details
invitation on github (invitation-requirements.png,29.70 KB, image/png)
2022-05-09 12:41 UTC, Arsen Shnurkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arsen Shnurkov 2022-05-09 04:41:32 UTC
I want write access to dotnet overlay, both repositories - in gentoo infrastructire https://gitweb.gentoo.org/repo/proj/dotnet.git, and on github too.

Reproducible: Always
Comment 1 Arsen Shnurkov 2022-05-09 04:42:04 UTC
Created attachment 777644 [details]
SSH key
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 05:53:47 UTC
ACK from me, but not able to process right now, someone else should feel free.

Note that we push to Gentoo servers and it then pushes to GitHub on your behalf.

(Also, a please would be nice!)
Comment 3 Arsen Shnurkov 2022-05-09 06:28:31 UTC
> we push to Gentoo servers and it then pushes to GitHub on your behalf

Please explain, how github PR workflow works. When I proposed PR to dotnet overlay, cynede accepted it, that mean it is added as an extra commit to dotnet repository on github, but not in gentoo inftastructure.

What happens next to keep reposiories identical? I suppose that someone should push changes from github to gentoo.

And also he should have permissions on github, which are dirrerent from permissions on gentoo (for accepting PR's for example)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 07:59:05 UTC
I've added (In reply to Arsen Shnurkov from comment #1)
> Created attachment 777644 [details]
> SSH key

That's PGP key, not SSH key.

You should have gotten an invite to GitHub.  I'll give you repo commit access when you attach the correct key.

You push everything to git.gentoo.org, and then GH will be updated.  The sync is one direction only, anything that happens on GH is overwritten.  You can use app-portage/pram to merge PRs easily.
Comment 5 Arsen Shnurkov 2022-05-09 11:54:05 UTC
> That's PGP key, not SSH key.

I used wrong command to extract public key:

/home/user/.ssh # openssl rsa -in ArsenShnurkov.RSA.private.key -pubout > ArsenShnurkov.pub 

Now I use another one:

$ ssh-keygen -y -f ArsenShnurkov.RSA.private.key >ArsenShnurkov.ssh-rsa.pub
Comment 6 Arsen Shnurkov 2022-05-09 11:54:26 UTC
Created attachment 777755 [details]
ArsenShnurkov.ssh-rsa.pub
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 12:09:02 UTC
Added.
Comment 8 Arsen Shnurkov 2022-05-09 12:41:18 UTC
Created attachment 777764 [details]
invitation on github
Comment 9 Arsen Shnurkov 2022-05-09 14:18:18 UTC
$ ssh git@git.gentoo.org info | grep " W"
 R W	proj/eselect-fontconfig
 R W	proj/test
 R W	repo/proj/dotnet
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 14:20:42 UTC
(In reply to Arsen Shnurkov from comment #9)
> $ ssh git@git.gentoo.org info | grep " W"
>  R W	proj/eselect-fontconfig
>  R W	proj/test
>  R W	repo/proj/dotnet

Sounds fine?