Re: [aur-general] git push failed 8-(

2020-01-30 Thread Lukas Fleischer via aur-general
On Thu, 30 Jan 2020 at 13:34:41, J. Scheurich wrote:
> $ git clone ssh://a...@archlinux.org/white_dune.git

It's a...@aur.archlinux.org, not a...@archlinux.org.


Re: [aur-general] git push failed 8-(

2020-01-30 Thread J. Scheurich

Hi,


The general form of the ssh URI for aur packages is

ssh://a...@archlinux.org/insert-pkgbase-value.git


Try changing the remotes on your local repo to the ssh:// URIs, then
try pushing again.



There is a problem wth the ssh URI:

$ git clone ssh://a...@archlinux.org/white_dune.git
Cloning into 'white_dune'...
a...@archlinux.org: Permission denied (publickey).
fatal: Could not read from remote repository.

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

I updated the AUR account with $HOME/.ssh/aur.pub

What to do ?

so long
MUFTI


Re: [aur-general] git push failed 8-(

2020-01-30 Thread Lone_Wolf



On 30-01-2020 10:48, J. Scheurich wrote:



But "git push" fails with:

$ git push
fatal: unable to access 'https://aur.archlinux.org/white_dune.git/': 
The

requested URL returned error: 403


| run *git remote -v* from the folder you have the local copy and post
the output..

$ git remote -v

origin    https://aur.archlinux.org/white_dune.git (fetch)

origin    https://aur.archlinux.org/white_dune.git (push)

| the https link is read-only, you can't push to it.

What is the read/write https-link for white_dune ?

https://aur.archlinux.org/packages/white_dune/

so long

MUFTI



For an existing aur package you are (co-)maintainer :

go the aur page for the package and login .

You'll see *two* URIs : one starting with https and another starting 
with ssh .


The ssh URI is the one package maintainers use and allows pushing.


The general form of the ssh URI for aur packages is

ssh://a...@archlinux.org/insert-pkgbase-value.git


Try changing the remotes on your local repo to the ssh:// URIs, then try 
pushing again.



LW


Re: [aur-general] git push failed 8-(

2020-01-30 Thread J. Scheurich




But "git push" fails with:

$ git push
fatal: unable to access 'https://aur.archlinux.org/white_dune.git/': The
requested URL returned error: 403


| run *git remote -v* from the folder you have the local copy and post
the output..

$ git remote -v

origin    https://aur.archlinux.org/white_dune.git (fetch)

origin    https://aur.archlinux.org/white_dune.git (push)

| the https link is read-only, you can't push to it.

What is the read/write https-link for white_dune ?

https://aur.archlinux.org/packages/white_dune/

so long

MUFTI


Re: [aur-general] git push failed 8-(

2020-01-30 Thread Lone_Wolf



On 30-01-2020 10:23, J. Scheurich wrote:

Hi,

I used git add/git commit as usual.

But "git push" fails with:

$ git push
fatal: unable to access 'https://aur.archlinux.org/white_dune.git/': The
requested URL returned error: 403


any idears ?

so long
MUFTI


the https link is read-only, you can't push to it.

run *git remote -v* from the folder you have the local copy and post the 
output..


for reference here's the output for my local repo of my aur mesa-git 
package.


$ git remote -v
origin  ssh://a...@aur.archlinux.org/mesa-git.git (fetch)
origin  ssh://a...@aur.archlinux.org/mesa-git.git (push)
$


Lone_Wolf