Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't clone submodule arch #9

Closed
charlie89 opened this issue Jul 8, 2023 · 5 comments
Closed

Can't clone submodule arch #9

charlie89 opened this issue Jul 8, 2023 · 5 comments

Comments

@charlie89
Copy link

Hi,
Only users which publish AUR packages and thus have set up ssh auth for aur.archlinux.org can access the arch submodule.
According to the AUR wiki the submodule url should be changed from ssh://aur@aur.archlinux.org/luminance.git to https://aur.archlinux.org/luminance.git, which i can successfully clone.

Output of the git clone for reference:

git clone --recurse-submodules https://github.com/sidevesh/Luminance.git                                                                                                                            pdf-disable 
Cloning into 'Luminance'...
remote: Enumerating objects: 492, done.
remote: Counting objects: 100% (119/119), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 492 (delta 51), reused 102 (delta 41), pack-reused 373
Receiving objects: 100% (492/492), 659.95 KiB | 5.84 MiB/s, done.
Resolving deltas: 100% (247/247), done.
Submodule 'arch' (ssh://aur@aur.archlinux.org/luminance.git) registered for path 'arch'
Submodule 'ddcbc-api' (https://github.com/ahshabbir/ddcbc-api.git) registered for path 'ddcbc-api'
Cloning into '/home/michael/src/Luminance/arch'...
The authenticity of host 'aur.archlinux.org (95.216.144.15)' can't be established.
ED25519 key fingerprint is SHA256:RFzBCUItH9LZS0cKB5UE6ceAYhBD5C8GeOBip8Z11+4.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'aur.archlinux.org' (ED25519) 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.
fatal: clone of 'ssh://aur@aur.archlinux.org/luminance.git' into submodule path '/home/michael/src/Luminance/arch' failed
Failed to clone 'arch'. Retry scheduled
Cloning into '/home/michael/src/Luminance/ddcbc-api'...
remote: Enumerating objects: 35, done.        
remote: Counting objects: 100% (35/35), done.        
remote: Compressing objects: 100% (28/28), done.        
remote: Total 35 (delta 12), reused 20 (delta 5), pack-reused 0        
Receiving objects: 100% (35/35), 20.34 KiB | 20.34 MiB/s, done.
Resolving deltas: 100% (12/12), done.
Cloning into '/home/michael/src/Luminance/arch'...
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.
fatal: clone of 'ssh://aur@aur.archlinux.org/luminance.git' into submodule path '/home/michael/src/Luminance/arch' failed
Failed to clone 'arch' a second time, aborting

As a result of that building with the aur helper paru also fails.

@sidevesh
Copy link
Owner

sidevesh commented Jul 8, 2023

I see, thanks for pointing this out, chaging the submodule url would mean that I won't be able to use the arch submodule to maintain and push new releases to AUR, I will look into switching out the submodule url once I maybe move my AUR repo to somewhere else

@fbruetting
Copy link

That makes it unusable for anything but Arch Linux, am I right?

sidevesh added a commit that referenced this issue Jul 10, 2023
@sidevesh
Copy link
Owner

@charlie89 I have merged your PR! Thanks for the fix. Can you check once if this solves installing from AUR ?

@fbruetting
Copy link

fbruetting commented Jul 10, 2023

git clone --recurse-submodules https://github.com/sidevesh/Luminance.git now works on Fedora, whereas before, I also got the above error.

@charlie89
Copy link
Author

@sidevesh Thanks, cloning and installing directly from AUR works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants