Open sonuishaq67 opened 3 years ago
ok I run this:
git clone git clone ssh://aur@aur.archlinux.org/deskreen.git
here is the output:
Cloning into 'deskreen'...
The authenticity of host 'aur.archlinux.org (95.216.144.15)' can't be established.
ECDSA key fingerprint is SHA256:uTa/0PndEgPZTf76e1DFqXKJEXKsn7m9ivhLQtzGOCI.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Warning: Permanently added 'aur.archlinux.org,95.216.144.15' (ECDSA) to the list of known hosts.
aur@aur.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.
If you have a link to short and concise instructions on how to create aur key and manage it for our github workflow purposes, I'll go through it and will add a github workflow AUR_PRIVATE_KEY secret then. I did add a public key for my aur account when I was creating it and in AUR_PRIVATE_KEY secret of this project, I added a secret key of that aur key pair
I'll try to google on how to add a key correctly. And in case any failures happen again with post release action, I think it is wise to add an "on" directive in workflow to trigger this action manually in actions panel of this project.
aur@aur.archlinux.org: Permission denied (publickey).
chmod +400 {privatekey}
this is the authentication https://wiki.archlinux.org/index.php/AUR_submission_guidelines#Authentication for aur your private key will be in .ssh/aur if you follow the same instructions
and then try to clone it if it works yay @pavlobu
ok I cloned repo successfully. Changes I made: added email in the end of public key of public key field in SSH (for some reason it was missing) also added this in ~/.ssh/config:
Host aur.archlinux.org IdentityFile ~/.ssh/arch-aur-my User aur
then ran this:
git clone ssh://aur@aur.archlinux.org/deskreen.git
and here is the output:
Cloning into 'deskreen'...
remote: Enumerating objects: 80, done.
remote: Counting objects: 100% (80/80), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 80 (delta 30), reused 63 (delta 18), pack-reused 0
Receiving objects: 100% (80/80), 16.82 KiB | 3.36 MiB/s, done.
Resolving deltas: 100% (30/30), done.
deskreen folder is created with PKGBUILD
and deskreen.desktop
files in it
does it mean it works now? I'll try to trigger GH workflow manually then
yes it works now
there was no mistake in aur private key in secrets?
@sonuishaq67 sorry for delay in response. Seems our github action workflow is not working properly for creating package on AUR https://github.com/pavlobu/deskreen/runs/6684942679?check_suite_focus=true
Do you happen to know what is the problem?
Hey @pavlobu can you check if your host key is right by cloning this on your personal computer
git clone ssh://aur@aur.archlinux.org/deskreen.git