You are not logged in.
I'm making an initial commit to the AUR for a game engine called minisphere. I am not the main developer, but he uses PPA, so I offered to submit it to the AUR, since he is not familiar with Arch Linux. Naturally, I don't have access to his GitHub credentials, but the tar.gz file in the source section is publicly available. I can copy the PKGBUILD to an empty folder and run makepkg, and it will build it correctly. On the AUR page in the wiki, I have done everything up to here, all but git push, where it asks for the credentials.
Is there anything here that might be obvious that I'm missing?
Last edited by rodaz143 (2016-03-31 08:02:56)
Offline
Offline
specific commands and output, please.
Online
First, I already have two SSH keys set up, as described in the wiki page, and configured in ~/.ssh/config. But just in case it might be useful information,
Host josh-ArchMate
IdentityFile ~/.ssh/id_rsa
User josh
Host aur.archlinux.org
IdentityFile ~/.ssh/aur_rsa
User aurAnd for the commands:
git clone git+ssh://aur@aur.archlinux.org/minisphere.git
git remote add origin git+ssh://aur@aur.archlinux.org/minisphere.git
git fetch origin
git.config user.email "...@..."
makepkg --printsrcinfo > .SRCINFO
git add PKGBUILD .SRCINFO
git commit -m "initial commit"
git pushAnd when I enter the last command, it prints out this:
[josh@josh-PC minisphere]$ git push
Username for 'https://github.com':
Password for 'https://github.com':
remote: Anonymous access to fatcerberus/minisphere.git denied.
fatal: Authentication failed for 'https://github.com/fatcerberus/minisphere/'For reference, here is my PKGBUILD: http://pastebin.com/7iU6C6Uf
Offline
The issue doesn't seem to be with AUR. It seems to be with the GitHub repository.
Edit: From within your local repo, post the output of
$ git remote -vLast edited by x33a (2016-03-31 06:54:42)
Offline
I got the link to the tar file from the repo's download page
https://github.com/fatcerberus/minisphere/releases
Offline
git clone git+ssh://aur@aur.archlinux.org/minisphere.git
git remote add origin git+ssh://aur@aur.archlinux.org/minisphere.gitIf you clone, you don't need to add the remote -- the clone creates it.
Read this part very closely................. ![]()
[josh@josh-PC minisphere]$ git push
remote: Anonymous access to fatcerberus/minisphere.git denied.
fatal: Authentication failed for 'https://github.com/fatcerberus/minisphere/'Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
So then do I have one of the fields in the PKGBUILD mixed up and as a result, it's trying to push to the Github repo instead of the AUR repo?
Offline
What is the output of `git remote -v`?
Offline
Alright. Well I went back, created a new folder, copied over the PKGBUILD and ran git init and made sure that everything else was in line. I may have mesed up somewhere and did something out of order.
Offline