Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822099 - Gasparotto Mattia: Access GURU request (ERROR)
Summary: Gasparotto Mattia: Access GURU request (ERROR)
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Access requests (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project: Gentoo devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-06 11:30 UTC by Mattia Gasparotto
Modified: 2021-11-07 14:29 UTC (History)
0 users

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


Attachments
.git/config file (config,420 bytes, text/plain)
2021-11-07 07:29 UTC, Mattia Gasparotto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mattia Gasparotto 2021-11-06 11:30:38 UTC
After five days the adding of myself in GURU repository (https://bugs.gentoo.org/821205) I still can't commit to the 'dev' branch of the repository:
mattia@gentoo ~> git pull --rebase && git push
Enter passphrase for key '/home/mattia/.ssh/id_rsa': 

Current branch dev is up to date.
Enter passphrase for key '/home/mattia/.ssh/id_rsa': 
ERROR: Permission to gentoo/guru.git denied to MattiaG-afk.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

If necessary, I have rewritten the contents of the original message below.
Comment 1 Mattia Gasparotto 2021-11-06 11:31:37 UTC
(In reply to Mattia Gasparotto from comment #0)
> After five days the adding of myself in GURU repository
> (https://bugs.gentoo.org/821205) I still can't commit to the 'dev' branch of
> the repository:
> mattia@gentoo ~> git pull --rebase && git push
> Enter passphrase for key '/home/mattia/.ssh/id_rsa': 
> 
> Current branch dev is up to date.
> Enter passphrase for key '/home/mattia/.ssh/id_rsa': 
> ERROR: Permission to gentoo/guru.git denied to MattiaG-afk.
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> 
> If necessary, I have rewritten the contents of the original message below.

Hello I'm Mattia Gasparotto. I am an italian student of electronics, like programming microcontrollers. Besides this, as a hobby, I study computer science, for example Python and Linux.

I agree to the policy of Gentoo GURU Project:
The purpose of GURU project is to maintain a repository that can be reasonably used by Gentoo users. All contributors are responsible for ensuring that the repository is safe to use and free of malicious or severely buggy software.
GURU is an official Gentoo project, and is therefore bound by the official Gentoo policies. In particular, the Copyright Policy (GLEP 76) is binding to all committers.
While following Gentoo ebuild policies and quality standards is recommended, it will not be strictly enforced. More experienced users are encouraged to improve the quality of ebuilds in GURU, and less experienced users are encouraged to learn from those corrections.
Packages in GURU are to have ~arch keywords. Stable keywords must not be used.
Packages in GURU are community maintained. While users are encouraged to list themselves as maintainers and take explicit responsibility for their packages, it is acceptable for others to commit improvements to those packages and to commit packages without an explicit maintainer.
At the same time, users are asked to maintain respectful and professional behavior, and to attempt to maintain a good quality of GURU overall.
The primary purpose of GURU is to maintain packages not present in the Gentoo repository. Forking (overriding) actively maintained Gentoo packages into GURU is prohibited. If the package is moved to Gentoo, it should be removed from GURU.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDAUsav87mXAKYVXsPapidUmXTdEcQv6HB1fF/5ifj3jR7+iuwJmO7B5+ClKQSzUFkqJbksNi7785b5LTWByL6vbkApgPMJmXGqRJ1bzBhTLJHMJuOf8wysB7SAc+qfRXlItdKRwRfXybYU2MIbZbeuGI13IREPy2Vn8Q+ihnBb6IeImHngRoDl8iVrjanqlsDEpjCWZZbWgqhs4Nm9CwgYoZIJpc0Ach6OyfWxL34OdYytyi6UeSTZFZvwJivM+BOyW46Adb3j5zY9ADihZZVycdyOhUGXZGyDnu9JLK/jGWtzPt6nu385RL5i/yVYtZy36KQNcK9+i6Ftkoa/b+dDRBOXtDkLKjUMp3d53ipcMXN7xNFUj41kstZUyRrfFUbqa8uU7SJ8k/AqJVerXxOTQOLIJ9g/mk9MytZMyz3lVylH3kkSt+2whkftqNAlyenbEXrLGGgUKwg7f2J5Q3NpZbTVo3fYcw7AbWnqFJV8afA3naAtVeB+imG/1LgdIkU= mattia@gentoo
Comment 2 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2021-11-06 11:35:41 UTC
Could you please attach the .git/config file inside your local guru repository?

I suspect you are using the incorrect repository URL. It should be:
git+ssh://git@git.gentoo.org/repo/proj/guru.git
Comment 3 Mattia Gasparotto 2021-11-07 07:29:01 UTC
Created attachment 749247 [details]
.git/config file

For repository setup I followed this guide: https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-07 07:29:53 UTC
(In reply to Mattia Gasparotto from comment #3)
> Created attachment 749247 [details]
> .git/config file
> 
> For repository setup I followed this guide:
> https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors

Aha!

You cannot push to GitHub:
>url = git@github.com:gentoo/guru.git

You must push to the URL Arthur gave. Notice how you cloned from a different place.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-07 07:30:04 UTC
(In reply to Sam James from comment #4)
> (In reply to Mattia Gasparotto from comment #3)
> > Created attachment 749247 [details]
> > .git/config file
> > 
> > For repository setup I followed this guide:
> > https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors
> 
> Aha!
> 
> You cannot push to GitHub:
> >url = git@github.com:gentoo/guru.git
> 
> You must push to the URL Arthur gave. Notice how you cloned from a different
> place.

You can fix this with 'git config' or just modify the URL manually.
Comment 6 Mattia Gasparotto 2021-11-07 09:19:19 UTC
Thank you very much for the help. Should this https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors wiki page need a change when cloning the repository ('git clone -b dev git@git.gentoo.org:repo/proj/guru.git' -> 'git clone -b dev git+ssh://git@git.gentoo.org/repo/proj/guru.git')