sidevesh / Luminance

A simple GTK application to control brightness of displays including external displays supporting DDC/CI
GNU General Public License v3.0
91 stars 4 forks source link

Can't clone submodule `arch` #9

Closed charlie89 closed 1 year ago

charlie89 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

sidevesh commented 1 year ago

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

fbruetting commented 1 year ago

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

charlie89 commented 1 year ago

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